]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_controls_wrap.cpp
76528bc43a4b9fbbe510cf92142a1a3f1f697f8e
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSearchCtrl swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSlider swig_types[144]
2611 #define SWIGTYPE_p_wxSpinButton swig_types[145]
2612 #define SWIGTYPE_p_wxSpinCtrl swig_types[146]
2613 #define SWIGTYPE_p_wxSpinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBitmap swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBox swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStaticLine swig_types[151]
2618 #define SWIGTYPE_p_wxStaticText swig_types[152]
2619 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620 #define SWIGTYPE_p_wxString swig_types[154]
2621 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextAttr swig_types[158]
2625 #define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626 #define SWIGTYPE_p_wxTextUrlEvent swig_types[160]
2627 #define SWIGTYPE_p_wxToggleButton swig_types[161]
2628 #define SWIGTYPE_p_wxToolBar swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarToolBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolbook swig_types[165]
2632 #define SWIGTYPE_p_wxToolbookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeItemId swig_types[168]
2635 #define SWIGTYPE_p_wxTreebook swig_types[169]
2636 #define SWIGTYPE_p_wxTreebookEvent swig_types[170]
2637 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[171]
2638 #define SWIGTYPE_p_wxValidator swig_types[172]
2639 #define SWIGTYPE_p_wxVisualAttributes swig_types[173]
2640 #define SWIGTYPE_p_wxWindow swig_types[174]
2641 #define SWIGTYPE_p_wxWindowBase swig_types[175]
2642 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[176]
2643 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177]
2644 #define SWIGTYPE_p_wxXPMHandler swig_types[178]
2645 static swig_type_info *swig_types[180];
2646 static swig_module_info swig_module = {swig_types, 179, 0, 0, 0, 0};
2647 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2648 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2649
2650 /* -------- TYPES TABLE (END) -------- */
2651
2652 #if (PY_VERSION_HEX <= 0x02000000)
2653 # if !defined(SWIG_PYTHON_CLASSIC)
2654 # error "This python version requires to use swig with the '-classic' option"
2655 # endif
2656 #endif
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodern' option"
2659 #endif
2660 #if (PY_VERSION_HEX <= 0x02020000)
2661 # error "This python version requires to use swig with the '-nomodernargs' option"
2662 #endif
2663 #ifndef METH_O
2664 # error "This python version requires to use swig with the '-nofastunpack' option"
2665 #endif
2666
2667 /*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670 #define SWIG_init init_controls_
2671
2672 #define SWIG_name "_controls_"
2673
2674 #define SWIGVERSION 0x010329
2675
2676
2677 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2678 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2679
2680
2681 #include <stdexcept>
2682
2683
2684 namespace swig {
2685 class PyObject_ptr {
2686 protected:
2687 PyObject *_obj;
2688
2689 public:
2690 PyObject_ptr() :_obj(0)
2691 {
2692 }
2693
2694 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2695 {
2696 Py_XINCREF(_obj);
2697 }
2698
2699 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2700 {
2701 if (initial_ref) Py_XINCREF(_obj);
2702 }
2703
2704 PyObject_ptr & operator=(const PyObject_ptr& item)
2705 {
2706 Py_XINCREF(item._obj);
2707 Py_XDECREF(_obj);
2708 _obj = item._obj;
2709 return *this;
2710 }
2711
2712 ~PyObject_ptr()
2713 {
2714 Py_XDECREF(_obj);
2715 }
2716
2717 operator PyObject *() const
2718 {
2719 return _obj;
2720 }
2721
2722 PyObject *operator->() const
2723 {
2724 return _obj;
2725 }
2726 };
2727 }
2728
2729
2730 namespace swig {
2731 struct PyObject_var : PyObject_ptr {
2732 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2733
2734 PyObject_var & operator = (PyObject* obj)
2735 {
2736 Py_XDECREF(_obj);
2737 _obj = obj;
2738 return *this;
2739 }
2740 };
2741 }
2742
2743
2744 #include "wx/wxPython/wxPython.h"
2745 #include "wx/wxPython/pyclasses.h"
2746
2747 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2748 static const wxString wxPyEmptyString(wxEmptyString);
2749 static const wxString wxPyControlNameStr(wxControlNameStr);
2750
2751 const wxArrayString wxPyEmptyStringArray;
2752
2753 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2754
2755 #define SWIG_From_long PyInt_FromLong
2756
2757
2758 SWIGINTERNINLINE PyObject *
2759 SWIG_From_int (int value)
2760 {
2761 return SWIG_From_long (value);
2762 }
2763
2764
2765 #include <limits.h>
2766 #ifndef LLONG_MIN
2767 # define LLONG_MIN LONG_LONG_MIN
2768 #endif
2769 #ifndef LLONG_MAX
2770 # define LLONG_MAX LONG_LONG_MAX
2771 #endif
2772 #ifndef ULLONG_MAX
2773 # define ULLONG_MAX ULONG_LONG_MAX
2774 #endif
2775
2776
2777 SWIGINTERN int
2778 SWIG_AsVal_long (PyObject* obj, long* val)
2779 {
2780 if (PyNumber_Check(obj)) {
2781 if (val) *val = PyInt_AsLong(obj);
2782 return SWIG_OK;
2783 }
2784 return SWIG_TypeError;
2785 }
2786
2787
2788 SWIGINTERN int
2789 SWIG_AsVal_int (PyObject * obj, int *val)
2790 {
2791 long v;
2792 int res = SWIG_AsVal_long (obj, &v);
2793 if (SWIG_IsOK(res)) {
2794 if ((v < INT_MIN || v > INT_MAX)) {
2795 return SWIG_OverflowError;
2796 } else {
2797 if (val) *val = static_cast< int >(v);
2798 }
2799 }
2800 return res;
2801 }
2802
2803 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
2804
2805 SWIGINTERN int
2806 SWIG_AsVal_bool (PyObject *obj, bool *val)
2807 {
2808 if (obj == Py_True) {
2809 if (val) *val = true;
2810 return SWIG_OK;
2811 } else if (obj == Py_False) {
2812 if (val) *val = false;
2813 return SWIG_OK;
2814 } else {
2815 long v = 0;
2816 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2817 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2818 return res;
2819 }
2820 }
2821
2822 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2823 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2824 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2825 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2826 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2827 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
2828 static const wxString wxPyStaticLineNameStr(wxStaticLineNameStr);
2829
2830 #include <wx/checklst.h>
2831
2832 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
2833 SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
2834 if (clientData)
2835 {
2836 wxPyClientData* data = new wxPyClientData(clientData);
2837 self->Insert(item, pos, data);
2838 }
2839 else
2840 self->Insert(item, pos);
2841 }
2842
2843 SWIGINTERN int
2844 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2845 {
2846 long v = 0;
2847 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2848 return SWIG_TypeError;
2849 }
2850 else if (val)
2851 *val = (unsigned long)v;
2852 return SWIG_OK;
2853 }
2854
2855
2856 SWIGINTERN int
2857 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2858 {
2859 unsigned long v;
2860 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2861 if (SWIG_IsOK(res)) {
2862 if ((v > UINT_MAX)) {
2863 return SWIG_OverflowError;
2864 } else {
2865 if (val) *val = static_cast< unsigned int >(v);
2866 }
2867 }
2868 return res;
2869 }
2870
2871 SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
2872 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2873 wxArrayInt lst;
2874 self->GetSelections(lst);
2875 PyObject *tup = PyTuple_New(lst.GetCount());
2876 for (size_t i=0; i<lst.GetCount(); i++)
2877 {
2878 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2879 }
2880 wxPyEndBlockThreads(blocked);
2881 return tup;
2882 }
2883 SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
2884 #ifdef __WXMSW__
2885 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2886 self->GetItem(item)->SetTextColour(c);
2887 #endif
2888 }
2889 SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
2890 #ifdef __WXMSW__
2891 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2892 self->GetItem(item)->SetBackgroundColour(c);
2893 #endif
2894 }
2895 SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
2896 #ifdef __WXMSW__
2897 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2898 self->GetItem(item)->SetFont(f);
2899 #endif
2900 }
2901 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
2902 SWIGINTERN void wxTextCtrl_MacCheckSpelling(wxTextCtrl *self,bool check){}
2903 SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
2904 self->AppendText(text);
2905 }
2906 SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
2907 return self->GetValue().Mid(from, to - from);
2908 }
2909 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2910 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
2911 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2912 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2913 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
2914
2915 SWIGINTERNINLINE PyObject*
2916 SWIG_From_unsigned_SS_long (unsigned long value)
2917 {
2918 return (value > LONG_MAX) ?
2919 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2920 }
2921
2922
2923 SWIGINTERNINLINE PyObject *
2924 SWIG_From_size_t (size_t value)
2925 {
2926 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2927 }
2928
2929
2930 SWIGINTERNINLINE PyObject *
2931 SWIG_From_unsigned_SS_int (unsigned int value)
2932 {
2933 return SWIG_From_unsigned_SS_long (value);
2934 }
2935
2936
2937 #include <wx/slider.h>
2938
2939
2940 static const wxString wxPySliderNameStr(wxSliderNameStr);
2941 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
2942
2943 #if !wxUSE_TOGGLEBTN
2944 // implement dummy items for platforms that don't have this class
2945
2946 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2947
2948 class wxToggleButton : public wxControl
2949 {
2950 public:
2951 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2952 const wxPoint&, const wxSize&, long,
2953 const wxValidator&, const wxString&)
2954 { wxPyRaiseNotImplemented(); }
2955
2956 wxToggleButton()
2957 { wxPyRaiseNotImplemented(); }
2958 };
2959 #endif
2960
2961 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
2962
2963 SWIGINTERNINLINE int
2964 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2965 {
2966 unsigned long v;
2967 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2968 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2969 return res;
2970 }
2971
2972 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2973 SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
2974 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2975 if (udata) {
2976 Py_INCREF(udata->m_obj);
2977 return udata->m_obj;
2978 } else {
2979 Py_INCREF(Py_None);
2980 return Py_None;
2981 }
2982 }
2983 SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
2984 self->SetClientData(new wxPyUserData(clientData));
2985 }
2986 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){
2987 wxPyUserData* udata = NULL;
2988 if (clientData && clientData != Py_None)
2989 udata = new wxPyUserData(clientData);
2990 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2991 shortHelp, longHelp, udata);
2992 }
2993 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){
2994 wxPyUserData* udata = NULL;
2995 if (clientData && clientData != Py_None)
2996 udata = new wxPyUserData(clientData);
2997 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2998 shortHelp, longHelp, udata);
2999 }
3000 SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
3001 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
3002 if (udata) {
3003 Py_INCREF(udata->m_obj);
3004 return udata->m_obj;
3005 } else {
3006 Py_INCREF(Py_None);
3007 return Py_None;
3008 }
3009 }
3010 SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
3011 self->SetToolClientData(id, new wxPyUserData(clientData));
3012 }
3013
3014 #include <wx/listctrl.h>
3015
3016 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
3017 SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
3018 // Python aware sorting function for wxPyListCtrl
3019 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3020 int retval = 0;
3021 PyObject* func = (PyObject*)funcPtr;
3022 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3023
3024 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3025 PyObject* result = PyEval_CallObject(func, args);
3026 Py_DECREF(args);
3027 if (result) {
3028 retval = PyInt_AsLong(result);
3029 Py_DECREF(result);
3030 }
3031
3032 wxPyEndBlockThreads(blocked);
3033 return retval;
3034 }
3035
3036 // C++ Version of a Python aware class
3037 class wxPyListCtrl : public wxListCtrl {
3038 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
3039 public:
3040 wxPyListCtrl() : wxListCtrl() {}
3041 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3042 const wxPoint& pos,
3043 const wxSize& size,
3044 long style,
3045 const wxValidator& validator,
3046 const wxString& name) :
3047 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3048
3049 bool Create(wxWindow* parent, wxWindowID id,
3050 const wxPoint& pos,
3051 const wxSize& size,
3052 long style,
3053 const wxValidator& validator,
3054 const wxString& name) {
3055 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3056 }
3057
3058 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
3059 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3060
3061 // use the virtual version to avoid a confusing assert in the base class
3062 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
3063 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
3064
3065 PYPRIVATE;
3066 };
3067
3068 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3069
3070 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
3071 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
3072 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
3073 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
3074
3075
3076 SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
3077 wxListItem item;
3078 item.SetMask( wxLIST_MASK_STATE |
3079 wxLIST_MASK_TEXT |
3080 wxLIST_MASK_IMAGE |
3081 wxLIST_MASK_DATA |
3082 wxLIST_SET_ITEM |
3083 wxLIST_MASK_WIDTH |
3084 wxLIST_MASK_FORMAT
3085 );
3086 if (self->GetColumn(col, item))
3087 return new wxListItem(item);
3088 else
3089 return NULL;
3090 }
3091 SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
3092 wxListItem* info = new wxListItem;
3093 info->m_itemId = itemId;
3094 info->m_col = col;
3095 info->m_mask = 0xFFFF;
3096 self->GetItem(*info);
3097 return info;
3098 }
3099 SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
3100 wxPoint pos;
3101 self->GetItemPosition(item, pos);
3102 return pos;
3103 }
3104 SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
3105 wxRect rect;
3106 self->GetItemRect(item, rect, code);
3107 return rect;
3108 }
3109 SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
3110 if (!PyCallable_Check(func))
3111 return false;
3112 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3113 }
3114 SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
3115
3116 return self;
3117
3118
3119
3120 }
3121
3122 #include <wx/treectrl.h>
3123 #include "wx/wxPython/pytree.h"
3124
3125 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3126 SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3127 SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3128 SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
3129
3130 static wxTreeItemId wxNullTreeItemId;
3131
3132 // C++ version of Python aware wxTreeCtrl
3133 class wxPyTreeCtrl : public wxTreeCtrl {
3134 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
3135 public:
3136 wxPyTreeCtrl() : wxTreeCtrl() {}
3137 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3138 const wxPoint& pos,
3139 const wxSize& size,
3140 long style,
3141 const wxValidator& validator,
3142 const wxString& name) :
3143 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3144
3145 bool Create(wxWindow *parent, wxWindowID id,
3146 const wxPoint& pos,
3147 const wxSize& size,
3148 long style,
3149 const wxValidator& validator,
3150 const wxString& name) {
3151 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3152 }
3153
3154
3155 int OnCompareItems(const wxTreeItemId& item1,
3156 const wxTreeItemId& item2) {
3157 int rval = 0;
3158 bool found;
3159 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3160 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
3161 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3162 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
3163 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3164 Py_DECREF(o1);
3165 Py_DECREF(o2);
3166 }
3167 wxPyEndBlockThreads(blocked);
3168 if (! found)
3169 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3170 return rval;
3171 }
3172 PYPRIVATE;
3173 };
3174
3175 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3176
3177
3178 SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3179 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3180 if (data == NULL) {
3181 data = new wxPyTreeItemData();
3182 data->SetId(item); // set the id
3183 self->SetItemData(item, data);
3184 }
3185 return data;
3186 }
3187 SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3188 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3189 if (data == NULL) {
3190 data = new wxPyTreeItemData();
3191 data->SetId(item); // set the id
3192 self->SetItemData(item, data);
3193 }
3194 return data->GetData();
3195 }
3196 SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3197 data->SetId(item); // set the id
3198 self->SetItemData(item, data);
3199 }
3200 SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
3201 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3202 if (data == NULL) {
3203 data = new wxPyTreeItemData(obj);
3204 data->SetId(item); // set the id
3205 self->SetItemData(item, data);
3206 } else
3207 data->SetData(obj);
3208 }
3209 SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
3210 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3211 PyObject* rval = PyList_New(0);
3212 wxArrayTreeItemIds array;
3213 size_t num, x;
3214 num = self->GetSelections(array);
3215 for (x=0; x < num; x++) {
3216 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3217 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3218 PyList_Append(rval, item);
3219 Py_DECREF(item);
3220 }
3221 wxPyEndBlockThreads(blocked);
3222 return rval;
3223 }
3224 SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
3225 void* cookie = 0;
3226 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3227 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3228 PyObject* tup = PyTuple_New(2);
3229 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3230 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3231 wxPyEndBlockThreads(blocked);
3232 return tup;
3233 }
3234 SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
3235 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3236 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3237 PyObject* tup = PyTuple_New(2);
3238 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3239 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3240 wxPyEndBlockThreads(blocked);
3241 return tup;
3242 }
3243 SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3244 wxRect rect;
3245 if (self->GetBoundingRect(item, rect, textOnly)) {
3246 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3247 wxRect* r = new wxRect(rect);
3248 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
3249 wxPyEndBlockThreads(blocked);
3250 return val;
3251 }
3252 else
3253 RETURN_NONE();
3254 }
3255 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
3256
3257 SWIGINTERNINLINE PyObject*
3258 SWIG_From_bool (bool value)
3259 {
3260 return PyBool_FromLong(value ? 1 : 0);
3261 }
3262
3263 // C++ version of Python aware wxControl
3264 class wxPyControl : public wxControl
3265 {
3266 DECLARE_DYNAMIC_CLASS(wxPyControl)
3267 public:
3268 wxPyControl() : wxControl() {}
3269 wxPyControl(wxWindow* parent, const wxWindowID id,
3270 const wxPoint& pos = wxDefaultPosition,
3271 const wxSize& size = wxDefaultSize,
3272 long style = 0,
3273 const wxValidator& validator=wxDefaultValidator,
3274 const wxString& name = wxPyControlNameStr)
3275 : wxControl(parent, id, pos, size, style, validator, name) {}
3276
3277
3278 bool DoEraseBackground(wxDC* dc) {
3279 #ifdef __WXMSW__
3280 return wxWindow::DoEraseBackground(dc->GetHDC());
3281 #else
3282 dc->SetBackground(wxBrush(GetBackgroundColour()));
3283 dc->Clear();
3284 return true;
3285 #endif
3286 }
3287
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3292
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3296
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3299
3300 DEC_PYCALLBACK__(InitDialog);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3303 DEC_PYCALLBACK_BOOL_(Validate);
3304
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3308
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3311
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3314
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3316
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3318
3319 PYPRIVATE;
3320 };
3321
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3323
3324 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3328
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3332
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3335
3336 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3340
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3343 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3344
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3347
3348 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
3350
3351 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
3352
3353 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3354
3355
3356
3357 SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
3358
3359 #include <wx/generic/dragimgg.h>
3360
3361 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
3362 SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
3363 wxDateTime rv;
3364 self->GetRange(&rv, NULL);
3365 return rv;
3366 }
3367 SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
3368 wxDateTime rv;
3369 self->GetRange(NULL, &rv);
3370 return rv;
3371 }
3372 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
3373 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3374 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3375 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3376 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3377 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3378 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3379 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
3380 static const wxString wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr);
3381
3382 #include <wx/srchctrl.h>
3383
3384 static const wxString wxPySearchCtrlNameStr(wxSearchCtrlNameStr);
3385 #ifdef __cplusplus
3386 extern "C" {
3387 #endif
3388 SWIGINTERN int ButtonNameStr_set(PyObject *) {
3389 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3390 return 1;
3391 }
3392
3393
3394 SWIGINTERN PyObject *ButtonNameStr_get(void) {
3395 PyObject *pyobj = 0;
3396
3397 {
3398 #if wxUSE_UNICODE
3399 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3400 #else
3401 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3402 #endif
3403 }
3404 return pyobj;
3405 }
3406
3407
3408 SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3409 PyObject *resultobj = 0;
3410 wxWindow *arg1 = (wxWindow *) 0 ;
3411 int arg2 = (int) -1 ;
3412 wxString const &arg3_defvalue = wxPyEmptyString ;
3413 wxString *arg3 = (wxString *) &arg3_defvalue ;
3414 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3415 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3416 wxSize const &arg5_defvalue = wxDefaultSize ;
3417 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3418 long arg6 = (long) 0 ;
3419 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3420 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3421 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3422 wxString *arg8 = (wxString *) &arg8_defvalue ;
3423 wxButton *result = 0 ;
3424 void *argp1 = 0 ;
3425 int res1 = 0 ;
3426 int val2 ;
3427 int ecode2 = 0 ;
3428 bool temp3 = false ;
3429 wxPoint temp4 ;
3430 wxSize temp5 ;
3431 long val6 ;
3432 int ecode6 = 0 ;
3433 void *argp7 = 0 ;
3434 int res7 = 0 ;
3435 bool temp8 = false ;
3436 PyObject * obj0 = 0 ;
3437 PyObject * obj1 = 0 ;
3438 PyObject * obj2 = 0 ;
3439 PyObject * obj3 = 0 ;
3440 PyObject * obj4 = 0 ;
3441 PyObject * obj5 = 0 ;
3442 PyObject * obj6 = 0 ;
3443 PyObject * obj7 = 0 ;
3444 char * kwnames[] = {
3445 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3446 };
3447
3448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3450 if (!SWIG_IsOK(res1)) {
3451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3452 }
3453 arg1 = reinterpret_cast< wxWindow * >(argp1);
3454 if (obj1) {
3455 ecode2 = SWIG_AsVal_int(obj1, &val2);
3456 if (!SWIG_IsOK(ecode2)) {
3457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3458 }
3459 arg2 = static_cast< int >(val2);
3460 }
3461 if (obj2) {
3462 {
3463 arg3 = wxString_in_helper(obj2);
3464 if (arg3 == NULL) SWIG_fail;
3465 temp3 = true;
3466 }
3467 }
3468 if (obj3) {
3469 {
3470 arg4 = &temp4;
3471 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3472 }
3473 }
3474 if (obj4) {
3475 {
3476 arg5 = &temp5;
3477 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3478 }
3479 }
3480 if (obj5) {
3481 ecode6 = SWIG_AsVal_long(obj5, &val6);
3482 if (!SWIG_IsOK(ecode6)) {
3483 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3484 }
3485 arg6 = static_cast< long >(val6);
3486 }
3487 if (obj6) {
3488 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3489 if (!SWIG_IsOK(res7)) {
3490 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3491 }
3492 if (!argp7) {
3493 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3494 }
3495 arg7 = reinterpret_cast< wxValidator * >(argp7);
3496 }
3497 if (obj7) {
3498 {
3499 arg8 = wxString_in_helper(obj7);
3500 if (arg8 == NULL) SWIG_fail;
3501 temp8 = true;
3502 }
3503 }
3504 {
3505 if (!wxPyCheckForApp()) SWIG_fail;
3506 PyThreadState* __tstate = wxPyBeginAllowThreads();
3507 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3508 wxPyEndAllowThreads(__tstate);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3512 {
3513 if (temp3)
3514 delete arg3;
3515 }
3516 {
3517 if (temp8)
3518 delete arg8;
3519 }
3520 return resultobj;
3521 fail:
3522 {
3523 if (temp3)
3524 delete arg3;
3525 }
3526 {
3527 if (temp8)
3528 delete arg8;
3529 }
3530 return NULL;
3531 }
3532
3533
3534 SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3535 PyObject *resultobj = 0;
3536 wxButton *result = 0 ;
3537
3538 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3539 {
3540 if (!wxPyCheckForApp()) SWIG_fail;
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (wxButton *)new wxButton();
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3547 return resultobj;
3548 fail:
3549 return NULL;
3550 }
3551
3552
3553 SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3554 PyObject *resultobj = 0;
3555 wxButton *arg1 = (wxButton *) 0 ;
3556 wxWindow *arg2 = (wxWindow *) 0 ;
3557 int arg3 = (int) -1 ;
3558 wxString const &arg4_defvalue = wxPyEmptyString ;
3559 wxString *arg4 = (wxString *) &arg4_defvalue ;
3560 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3561 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3562 wxSize const &arg6_defvalue = wxDefaultSize ;
3563 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3564 long arg7 = (long) 0 ;
3565 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3566 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3567 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3568 wxString *arg9 = (wxString *) &arg9_defvalue ;
3569 bool result;
3570 void *argp1 = 0 ;
3571 int res1 = 0 ;
3572 void *argp2 = 0 ;
3573 int res2 = 0 ;
3574 int val3 ;
3575 int ecode3 = 0 ;
3576 bool temp4 = false ;
3577 wxPoint temp5 ;
3578 wxSize temp6 ;
3579 long val7 ;
3580 int ecode7 = 0 ;
3581 void *argp8 = 0 ;
3582 int res8 = 0 ;
3583 bool temp9 = false ;
3584 PyObject * obj0 = 0 ;
3585 PyObject * obj1 = 0 ;
3586 PyObject * obj2 = 0 ;
3587 PyObject * obj3 = 0 ;
3588 PyObject * obj4 = 0 ;
3589 PyObject * obj5 = 0 ;
3590 PyObject * obj6 = 0 ;
3591 PyObject * obj7 = 0 ;
3592 PyObject * obj8 = 0 ;
3593 char * kwnames[] = {
3594 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3595 };
3596
3597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3599 if (!SWIG_IsOK(res1)) {
3600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3601 }
3602 arg1 = reinterpret_cast< wxButton * >(argp1);
3603 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3604 if (!SWIG_IsOK(res2)) {
3605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3606 }
3607 arg2 = reinterpret_cast< wxWindow * >(argp2);
3608 if (obj2) {
3609 ecode3 = SWIG_AsVal_int(obj2, &val3);
3610 if (!SWIG_IsOK(ecode3)) {
3611 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3612 }
3613 arg3 = static_cast< int >(val3);
3614 }
3615 if (obj3) {
3616 {
3617 arg4 = wxString_in_helper(obj3);
3618 if (arg4 == NULL) SWIG_fail;
3619 temp4 = true;
3620 }
3621 }
3622 if (obj4) {
3623 {
3624 arg5 = &temp5;
3625 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3626 }
3627 }
3628 if (obj5) {
3629 {
3630 arg6 = &temp6;
3631 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3632 }
3633 }
3634 if (obj6) {
3635 ecode7 = SWIG_AsVal_long(obj6, &val7);
3636 if (!SWIG_IsOK(ecode7)) {
3637 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3638 }
3639 arg7 = static_cast< long >(val7);
3640 }
3641 if (obj7) {
3642 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3643 if (!SWIG_IsOK(res8)) {
3644 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3645 }
3646 if (!argp8) {
3647 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3648 }
3649 arg8 = reinterpret_cast< wxValidator * >(argp8);
3650 }
3651 if (obj8) {
3652 {
3653 arg9 = wxString_in_helper(obj8);
3654 if (arg9 == NULL) SWIG_fail;
3655 temp9 = true;
3656 }
3657 }
3658 {
3659 PyThreadState* __tstate = wxPyBeginAllowThreads();
3660 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
3664 {
3665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3666 }
3667 {
3668 if (temp4)
3669 delete arg4;
3670 }
3671 {
3672 if (temp9)
3673 delete arg9;
3674 }
3675 return resultobj;
3676 fail:
3677 {
3678 if (temp4)
3679 delete arg4;
3680 }
3681 {
3682 if (temp9)
3683 delete arg9;
3684 }
3685 return NULL;
3686 }
3687
3688
3689 SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3690 PyObject *resultobj = 0;
3691 wxButton *arg1 = (wxButton *) 0 ;
3692 void *argp1 = 0 ;
3693 int res1 = 0 ;
3694 PyObject *swig_obj[1] ;
3695
3696 if (!args) SWIG_fail;
3697 swig_obj[0] = args;
3698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3699 if (!SWIG_IsOK(res1)) {
3700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3701 }
3702 arg1 = reinterpret_cast< wxButton * >(argp1);
3703 {
3704 PyThreadState* __tstate = wxPyBeginAllowThreads();
3705 (arg1)->SetDefault();
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 resultobj = SWIG_Py_Void();
3710 return resultobj;
3711 fail:
3712 return NULL;
3713 }
3714
3715
3716 SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3717 PyObject *resultobj = 0;
3718 wxSize result;
3719
3720 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3721 {
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 result = wxButton::GetDefaultSize();
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3728 return resultobj;
3729 fail:
3730 return NULL;
3731 }
3732
3733
3734 SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3735 PyObject *resultobj = 0;
3736 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3737 SwigValueWrapper<wxVisualAttributes > result;
3738 int val1 ;
3739 int ecode1 = 0 ;
3740 PyObject * obj0 = 0 ;
3741 char * kwnames[] = {
3742 (char *) "variant", NULL
3743 };
3744
3745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3746 if (obj0) {
3747 ecode1 = SWIG_AsVal_int(obj0, &val1);
3748 if (!SWIG_IsOK(ecode1)) {
3749 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3750 }
3751 arg1 = static_cast< wxWindowVariant >(val1);
3752 }
3753 {
3754 if (!wxPyCheckForApp()) SWIG_fail;
3755 PyThreadState* __tstate = wxPyBeginAllowThreads();
3756 result = wxButton::GetClassDefaultAttributes(arg1);
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3761 return resultobj;
3762 fail:
3763 return NULL;
3764 }
3765
3766
3767 SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3768 PyObject *obj;
3769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3770 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3771 return SWIG_Py_Void();
3772 }
3773
3774 SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3775 return SWIG_Python_InitShadowInstance(args);
3776 }
3777
3778 SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3779 PyObject *resultobj = 0;
3780 wxWindow *arg1 = (wxWindow *) 0 ;
3781 int arg2 = (int) -1 ;
3782 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3783 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3784 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3785 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3786 wxSize const &arg5_defvalue = wxDefaultSize ;
3787 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3788 long arg6 = (long) wxBU_AUTODRAW ;
3789 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3790 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3791 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3792 wxString *arg8 = (wxString *) &arg8_defvalue ;
3793 wxBitmapButton *result = 0 ;
3794 void *argp1 = 0 ;
3795 int res1 = 0 ;
3796 int val2 ;
3797 int ecode2 = 0 ;
3798 void *argp3 = 0 ;
3799 int res3 = 0 ;
3800 wxPoint temp4 ;
3801 wxSize temp5 ;
3802 long val6 ;
3803 int ecode6 = 0 ;
3804 void *argp7 = 0 ;
3805 int res7 = 0 ;
3806 bool temp8 = false ;
3807 PyObject * obj0 = 0 ;
3808 PyObject * obj1 = 0 ;
3809 PyObject * obj2 = 0 ;
3810 PyObject * obj3 = 0 ;
3811 PyObject * obj4 = 0 ;
3812 PyObject * obj5 = 0 ;
3813 PyObject * obj6 = 0 ;
3814 PyObject * obj7 = 0 ;
3815 char * kwnames[] = {
3816 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3817 };
3818
3819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3821 if (!SWIG_IsOK(res1)) {
3822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3823 }
3824 arg1 = reinterpret_cast< wxWindow * >(argp1);
3825 if (obj1) {
3826 ecode2 = SWIG_AsVal_int(obj1, &val2);
3827 if (!SWIG_IsOK(ecode2)) {
3828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3829 }
3830 arg2 = static_cast< int >(val2);
3831 }
3832 if (obj2) {
3833 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3834 if (!SWIG_IsOK(res3)) {
3835 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3836 }
3837 if (!argp3) {
3838 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3839 }
3840 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3841 }
3842 if (obj3) {
3843 {
3844 arg4 = &temp4;
3845 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3846 }
3847 }
3848 if (obj4) {
3849 {
3850 arg5 = &temp5;
3851 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3852 }
3853 }
3854 if (obj5) {
3855 ecode6 = SWIG_AsVal_long(obj5, &val6);
3856 if (!SWIG_IsOK(ecode6)) {
3857 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3858 }
3859 arg6 = static_cast< long >(val6);
3860 }
3861 if (obj6) {
3862 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3863 if (!SWIG_IsOK(res7)) {
3864 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3865 }
3866 if (!argp7) {
3867 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3868 }
3869 arg7 = reinterpret_cast< wxValidator * >(argp7);
3870 }
3871 if (obj7) {
3872 {
3873 arg8 = wxString_in_helper(obj7);
3874 if (arg8 == NULL) SWIG_fail;
3875 temp8 = true;
3876 }
3877 }
3878 {
3879 if (!wxPyCheckForApp()) SWIG_fail;
3880 PyThreadState* __tstate = wxPyBeginAllowThreads();
3881 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3886 {
3887 if (temp8)
3888 delete arg8;
3889 }
3890 return resultobj;
3891 fail:
3892 {
3893 if (temp8)
3894 delete arg8;
3895 }
3896 return NULL;
3897 }
3898
3899
3900 SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3901 PyObject *resultobj = 0;
3902 wxBitmapButton *result = 0 ;
3903
3904 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3905 {
3906 if (!wxPyCheckForApp()) SWIG_fail;
3907 PyThreadState* __tstate = wxPyBeginAllowThreads();
3908 result = (wxBitmapButton *)new wxBitmapButton();
3909 wxPyEndAllowThreads(__tstate);
3910 if (PyErr_Occurred()) SWIG_fail;
3911 }
3912 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3913 return resultobj;
3914 fail:
3915 return NULL;
3916 }
3917
3918
3919 SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3920 PyObject *resultobj = 0;
3921 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3922 wxWindow *arg2 = (wxWindow *) 0 ;
3923 int arg3 = (int) -1 ;
3924 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3925 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3926 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3927 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3928 wxSize const &arg6_defvalue = wxDefaultSize ;
3929 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3930 long arg7 = (long) wxBU_AUTODRAW ;
3931 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3932 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3933 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3934 wxString *arg9 = (wxString *) &arg9_defvalue ;
3935 bool result;
3936 void *argp1 = 0 ;
3937 int res1 = 0 ;
3938 void *argp2 = 0 ;
3939 int res2 = 0 ;
3940 int val3 ;
3941 int ecode3 = 0 ;
3942 void *argp4 = 0 ;
3943 int res4 = 0 ;
3944 wxPoint temp5 ;
3945 wxSize temp6 ;
3946 long val7 ;
3947 int ecode7 = 0 ;
3948 void *argp8 = 0 ;
3949 int res8 = 0 ;
3950 bool temp9 = false ;
3951 PyObject * obj0 = 0 ;
3952 PyObject * obj1 = 0 ;
3953 PyObject * obj2 = 0 ;
3954 PyObject * obj3 = 0 ;
3955 PyObject * obj4 = 0 ;
3956 PyObject * obj5 = 0 ;
3957 PyObject * obj6 = 0 ;
3958 PyObject * obj7 = 0 ;
3959 PyObject * obj8 = 0 ;
3960 char * kwnames[] = {
3961 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3962 };
3963
3964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
3966 if (!SWIG_IsOK(res1)) {
3967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3968 }
3969 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
3970 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3971 if (!SWIG_IsOK(res2)) {
3972 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3973 }
3974 arg2 = reinterpret_cast< wxWindow * >(argp2);
3975 if (obj2) {
3976 ecode3 = SWIG_AsVal_int(obj2, &val3);
3977 if (!SWIG_IsOK(ecode3)) {
3978 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3979 }
3980 arg3 = static_cast< int >(val3);
3981 }
3982 if (obj3) {
3983 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
3984 if (!SWIG_IsOK(res4)) {
3985 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3986 }
3987 if (!argp4) {
3988 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3989 }
3990 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3991 }
3992 if (obj4) {
3993 {
3994 arg5 = &temp5;
3995 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3996 }
3997 }
3998 if (obj5) {
3999 {
4000 arg6 = &temp6;
4001 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4002 }
4003 }
4004 if (obj6) {
4005 ecode7 = SWIG_AsVal_long(obj6, &val7);
4006 if (!SWIG_IsOK(ecode7)) {
4007 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4008 }
4009 arg7 = static_cast< long >(val7);
4010 }
4011 if (obj7) {
4012 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4013 if (!SWIG_IsOK(res8)) {
4014 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4015 }
4016 if (!argp8) {
4017 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4018 }
4019 arg8 = reinterpret_cast< wxValidator * >(argp8);
4020 }
4021 if (obj8) {
4022 {
4023 arg9 = wxString_in_helper(obj8);
4024 if (arg9 == NULL) SWIG_fail;
4025 temp9 = true;
4026 }
4027 }
4028 {
4029 PyThreadState* __tstate = wxPyBeginAllowThreads();
4030 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4031 wxPyEndAllowThreads(__tstate);
4032 if (PyErr_Occurred()) SWIG_fail;
4033 }
4034 {
4035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4036 }
4037 {
4038 if (temp9)
4039 delete arg9;
4040 }
4041 return resultobj;
4042 fail:
4043 {
4044 if (temp9)
4045 delete arg9;
4046 }
4047 return NULL;
4048 }
4049
4050
4051 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4052 PyObject *resultobj = 0;
4053 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4054 wxBitmap result;
4055 void *argp1 = 0 ;
4056 int res1 = 0 ;
4057 PyObject *swig_obj[1] ;
4058
4059 if (!args) SWIG_fail;
4060 swig_obj[0] = args;
4061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4062 if (!SWIG_IsOK(res1)) {
4063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4064 }
4065 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4066 {
4067 PyThreadState* __tstate = wxPyBeginAllowThreads();
4068 result = (arg1)->GetBitmapLabel();
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4073 return resultobj;
4074 fail:
4075 return NULL;
4076 }
4077
4078
4079 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4080 PyObject *resultobj = 0;
4081 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4082 wxBitmap result;
4083 void *argp1 = 0 ;
4084 int res1 = 0 ;
4085 PyObject *swig_obj[1] ;
4086
4087 if (!args) SWIG_fail;
4088 swig_obj[0] = args;
4089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4090 if (!SWIG_IsOK(res1)) {
4091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4092 }
4093 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4094 {
4095 PyThreadState* __tstate = wxPyBeginAllowThreads();
4096 result = (arg1)->GetBitmapDisabled();
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4101 return resultobj;
4102 fail:
4103 return NULL;
4104 }
4105
4106
4107 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4108 PyObject *resultobj = 0;
4109 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4110 wxBitmap result;
4111 void *argp1 = 0 ;
4112 int res1 = 0 ;
4113 PyObject *swig_obj[1] ;
4114
4115 if (!args) SWIG_fail;
4116 swig_obj[0] = args;
4117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4118 if (!SWIG_IsOK(res1)) {
4119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4120 }
4121 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 result = (arg1)->GetBitmapFocus();
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4129 return resultobj;
4130 fail:
4131 return NULL;
4132 }
4133
4134
4135 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4136 PyObject *resultobj = 0;
4137 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4138 wxBitmap result;
4139 void *argp1 = 0 ;
4140 int res1 = 0 ;
4141 PyObject *swig_obj[1] ;
4142
4143 if (!args) SWIG_fail;
4144 swig_obj[0] = args;
4145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4146 if (!SWIG_IsOK(res1)) {
4147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4148 }
4149 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 result = (arg1)->GetBitmapSelected();
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
4156 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4157 return resultobj;
4158 fail:
4159 return NULL;
4160 }
4161
4162
4163 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4164 PyObject *resultobj = 0;
4165 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4166 wxBitmap result;
4167 void *argp1 = 0 ;
4168 int res1 = 0 ;
4169 PyObject *swig_obj[1] ;
4170
4171 if (!args) SWIG_fail;
4172 swig_obj[0] = args;
4173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4174 if (!SWIG_IsOK(res1)) {
4175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4176 }
4177 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4178 {
4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
4180 result = (arg1)->GetBitmapHover();
4181 wxPyEndAllowThreads(__tstate);
4182 if (PyErr_Occurred()) SWIG_fail;
4183 }
4184 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4185 return resultobj;
4186 fail:
4187 return NULL;
4188 }
4189
4190
4191 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4192 PyObject *resultobj = 0;
4193 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4194 wxBitmap *arg2 = 0 ;
4195 void *argp1 = 0 ;
4196 int res1 = 0 ;
4197 void *argp2 = 0 ;
4198 int res2 = 0 ;
4199 PyObject * obj0 = 0 ;
4200 PyObject * obj1 = 0 ;
4201 char * kwnames[] = {
4202 (char *) "self",(char *) "bitmap", NULL
4203 };
4204
4205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4207 if (!SWIG_IsOK(res1)) {
4208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4209 }
4210 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4211 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4212 if (!SWIG_IsOK(res2)) {
4213 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4214 }
4215 if (!argp2) {
4216 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4217 }
4218 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 resultobj = SWIG_Py_Void();
4226 return resultobj;
4227 fail:
4228 return NULL;
4229 }
4230
4231
4232 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4233 PyObject *resultobj = 0;
4234 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4235 wxBitmap *arg2 = 0 ;
4236 void *argp1 = 0 ;
4237 int res1 = 0 ;
4238 void *argp2 = 0 ;
4239 int res2 = 0 ;
4240 PyObject * obj0 = 0 ;
4241 PyObject * obj1 = 0 ;
4242 char * kwnames[] = {
4243 (char *) "self",(char *) "bitmap", NULL
4244 };
4245
4246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4248 if (!SWIG_IsOK(res1)) {
4249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4250 }
4251 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4252 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4253 if (!SWIG_IsOK(res2)) {
4254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4255 }
4256 if (!argp2) {
4257 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4258 }
4259 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4263 wxPyEndAllowThreads(__tstate);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 resultobj = SWIG_Py_Void();
4267 return resultobj;
4268 fail:
4269 return NULL;
4270 }
4271
4272
4273 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4274 PyObject *resultobj = 0;
4275 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4276 wxBitmap *arg2 = 0 ;
4277 void *argp1 = 0 ;
4278 int res1 = 0 ;
4279 void *argp2 = 0 ;
4280 int res2 = 0 ;
4281 PyObject * obj0 = 0 ;
4282 PyObject * obj1 = 0 ;
4283 char * kwnames[] = {
4284 (char *) "self",(char *) "bitmap", NULL
4285 };
4286
4287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4289 if (!SWIG_IsOK(res1)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4291 }
4292 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4293 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4294 if (!SWIG_IsOK(res2)) {
4295 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4296 }
4297 if (!argp2) {
4298 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4299 }
4300 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4301 {
4302 PyThreadState* __tstate = wxPyBeginAllowThreads();
4303 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4304 wxPyEndAllowThreads(__tstate);
4305 if (PyErr_Occurred()) SWIG_fail;
4306 }
4307 resultobj = SWIG_Py_Void();
4308 return resultobj;
4309 fail:
4310 return NULL;
4311 }
4312
4313
4314 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4315 PyObject *resultobj = 0;
4316 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4317 wxBitmap *arg2 = 0 ;
4318 void *argp1 = 0 ;
4319 int res1 = 0 ;
4320 void *argp2 = 0 ;
4321 int res2 = 0 ;
4322 PyObject * obj0 = 0 ;
4323 PyObject * obj1 = 0 ;
4324 char * kwnames[] = {
4325 (char *) "self",(char *) "bitmap", NULL
4326 };
4327
4328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4330 if (!SWIG_IsOK(res1)) {
4331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4332 }
4333 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4334 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4335 if (!SWIG_IsOK(res2)) {
4336 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4337 }
4338 if (!argp2) {
4339 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4340 }
4341 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4342 {
4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
4344 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4345 wxPyEndAllowThreads(__tstate);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 }
4348 resultobj = SWIG_Py_Void();
4349 return resultobj;
4350 fail:
4351 return NULL;
4352 }
4353
4354
4355 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4356 PyObject *resultobj = 0;
4357 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4358 wxBitmap *arg2 = 0 ;
4359 void *argp1 = 0 ;
4360 int res1 = 0 ;
4361 void *argp2 = 0 ;
4362 int res2 = 0 ;
4363 PyObject * obj0 = 0 ;
4364 PyObject * obj1 = 0 ;
4365 char * kwnames[] = {
4366 (char *) "self",(char *) "hover", NULL
4367 };
4368
4369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4371 if (!SWIG_IsOK(res1)) {
4372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4373 }
4374 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4375 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4376 if (!SWIG_IsOK(res2)) {
4377 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4378 }
4379 if (!argp2) {
4380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4381 }
4382 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4383 {
4384 PyThreadState* __tstate = wxPyBeginAllowThreads();
4385 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4386 wxPyEndAllowThreads(__tstate);
4387 if (PyErr_Occurred()) SWIG_fail;
4388 }
4389 resultobj = SWIG_Py_Void();
4390 return resultobj;
4391 fail:
4392 return NULL;
4393 }
4394
4395
4396 SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4397 PyObject *resultobj = 0;
4398 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4399 int arg2 ;
4400 int arg3 ;
4401 void *argp1 = 0 ;
4402 int res1 = 0 ;
4403 int val2 ;
4404 int ecode2 = 0 ;
4405 int val3 ;
4406 int ecode3 = 0 ;
4407 PyObject * obj0 = 0 ;
4408 PyObject * obj1 = 0 ;
4409 PyObject * obj2 = 0 ;
4410 char * kwnames[] = {
4411 (char *) "self",(char *) "x",(char *) "y", NULL
4412 };
4413
4414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4416 if (!SWIG_IsOK(res1)) {
4417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4418 }
4419 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4420 ecode2 = SWIG_AsVal_int(obj1, &val2);
4421 if (!SWIG_IsOK(ecode2)) {
4422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4423 }
4424 arg2 = static_cast< int >(val2);
4425 ecode3 = SWIG_AsVal_int(obj2, &val3);
4426 if (!SWIG_IsOK(ecode3)) {
4427 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4428 }
4429 arg3 = static_cast< int >(val3);
4430 {
4431 PyThreadState* __tstate = wxPyBeginAllowThreads();
4432 (arg1)->SetMargins(arg2,arg3);
4433 wxPyEndAllowThreads(__tstate);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 }
4436 resultobj = SWIG_Py_Void();
4437 return resultobj;
4438 fail:
4439 return NULL;
4440 }
4441
4442
4443 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4444 PyObject *resultobj = 0;
4445 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4446 int result;
4447 void *argp1 = 0 ;
4448 int res1 = 0 ;
4449 PyObject *swig_obj[1] ;
4450
4451 if (!args) SWIG_fail;
4452 swig_obj[0] = args;
4453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4454 if (!SWIG_IsOK(res1)) {
4455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4456 }
4457 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4458 {
4459 PyThreadState* __tstate = wxPyBeginAllowThreads();
4460 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 resultobj = SWIG_From_int(static_cast< int >(result));
4465 return resultobj;
4466 fail:
4467 return NULL;
4468 }
4469
4470
4471 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4472 PyObject *resultobj = 0;
4473 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4474 int result;
4475 void *argp1 = 0 ;
4476 int res1 = 0 ;
4477 PyObject *swig_obj[1] ;
4478
4479 if (!args) SWIG_fail;
4480 swig_obj[0] = args;
4481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4482 if (!SWIG_IsOK(res1)) {
4483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4484 }
4485 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4486 {
4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
4488 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4492 resultobj = SWIG_From_int(static_cast< int >(result));
4493 return resultobj;
4494 fail:
4495 return NULL;
4496 }
4497
4498
4499 SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4500 PyObject *obj;
4501 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4502 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4503 return SWIG_Py_Void();
4504 }
4505
4506 SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4507 return SWIG_Python_InitShadowInstance(args);
4508 }
4509
4510 SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4511 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4512 return 1;
4513 }
4514
4515
4516 SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4517 PyObject *pyobj = 0;
4518
4519 {
4520 #if wxUSE_UNICODE
4521 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4522 #else
4523 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4524 #endif
4525 }
4526 return pyobj;
4527 }
4528
4529
4530 SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4531 PyObject *resultobj = 0;
4532 wxWindow *arg1 = (wxWindow *) 0 ;
4533 int arg2 = (int) -1 ;
4534 wxString const &arg3_defvalue = wxPyEmptyString ;
4535 wxString *arg3 = (wxString *) &arg3_defvalue ;
4536 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4537 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4538 wxSize const &arg5_defvalue = wxDefaultSize ;
4539 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4540 long arg6 = (long) 0 ;
4541 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4542 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4543 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4544 wxString *arg8 = (wxString *) &arg8_defvalue ;
4545 wxCheckBox *result = 0 ;
4546 void *argp1 = 0 ;
4547 int res1 = 0 ;
4548 int val2 ;
4549 int ecode2 = 0 ;
4550 bool temp3 = false ;
4551 wxPoint temp4 ;
4552 wxSize temp5 ;
4553 long val6 ;
4554 int ecode6 = 0 ;
4555 void *argp7 = 0 ;
4556 int res7 = 0 ;
4557 bool temp8 = false ;
4558 PyObject * obj0 = 0 ;
4559 PyObject * obj1 = 0 ;
4560 PyObject * obj2 = 0 ;
4561 PyObject * obj3 = 0 ;
4562 PyObject * obj4 = 0 ;
4563 PyObject * obj5 = 0 ;
4564 PyObject * obj6 = 0 ;
4565 PyObject * obj7 = 0 ;
4566 char * kwnames[] = {
4567 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4568 };
4569
4570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4572 if (!SWIG_IsOK(res1)) {
4573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4574 }
4575 arg1 = reinterpret_cast< wxWindow * >(argp1);
4576 if (obj1) {
4577 ecode2 = SWIG_AsVal_int(obj1, &val2);
4578 if (!SWIG_IsOK(ecode2)) {
4579 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4580 }
4581 arg2 = static_cast< int >(val2);
4582 }
4583 if (obj2) {
4584 {
4585 arg3 = wxString_in_helper(obj2);
4586 if (arg3 == NULL) SWIG_fail;
4587 temp3 = true;
4588 }
4589 }
4590 if (obj3) {
4591 {
4592 arg4 = &temp4;
4593 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4594 }
4595 }
4596 if (obj4) {
4597 {
4598 arg5 = &temp5;
4599 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4600 }
4601 }
4602 if (obj5) {
4603 ecode6 = SWIG_AsVal_long(obj5, &val6);
4604 if (!SWIG_IsOK(ecode6)) {
4605 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4606 }
4607 arg6 = static_cast< long >(val6);
4608 }
4609 if (obj6) {
4610 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4611 if (!SWIG_IsOK(res7)) {
4612 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4613 }
4614 if (!argp7) {
4615 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4616 }
4617 arg7 = reinterpret_cast< wxValidator * >(argp7);
4618 }
4619 if (obj7) {
4620 {
4621 arg8 = wxString_in_helper(obj7);
4622 if (arg8 == NULL) SWIG_fail;
4623 temp8 = true;
4624 }
4625 }
4626 {
4627 if (!wxPyCheckForApp()) SWIG_fail;
4628 PyThreadState* __tstate = wxPyBeginAllowThreads();
4629 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
4633 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4634 {
4635 if (temp3)
4636 delete arg3;
4637 }
4638 {
4639 if (temp8)
4640 delete arg8;
4641 }
4642 return resultobj;
4643 fail:
4644 {
4645 if (temp3)
4646 delete arg3;
4647 }
4648 {
4649 if (temp8)
4650 delete arg8;
4651 }
4652 return NULL;
4653 }
4654
4655
4656 SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4657 PyObject *resultobj = 0;
4658 wxCheckBox *result = 0 ;
4659
4660 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4661 {
4662 if (!wxPyCheckForApp()) SWIG_fail;
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 result = (wxCheckBox *)new wxCheckBox();
4665 wxPyEndAllowThreads(__tstate);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4669 return resultobj;
4670 fail:
4671 return NULL;
4672 }
4673
4674
4675 SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj = 0;
4677 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4678 wxWindow *arg2 = (wxWindow *) 0 ;
4679 int arg3 = (int) -1 ;
4680 wxString const &arg4_defvalue = wxPyEmptyString ;
4681 wxString *arg4 = (wxString *) &arg4_defvalue ;
4682 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4683 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4684 wxSize const &arg6_defvalue = wxDefaultSize ;
4685 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4686 long arg7 = (long) 0 ;
4687 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4688 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4689 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4690 wxString *arg9 = (wxString *) &arg9_defvalue ;
4691 bool result;
4692 void *argp1 = 0 ;
4693 int res1 = 0 ;
4694 void *argp2 = 0 ;
4695 int res2 = 0 ;
4696 int val3 ;
4697 int ecode3 = 0 ;
4698 bool temp4 = false ;
4699 wxPoint temp5 ;
4700 wxSize temp6 ;
4701 long val7 ;
4702 int ecode7 = 0 ;
4703 void *argp8 = 0 ;
4704 int res8 = 0 ;
4705 bool temp9 = false ;
4706 PyObject * obj0 = 0 ;
4707 PyObject * obj1 = 0 ;
4708 PyObject * obj2 = 0 ;
4709 PyObject * obj3 = 0 ;
4710 PyObject * obj4 = 0 ;
4711 PyObject * obj5 = 0 ;
4712 PyObject * obj6 = 0 ;
4713 PyObject * obj7 = 0 ;
4714 PyObject * obj8 = 0 ;
4715 char * kwnames[] = {
4716 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4717 };
4718
4719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4721 if (!SWIG_IsOK(res1)) {
4722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4723 }
4724 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4725 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4726 if (!SWIG_IsOK(res2)) {
4727 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4728 }
4729 arg2 = reinterpret_cast< wxWindow * >(argp2);
4730 if (obj2) {
4731 ecode3 = SWIG_AsVal_int(obj2, &val3);
4732 if (!SWIG_IsOK(ecode3)) {
4733 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4734 }
4735 arg3 = static_cast< int >(val3);
4736 }
4737 if (obj3) {
4738 {
4739 arg4 = wxString_in_helper(obj3);
4740 if (arg4 == NULL) SWIG_fail;
4741 temp4 = true;
4742 }
4743 }
4744 if (obj4) {
4745 {
4746 arg5 = &temp5;
4747 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4748 }
4749 }
4750 if (obj5) {
4751 {
4752 arg6 = &temp6;
4753 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4754 }
4755 }
4756 if (obj6) {
4757 ecode7 = SWIG_AsVal_long(obj6, &val7);
4758 if (!SWIG_IsOK(ecode7)) {
4759 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4760 }
4761 arg7 = static_cast< long >(val7);
4762 }
4763 if (obj7) {
4764 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4765 if (!SWIG_IsOK(res8)) {
4766 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4767 }
4768 if (!argp8) {
4769 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4770 }
4771 arg8 = reinterpret_cast< wxValidator * >(argp8);
4772 }
4773 if (obj8) {
4774 {
4775 arg9 = wxString_in_helper(obj8);
4776 if (arg9 == NULL) SWIG_fail;
4777 temp9 = true;
4778 }
4779 }
4780 {
4781 PyThreadState* __tstate = wxPyBeginAllowThreads();
4782 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4783 wxPyEndAllowThreads(__tstate);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 }
4786 {
4787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4788 }
4789 {
4790 if (temp4)
4791 delete arg4;
4792 }
4793 {
4794 if (temp9)
4795 delete arg9;
4796 }
4797 return resultobj;
4798 fail:
4799 {
4800 if (temp4)
4801 delete arg4;
4802 }
4803 {
4804 if (temp9)
4805 delete arg9;
4806 }
4807 return NULL;
4808 }
4809
4810
4811 SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4812 PyObject *resultobj = 0;
4813 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4814 bool result;
4815 void *argp1 = 0 ;
4816 int res1 = 0 ;
4817 PyObject *swig_obj[1] ;
4818
4819 if (!args) SWIG_fail;
4820 swig_obj[0] = args;
4821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4822 if (!SWIG_IsOK(res1)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4824 }
4825 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 result = (bool)(arg1)->GetValue();
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 {
4833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4834 }
4835 return resultobj;
4836 fail:
4837 return NULL;
4838 }
4839
4840
4841 SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4842 PyObject *resultobj = 0;
4843 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4844 bool result;
4845 void *argp1 = 0 ;
4846 int res1 = 0 ;
4847 PyObject *swig_obj[1] ;
4848
4849 if (!args) SWIG_fail;
4850 swig_obj[0] = args;
4851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4852 if (!SWIG_IsOK(res1)) {
4853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4854 }
4855 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 result = (bool)(arg1)->IsChecked();
4859 wxPyEndAllowThreads(__tstate);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4862 {
4863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4864 }
4865 return resultobj;
4866 fail:
4867 return NULL;
4868 }
4869
4870
4871 SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4872 PyObject *resultobj = 0;
4873 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4874 bool arg2 ;
4875 void *argp1 = 0 ;
4876 int res1 = 0 ;
4877 bool val2 ;
4878 int ecode2 = 0 ;
4879 PyObject * obj0 = 0 ;
4880 PyObject * obj1 = 0 ;
4881 char * kwnames[] = {
4882 (char *) "self",(char *) "state", NULL
4883 };
4884
4885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4887 if (!SWIG_IsOK(res1)) {
4888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4889 }
4890 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4891 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4892 if (!SWIG_IsOK(ecode2)) {
4893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4894 }
4895 arg2 = static_cast< bool >(val2);
4896 {
4897 PyThreadState* __tstate = wxPyBeginAllowThreads();
4898 (arg1)->SetValue(arg2);
4899 wxPyEndAllowThreads(__tstate);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 resultobj = SWIG_Py_Void();
4903 return resultobj;
4904 fail:
4905 return NULL;
4906 }
4907
4908
4909 SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4910 PyObject *resultobj = 0;
4911 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4912 wxCheckBoxState result;
4913 void *argp1 = 0 ;
4914 int res1 = 0 ;
4915 PyObject *swig_obj[1] ;
4916
4917 if (!args) SWIG_fail;
4918 swig_obj[0] = args;
4919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4920 if (!SWIG_IsOK(res1)) {
4921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4922 }
4923 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4927 wxPyEndAllowThreads(__tstate);
4928 if (PyErr_Occurred()) SWIG_fail;
4929 }
4930 resultobj = SWIG_From_int(static_cast< int >(result));
4931 return resultobj;
4932 fail:
4933 return NULL;
4934 }
4935
4936
4937 SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4938 PyObject *resultobj = 0;
4939 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4940 wxCheckBoxState arg2 ;
4941 void *argp1 = 0 ;
4942 int res1 = 0 ;
4943 int val2 ;
4944 int ecode2 = 0 ;
4945 PyObject * obj0 = 0 ;
4946 PyObject * obj1 = 0 ;
4947 char * kwnames[] = {
4948 (char *) "self",(char *) "state", NULL
4949 };
4950
4951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4953 if (!SWIG_IsOK(res1)) {
4954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4955 }
4956 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4957 ecode2 = SWIG_AsVal_int(obj1, &val2);
4958 if (!SWIG_IsOK(ecode2)) {
4959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4960 }
4961 arg2 = static_cast< wxCheckBoxState >(val2);
4962 {
4963 PyThreadState* __tstate = wxPyBeginAllowThreads();
4964 (arg1)->Set3StateValue(arg2);
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 resultobj = SWIG_Py_Void();
4969 return resultobj;
4970 fail:
4971 return NULL;
4972 }
4973
4974
4975 SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4976 PyObject *resultobj = 0;
4977 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4978 bool result;
4979 void *argp1 = 0 ;
4980 int res1 = 0 ;
4981 PyObject *swig_obj[1] ;
4982
4983 if (!args) SWIG_fail;
4984 swig_obj[0] = args;
4985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4986 if (!SWIG_IsOK(res1)) {
4987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4988 }
4989 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4990 {
4991 PyThreadState* __tstate = wxPyBeginAllowThreads();
4992 result = (bool)((wxCheckBox const *)arg1)->Is3State();
4993 wxPyEndAllowThreads(__tstate);
4994 if (PyErr_Occurred()) SWIG_fail;
4995 }
4996 {
4997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4998 }
4999 return resultobj;
5000 fail:
5001 return NULL;
5002 }
5003
5004
5005 SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5006 PyObject *resultobj = 0;
5007 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5008 bool result;
5009 void *argp1 = 0 ;
5010 int res1 = 0 ;
5011 PyObject *swig_obj[1] ;
5012
5013 if (!args) SWIG_fail;
5014 swig_obj[0] = args;
5015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5016 if (!SWIG_IsOK(res1)) {
5017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5018 }
5019 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5020 {
5021 PyThreadState* __tstate = wxPyBeginAllowThreads();
5022 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5023 wxPyEndAllowThreads(__tstate);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 }
5026 {
5027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5028 }
5029 return resultobj;
5030 fail:
5031 return NULL;
5032 }
5033
5034
5035 SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5036 PyObject *resultobj = 0;
5037 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5038 SwigValueWrapper<wxVisualAttributes > result;
5039 int val1 ;
5040 int ecode1 = 0 ;
5041 PyObject * obj0 = 0 ;
5042 char * kwnames[] = {
5043 (char *) "variant", NULL
5044 };
5045
5046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5047 if (obj0) {
5048 ecode1 = SWIG_AsVal_int(obj0, &val1);
5049 if (!SWIG_IsOK(ecode1)) {
5050 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5051 }
5052 arg1 = static_cast< wxWindowVariant >(val1);
5053 }
5054 {
5055 if (!wxPyCheckForApp()) SWIG_fail;
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5058 wxPyEndAllowThreads(__tstate);
5059 if (PyErr_Occurred()) SWIG_fail;
5060 }
5061 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5062 return resultobj;
5063 fail:
5064 return NULL;
5065 }
5066
5067
5068 SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5069 PyObject *obj;
5070 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5071 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5072 return SWIG_Py_Void();
5073 }
5074
5075 SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5076 return SWIG_Python_InitShadowInstance(args);
5077 }
5078
5079 SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5080 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5081 return 1;
5082 }
5083
5084
5085 SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5086 PyObject *pyobj = 0;
5087
5088 {
5089 #if wxUSE_UNICODE
5090 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5091 #else
5092 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5093 #endif
5094 }
5095 return pyobj;
5096 }
5097
5098
5099 SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5100 PyObject *resultobj = 0;
5101 wxWindow *arg1 = (wxWindow *) 0 ;
5102 int arg2 = (int) -1 ;
5103 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5104 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5105 wxSize const &arg4_defvalue = wxDefaultSize ;
5106 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5107 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5108 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5109 long arg6 = (long) 0 ;
5110 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5111 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5112 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5113 wxString *arg8 = (wxString *) &arg8_defvalue ;
5114 wxChoice *result = 0 ;
5115 void *argp1 = 0 ;
5116 int res1 = 0 ;
5117 int val2 ;
5118 int ecode2 = 0 ;
5119 wxPoint temp3 ;
5120 wxSize temp4 ;
5121 bool temp5 = false ;
5122 long val6 ;
5123 int ecode6 = 0 ;
5124 void *argp7 = 0 ;
5125 int res7 = 0 ;
5126 bool temp8 = false ;
5127 PyObject * obj0 = 0 ;
5128 PyObject * obj1 = 0 ;
5129 PyObject * obj2 = 0 ;
5130 PyObject * obj3 = 0 ;
5131 PyObject * obj4 = 0 ;
5132 PyObject * obj5 = 0 ;
5133 PyObject * obj6 = 0 ;
5134 PyObject * obj7 = 0 ;
5135 char * kwnames[] = {
5136 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5137 };
5138
5139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5141 if (!SWIG_IsOK(res1)) {
5142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5143 }
5144 arg1 = reinterpret_cast< wxWindow * >(argp1);
5145 if (obj1) {
5146 ecode2 = SWIG_AsVal_int(obj1, &val2);
5147 if (!SWIG_IsOK(ecode2)) {
5148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5149 }
5150 arg2 = static_cast< int >(val2);
5151 }
5152 if (obj2) {
5153 {
5154 arg3 = &temp3;
5155 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5156 }
5157 }
5158 if (obj3) {
5159 {
5160 arg4 = &temp4;
5161 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5162 }
5163 }
5164 if (obj4) {
5165 {
5166 if (! PySequence_Check(obj4)) {
5167 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5168 SWIG_fail;
5169 }
5170 arg5 = new wxArrayString;
5171 temp5 = true;
5172 int i, len=PySequence_Length(obj4);
5173 for (i=0; i<len; i++) {
5174 PyObject* item = PySequence_GetItem(obj4, i);
5175 wxString* s = wxString_in_helper(item);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 arg5->Add(*s);
5178 delete s;
5179 Py_DECREF(item);
5180 }
5181 }
5182 }
5183 if (obj5) {
5184 ecode6 = SWIG_AsVal_long(obj5, &val6);
5185 if (!SWIG_IsOK(ecode6)) {
5186 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5187 }
5188 arg6 = static_cast< long >(val6);
5189 }
5190 if (obj6) {
5191 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5192 if (!SWIG_IsOK(res7)) {
5193 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5194 }
5195 if (!argp7) {
5196 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5197 }
5198 arg7 = reinterpret_cast< wxValidator * >(argp7);
5199 }
5200 if (obj7) {
5201 {
5202 arg8 = wxString_in_helper(obj7);
5203 if (arg8 == NULL) SWIG_fail;
5204 temp8 = true;
5205 }
5206 }
5207 {
5208 if (!wxPyCheckForApp()) SWIG_fail;
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5215 {
5216 if (temp5) delete arg5;
5217 }
5218 {
5219 if (temp8)
5220 delete arg8;
5221 }
5222 return resultobj;
5223 fail:
5224 {
5225 if (temp5) delete arg5;
5226 }
5227 {
5228 if (temp8)
5229 delete arg8;
5230 }
5231 return NULL;
5232 }
5233
5234
5235 SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5236 PyObject *resultobj = 0;
5237 wxChoice *result = 0 ;
5238
5239 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5240 {
5241 if (!wxPyCheckForApp()) SWIG_fail;
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 result = (wxChoice *)new wxChoice();
5244 wxPyEndAllowThreads(__tstate);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
5247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5248 return resultobj;
5249 fail:
5250 return NULL;
5251 }
5252
5253
5254 SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5255 PyObject *resultobj = 0;
5256 wxChoice *arg1 = (wxChoice *) 0 ;
5257 wxWindow *arg2 = (wxWindow *) 0 ;
5258 int arg3 = (int) -1 ;
5259 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5260 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5261 wxSize const &arg5_defvalue = wxDefaultSize ;
5262 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5263 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5264 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5265 long arg7 = (long) 0 ;
5266 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5267 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5268 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5269 wxString *arg9 = (wxString *) &arg9_defvalue ;
5270 bool result;
5271 void *argp1 = 0 ;
5272 int res1 = 0 ;
5273 void *argp2 = 0 ;
5274 int res2 = 0 ;
5275 int val3 ;
5276 int ecode3 = 0 ;
5277 wxPoint temp4 ;
5278 wxSize temp5 ;
5279 bool temp6 = false ;
5280 long val7 ;
5281 int ecode7 = 0 ;
5282 void *argp8 = 0 ;
5283 int res8 = 0 ;
5284 bool temp9 = false ;
5285 PyObject * obj0 = 0 ;
5286 PyObject * obj1 = 0 ;
5287 PyObject * obj2 = 0 ;
5288 PyObject * obj3 = 0 ;
5289 PyObject * obj4 = 0 ;
5290 PyObject * obj5 = 0 ;
5291 PyObject * obj6 = 0 ;
5292 PyObject * obj7 = 0 ;
5293 PyObject * obj8 = 0 ;
5294 char * kwnames[] = {
5295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5296 };
5297
5298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5300 if (!SWIG_IsOK(res1)) {
5301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5302 }
5303 arg1 = reinterpret_cast< wxChoice * >(argp1);
5304 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5305 if (!SWIG_IsOK(res2)) {
5306 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5307 }
5308 arg2 = reinterpret_cast< wxWindow * >(argp2);
5309 if (obj2) {
5310 ecode3 = SWIG_AsVal_int(obj2, &val3);
5311 if (!SWIG_IsOK(ecode3)) {
5312 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5313 }
5314 arg3 = static_cast< int >(val3);
5315 }
5316 if (obj3) {
5317 {
5318 arg4 = &temp4;
5319 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5320 }
5321 }
5322 if (obj4) {
5323 {
5324 arg5 = &temp5;
5325 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5326 }
5327 }
5328 if (obj5) {
5329 {
5330 if (! PySequence_Check(obj5)) {
5331 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5332 SWIG_fail;
5333 }
5334 arg6 = new wxArrayString;
5335 temp6 = true;
5336 int i, len=PySequence_Length(obj5);
5337 for (i=0; i<len; i++) {
5338 PyObject* item = PySequence_GetItem(obj5, i);
5339 wxString* s = wxString_in_helper(item);
5340 if (PyErr_Occurred()) SWIG_fail;
5341 arg6->Add(*s);
5342 delete s;
5343 Py_DECREF(item);
5344 }
5345 }
5346 }
5347 if (obj6) {
5348 ecode7 = SWIG_AsVal_long(obj6, &val7);
5349 if (!SWIG_IsOK(ecode7)) {
5350 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5351 }
5352 arg7 = static_cast< long >(val7);
5353 }
5354 if (obj7) {
5355 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5356 if (!SWIG_IsOK(res8)) {
5357 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5358 }
5359 if (!argp8) {
5360 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5361 }
5362 arg8 = reinterpret_cast< wxValidator * >(argp8);
5363 }
5364 if (obj8) {
5365 {
5366 arg9 = wxString_in_helper(obj8);
5367 if (arg9 == NULL) SWIG_fail;
5368 temp9 = true;
5369 }
5370 }
5371 {
5372 PyThreadState* __tstate = wxPyBeginAllowThreads();
5373 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5374 wxPyEndAllowThreads(__tstate);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 }
5377 {
5378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5379 }
5380 {
5381 if (temp6) delete arg6;
5382 }
5383 {
5384 if (temp9)
5385 delete arg9;
5386 }
5387 return resultobj;
5388 fail:
5389 {
5390 if (temp6) delete arg6;
5391 }
5392 {
5393 if (temp9)
5394 delete arg9;
5395 }
5396 return NULL;
5397 }
5398
5399
5400 SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5401 PyObject *resultobj = 0;
5402 wxChoice *arg1 = (wxChoice *) 0 ;
5403 int result;
5404 void *argp1 = 0 ;
5405 int res1 = 0 ;
5406 PyObject *swig_obj[1] ;
5407
5408 if (!args) SWIG_fail;
5409 swig_obj[0] = args;
5410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5411 if (!SWIG_IsOK(res1)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5413 }
5414 arg1 = reinterpret_cast< wxChoice * >(argp1);
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 resultobj = SWIG_From_int(static_cast< int >(result));
5422 return resultobj;
5423 fail:
5424 return NULL;
5425 }
5426
5427
5428 SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5429 PyObject *resultobj = 0;
5430 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5431 SwigValueWrapper<wxVisualAttributes > result;
5432 int val1 ;
5433 int ecode1 = 0 ;
5434 PyObject * obj0 = 0 ;
5435 char * kwnames[] = {
5436 (char *) "variant", NULL
5437 };
5438
5439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5440 if (obj0) {
5441 ecode1 = SWIG_AsVal_int(obj0, &val1);
5442 if (!SWIG_IsOK(ecode1)) {
5443 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5444 }
5445 arg1 = static_cast< wxWindowVariant >(val1);
5446 }
5447 {
5448 if (!wxPyCheckForApp()) SWIG_fail;
5449 PyThreadState* __tstate = wxPyBeginAllowThreads();
5450 result = wxChoice::GetClassDefaultAttributes(arg1);
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5455 return resultobj;
5456 fail:
5457 return NULL;
5458 }
5459
5460
5461 SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5462 PyObject *obj;
5463 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5464 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5465 return SWIG_Py_Void();
5466 }
5467
5468 SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5469 return SWIG_Python_InitShadowInstance(args);
5470 }
5471
5472 SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5473 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5474 return 1;
5475 }
5476
5477
5478 SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5479 PyObject *pyobj = 0;
5480
5481 {
5482 #if wxUSE_UNICODE
5483 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5484 #else
5485 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5486 #endif
5487 }
5488 return pyobj;
5489 }
5490
5491
5492 SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5493 PyObject *resultobj = 0;
5494 wxWindow *arg1 = (wxWindow *) 0 ;
5495 int arg2 = (int) -1 ;
5496 wxString const &arg3_defvalue = wxPyEmptyString ;
5497 wxString *arg3 = (wxString *) &arg3_defvalue ;
5498 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5499 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5500 wxSize const &arg5_defvalue = wxDefaultSize ;
5501 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5502 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5503 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5504 long arg7 = (long) 0 ;
5505 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5506 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5507 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5508 wxString *arg9 = (wxString *) &arg9_defvalue ;
5509 wxComboBox *result = 0 ;
5510 void *argp1 = 0 ;
5511 int res1 = 0 ;
5512 int val2 ;
5513 int ecode2 = 0 ;
5514 bool temp3 = false ;
5515 wxPoint temp4 ;
5516 wxSize temp5 ;
5517 bool temp6 = false ;
5518 long val7 ;
5519 int ecode7 = 0 ;
5520 void *argp8 = 0 ;
5521 int res8 = 0 ;
5522 bool temp9 = false ;
5523 PyObject * obj0 = 0 ;
5524 PyObject * obj1 = 0 ;
5525 PyObject * obj2 = 0 ;
5526 PyObject * obj3 = 0 ;
5527 PyObject * obj4 = 0 ;
5528 PyObject * obj5 = 0 ;
5529 PyObject * obj6 = 0 ;
5530 PyObject * obj7 = 0 ;
5531 PyObject * obj8 = 0 ;
5532 char * kwnames[] = {
5533 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5534 };
5535
5536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5538 if (!SWIG_IsOK(res1)) {
5539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5540 }
5541 arg1 = reinterpret_cast< wxWindow * >(argp1);
5542 if (obj1) {
5543 ecode2 = SWIG_AsVal_int(obj1, &val2);
5544 if (!SWIG_IsOK(ecode2)) {
5545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5546 }
5547 arg2 = static_cast< int >(val2);
5548 }
5549 if (obj2) {
5550 {
5551 arg3 = wxString_in_helper(obj2);
5552 if (arg3 == NULL) SWIG_fail;
5553 temp3 = true;
5554 }
5555 }
5556 if (obj3) {
5557 {
5558 arg4 = &temp4;
5559 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5560 }
5561 }
5562 if (obj4) {
5563 {
5564 arg5 = &temp5;
5565 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5566 }
5567 }
5568 if (obj5) {
5569 {
5570 if (! PySequence_Check(obj5)) {
5571 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5572 SWIG_fail;
5573 }
5574 arg6 = new wxArrayString;
5575 temp6 = true;
5576 int i, len=PySequence_Length(obj5);
5577 for (i=0; i<len; i++) {
5578 PyObject* item = PySequence_GetItem(obj5, i);
5579 wxString* s = wxString_in_helper(item);
5580 if (PyErr_Occurred()) SWIG_fail;
5581 arg6->Add(*s);
5582 delete s;
5583 Py_DECREF(item);
5584 }
5585 }
5586 }
5587 if (obj6) {
5588 ecode7 = SWIG_AsVal_long(obj6, &val7);
5589 if (!SWIG_IsOK(ecode7)) {
5590 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5591 }
5592 arg7 = static_cast< long >(val7);
5593 }
5594 if (obj7) {
5595 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5596 if (!SWIG_IsOK(res8)) {
5597 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5598 }
5599 if (!argp8) {
5600 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5601 }
5602 arg8 = reinterpret_cast< wxValidator * >(argp8);
5603 }
5604 if (obj8) {
5605 {
5606 arg9 = wxString_in_helper(obj8);
5607 if (arg9 == NULL) SWIG_fail;
5608 temp9 = true;
5609 }
5610 }
5611 {
5612 if (!wxPyCheckForApp()) SWIG_fail;
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 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);
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5619 {
5620 if (temp3)
5621 delete arg3;
5622 }
5623 {
5624 if (temp6) delete arg6;
5625 }
5626 {
5627 if (temp9)
5628 delete arg9;
5629 }
5630 return resultobj;
5631 fail:
5632 {
5633 if (temp3)
5634 delete arg3;
5635 }
5636 {
5637 if (temp6) delete arg6;
5638 }
5639 {
5640 if (temp9)
5641 delete arg9;
5642 }
5643 return NULL;
5644 }
5645
5646
5647 SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5648 PyObject *resultobj = 0;
5649 wxComboBox *result = 0 ;
5650
5651 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5652 {
5653 if (!wxPyCheckForApp()) SWIG_fail;
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 result = (wxComboBox *)new wxComboBox();
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5660 return resultobj;
5661 fail:
5662 return NULL;
5663 }
5664
5665
5666 SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj = 0;
5668 wxComboBox *arg1 = (wxComboBox *) 0 ;
5669 wxWindow *arg2 = (wxWindow *) 0 ;
5670 int arg3 = (int) -1 ;
5671 wxString const &arg4_defvalue = wxPyEmptyString ;
5672 wxString *arg4 = (wxString *) &arg4_defvalue ;
5673 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5674 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5675 wxSize const &arg6_defvalue = wxDefaultSize ;
5676 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5677 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5678 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5679 long arg8 = (long) 0 ;
5680 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5681 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5682 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5683 wxString *arg10 = (wxString *) &arg10_defvalue ;
5684 bool result;
5685 void *argp1 = 0 ;
5686 int res1 = 0 ;
5687 void *argp2 = 0 ;
5688 int res2 = 0 ;
5689 int val3 ;
5690 int ecode3 = 0 ;
5691 bool temp4 = false ;
5692 wxPoint temp5 ;
5693 wxSize temp6 ;
5694 bool temp7 = false ;
5695 long val8 ;
5696 int ecode8 = 0 ;
5697 void *argp9 = 0 ;
5698 int res9 = 0 ;
5699 bool temp10 = false ;
5700 PyObject * obj0 = 0 ;
5701 PyObject * obj1 = 0 ;
5702 PyObject * obj2 = 0 ;
5703 PyObject * obj3 = 0 ;
5704 PyObject * obj4 = 0 ;
5705 PyObject * obj5 = 0 ;
5706 PyObject * obj6 = 0 ;
5707 PyObject * obj7 = 0 ;
5708 PyObject * obj8 = 0 ;
5709 PyObject * obj9 = 0 ;
5710 char * kwnames[] = {
5711 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5712 };
5713
5714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5716 if (!SWIG_IsOK(res1)) {
5717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5718 }
5719 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5720 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5721 if (!SWIG_IsOK(res2)) {
5722 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5723 }
5724 arg2 = reinterpret_cast< wxWindow * >(argp2);
5725 if (obj2) {
5726 ecode3 = SWIG_AsVal_int(obj2, &val3);
5727 if (!SWIG_IsOK(ecode3)) {
5728 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5729 }
5730 arg3 = static_cast< int >(val3);
5731 }
5732 if (obj3) {
5733 {
5734 arg4 = wxString_in_helper(obj3);
5735 if (arg4 == NULL) SWIG_fail;
5736 temp4 = true;
5737 }
5738 }
5739 if (obj4) {
5740 {
5741 arg5 = &temp5;
5742 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5743 }
5744 }
5745 if (obj5) {
5746 {
5747 arg6 = &temp6;
5748 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5749 }
5750 }
5751 if (obj6) {
5752 {
5753 if (! PySequence_Check(obj6)) {
5754 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5755 SWIG_fail;
5756 }
5757 arg7 = new wxArrayString;
5758 temp7 = true;
5759 int i, len=PySequence_Length(obj6);
5760 for (i=0; i<len; i++) {
5761 PyObject* item = PySequence_GetItem(obj6, i);
5762 wxString* s = wxString_in_helper(item);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 arg7->Add(*s);
5765 delete s;
5766 Py_DECREF(item);
5767 }
5768 }
5769 }
5770 if (obj7) {
5771 ecode8 = SWIG_AsVal_long(obj7, &val8);
5772 if (!SWIG_IsOK(ecode8)) {
5773 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5774 }
5775 arg8 = static_cast< long >(val8);
5776 }
5777 if (obj8) {
5778 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5779 if (!SWIG_IsOK(res9)) {
5780 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5781 }
5782 if (!argp9) {
5783 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5784 }
5785 arg9 = reinterpret_cast< wxValidator * >(argp9);
5786 }
5787 if (obj9) {
5788 {
5789 arg10 = wxString_in_helper(obj9);
5790 if (arg10 == NULL) SWIG_fail;
5791 temp10 = true;
5792 }
5793 }
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 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);
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 {
5801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5802 }
5803 {
5804 if (temp4)
5805 delete arg4;
5806 }
5807 {
5808 if (temp7) delete arg7;
5809 }
5810 {
5811 if (temp10)
5812 delete arg10;
5813 }
5814 return resultobj;
5815 fail:
5816 {
5817 if (temp4)
5818 delete arg4;
5819 }
5820 {
5821 if (temp7) delete arg7;
5822 }
5823 {
5824 if (temp10)
5825 delete arg10;
5826 }
5827 return NULL;
5828 }
5829
5830
5831 SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5832 PyObject *resultobj = 0;
5833 wxComboBox *arg1 = (wxComboBox *) 0 ;
5834 wxString result;
5835 void *argp1 = 0 ;
5836 int res1 = 0 ;
5837 PyObject *swig_obj[1] ;
5838
5839 if (!args) SWIG_fail;
5840 swig_obj[0] = args;
5841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5842 if (!SWIG_IsOK(res1)) {
5843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5844 }
5845 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 result = ((wxComboBox const *)arg1)->GetValue();
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
5852 {
5853 #if wxUSE_UNICODE
5854 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5855 #else
5856 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5857 #endif
5858 }
5859 return resultobj;
5860 fail:
5861 return NULL;
5862 }
5863
5864
5865 SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5866 PyObject *resultobj = 0;
5867 wxComboBox *arg1 = (wxComboBox *) 0 ;
5868 wxString *arg2 = 0 ;
5869 void *argp1 = 0 ;
5870 int res1 = 0 ;
5871 bool temp2 = false ;
5872 PyObject * obj0 = 0 ;
5873 PyObject * obj1 = 0 ;
5874 char * kwnames[] = {
5875 (char *) "self",(char *) "value", NULL
5876 };
5877
5878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5880 if (!SWIG_IsOK(res1)) {
5881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5882 }
5883 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5884 {
5885 arg2 = wxString_in_helper(obj1);
5886 if (arg2 == NULL) SWIG_fail;
5887 temp2 = true;
5888 }
5889 {
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 (arg1)->SetValue((wxString const &)*arg2);
5892 wxPyEndAllowThreads(__tstate);
5893 if (PyErr_Occurred()) SWIG_fail;
5894 }
5895 resultobj = SWIG_Py_Void();
5896 {
5897 if (temp2)
5898 delete arg2;
5899 }
5900 return resultobj;
5901 fail:
5902 {
5903 if (temp2)
5904 delete arg2;
5905 }
5906 return NULL;
5907 }
5908
5909
5910 SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5911 PyObject *resultobj = 0;
5912 wxComboBox *arg1 = (wxComboBox *) 0 ;
5913 void *argp1 = 0 ;
5914 int res1 = 0 ;
5915 PyObject *swig_obj[1] ;
5916
5917 if (!args) SWIG_fail;
5918 swig_obj[0] = args;
5919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5920 if (!SWIG_IsOK(res1)) {
5921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5922 }
5923 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5924 {
5925 PyThreadState* __tstate = wxPyBeginAllowThreads();
5926 (arg1)->Copy();
5927 wxPyEndAllowThreads(__tstate);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
5930 resultobj = SWIG_Py_Void();
5931 return resultobj;
5932 fail:
5933 return NULL;
5934 }
5935
5936
5937 SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5938 PyObject *resultobj = 0;
5939 wxComboBox *arg1 = (wxComboBox *) 0 ;
5940 void *argp1 = 0 ;
5941 int res1 = 0 ;
5942 PyObject *swig_obj[1] ;
5943
5944 if (!args) SWIG_fail;
5945 swig_obj[0] = args;
5946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5947 if (!SWIG_IsOK(res1)) {
5948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5949 }
5950 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5951 {
5952 PyThreadState* __tstate = wxPyBeginAllowThreads();
5953 (arg1)->Cut();
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
5957 resultobj = SWIG_Py_Void();
5958 return resultobj;
5959 fail:
5960 return NULL;
5961 }
5962
5963
5964 SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5965 PyObject *resultobj = 0;
5966 wxComboBox *arg1 = (wxComboBox *) 0 ;
5967 void *argp1 = 0 ;
5968 int res1 = 0 ;
5969 PyObject *swig_obj[1] ;
5970
5971 if (!args) SWIG_fail;
5972 swig_obj[0] = args;
5973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5974 if (!SWIG_IsOK(res1)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5976 }
5977 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 (arg1)->Paste();
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) SWIG_fail;
5983 }
5984 resultobj = SWIG_Py_Void();
5985 return resultobj;
5986 fail:
5987 return NULL;
5988 }
5989
5990
5991 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5992 PyObject *resultobj = 0;
5993 wxComboBox *arg1 = (wxComboBox *) 0 ;
5994 long arg2 ;
5995 void *argp1 = 0 ;
5996 int res1 = 0 ;
5997 long val2 ;
5998 int ecode2 = 0 ;
5999 PyObject * obj0 = 0 ;
6000 PyObject * obj1 = 0 ;
6001 char * kwnames[] = {
6002 (char *) "self",(char *) "pos", NULL
6003 };
6004
6005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
6006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6007 if (!SWIG_IsOK(res1)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6009 }
6010 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6011 ecode2 = SWIG_AsVal_long(obj1, &val2);
6012 if (!SWIG_IsOK(ecode2)) {
6013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6014 }
6015 arg2 = static_cast< long >(val2);
6016 {
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 (arg1)->SetInsertionPoint(arg2);
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 resultobj = SWIG_Py_Void();
6023 return resultobj;
6024 fail:
6025 return NULL;
6026 }
6027
6028
6029 SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6030 PyObject *resultobj = 0;
6031 wxComboBox *arg1 = (wxComboBox *) 0 ;
6032 long result;
6033 void *argp1 = 0 ;
6034 int res1 = 0 ;
6035 PyObject *swig_obj[1] ;
6036
6037 if (!args) SWIG_fail;
6038 swig_obj[0] = args;
6039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6040 if (!SWIG_IsOK(res1)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6042 }
6043 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 resultobj = SWIG_From_long(static_cast< long >(result));
6051 return resultobj;
6052 fail:
6053 return NULL;
6054 }
6055
6056
6057 SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6058 PyObject *resultobj = 0;
6059 wxComboBox *arg1 = (wxComboBox *) 0 ;
6060 long result;
6061 void *argp1 = 0 ;
6062 int res1 = 0 ;
6063 PyObject *swig_obj[1] ;
6064
6065 if (!args) SWIG_fail;
6066 swig_obj[0] = args;
6067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6068 if (!SWIG_IsOK(res1)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6070 }
6071 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6072 {
6073 PyThreadState* __tstate = wxPyBeginAllowThreads();
6074 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 resultobj = SWIG_From_long(static_cast< long >(result));
6079 return resultobj;
6080 fail:
6081 return NULL;
6082 }
6083
6084
6085 SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6086 PyObject *resultobj = 0;
6087 wxComboBox *arg1 = (wxComboBox *) 0 ;
6088 long arg2 ;
6089 long arg3 ;
6090 wxString *arg4 = 0 ;
6091 void *argp1 = 0 ;
6092 int res1 = 0 ;
6093 long val2 ;
6094 int ecode2 = 0 ;
6095 long val3 ;
6096 int ecode3 = 0 ;
6097 bool temp4 = false ;
6098 PyObject * obj0 = 0 ;
6099 PyObject * obj1 = 0 ;
6100 PyObject * obj2 = 0 ;
6101 PyObject * obj3 = 0 ;
6102 char * kwnames[] = {
6103 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6104 };
6105
6106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6108 if (!SWIG_IsOK(res1)) {
6109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6110 }
6111 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6112 ecode2 = SWIG_AsVal_long(obj1, &val2);
6113 if (!SWIG_IsOK(ecode2)) {
6114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6115 }
6116 arg2 = static_cast< long >(val2);
6117 ecode3 = SWIG_AsVal_long(obj2, &val3);
6118 if (!SWIG_IsOK(ecode3)) {
6119 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6120 }
6121 arg3 = static_cast< long >(val3);
6122 {
6123 arg4 = wxString_in_helper(obj3);
6124 if (arg4 == NULL) SWIG_fail;
6125 temp4 = true;
6126 }
6127 {
6128 PyThreadState* __tstate = wxPyBeginAllowThreads();
6129 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 resultobj = SWIG_Py_Void();
6134 {
6135 if (temp4)
6136 delete arg4;
6137 }
6138 return resultobj;
6139 fail:
6140 {
6141 if (temp4)
6142 delete arg4;
6143 }
6144 return NULL;
6145 }
6146
6147
6148 SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6149 PyObject *resultobj = 0;
6150 wxComboBox *arg1 = (wxComboBox *) 0 ;
6151 long arg2 ;
6152 long arg3 ;
6153 void *argp1 = 0 ;
6154 int res1 = 0 ;
6155 long val2 ;
6156 int ecode2 = 0 ;
6157 long val3 ;
6158 int ecode3 = 0 ;
6159 PyObject * obj0 = 0 ;
6160 PyObject * obj1 = 0 ;
6161 PyObject * obj2 = 0 ;
6162 char * kwnames[] = {
6163 (char *) "self",(char *) "from",(char *) "to", NULL
6164 };
6165
6166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6168 if (!SWIG_IsOK(res1)) {
6169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6170 }
6171 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6172 ecode2 = SWIG_AsVal_long(obj1, &val2);
6173 if (!SWIG_IsOK(ecode2)) {
6174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6175 }
6176 arg2 = static_cast< long >(val2);
6177 ecode3 = SWIG_AsVal_long(obj2, &val3);
6178 if (!SWIG_IsOK(ecode3)) {
6179 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6180 }
6181 arg3 = static_cast< long >(val3);
6182 {
6183 PyThreadState* __tstate = wxPyBeginAllowThreads();
6184 (arg1)->SetSelection(arg2,arg3);
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
6188 resultobj = SWIG_Py_Void();
6189 return resultobj;
6190 fail:
6191 return NULL;
6192 }
6193
6194
6195 SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6196 PyObject *resultobj = 0;
6197 wxComboBox *arg1 = (wxComboBox *) 0 ;
6198 long *arg2 = (long *) 0 ;
6199 long *arg3 = (long *) 0 ;
6200 void *argp1 = 0 ;
6201 int res1 = 0 ;
6202 long temp2 ;
6203 int res2 = SWIG_TMPOBJ ;
6204 long temp3 ;
6205 int res3 = SWIG_TMPOBJ ;
6206 PyObject *swig_obj[1] ;
6207
6208 arg2 = &temp2;
6209 arg3 = &temp3;
6210 if (!args) SWIG_fail;
6211 swig_obj[0] = args;
6212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6213 if (!SWIG_IsOK(res1)) {
6214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6215 }
6216 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 (arg1)->GetSelection(arg2,arg3);
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 resultobj = SWIG_Py_Void();
6224 if (SWIG_IsTmpObj(res2)) {
6225 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6226 } else {
6227 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6228 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6229 }
6230 if (SWIG_IsTmpObj(res3)) {
6231 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6232 } else {
6233 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6234 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6235 }
6236 return resultobj;
6237 fail:
6238 return NULL;
6239 }
6240
6241
6242 SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6243 PyObject *resultobj = 0;
6244 wxComboBox *arg1 = (wxComboBox *) 0 ;
6245 int result;
6246 void *argp1 = 0 ;
6247 int res1 = 0 ;
6248 PyObject *swig_obj[1] ;
6249
6250 if (!args) SWIG_fail;
6251 swig_obj[0] = args;
6252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6253 if (!SWIG_IsOK(res1)) {
6254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6255 }
6256 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6257 {
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
6263 resultobj = SWIG_From_int(static_cast< int >(result));
6264 return resultobj;
6265 fail:
6266 return NULL;
6267 }
6268
6269
6270 SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6271 PyObject *resultobj = 0;
6272 wxComboBox *arg1 = (wxComboBox *) 0 ;
6273 wxString *arg2 = 0 ;
6274 bool result;
6275 void *argp1 = 0 ;
6276 int res1 = 0 ;
6277 bool temp2 = false ;
6278 PyObject * obj0 = 0 ;
6279 PyObject * obj1 = 0 ;
6280 char * kwnames[] = {
6281 (char *) "self",(char *) "string", NULL
6282 };
6283
6284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6286 if (!SWIG_IsOK(res1)) {
6287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6288 }
6289 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6290 {
6291 arg2 = wxString_in_helper(obj1);
6292 if (arg2 == NULL) SWIG_fail;
6293 temp2 = true;
6294 }
6295 {
6296 PyThreadState* __tstate = wxPyBeginAllowThreads();
6297 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 {
6302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6303 }
6304 {
6305 if (temp2)
6306 delete arg2;
6307 }
6308 return resultobj;
6309 fail:
6310 {
6311 if (temp2)
6312 delete arg2;
6313 }
6314 return NULL;
6315 }
6316
6317
6318 SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6319 PyObject *resultobj = 0;
6320 wxComboBox *arg1 = (wxComboBox *) 0 ;
6321 bool arg2 ;
6322 void *argp1 = 0 ;
6323 int res1 = 0 ;
6324 bool val2 ;
6325 int ecode2 = 0 ;
6326 PyObject * obj0 = 0 ;
6327 PyObject * obj1 = 0 ;
6328 char * kwnames[] = {
6329 (char *) "self",(char *) "editable", NULL
6330 };
6331
6332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6334 if (!SWIG_IsOK(res1)) {
6335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6336 }
6337 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6338 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6339 if (!SWIG_IsOK(ecode2)) {
6340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6341 }
6342 arg2 = static_cast< bool >(val2);
6343 {
6344 PyThreadState* __tstate = wxPyBeginAllowThreads();
6345 (arg1)->SetEditable(arg2);
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
6349 resultobj = SWIG_Py_Void();
6350 return resultobj;
6351 fail:
6352 return NULL;
6353 }
6354
6355
6356 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6357 PyObject *resultobj = 0;
6358 wxComboBox *arg1 = (wxComboBox *) 0 ;
6359 void *argp1 = 0 ;
6360 int res1 = 0 ;
6361 PyObject *swig_obj[1] ;
6362
6363 if (!args) SWIG_fail;
6364 swig_obj[0] = args;
6365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6366 if (!SWIG_IsOK(res1)) {
6367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6368 }
6369 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6370 {
6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
6372 (arg1)->SetInsertionPointEnd();
6373 wxPyEndAllowThreads(__tstate);
6374 if (PyErr_Occurred()) SWIG_fail;
6375 }
6376 resultobj = SWIG_Py_Void();
6377 return resultobj;
6378 fail:
6379 return NULL;
6380 }
6381
6382
6383 SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6384 PyObject *resultobj = 0;
6385 wxComboBox *arg1 = (wxComboBox *) 0 ;
6386 long arg2 ;
6387 long arg3 ;
6388 void *argp1 = 0 ;
6389 int res1 = 0 ;
6390 long val2 ;
6391 int ecode2 = 0 ;
6392 long val3 ;
6393 int ecode3 = 0 ;
6394 PyObject * obj0 = 0 ;
6395 PyObject * obj1 = 0 ;
6396 PyObject * obj2 = 0 ;
6397 char * kwnames[] = {
6398 (char *) "self",(char *) "from",(char *) "to", NULL
6399 };
6400
6401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6403 if (!SWIG_IsOK(res1)) {
6404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6405 }
6406 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6407 ecode2 = SWIG_AsVal_long(obj1, &val2);
6408 if (!SWIG_IsOK(ecode2)) {
6409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6410 }
6411 arg2 = static_cast< long >(val2);
6412 ecode3 = SWIG_AsVal_long(obj2, &val3);
6413 if (!SWIG_IsOK(ecode3)) {
6414 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6415 }
6416 arg3 = static_cast< long >(val3);
6417 {
6418 PyThreadState* __tstate = wxPyBeginAllowThreads();
6419 (arg1)->Remove(arg2,arg3);
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 resultobj = SWIG_Py_Void();
6424 return resultobj;
6425 fail:
6426 return NULL;
6427 }
6428
6429
6430 SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6431 PyObject *resultobj = 0;
6432 wxComboBox *arg1 = (wxComboBox *) 0 ;
6433 bool result;
6434 void *argp1 = 0 ;
6435 int res1 = 0 ;
6436 PyObject *swig_obj[1] ;
6437
6438 if (!args) SWIG_fail;
6439 swig_obj[0] = args;
6440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6441 if (!SWIG_IsOK(res1)) {
6442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6443 }
6444 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6445 {
6446 PyThreadState* __tstate = wxPyBeginAllowThreads();
6447 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6448 wxPyEndAllowThreads(__tstate);
6449 if (PyErr_Occurred()) SWIG_fail;
6450 }
6451 {
6452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6453 }
6454 return resultobj;
6455 fail:
6456 return NULL;
6457 }
6458
6459
6460 SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6461 PyObject *resultobj = 0;
6462 wxComboBox *arg1 = (wxComboBox *) 0 ;
6463 void *argp1 = 0 ;
6464 int res1 = 0 ;
6465 PyObject *swig_obj[1] ;
6466
6467 if (!args) SWIG_fail;
6468 swig_obj[0] = args;
6469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6470 if (!SWIG_IsOK(res1)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6472 }
6473 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6474 {
6475 PyThreadState* __tstate = wxPyBeginAllowThreads();
6476 (arg1)->Undo();
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 resultobj = SWIG_Py_Void();
6481 return resultobj;
6482 fail:
6483 return NULL;
6484 }
6485
6486
6487 SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6488 PyObject *resultobj = 0;
6489 wxComboBox *arg1 = (wxComboBox *) 0 ;
6490 void *argp1 = 0 ;
6491 int res1 = 0 ;
6492 PyObject *swig_obj[1] ;
6493
6494 if (!args) SWIG_fail;
6495 swig_obj[0] = args;
6496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6497 if (!SWIG_IsOK(res1)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6499 }
6500 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 (arg1)->Redo();
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 resultobj = SWIG_Py_Void();
6508 return resultobj;
6509 fail:
6510 return NULL;
6511 }
6512
6513
6514 SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6515 PyObject *resultobj = 0;
6516 wxComboBox *arg1 = (wxComboBox *) 0 ;
6517 void *argp1 = 0 ;
6518 int res1 = 0 ;
6519 PyObject *swig_obj[1] ;
6520
6521 if (!args) SWIG_fail;
6522 swig_obj[0] = args;
6523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6524 if (!SWIG_IsOK(res1)) {
6525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6526 }
6527 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6528 {
6529 PyThreadState* __tstate = wxPyBeginAllowThreads();
6530 (arg1)->SelectAll();
6531 wxPyEndAllowThreads(__tstate);
6532 if (PyErr_Occurred()) SWIG_fail;
6533 }
6534 resultobj = SWIG_Py_Void();
6535 return resultobj;
6536 fail:
6537 return NULL;
6538 }
6539
6540
6541 SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6542 PyObject *resultobj = 0;
6543 wxComboBox *arg1 = (wxComboBox *) 0 ;
6544 bool result;
6545 void *argp1 = 0 ;
6546 int res1 = 0 ;
6547 PyObject *swig_obj[1] ;
6548
6549 if (!args) SWIG_fail;
6550 swig_obj[0] = args;
6551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6552 if (!SWIG_IsOK(res1)) {
6553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6554 }
6555 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6556 {
6557 PyThreadState* __tstate = wxPyBeginAllowThreads();
6558 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 {
6563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6564 }
6565 return resultobj;
6566 fail:
6567 return NULL;
6568 }
6569
6570
6571 SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6572 PyObject *resultobj = 0;
6573 wxComboBox *arg1 = (wxComboBox *) 0 ;
6574 bool result;
6575 void *argp1 = 0 ;
6576 int res1 = 0 ;
6577 PyObject *swig_obj[1] ;
6578
6579 if (!args) SWIG_fail;
6580 swig_obj[0] = args;
6581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6582 if (!SWIG_IsOK(res1)) {
6583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6584 }
6585 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 result = (bool)((wxComboBox const *)arg1)->CanCut();
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 {
6593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6594 }
6595 return resultobj;
6596 fail:
6597 return NULL;
6598 }
6599
6600
6601 SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6602 PyObject *resultobj = 0;
6603 wxComboBox *arg1 = (wxComboBox *) 0 ;
6604 bool result;
6605 void *argp1 = 0 ;
6606 int res1 = 0 ;
6607 PyObject *swig_obj[1] ;
6608
6609 if (!args) SWIG_fail;
6610 swig_obj[0] = args;
6611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6612 if (!SWIG_IsOK(res1)) {
6613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6614 }
6615 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6616 {
6617 PyThreadState* __tstate = wxPyBeginAllowThreads();
6618 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 {
6623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6624 }
6625 return resultobj;
6626 fail:
6627 return NULL;
6628 }
6629
6630
6631 SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6632 PyObject *resultobj = 0;
6633 wxComboBox *arg1 = (wxComboBox *) 0 ;
6634 bool result;
6635 void *argp1 = 0 ;
6636 int res1 = 0 ;
6637 PyObject *swig_obj[1] ;
6638
6639 if (!args) SWIG_fail;
6640 swig_obj[0] = args;
6641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6642 if (!SWIG_IsOK(res1)) {
6643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6644 }
6645 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6646 {
6647 PyThreadState* __tstate = wxPyBeginAllowThreads();
6648 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6649 wxPyEndAllowThreads(__tstate);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
6652 {
6653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6654 }
6655 return resultobj;
6656 fail:
6657 return NULL;
6658 }
6659
6660
6661 SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6662 PyObject *resultobj = 0;
6663 wxComboBox *arg1 = (wxComboBox *) 0 ;
6664 bool result;
6665 void *argp1 = 0 ;
6666 int res1 = 0 ;
6667 PyObject *swig_obj[1] ;
6668
6669 if (!args) SWIG_fail;
6670 swig_obj[0] = args;
6671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6672 if (!SWIG_IsOK(res1)) {
6673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6674 }
6675 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6676 {
6677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6678 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 }
6682 {
6683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6684 }
6685 return resultobj;
6686 fail:
6687 return NULL;
6688 }
6689
6690
6691 SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6692 PyObject *resultobj = 0;
6693 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6694 SwigValueWrapper<wxVisualAttributes > result;
6695 int val1 ;
6696 int ecode1 = 0 ;
6697 PyObject * obj0 = 0 ;
6698 char * kwnames[] = {
6699 (char *) "variant", NULL
6700 };
6701
6702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6703 if (obj0) {
6704 ecode1 = SWIG_AsVal_int(obj0, &val1);
6705 if (!SWIG_IsOK(ecode1)) {
6706 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6707 }
6708 arg1 = static_cast< wxWindowVariant >(val1);
6709 }
6710 {
6711 if (!wxPyCheckForApp()) SWIG_fail;
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 result = wxComboBox::GetClassDefaultAttributes(arg1);
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6718 return resultobj;
6719 fail:
6720 return NULL;
6721 }
6722
6723
6724 SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6725 PyObject *obj;
6726 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6727 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6728 return SWIG_Py_Void();
6729 }
6730
6731 SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6732 return SWIG_Python_InitShadowInstance(args);
6733 }
6734
6735 SWIGINTERN int GaugeNameStr_set(PyObject *) {
6736 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6737 return 1;
6738 }
6739
6740
6741 SWIGINTERN PyObject *GaugeNameStr_get(void) {
6742 PyObject *pyobj = 0;
6743
6744 {
6745 #if wxUSE_UNICODE
6746 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6747 #else
6748 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6749 #endif
6750 }
6751 return pyobj;
6752 }
6753
6754
6755 SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6756 PyObject *resultobj = 0;
6757 wxWindow *arg1 = (wxWindow *) 0 ;
6758 int arg2 = (int) -1 ;
6759 int arg3 = (int) 100 ;
6760 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6761 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6762 wxSize const &arg5_defvalue = wxDefaultSize ;
6763 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6764 long arg6 = (long) wxGA_HORIZONTAL ;
6765 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6766 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6767 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6768 wxString *arg8 = (wxString *) &arg8_defvalue ;
6769 wxGauge *result = 0 ;
6770 void *argp1 = 0 ;
6771 int res1 = 0 ;
6772 int val2 ;
6773 int ecode2 = 0 ;
6774 int val3 ;
6775 int ecode3 = 0 ;
6776 wxPoint temp4 ;
6777 wxSize temp5 ;
6778 long val6 ;
6779 int ecode6 = 0 ;
6780 void *argp7 = 0 ;
6781 int res7 = 0 ;
6782 bool temp8 = false ;
6783 PyObject * obj0 = 0 ;
6784 PyObject * obj1 = 0 ;
6785 PyObject * obj2 = 0 ;
6786 PyObject * obj3 = 0 ;
6787 PyObject * obj4 = 0 ;
6788 PyObject * obj5 = 0 ;
6789 PyObject * obj6 = 0 ;
6790 PyObject * obj7 = 0 ;
6791 char * kwnames[] = {
6792 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6793 };
6794
6795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6797 if (!SWIG_IsOK(res1)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6799 }
6800 arg1 = reinterpret_cast< wxWindow * >(argp1);
6801 if (obj1) {
6802 ecode2 = SWIG_AsVal_int(obj1, &val2);
6803 if (!SWIG_IsOK(ecode2)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6805 }
6806 arg2 = static_cast< int >(val2);
6807 }
6808 if (obj2) {
6809 ecode3 = SWIG_AsVal_int(obj2, &val3);
6810 if (!SWIG_IsOK(ecode3)) {
6811 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6812 }
6813 arg3 = static_cast< int >(val3);
6814 }
6815 if (obj3) {
6816 {
6817 arg4 = &temp4;
6818 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6819 }
6820 }
6821 if (obj4) {
6822 {
6823 arg5 = &temp5;
6824 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6825 }
6826 }
6827 if (obj5) {
6828 ecode6 = SWIG_AsVal_long(obj5, &val6);
6829 if (!SWIG_IsOK(ecode6)) {
6830 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6831 }
6832 arg6 = static_cast< long >(val6);
6833 }
6834 if (obj6) {
6835 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6836 if (!SWIG_IsOK(res7)) {
6837 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6838 }
6839 if (!argp7) {
6840 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6841 }
6842 arg7 = reinterpret_cast< wxValidator * >(argp7);
6843 }
6844 if (obj7) {
6845 {
6846 arg8 = wxString_in_helper(obj7);
6847 if (arg8 == NULL) SWIG_fail;
6848 temp8 = true;
6849 }
6850 }
6851 {
6852 if (!wxPyCheckForApp()) SWIG_fail;
6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
6854 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6859 {
6860 if (temp8)
6861 delete arg8;
6862 }
6863 return resultobj;
6864 fail:
6865 {
6866 if (temp8)
6867 delete arg8;
6868 }
6869 return NULL;
6870 }
6871
6872
6873 SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6874 PyObject *resultobj = 0;
6875 wxGauge *result = 0 ;
6876
6877 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6878 {
6879 if (!wxPyCheckForApp()) SWIG_fail;
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 result = (wxGauge *)new wxGauge();
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6886 return resultobj;
6887 fail:
6888 return NULL;
6889 }
6890
6891
6892 SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6893 PyObject *resultobj = 0;
6894 wxGauge *arg1 = (wxGauge *) 0 ;
6895 wxWindow *arg2 = (wxWindow *) 0 ;
6896 int arg3 = (int) -1 ;
6897 int arg4 = (int) 100 ;
6898 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6899 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6900 wxSize const &arg6_defvalue = wxDefaultSize ;
6901 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6902 long arg7 = (long) wxGA_HORIZONTAL ;
6903 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6904 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6905 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6906 wxString *arg9 = (wxString *) &arg9_defvalue ;
6907 bool result;
6908 void *argp1 = 0 ;
6909 int res1 = 0 ;
6910 void *argp2 = 0 ;
6911 int res2 = 0 ;
6912 int val3 ;
6913 int ecode3 = 0 ;
6914 int val4 ;
6915 int ecode4 = 0 ;
6916 wxPoint temp5 ;
6917 wxSize temp6 ;
6918 long val7 ;
6919 int ecode7 = 0 ;
6920 void *argp8 = 0 ;
6921 int res8 = 0 ;
6922 bool temp9 = false ;
6923 PyObject * obj0 = 0 ;
6924 PyObject * obj1 = 0 ;
6925 PyObject * obj2 = 0 ;
6926 PyObject * obj3 = 0 ;
6927 PyObject * obj4 = 0 ;
6928 PyObject * obj5 = 0 ;
6929 PyObject * obj6 = 0 ;
6930 PyObject * obj7 = 0 ;
6931 PyObject * obj8 = 0 ;
6932 char * kwnames[] = {
6933 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6934 };
6935
6936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6938 if (!SWIG_IsOK(res1)) {
6939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6940 }
6941 arg1 = reinterpret_cast< wxGauge * >(argp1);
6942 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6943 if (!SWIG_IsOK(res2)) {
6944 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6945 }
6946 arg2 = reinterpret_cast< wxWindow * >(argp2);
6947 if (obj2) {
6948 ecode3 = SWIG_AsVal_int(obj2, &val3);
6949 if (!SWIG_IsOK(ecode3)) {
6950 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6951 }
6952 arg3 = static_cast< int >(val3);
6953 }
6954 if (obj3) {
6955 ecode4 = SWIG_AsVal_int(obj3, &val4);
6956 if (!SWIG_IsOK(ecode4)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6958 }
6959 arg4 = static_cast< int >(val4);
6960 }
6961 if (obj4) {
6962 {
6963 arg5 = &temp5;
6964 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6965 }
6966 }
6967 if (obj5) {
6968 {
6969 arg6 = &temp6;
6970 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6971 }
6972 }
6973 if (obj6) {
6974 ecode7 = SWIG_AsVal_long(obj6, &val7);
6975 if (!SWIG_IsOK(ecode7)) {
6976 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6977 }
6978 arg7 = static_cast< long >(val7);
6979 }
6980 if (obj7) {
6981 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
6982 if (!SWIG_IsOK(res8)) {
6983 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6984 }
6985 if (!argp8) {
6986 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6987 }
6988 arg8 = reinterpret_cast< wxValidator * >(argp8);
6989 }
6990 if (obj8) {
6991 {
6992 arg9 = wxString_in_helper(obj8);
6993 if (arg9 == NULL) SWIG_fail;
6994 temp9 = true;
6995 }
6996 }
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 {
7004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7005 }
7006 {
7007 if (temp9)
7008 delete arg9;
7009 }
7010 return resultobj;
7011 fail:
7012 {
7013 if (temp9)
7014 delete arg9;
7015 }
7016 return NULL;
7017 }
7018
7019
7020 SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj = 0;
7022 wxGauge *arg1 = (wxGauge *) 0 ;
7023 int arg2 ;
7024 void *argp1 = 0 ;
7025 int res1 = 0 ;
7026 int val2 ;
7027 int ecode2 = 0 ;
7028 PyObject * obj0 = 0 ;
7029 PyObject * obj1 = 0 ;
7030 char * kwnames[] = {
7031 (char *) "self",(char *) "range", NULL
7032 };
7033
7034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7036 if (!SWIG_IsOK(res1)) {
7037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7038 }
7039 arg1 = reinterpret_cast< wxGauge * >(argp1);
7040 ecode2 = SWIG_AsVal_int(obj1, &val2);
7041 if (!SWIG_IsOK(ecode2)) {
7042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7043 }
7044 arg2 = static_cast< int >(val2);
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 (arg1)->SetRange(arg2);
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 resultobj = SWIG_Py_Void();
7052 return resultobj;
7053 fail:
7054 return NULL;
7055 }
7056
7057
7058 SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7059 PyObject *resultobj = 0;
7060 wxGauge *arg1 = (wxGauge *) 0 ;
7061 int result;
7062 void *argp1 = 0 ;
7063 int res1 = 0 ;
7064 PyObject *swig_obj[1] ;
7065
7066 if (!args) SWIG_fail;
7067 swig_obj[0] = args;
7068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7069 if (!SWIG_IsOK(res1)) {
7070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7071 }
7072 arg1 = reinterpret_cast< wxGauge * >(argp1);
7073 {
7074 PyThreadState* __tstate = wxPyBeginAllowThreads();
7075 result = (int)((wxGauge const *)arg1)->GetRange();
7076 wxPyEndAllowThreads(__tstate);
7077 if (PyErr_Occurred()) SWIG_fail;
7078 }
7079 resultobj = SWIG_From_int(static_cast< int >(result));
7080 return resultobj;
7081 fail:
7082 return NULL;
7083 }
7084
7085
7086 SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7087 PyObject *resultobj = 0;
7088 wxGauge *arg1 = (wxGauge *) 0 ;
7089 int arg2 ;
7090 void *argp1 = 0 ;
7091 int res1 = 0 ;
7092 int val2 ;
7093 int ecode2 = 0 ;
7094 PyObject * obj0 = 0 ;
7095 PyObject * obj1 = 0 ;
7096 char * kwnames[] = {
7097 (char *) "self",(char *) "pos", NULL
7098 };
7099
7100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7102 if (!SWIG_IsOK(res1)) {
7103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7104 }
7105 arg1 = reinterpret_cast< wxGauge * >(argp1);
7106 ecode2 = SWIG_AsVal_int(obj1, &val2);
7107 if (!SWIG_IsOK(ecode2)) {
7108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7109 }
7110 arg2 = static_cast< int >(val2);
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 (arg1)->SetValue(arg2);
7114 wxPyEndAllowThreads(__tstate);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 }
7117 resultobj = SWIG_Py_Void();
7118 return resultobj;
7119 fail:
7120 return NULL;
7121 }
7122
7123
7124 SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7125 PyObject *resultobj = 0;
7126 wxGauge *arg1 = (wxGauge *) 0 ;
7127 int result;
7128 void *argp1 = 0 ;
7129 int res1 = 0 ;
7130 PyObject *swig_obj[1] ;
7131
7132 if (!args) SWIG_fail;
7133 swig_obj[0] = args;
7134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7135 if (!SWIG_IsOK(res1)) {
7136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7137 }
7138 arg1 = reinterpret_cast< wxGauge * >(argp1);
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 result = (int)((wxGauge const *)arg1)->GetValue();
7142 wxPyEndAllowThreads(__tstate);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 }
7145 resultobj = SWIG_From_int(static_cast< int >(result));
7146 return resultobj;
7147 fail:
7148 return NULL;
7149 }
7150
7151
7152 SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7153 PyObject *resultobj = 0;
7154 wxGauge *arg1 = (wxGauge *) 0 ;
7155 void *argp1 = 0 ;
7156 int res1 = 0 ;
7157 PyObject *swig_obj[1] ;
7158
7159 if (!args) SWIG_fail;
7160 swig_obj[0] = args;
7161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7162 if (!SWIG_IsOK(res1)) {
7163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7164 }
7165 arg1 = reinterpret_cast< wxGauge * >(argp1);
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 (arg1)->Pulse();
7169 wxPyEndAllowThreads(__tstate);
7170 if (PyErr_Occurred()) SWIG_fail;
7171 }
7172 resultobj = SWIG_Py_Void();
7173 return resultobj;
7174 fail:
7175 return NULL;
7176 }
7177
7178
7179 SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7180 PyObject *resultobj = 0;
7181 wxGauge *arg1 = (wxGauge *) 0 ;
7182 bool result;
7183 void *argp1 = 0 ;
7184 int res1 = 0 ;
7185 PyObject *swig_obj[1] ;
7186
7187 if (!args) SWIG_fail;
7188 swig_obj[0] = args;
7189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7190 if (!SWIG_IsOK(res1)) {
7191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7192 }
7193 arg1 = reinterpret_cast< wxGauge * >(argp1);
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 result = (bool)((wxGauge const *)arg1)->IsVertical();
7197 wxPyEndAllowThreads(__tstate);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 }
7200 {
7201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7202 }
7203 return resultobj;
7204 fail:
7205 return NULL;
7206 }
7207
7208
7209 SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7210 PyObject *resultobj = 0;
7211 wxGauge *arg1 = (wxGauge *) 0 ;
7212 int arg2 ;
7213 void *argp1 = 0 ;
7214 int res1 = 0 ;
7215 int val2 ;
7216 int ecode2 = 0 ;
7217 PyObject * obj0 = 0 ;
7218 PyObject * obj1 = 0 ;
7219 char * kwnames[] = {
7220 (char *) "self",(char *) "w", NULL
7221 };
7222
7223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7225 if (!SWIG_IsOK(res1)) {
7226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7227 }
7228 arg1 = reinterpret_cast< wxGauge * >(argp1);
7229 ecode2 = SWIG_AsVal_int(obj1, &val2);
7230 if (!SWIG_IsOK(ecode2)) {
7231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7232 }
7233 arg2 = static_cast< int >(val2);
7234 {
7235 PyThreadState* __tstate = wxPyBeginAllowThreads();
7236 (arg1)->SetShadowWidth(arg2);
7237 wxPyEndAllowThreads(__tstate);
7238 if (PyErr_Occurred()) SWIG_fail;
7239 }
7240 resultobj = SWIG_Py_Void();
7241 return resultobj;
7242 fail:
7243 return NULL;
7244 }
7245
7246
7247 SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7248 PyObject *resultobj = 0;
7249 wxGauge *arg1 = (wxGauge *) 0 ;
7250 int result;
7251 void *argp1 = 0 ;
7252 int res1 = 0 ;
7253 PyObject *swig_obj[1] ;
7254
7255 if (!args) SWIG_fail;
7256 swig_obj[0] = args;
7257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7258 if (!SWIG_IsOK(res1)) {
7259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7260 }
7261 arg1 = reinterpret_cast< wxGauge * >(argp1);
7262 {
7263 PyThreadState* __tstate = wxPyBeginAllowThreads();
7264 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) SWIG_fail;
7267 }
7268 resultobj = SWIG_From_int(static_cast< int >(result));
7269 return resultobj;
7270 fail:
7271 return NULL;
7272 }
7273
7274
7275 SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7276 PyObject *resultobj = 0;
7277 wxGauge *arg1 = (wxGauge *) 0 ;
7278 int arg2 ;
7279 void *argp1 = 0 ;
7280 int res1 = 0 ;
7281 int val2 ;
7282 int ecode2 = 0 ;
7283 PyObject * obj0 = 0 ;
7284 PyObject * obj1 = 0 ;
7285 char * kwnames[] = {
7286 (char *) "self",(char *) "w", NULL
7287 };
7288
7289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7291 if (!SWIG_IsOK(res1)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7293 }
7294 arg1 = reinterpret_cast< wxGauge * >(argp1);
7295 ecode2 = SWIG_AsVal_int(obj1, &val2);
7296 if (!SWIG_IsOK(ecode2)) {
7297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7298 }
7299 arg2 = static_cast< int >(val2);
7300 {
7301 PyThreadState* __tstate = wxPyBeginAllowThreads();
7302 (arg1)->SetBezelFace(arg2);
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
7306 resultobj = SWIG_Py_Void();
7307 return resultobj;
7308 fail:
7309 return NULL;
7310 }
7311
7312
7313 SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7314 PyObject *resultobj = 0;
7315 wxGauge *arg1 = (wxGauge *) 0 ;
7316 int result;
7317 void *argp1 = 0 ;
7318 int res1 = 0 ;
7319 PyObject *swig_obj[1] ;
7320
7321 if (!args) SWIG_fail;
7322 swig_obj[0] = args;
7323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7324 if (!SWIG_IsOK(res1)) {
7325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7326 }
7327 arg1 = reinterpret_cast< wxGauge * >(argp1);
7328 {
7329 PyThreadState* __tstate = wxPyBeginAllowThreads();
7330 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7331 wxPyEndAllowThreads(__tstate);
7332 if (PyErr_Occurred()) SWIG_fail;
7333 }
7334 resultobj = SWIG_From_int(static_cast< int >(result));
7335 return resultobj;
7336 fail:
7337 return NULL;
7338 }
7339
7340
7341 SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7342 PyObject *resultobj = 0;
7343 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7344 SwigValueWrapper<wxVisualAttributes > result;
7345 int val1 ;
7346 int ecode1 = 0 ;
7347 PyObject * obj0 = 0 ;
7348 char * kwnames[] = {
7349 (char *) "variant", NULL
7350 };
7351
7352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7353 if (obj0) {
7354 ecode1 = SWIG_AsVal_int(obj0, &val1);
7355 if (!SWIG_IsOK(ecode1)) {
7356 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7357 }
7358 arg1 = static_cast< wxWindowVariant >(val1);
7359 }
7360 {
7361 if (!wxPyCheckForApp()) SWIG_fail;
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7363 result = wxGauge::GetClassDefaultAttributes(arg1);
7364 wxPyEndAllowThreads(__tstate);
7365 if (PyErr_Occurred()) SWIG_fail;
7366 }
7367 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7368 return resultobj;
7369 fail:
7370 return NULL;
7371 }
7372
7373
7374 SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7375 PyObject *obj;
7376 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7377 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7378 return SWIG_Py_Void();
7379 }
7380
7381 SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7382 return SWIG_Python_InitShadowInstance(args);
7383 }
7384
7385 SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7386 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7387 return 1;
7388 }
7389
7390
7391 SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7392 PyObject *pyobj = 0;
7393
7394 {
7395 #if wxUSE_UNICODE
7396 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7397 #else
7398 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7399 #endif
7400 }
7401 return pyobj;
7402 }
7403
7404
7405 SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7406 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7407 return 1;
7408 }
7409
7410
7411 SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7412 PyObject *pyobj = 0;
7413
7414 {
7415 #if wxUSE_UNICODE
7416 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7417 #else
7418 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7419 #endif
7420 }
7421 return pyobj;
7422 }
7423
7424
7425 SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7426 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7427 return 1;
7428 }
7429
7430
7431 SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7432 PyObject *pyobj = 0;
7433
7434 {
7435 #if wxUSE_UNICODE
7436 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7437 #else
7438 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7439 #endif
7440 }
7441 return pyobj;
7442 }
7443
7444
7445 SWIGINTERN int StaticLineNameStr_set(PyObject *) {
7446 SWIG_Error(SWIG_AttributeError,"Variable StaticLineNameStr is read-only.");
7447 return 1;
7448 }
7449
7450
7451 SWIGINTERN PyObject *StaticLineNameStr_get(void) {
7452 PyObject *pyobj = 0;
7453
7454 {
7455 #if wxUSE_UNICODE
7456 pyobj = PyUnicode_FromWideChar((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7457 #else
7458 pyobj = PyString_FromStringAndSize((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7459 #endif
7460 }
7461 return pyobj;
7462 }
7463
7464
7465 SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7466 PyObject *resultobj = 0;
7467 wxWindow *arg1 = (wxWindow *) 0 ;
7468 int arg2 = (int) -1 ;
7469 wxString const &arg3_defvalue = wxPyEmptyString ;
7470 wxString *arg3 = (wxString *) &arg3_defvalue ;
7471 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7472 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7473 wxSize const &arg5_defvalue = wxDefaultSize ;
7474 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7475 long arg6 = (long) 0 ;
7476 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7477 wxString *arg7 = (wxString *) &arg7_defvalue ;
7478 wxStaticBox *result = 0 ;
7479 void *argp1 = 0 ;
7480 int res1 = 0 ;
7481 int val2 ;
7482 int ecode2 = 0 ;
7483 bool temp3 = false ;
7484 wxPoint temp4 ;
7485 wxSize temp5 ;
7486 long val6 ;
7487 int ecode6 = 0 ;
7488 bool temp7 = false ;
7489 PyObject * obj0 = 0 ;
7490 PyObject * obj1 = 0 ;
7491 PyObject * obj2 = 0 ;
7492 PyObject * obj3 = 0 ;
7493 PyObject * obj4 = 0 ;
7494 PyObject * obj5 = 0 ;
7495 PyObject * obj6 = 0 ;
7496 char * kwnames[] = {
7497 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7498 };
7499
7500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7502 if (!SWIG_IsOK(res1)) {
7503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7504 }
7505 arg1 = reinterpret_cast< wxWindow * >(argp1);
7506 if (obj1) {
7507 ecode2 = SWIG_AsVal_int(obj1, &val2);
7508 if (!SWIG_IsOK(ecode2)) {
7509 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7510 }
7511 arg2 = static_cast< int >(val2);
7512 }
7513 if (obj2) {
7514 {
7515 arg3 = wxString_in_helper(obj2);
7516 if (arg3 == NULL) SWIG_fail;
7517 temp3 = true;
7518 }
7519 }
7520 if (obj3) {
7521 {
7522 arg4 = &temp4;
7523 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7524 }
7525 }
7526 if (obj4) {
7527 {
7528 arg5 = &temp5;
7529 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7530 }
7531 }
7532 if (obj5) {
7533 ecode6 = SWIG_AsVal_long(obj5, &val6);
7534 if (!SWIG_IsOK(ecode6)) {
7535 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7536 }
7537 arg6 = static_cast< long >(val6);
7538 }
7539 if (obj6) {
7540 {
7541 arg7 = wxString_in_helper(obj6);
7542 if (arg7 == NULL) SWIG_fail;
7543 temp7 = true;
7544 }
7545 }
7546 {
7547 if (!wxPyCheckForApp()) SWIG_fail;
7548 PyThreadState* __tstate = wxPyBeginAllowThreads();
7549 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7550 wxPyEndAllowThreads(__tstate);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 }
7553 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7554 {
7555 if (temp3)
7556 delete arg3;
7557 }
7558 {
7559 if (temp7)
7560 delete arg7;
7561 }
7562 return resultobj;
7563 fail:
7564 {
7565 if (temp3)
7566 delete arg3;
7567 }
7568 {
7569 if (temp7)
7570 delete arg7;
7571 }
7572 return NULL;
7573 }
7574
7575
7576 SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7577 PyObject *resultobj = 0;
7578 wxStaticBox *result = 0 ;
7579
7580 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7581 {
7582 if (!wxPyCheckForApp()) SWIG_fail;
7583 PyThreadState* __tstate = wxPyBeginAllowThreads();
7584 result = (wxStaticBox *)new wxStaticBox();
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7589 return resultobj;
7590 fail:
7591 return NULL;
7592 }
7593
7594
7595 SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7596 PyObject *resultobj = 0;
7597 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7598 wxWindow *arg2 = (wxWindow *) 0 ;
7599 int arg3 = (int) -1 ;
7600 wxString const &arg4_defvalue = wxPyEmptyString ;
7601 wxString *arg4 = (wxString *) &arg4_defvalue ;
7602 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7603 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7604 wxSize const &arg6_defvalue = wxDefaultSize ;
7605 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7606 long arg7 = (long) 0 ;
7607 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7608 wxString *arg8 = (wxString *) &arg8_defvalue ;
7609 bool result;
7610 void *argp1 = 0 ;
7611 int res1 = 0 ;
7612 void *argp2 = 0 ;
7613 int res2 = 0 ;
7614 int val3 ;
7615 int ecode3 = 0 ;
7616 bool temp4 = false ;
7617 wxPoint temp5 ;
7618 wxSize temp6 ;
7619 long val7 ;
7620 int ecode7 = 0 ;
7621 bool temp8 = false ;
7622 PyObject * obj0 = 0 ;
7623 PyObject * obj1 = 0 ;
7624 PyObject * obj2 = 0 ;
7625 PyObject * obj3 = 0 ;
7626 PyObject * obj4 = 0 ;
7627 PyObject * obj5 = 0 ;
7628 PyObject * obj6 = 0 ;
7629 PyObject * obj7 = 0 ;
7630 char * kwnames[] = {
7631 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7632 };
7633
7634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7636 if (!SWIG_IsOK(res1)) {
7637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7638 }
7639 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7640 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7641 if (!SWIG_IsOK(res2)) {
7642 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7643 }
7644 arg2 = reinterpret_cast< wxWindow * >(argp2);
7645 if (obj2) {
7646 ecode3 = SWIG_AsVal_int(obj2, &val3);
7647 if (!SWIG_IsOK(ecode3)) {
7648 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7649 }
7650 arg3 = static_cast< int >(val3);
7651 }
7652 if (obj3) {
7653 {
7654 arg4 = wxString_in_helper(obj3);
7655 if (arg4 == NULL) SWIG_fail;
7656 temp4 = true;
7657 }
7658 }
7659 if (obj4) {
7660 {
7661 arg5 = &temp5;
7662 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7663 }
7664 }
7665 if (obj5) {
7666 {
7667 arg6 = &temp6;
7668 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7669 }
7670 }
7671 if (obj6) {
7672 ecode7 = SWIG_AsVal_long(obj6, &val7);
7673 if (!SWIG_IsOK(ecode7)) {
7674 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7675 }
7676 arg7 = static_cast< long >(val7);
7677 }
7678 if (obj7) {
7679 {
7680 arg8 = wxString_in_helper(obj7);
7681 if (arg8 == NULL) SWIG_fail;
7682 temp8 = true;
7683 }
7684 }
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7688 wxPyEndAllowThreads(__tstate);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 {
7692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7693 }
7694 {
7695 if (temp4)
7696 delete arg4;
7697 }
7698 {
7699 if (temp8)
7700 delete arg8;
7701 }
7702 return resultobj;
7703 fail:
7704 {
7705 if (temp4)
7706 delete arg4;
7707 }
7708 {
7709 if (temp8)
7710 delete arg8;
7711 }
7712 return NULL;
7713 }
7714
7715
7716 SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7717 PyObject *resultobj = 0;
7718 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7719 SwigValueWrapper<wxVisualAttributes > result;
7720 int val1 ;
7721 int ecode1 = 0 ;
7722 PyObject * obj0 = 0 ;
7723 char * kwnames[] = {
7724 (char *) "variant", NULL
7725 };
7726
7727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7728 if (obj0) {
7729 ecode1 = SWIG_AsVal_int(obj0, &val1);
7730 if (!SWIG_IsOK(ecode1)) {
7731 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7732 }
7733 arg1 = static_cast< wxWindowVariant >(val1);
7734 }
7735 {
7736 if (!wxPyCheckForApp()) SWIG_fail;
7737 PyThreadState* __tstate = wxPyBeginAllowThreads();
7738 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) SWIG_fail;
7741 }
7742 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7743 return resultobj;
7744 fail:
7745 return NULL;
7746 }
7747
7748
7749 SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7750 PyObject *obj;
7751 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7752 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7753 return SWIG_Py_Void();
7754 }
7755
7756 SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7757 return SWIG_Python_InitShadowInstance(args);
7758 }
7759
7760 SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7761 PyObject *resultobj = 0;
7762 wxWindow *arg1 = (wxWindow *) 0 ;
7763 int arg2 = (int) -1 ;
7764 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7765 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7766 wxSize const &arg4_defvalue = wxDefaultSize ;
7767 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7768 long arg5 = (long) wxLI_HORIZONTAL ;
7769 wxString const &arg6_defvalue = wxPyStaticLineNameStr ;
7770 wxString *arg6 = (wxString *) &arg6_defvalue ;
7771 wxStaticLine *result = 0 ;
7772 void *argp1 = 0 ;
7773 int res1 = 0 ;
7774 int val2 ;
7775 int ecode2 = 0 ;
7776 wxPoint temp3 ;
7777 wxSize temp4 ;
7778 long val5 ;
7779 int ecode5 = 0 ;
7780 bool temp6 = false ;
7781 PyObject * obj0 = 0 ;
7782 PyObject * obj1 = 0 ;
7783 PyObject * obj2 = 0 ;
7784 PyObject * obj3 = 0 ;
7785 PyObject * obj4 = 0 ;
7786 PyObject * obj5 = 0 ;
7787 char * kwnames[] = {
7788 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7789 };
7790
7791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7793 if (!SWIG_IsOK(res1)) {
7794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7795 }
7796 arg1 = reinterpret_cast< wxWindow * >(argp1);
7797 if (obj1) {
7798 ecode2 = SWIG_AsVal_int(obj1, &val2);
7799 if (!SWIG_IsOK(ecode2)) {
7800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7801 }
7802 arg2 = static_cast< int >(val2);
7803 }
7804 if (obj2) {
7805 {
7806 arg3 = &temp3;
7807 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7808 }
7809 }
7810 if (obj3) {
7811 {
7812 arg4 = &temp4;
7813 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7814 }
7815 }
7816 if (obj4) {
7817 ecode5 = SWIG_AsVal_long(obj4, &val5);
7818 if (!SWIG_IsOK(ecode5)) {
7819 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7820 }
7821 arg5 = static_cast< long >(val5);
7822 }
7823 if (obj5) {
7824 {
7825 arg6 = wxString_in_helper(obj5);
7826 if (arg6 == NULL) SWIG_fail;
7827 temp6 = true;
7828 }
7829 }
7830 {
7831 if (!wxPyCheckForApp()) SWIG_fail;
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7834 wxPyEndAllowThreads(__tstate);
7835 if (PyErr_Occurred()) SWIG_fail;
7836 }
7837 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7838 {
7839 if (temp6)
7840 delete arg6;
7841 }
7842 return resultobj;
7843 fail:
7844 {
7845 if (temp6)
7846 delete arg6;
7847 }
7848 return NULL;
7849 }
7850
7851
7852 SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7853 PyObject *resultobj = 0;
7854 wxStaticLine *result = 0 ;
7855
7856 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7857 {
7858 if (!wxPyCheckForApp()) SWIG_fail;
7859 PyThreadState* __tstate = wxPyBeginAllowThreads();
7860 result = (wxStaticLine *)new wxStaticLine();
7861 wxPyEndAllowThreads(__tstate);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 }
7864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7865 return resultobj;
7866 fail:
7867 return NULL;
7868 }
7869
7870
7871 SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7872 PyObject *resultobj = 0;
7873 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7874 wxWindow *arg2 = (wxWindow *) 0 ;
7875 int arg3 = (int) -1 ;
7876 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7877 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7878 wxSize const &arg5_defvalue = wxDefaultSize ;
7879 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7880 long arg6 = (long) wxLI_HORIZONTAL ;
7881 wxString const &arg7_defvalue = wxPyStaticLineNameStr ;
7882 wxString *arg7 = (wxString *) &arg7_defvalue ;
7883 bool result;
7884 void *argp1 = 0 ;
7885 int res1 = 0 ;
7886 void *argp2 = 0 ;
7887 int res2 = 0 ;
7888 int val3 ;
7889 int ecode3 = 0 ;
7890 wxPoint temp4 ;
7891 wxSize temp5 ;
7892 long val6 ;
7893 int ecode6 = 0 ;
7894 bool temp7 = false ;
7895 PyObject * obj0 = 0 ;
7896 PyObject * obj1 = 0 ;
7897 PyObject * obj2 = 0 ;
7898 PyObject * obj3 = 0 ;
7899 PyObject * obj4 = 0 ;
7900 PyObject * obj5 = 0 ;
7901 PyObject * obj6 = 0 ;
7902 char * kwnames[] = {
7903 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7904 };
7905
7906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7908 if (!SWIG_IsOK(res1)) {
7909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7910 }
7911 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7912 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7913 if (!SWIG_IsOK(res2)) {
7914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7915 }
7916 arg2 = reinterpret_cast< wxWindow * >(argp2);
7917 if (obj2) {
7918 ecode3 = SWIG_AsVal_int(obj2, &val3);
7919 if (!SWIG_IsOK(ecode3)) {
7920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7921 }
7922 arg3 = static_cast< int >(val3);
7923 }
7924 if (obj3) {
7925 {
7926 arg4 = &temp4;
7927 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7928 }
7929 }
7930 if (obj4) {
7931 {
7932 arg5 = &temp5;
7933 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7934 }
7935 }
7936 if (obj5) {
7937 ecode6 = SWIG_AsVal_long(obj5, &val6);
7938 if (!SWIG_IsOK(ecode6)) {
7939 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7940 }
7941 arg6 = static_cast< long >(val6);
7942 }
7943 if (obj6) {
7944 {
7945 arg7 = wxString_in_helper(obj6);
7946 if (arg7 == NULL) SWIG_fail;
7947 temp7 = true;
7948 }
7949 }
7950 {
7951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7952 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 {
7957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7958 }
7959 {
7960 if (temp7)
7961 delete arg7;
7962 }
7963 return resultobj;
7964 fail:
7965 {
7966 if (temp7)
7967 delete arg7;
7968 }
7969 return NULL;
7970 }
7971
7972
7973 SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7974 PyObject *resultobj = 0;
7975 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7976 bool result;
7977 void *argp1 = 0 ;
7978 int res1 = 0 ;
7979 PyObject *swig_obj[1] ;
7980
7981 if (!args) SWIG_fail;
7982 swig_obj[0] = args;
7983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7984 if (!SWIG_IsOK(res1)) {
7985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7986 }
7987 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7988 {
7989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7990 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 {
7995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7996 }
7997 return resultobj;
7998 fail:
7999 return NULL;
8000 }
8001
8002
8003 SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8004 PyObject *resultobj = 0;
8005 int result;
8006
8007 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8008 {
8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
8010 result = (int)wxStaticLine::GetDefaultSize();
8011 wxPyEndAllowThreads(__tstate);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 }
8014 resultobj = SWIG_From_int(static_cast< int >(result));
8015 return resultobj;
8016 fail:
8017 return NULL;
8018 }
8019
8020
8021 SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8022 PyObject *resultobj = 0;
8023 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8024 SwigValueWrapper<wxVisualAttributes > result;
8025 int val1 ;
8026 int ecode1 = 0 ;
8027 PyObject * obj0 = 0 ;
8028 char * kwnames[] = {
8029 (char *) "variant", NULL
8030 };
8031
8032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8033 if (obj0) {
8034 ecode1 = SWIG_AsVal_int(obj0, &val1);
8035 if (!SWIG_IsOK(ecode1)) {
8036 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8037 }
8038 arg1 = static_cast< wxWindowVariant >(val1);
8039 }
8040 {
8041 if (!wxPyCheckForApp()) SWIG_fail;
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8044 wxPyEndAllowThreads(__tstate);
8045 if (PyErr_Occurred()) SWIG_fail;
8046 }
8047 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8048 return resultobj;
8049 fail:
8050 return NULL;
8051 }
8052
8053
8054 SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8055 PyObject *obj;
8056 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8057 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8058 return SWIG_Py_Void();
8059 }
8060
8061 SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8062 return SWIG_Python_InitShadowInstance(args);
8063 }
8064
8065 SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8066 PyObject *resultobj = 0;
8067 wxWindow *arg1 = (wxWindow *) 0 ;
8068 int arg2 = (int) -1 ;
8069 wxString const &arg3_defvalue = wxPyEmptyString ;
8070 wxString *arg3 = (wxString *) &arg3_defvalue ;
8071 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8072 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8073 wxSize const &arg5_defvalue = wxDefaultSize ;
8074 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8075 long arg6 = (long) 0 ;
8076 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8077 wxString *arg7 = (wxString *) &arg7_defvalue ;
8078 wxStaticText *result = 0 ;
8079 void *argp1 = 0 ;
8080 int res1 = 0 ;
8081 int val2 ;
8082 int ecode2 = 0 ;
8083 bool temp3 = false ;
8084 wxPoint temp4 ;
8085 wxSize temp5 ;
8086 long val6 ;
8087 int ecode6 = 0 ;
8088 bool temp7 = false ;
8089 PyObject * obj0 = 0 ;
8090 PyObject * obj1 = 0 ;
8091 PyObject * obj2 = 0 ;
8092 PyObject * obj3 = 0 ;
8093 PyObject * obj4 = 0 ;
8094 PyObject * obj5 = 0 ;
8095 PyObject * obj6 = 0 ;
8096 char * kwnames[] = {
8097 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8098 };
8099
8100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8102 if (!SWIG_IsOK(res1)) {
8103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8104 }
8105 arg1 = reinterpret_cast< wxWindow * >(argp1);
8106 if (obj1) {
8107 ecode2 = SWIG_AsVal_int(obj1, &val2);
8108 if (!SWIG_IsOK(ecode2)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8110 }
8111 arg2 = static_cast< int >(val2);
8112 }
8113 if (obj2) {
8114 {
8115 arg3 = wxString_in_helper(obj2);
8116 if (arg3 == NULL) SWIG_fail;
8117 temp3 = true;
8118 }
8119 }
8120 if (obj3) {
8121 {
8122 arg4 = &temp4;
8123 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8124 }
8125 }
8126 if (obj4) {
8127 {
8128 arg5 = &temp5;
8129 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8130 }
8131 }
8132 if (obj5) {
8133 ecode6 = SWIG_AsVal_long(obj5, &val6);
8134 if (!SWIG_IsOK(ecode6)) {
8135 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8136 }
8137 arg6 = static_cast< long >(val6);
8138 }
8139 if (obj6) {
8140 {
8141 arg7 = wxString_in_helper(obj6);
8142 if (arg7 == NULL) SWIG_fail;
8143 temp7 = true;
8144 }
8145 }
8146 {
8147 if (!wxPyCheckForApp()) SWIG_fail;
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8150 wxPyEndAllowThreads(__tstate);
8151 if (PyErr_Occurred()) SWIG_fail;
8152 }
8153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8154 {
8155 if (temp3)
8156 delete arg3;
8157 }
8158 {
8159 if (temp7)
8160 delete arg7;
8161 }
8162 return resultobj;
8163 fail:
8164 {
8165 if (temp3)
8166 delete arg3;
8167 }
8168 {
8169 if (temp7)
8170 delete arg7;
8171 }
8172 return NULL;
8173 }
8174
8175
8176 SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8177 PyObject *resultobj = 0;
8178 wxStaticText *result = 0 ;
8179
8180 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8181 {
8182 if (!wxPyCheckForApp()) SWIG_fail;
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8184 result = (wxStaticText *)new wxStaticText();
8185 wxPyEndAllowThreads(__tstate);
8186 if (PyErr_Occurred()) SWIG_fail;
8187 }
8188 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8189 return resultobj;
8190 fail:
8191 return NULL;
8192 }
8193
8194
8195 SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8196 PyObject *resultobj = 0;
8197 wxStaticText *arg1 = (wxStaticText *) 0 ;
8198 wxWindow *arg2 = (wxWindow *) 0 ;
8199 int arg3 = (int) -1 ;
8200 wxString const &arg4_defvalue = wxPyEmptyString ;
8201 wxString *arg4 = (wxString *) &arg4_defvalue ;
8202 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8203 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8204 wxSize const &arg6_defvalue = wxDefaultSize ;
8205 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8206 long arg7 = (long) 0 ;
8207 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8208 wxString *arg8 = (wxString *) &arg8_defvalue ;
8209 bool result;
8210 void *argp1 = 0 ;
8211 int res1 = 0 ;
8212 void *argp2 = 0 ;
8213 int res2 = 0 ;
8214 int val3 ;
8215 int ecode3 = 0 ;
8216 bool temp4 = false ;
8217 wxPoint temp5 ;
8218 wxSize temp6 ;
8219 long val7 ;
8220 int ecode7 = 0 ;
8221 bool temp8 = false ;
8222 PyObject * obj0 = 0 ;
8223 PyObject * obj1 = 0 ;
8224 PyObject * obj2 = 0 ;
8225 PyObject * obj3 = 0 ;
8226 PyObject * obj4 = 0 ;
8227 PyObject * obj5 = 0 ;
8228 PyObject * obj6 = 0 ;
8229 PyObject * obj7 = 0 ;
8230 char * kwnames[] = {
8231 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8232 };
8233
8234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8236 if (!SWIG_IsOK(res1)) {
8237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8238 }
8239 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8240 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8241 if (!SWIG_IsOK(res2)) {
8242 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8243 }
8244 arg2 = reinterpret_cast< wxWindow * >(argp2);
8245 if (obj2) {
8246 ecode3 = SWIG_AsVal_int(obj2, &val3);
8247 if (!SWIG_IsOK(ecode3)) {
8248 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8249 }
8250 arg3 = static_cast< int >(val3);
8251 }
8252 if (obj3) {
8253 {
8254 arg4 = wxString_in_helper(obj3);
8255 if (arg4 == NULL) SWIG_fail;
8256 temp4 = true;
8257 }
8258 }
8259 if (obj4) {
8260 {
8261 arg5 = &temp5;
8262 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8263 }
8264 }
8265 if (obj5) {
8266 {
8267 arg6 = &temp6;
8268 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8269 }
8270 }
8271 if (obj6) {
8272 ecode7 = SWIG_AsVal_long(obj6, &val7);
8273 if (!SWIG_IsOK(ecode7)) {
8274 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8275 }
8276 arg7 = static_cast< long >(val7);
8277 }
8278 if (obj7) {
8279 {
8280 arg8 = wxString_in_helper(obj7);
8281 if (arg8 == NULL) SWIG_fail;
8282 temp8 = true;
8283 }
8284 }
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8288 wxPyEndAllowThreads(__tstate);
8289 if (PyErr_Occurred()) SWIG_fail;
8290 }
8291 {
8292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8293 }
8294 {
8295 if (temp4)
8296 delete arg4;
8297 }
8298 {
8299 if (temp8)
8300 delete arg8;
8301 }
8302 return resultobj;
8303 fail:
8304 {
8305 if (temp4)
8306 delete arg4;
8307 }
8308 {
8309 if (temp8)
8310 delete arg8;
8311 }
8312 return NULL;
8313 }
8314
8315
8316 SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8317 PyObject *resultobj = 0;
8318 wxStaticText *arg1 = (wxStaticText *) 0 ;
8319 int arg2 ;
8320 void *argp1 = 0 ;
8321 int res1 = 0 ;
8322 int val2 ;
8323 int ecode2 = 0 ;
8324 PyObject * obj0 = 0 ;
8325 PyObject * obj1 = 0 ;
8326 char * kwnames[] = {
8327 (char *) "self",(char *) "width", NULL
8328 };
8329
8330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8332 if (!SWIG_IsOK(res1)) {
8333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8334 }
8335 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8336 ecode2 = SWIG_AsVal_int(obj1, &val2);
8337 if (!SWIG_IsOK(ecode2)) {
8338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8339 }
8340 arg2 = static_cast< int >(val2);
8341 {
8342 PyThreadState* __tstate = wxPyBeginAllowThreads();
8343 (arg1)->Wrap(arg2);
8344 wxPyEndAllowThreads(__tstate);
8345 if (PyErr_Occurred()) SWIG_fail;
8346 }
8347 resultobj = SWIG_Py_Void();
8348 return resultobj;
8349 fail:
8350 return NULL;
8351 }
8352
8353
8354 SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8355 PyObject *resultobj = 0;
8356 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8357 SwigValueWrapper<wxVisualAttributes > result;
8358 int val1 ;
8359 int ecode1 = 0 ;
8360 PyObject * obj0 = 0 ;
8361 char * kwnames[] = {
8362 (char *) "variant", NULL
8363 };
8364
8365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8366 if (obj0) {
8367 ecode1 = SWIG_AsVal_int(obj0, &val1);
8368 if (!SWIG_IsOK(ecode1)) {
8369 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8370 }
8371 arg1 = static_cast< wxWindowVariant >(val1);
8372 }
8373 {
8374 if (!wxPyCheckForApp()) SWIG_fail;
8375 PyThreadState* __tstate = wxPyBeginAllowThreads();
8376 result = wxStaticText::GetClassDefaultAttributes(arg1);
8377 wxPyEndAllowThreads(__tstate);
8378 if (PyErr_Occurred()) SWIG_fail;
8379 }
8380 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8381 return resultobj;
8382 fail:
8383 return NULL;
8384 }
8385
8386
8387 SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8388 PyObject *obj;
8389 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8390 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8391 return SWIG_Py_Void();
8392 }
8393
8394 SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8395 return SWIG_Python_InitShadowInstance(args);
8396 }
8397
8398 SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8399 PyObject *resultobj = 0;
8400 wxWindow *arg1 = (wxWindow *) 0 ;
8401 int arg2 = (int) -1 ;
8402 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8403 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8404 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8405 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8406 wxSize const &arg5_defvalue = wxDefaultSize ;
8407 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8408 long arg6 = (long) 0 ;
8409 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8410 wxString *arg7 = (wxString *) &arg7_defvalue ;
8411 wxStaticBitmap *result = 0 ;
8412 void *argp1 = 0 ;
8413 int res1 = 0 ;
8414 int val2 ;
8415 int ecode2 = 0 ;
8416 void *argp3 = 0 ;
8417 int res3 = 0 ;
8418 wxPoint temp4 ;
8419 wxSize temp5 ;
8420 long val6 ;
8421 int ecode6 = 0 ;
8422 bool temp7 = false ;
8423 PyObject * obj0 = 0 ;
8424 PyObject * obj1 = 0 ;
8425 PyObject * obj2 = 0 ;
8426 PyObject * obj3 = 0 ;
8427 PyObject * obj4 = 0 ;
8428 PyObject * obj5 = 0 ;
8429 PyObject * obj6 = 0 ;
8430 char * kwnames[] = {
8431 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8432 };
8433
8434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8436 if (!SWIG_IsOK(res1)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8438 }
8439 arg1 = reinterpret_cast< wxWindow * >(argp1);
8440 if (obj1) {
8441 ecode2 = SWIG_AsVal_int(obj1, &val2);
8442 if (!SWIG_IsOK(ecode2)) {
8443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8444 }
8445 arg2 = static_cast< int >(val2);
8446 }
8447 if (obj2) {
8448 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8449 if (!SWIG_IsOK(res3)) {
8450 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8451 }
8452 if (!argp3) {
8453 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8454 }
8455 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8456 }
8457 if (obj3) {
8458 {
8459 arg4 = &temp4;
8460 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8461 }
8462 }
8463 if (obj4) {
8464 {
8465 arg5 = &temp5;
8466 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8467 }
8468 }
8469 if (obj5) {
8470 ecode6 = SWIG_AsVal_long(obj5, &val6);
8471 if (!SWIG_IsOK(ecode6)) {
8472 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8473 }
8474 arg6 = static_cast< long >(val6);
8475 }
8476 if (obj6) {
8477 {
8478 arg7 = wxString_in_helper(obj6);
8479 if (arg7 == NULL) SWIG_fail;
8480 temp7 = true;
8481 }
8482 }
8483 {
8484 if (!wxPyCheckForApp()) SWIG_fail;
8485 PyThreadState* __tstate = wxPyBeginAllowThreads();
8486 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8487 wxPyEndAllowThreads(__tstate);
8488 if (PyErr_Occurred()) SWIG_fail;
8489 }
8490 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8491 {
8492 if (temp7)
8493 delete arg7;
8494 }
8495 return resultobj;
8496 fail:
8497 {
8498 if (temp7)
8499 delete arg7;
8500 }
8501 return NULL;
8502 }
8503
8504
8505 SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8506 PyObject *resultobj = 0;
8507 wxStaticBitmap *result = 0 ;
8508
8509 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8510 {
8511 if (!wxPyCheckForApp()) SWIG_fail;
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 result = (wxStaticBitmap *)new wxStaticBitmap();
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8518 return resultobj;
8519 fail:
8520 return NULL;
8521 }
8522
8523
8524 SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8525 PyObject *resultobj = 0;
8526 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8527 wxWindow *arg2 = (wxWindow *) 0 ;
8528 int arg3 = (int) -1 ;
8529 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8530 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8531 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8532 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8533 wxSize const &arg6_defvalue = wxDefaultSize ;
8534 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8535 long arg7 = (long) 0 ;
8536 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8537 wxString *arg8 = (wxString *) &arg8_defvalue ;
8538 bool result;
8539 void *argp1 = 0 ;
8540 int res1 = 0 ;
8541 void *argp2 = 0 ;
8542 int res2 = 0 ;
8543 int val3 ;
8544 int ecode3 = 0 ;
8545 void *argp4 = 0 ;
8546 int res4 = 0 ;
8547 wxPoint temp5 ;
8548 wxSize temp6 ;
8549 long val7 ;
8550 int ecode7 = 0 ;
8551 bool temp8 = false ;
8552 PyObject * obj0 = 0 ;
8553 PyObject * obj1 = 0 ;
8554 PyObject * obj2 = 0 ;
8555 PyObject * obj3 = 0 ;
8556 PyObject * obj4 = 0 ;
8557 PyObject * obj5 = 0 ;
8558 PyObject * obj6 = 0 ;
8559 PyObject * obj7 = 0 ;
8560 char * kwnames[] = {
8561 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8562 };
8563
8564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8566 if (!SWIG_IsOK(res1)) {
8567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8568 }
8569 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8570 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8571 if (!SWIG_IsOK(res2)) {
8572 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8573 }
8574 arg2 = reinterpret_cast< wxWindow * >(argp2);
8575 if (obj2) {
8576 ecode3 = SWIG_AsVal_int(obj2, &val3);
8577 if (!SWIG_IsOK(ecode3)) {
8578 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8579 }
8580 arg3 = static_cast< int >(val3);
8581 }
8582 if (obj3) {
8583 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8584 if (!SWIG_IsOK(res4)) {
8585 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8586 }
8587 if (!argp4) {
8588 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8589 }
8590 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8591 }
8592 if (obj4) {
8593 {
8594 arg5 = &temp5;
8595 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8596 }
8597 }
8598 if (obj5) {
8599 {
8600 arg6 = &temp6;
8601 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8602 }
8603 }
8604 if (obj6) {
8605 ecode7 = SWIG_AsVal_long(obj6, &val7);
8606 if (!SWIG_IsOK(ecode7)) {
8607 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8608 }
8609 arg7 = static_cast< long >(val7);
8610 }
8611 if (obj7) {
8612 {
8613 arg8 = wxString_in_helper(obj7);
8614 if (arg8 == NULL) SWIG_fail;
8615 temp8 = true;
8616 }
8617 }
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
8624 {
8625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8626 }
8627 {
8628 if (temp8)
8629 delete arg8;
8630 }
8631 return resultobj;
8632 fail:
8633 {
8634 if (temp8)
8635 delete arg8;
8636 }
8637 return NULL;
8638 }
8639
8640
8641 SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8642 PyObject *resultobj = 0;
8643 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8644 wxBitmap result;
8645 void *argp1 = 0 ;
8646 int res1 = 0 ;
8647 PyObject *swig_obj[1] ;
8648
8649 if (!args) SWIG_fail;
8650 swig_obj[0] = args;
8651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8652 if (!SWIG_IsOK(res1)) {
8653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8654 }
8655 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 result = (arg1)->GetBitmap();
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8663 return resultobj;
8664 fail:
8665 return NULL;
8666 }
8667
8668
8669 SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8670 PyObject *resultobj = 0;
8671 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8672 wxBitmap *arg2 = 0 ;
8673 void *argp1 = 0 ;
8674 int res1 = 0 ;
8675 void *argp2 = 0 ;
8676 int res2 = 0 ;
8677 PyObject * obj0 = 0 ;
8678 PyObject * obj1 = 0 ;
8679 char * kwnames[] = {
8680 (char *) "self",(char *) "bitmap", NULL
8681 };
8682
8683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8685 if (!SWIG_IsOK(res1)) {
8686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8687 }
8688 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8689 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8690 if (!SWIG_IsOK(res2)) {
8691 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8692 }
8693 if (!argp2) {
8694 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8695 }
8696 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8697 {
8698 PyThreadState* __tstate = wxPyBeginAllowThreads();
8699 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8700 wxPyEndAllowThreads(__tstate);
8701 if (PyErr_Occurred()) SWIG_fail;
8702 }
8703 resultobj = SWIG_Py_Void();
8704 return resultobj;
8705 fail:
8706 return NULL;
8707 }
8708
8709
8710 SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8711 PyObject *resultobj = 0;
8712 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8713 wxIcon *arg2 = 0 ;
8714 void *argp1 = 0 ;
8715 int res1 = 0 ;
8716 void *argp2 = 0 ;
8717 int res2 = 0 ;
8718 PyObject * obj0 = 0 ;
8719 PyObject * obj1 = 0 ;
8720 char * kwnames[] = {
8721 (char *) "self",(char *) "icon", NULL
8722 };
8723
8724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8726 if (!SWIG_IsOK(res1)) {
8727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8728 }
8729 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8730 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8731 if (!SWIG_IsOK(res2)) {
8732 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8733 }
8734 if (!argp2) {
8735 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8736 }
8737 arg2 = reinterpret_cast< wxIcon * >(argp2);
8738 {
8739 PyThreadState* __tstate = wxPyBeginAllowThreads();
8740 (arg1)->SetIcon((wxIcon const &)*arg2);
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 resultobj = SWIG_Py_Void();
8745 return resultobj;
8746 fail:
8747 return NULL;
8748 }
8749
8750
8751 SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8752 PyObject *resultobj = 0;
8753 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8754 SwigValueWrapper<wxVisualAttributes > result;
8755 int val1 ;
8756 int ecode1 = 0 ;
8757 PyObject * obj0 = 0 ;
8758 char * kwnames[] = {
8759 (char *) "variant", NULL
8760 };
8761
8762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8763 if (obj0) {
8764 ecode1 = SWIG_AsVal_int(obj0, &val1);
8765 if (!SWIG_IsOK(ecode1)) {
8766 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8767 }
8768 arg1 = static_cast< wxWindowVariant >(val1);
8769 }
8770 {
8771 if (!wxPyCheckForApp()) SWIG_fail;
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8778 return resultobj;
8779 fail:
8780 return NULL;
8781 }
8782
8783
8784 SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8785 PyObject *obj;
8786 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8787 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8788 return SWIG_Py_Void();
8789 }
8790
8791 SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8792 return SWIG_Python_InitShadowInstance(args);
8793 }
8794
8795 SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8796 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8797 return 1;
8798 }
8799
8800
8801 SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8802 PyObject *pyobj = 0;
8803
8804 {
8805 #if wxUSE_UNICODE
8806 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8807 #else
8808 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8809 #endif
8810 }
8811 return pyobj;
8812 }
8813
8814
8815 SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8816 PyObject *resultobj = 0;
8817 wxWindow *arg1 = (wxWindow *) 0 ;
8818 int arg2 = (int) -1 ;
8819 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8820 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8821 wxSize const &arg4_defvalue = wxDefaultSize ;
8822 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8823 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8824 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8825 long arg6 = (long) 0 ;
8826 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8827 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8828 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8829 wxString *arg8 = (wxString *) &arg8_defvalue ;
8830 wxListBox *result = 0 ;
8831 void *argp1 = 0 ;
8832 int res1 = 0 ;
8833 int val2 ;
8834 int ecode2 = 0 ;
8835 wxPoint temp3 ;
8836 wxSize temp4 ;
8837 bool temp5 = false ;
8838 long val6 ;
8839 int ecode6 = 0 ;
8840 void *argp7 = 0 ;
8841 int res7 = 0 ;
8842 bool temp8 = false ;
8843 PyObject * obj0 = 0 ;
8844 PyObject * obj1 = 0 ;
8845 PyObject * obj2 = 0 ;
8846 PyObject * obj3 = 0 ;
8847 PyObject * obj4 = 0 ;
8848 PyObject * obj5 = 0 ;
8849 PyObject * obj6 = 0 ;
8850 PyObject * obj7 = 0 ;
8851 char * kwnames[] = {
8852 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8853 };
8854
8855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8857 if (!SWIG_IsOK(res1)) {
8858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8859 }
8860 arg1 = reinterpret_cast< wxWindow * >(argp1);
8861 if (obj1) {
8862 ecode2 = SWIG_AsVal_int(obj1, &val2);
8863 if (!SWIG_IsOK(ecode2)) {
8864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8865 }
8866 arg2 = static_cast< int >(val2);
8867 }
8868 if (obj2) {
8869 {
8870 arg3 = &temp3;
8871 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8872 }
8873 }
8874 if (obj3) {
8875 {
8876 arg4 = &temp4;
8877 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8878 }
8879 }
8880 if (obj4) {
8881 {
8882 if (! PySequence_Check(obj4)) {
8883 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8884 SWIG_fail;
8885 }
8886 arg5 = new wxArrayString;
8887 temp5 = true;
8888 int i, len=PySequence_Length(obj4);
8889 for (i=0; i<len; i++) {
8890 PyObject* item = PySequence_GetItem(obj4, i);
8891 wxString* s = wxString_in_helper(item);
8892 if (PyErr_Occurred()) SWIG_fail;
8893 arg5->Add(*s);
8894 delete s;
8895 Py_DECREF(item);
8896 }
8897 }
8898 }
8899 if (obj5) {
8900 ecode6 = SWIG_AsVal_long(obj5, &val6);
8901 if (!SWIG_IsOK(ecode6)) {
8902 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8903 }
8904 arg6 = static_cast< long >(val6);
8905 }
8906 if (obj6) {
8907 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8908 if (!SWIG_IsOK(res7)) {
8909 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8910 }
8911 if (!argp7) {
8912 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8913 }
8914 arg7 = reinterpret_cast< wxValidator * >(argp7);
8915 }
8916 if (obj7) {
8917 {
8918 arg8 = wxString_in_helper(obj7);
8919 if (arg8 == NULL) SWIG_fail;
8920 temp8 = true;
8921 }
8922 }
8923 {
8924 if (!wxPyCheckForApp()) SWIG_fail;
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8931 {
8932 if (temp5) delete arg5;
8933 }
8934 {
8935 if (temp8)
8936 delete arg8;
8937 }
8938 return resultobj;
8939 fail:
8940 {
8941 if (temp5) delete arg5;
8942 }
8943 {
8944 if (temp8)
8945 delete arg8;
8946 }
8947 return NULL;
8948 }
8949
8950
8951 SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8952 PyObject *resultobj = 0;
8953 wxListBox *result = 0 ;
8954
8955 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8956 {
8957 if (!wxPyCheckForApp()) SWIG_fail;
8958 PyThreadState* __tstate = wxPyBeginAllowThreads();
8959 result = (wxListBox *)new wxListBox();
8960 wxPyEndAllowThreads(__tstate);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 }
8963 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8964 return resultobj;
8965 fail:
8966 return NULL;
8967 }
8968
8969
8970 SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8971 PyObject *resultobj = 0;
8972 wxListBox *arg1 = (wxListBox *) 0 ;
8973 wxWindow *arg2 = (wxWindow *) 0 ;
8974 int arg3 = (int) -1 ;
8975 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8976 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8977 wxSize const &arg5_defvalue = wxDefaultSize ;
8978 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8979 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8980 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8981 long arg7 = (long) 0 ;
8982 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8983 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8984 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8985 wxString *arg9 = (wxString *) &arg9_defvalue ;
8986 bool result;
8987 void *argp1 = 0 ;
8988 int res1 = 0 ;
8989 void *argp2 = 0 ;
8990 int res2 = 0 ;
8991 int val3 ;
8992 int ecode3 = 0 ;
8993 wxPoint temp4 ;
8994 wxSize temp5 ;
8995 bool temp6 = false ;
8996 long val7 ;
8997 int ecode7 = 0 ;
8998 void *argp8 = 0 ;
8999 int res8 = 0 ;
9000 bool temp9 = false ;
9001 PyObject * obj0 = 0 ;
9002 PyObject * obj1 = 0 ;
9003 PyObject * obj2 = 0 ;
9004 PyObject * obj3 = 0 ;
9005 PyObject * obj4 = 0 ;
9006 PyObject * obj5 = 0 ;
9007 PyObject * obj6 = 0 ;
9008 PyObject * obj7 = 0 ;
9009 PyObject * obj8 = 0 ;
9010 char * kwnames[] = {
9011 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9012 };
9013
9014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9016 if (!SWIG_IsOK(res1)) {
9017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9018 }
9019 arg1 = reinterpret_cast< wxListBox * >(argp1);
9020 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9021 if (!SWIG_IsOK(res2)) {
9022 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9023 }
9024 arg2 = reinterpret_cast< wxWindow * >(argp2);
9025 if (obj2) {
9026 ecode3 = SWIG_AsVal_int(obj2, &val3);
9027 if (!SWIG_IsOK(ecode3)) {
9028 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9029 }
9030 arg3 = static_cast< int >(val3);
9031 }
9032 if (obj3) {
9033 {
9034 arg4 = &temp4;
9035 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9036 }
9037 }
9038 if (obj4) {
9039 {
9040 arg5 = &temp5;
9041 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9042 }
9043 }
9044 if (obj5) {
9045 {
9046 if (! PySequence_Check(obj5)) {
9047 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9048 SWIG_fail;
9049 }
9050 arg6 = new wxArrayString;
9051 temp6 = true;
9052 int i, len=PySequence_Length(obj5);
9053 for (i=0; i<len; i++) {
9054 PyObject* item = PySequence_GetItem(obj5, i);
9055 wxString* s = wxString_in_helper(item);
9056 if (PyErr_Occurred()) SWIG_fail;
9057 arg6->Add(*s);
9058 delete s;
9059 Py_DECREF(item);
9060 }
9061 }
9062 }
9063 if (obj6) {
9064 ecode7 = SWIG_AsVal_long(obj6, &val7);
9065 if (!SWIG_IsOK(ecode7)) {
9066 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9067 }
9068 arg7 = static_cast< long >(val7);
9069 }
9070 if (obj7) {
9071 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9072 if (!SWIG_IsOK(res8)) {
9073 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9074 }
9075 if (!argp8) {
9076 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9077 }
9078 arg8 = reinterpret_cast< wxValidator * >(argp8);
9079 }
9080 if (obj8) {
9081 {
9082 arg9 = wxString_in_helper(obj8);
9083 if (arg9 == NULL) SWIG_fail;
9084 temp9 = true;
9085 }
9086 }
9087 {
9088 PyThreadState* __tstate = wxPyBeginAllowThreads();
9089 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 {
9094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9095 }
9096 {
9097 if (temp6) delete arg6;
9098 }
9099 {
9100 if (temp9)
9101 delete arg9;
9102 }
9103 return resultobj;
9104 fail:
9105 {
9106 if (temp6) delete arg6;
9107 }
9108 {
9109 if (temp9)
9110 delete arg9;
9111 }
9112 return NULL;
9113 }
9114
9115
9116 SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9117 PyObject *resultobj = 0;
9118 wxListBox *arg1 = (wxListBox *) 0 ;
9119 wxString *arg2 = 0 ;
9120 int arg3 ;
9121 PyObject *arg4 = (PyObject *) NULL ;
9122 void *argp1 = 0 ;
9123 int res1 = 0 ;
9124 bool temp2 = false ;
9125 int val3 ;
9126 int ecode3 = 0 ;
9127 PyObject * obj0 = 0 ;
9128 PyObject * obj1 = 0 ;
9129 PyObject * obj2 = 0 ;
9130 PyObject * obj3 = 0 ;
9131 char * kwnames[] = {
9132 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9133 };
9134
9135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9137 if (!SWIG_IsOK(res1)) {
9138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9139 }
9140 arg1 = reinterpret_cast< wxListBox * >(argp1);
9141 {
9142 arg2 = wxString_in_helper(obj1);
9143 if (arg2 == NULL) SWIG_fail;
9144 temp2 = true;
9145 }
9146 ecode3 = SWIG_AsVal_int(obj2, &val3);
9147 if (!SWIG_IsOK(ecode3)) {
9148 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9149 }
9150 arg3 = static_cast< int >(val3);
9151 if (obj3) {
9152 arg4 = obj3;
9153 }
9154 {
9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
9156 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9157 wxPyEndAllowThreads(__tstate);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 }
9160 resultobj = SWIG_Py_Void();
9161 {
9162 if (temp2)
9163 delete arg2;
9164 }
9165 return resultobj;
9166 fail:
9167 {
9168 if (temp2)
9169 delete arg2;
9170 }
9171 return NULL;
9172 }
9173
9174
9175 SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9176 PyObject *resultobj = 0;
9177 wxListBox *arg1 = (wxListBox *) 0 ;
9178 wxArrayString *arg2 = 0 ;
9179 unsigned int arg3 ;
9180 void *argp1 = 0 ;
9181 int res1 = 0 ;
9182 bool temp2 = false ;
9183 unsigned int val3 ;
9184 int ecode3 = 0 ;
9185 PyObject * obj0 = 0 ;
9186 PyObject * obj1 = 0 ;
9187 PyObject * obj2 = 0 ;
9188 char * kwnames[] = {
9189 (char *) "self",(char *) "items",(char *) "pos", NULL
9190 };
9191
9192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9194 if (!SWIG_IsOK(res1)) {
9195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9196 }
9197 arg1 = reinterpret_cast< wxListBox * >(argp1);
9198 {
9199 if (! PySequence_Check(obj1)) {
9200 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9201 SWIG_fail;
9202 }
9203 arg2 = new wxArrayString;
9204 temp2 = true;
9205 int i, len=PySequence_Length(obj1);
9206 for (i=0; i<len; i++) {
9207 PyObject* item = PySequence_GetItem(obj1, i);
9208 wxString* s = wxString_in_helper(item);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 arg2->Add(*s);
9211 delete s;
9212 Py_DECREF(item);
9213 }
9214 }
9215 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
9216 if (!SWIG_IsOK(ecode3)) {
9217 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9218 }
9219 arg3 = static_cast< unsigned int >(val3);
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9223 wxPyEndAllowThreads(__tstate);
9224 if (PyErr_Occurred()) SWIG_fail;
9225 }
9226 resultobj = SWIG_Py_Void();
9227 {
9228 if (temp2) delete arg2;
9229 }
9230 return resultobj;
9231 fail:
9232 {
9233 if (temp2) delete arg2;
9234 }
9235 return NULL;
9236 }
9237
9238
9239 SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9240 PyObject *resultobj = 0;
9241 wxListBox *arg1 = (wxListBox *) 0 ;
9242 wxArrayString *arg2 = 0 ;
9243 void *argp1 = 0 ;
9244 int res1 = 0 ;
9245 bool temp2 = false ;
9246 PyObject * obj0 = 0 ;
9247 PyObject * obj1 = 0 ;
9248 char * kwnames[] = {
9249 (char *) "self",(char *) "items", NULL
9250 };
9251
9252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9254 if (!SWIG_IsOK(res1)) {
9255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9256 }
9257 arg1 = reinterpret_cast< wxListBox * >(argp1);
9258 {
9259 if (! PySequence_Check(obj1)) {
9260 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9261 SWIG_fail;
9262 }
9263 arg2 = new wxArrayString;
9264 temp2 = true;
9265 int i, len=PySequence_Length(obj1);
9266 for (i=0; i<len; i++) {
9267 PyObject* item = PySequence_GetItem(obj1, i);
9268 wxString* s = wxString_in_helper(item);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 arg2->Add(*s);
9271 delete s;
9272 Py_DECREF(item);
9273 }
9274 }
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 (arg1)->Set((wxArrayString const &)*arg2);
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 resultobj = SWIG_Py_Void();
9282 {
9283 if (temp2) delete arg2;
9284 }
9285 return resultobj;
9286 fail:
9287 {
9288 if (temp2) delete arg2;
9289 }
9290 return NULL;
9291 }
9292
9293
9294 SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9295 PyObject *resultobj = 0;
9296 wxListBox *arg1 = (wxListBox *) 0 ;
9297 int arg2 ;
9298 bool result;
9299 void *argp1 = 0 ;
9300 int res1 = 0 ;
9301 int val2 ;
9302 int ecode2 = 0 ;
9303 PyObject * obj0 = 0 ;
9304 PyObject * obj1 = 0 ;
9305 char * kwnames[] = {
9306 (char *) "self",(char *) "n", NULL
9307 };
9308
9309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9311 if (!SWIG_IsOK(res1)) {
9312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9313 }
9314 arg1 = reinterpret_cast< wxListBox * >(argp1);
9315 ecode2 = SWIG_AsVal_int(obj1, &val2);
9316 if (!SWIG_IsOK(ecode2)) {
9317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9318 }
9319 arg2 = static_cast< int >(val2);
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 {
9327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9328 }
9329 return resultobj;
9330 fail:
9331 return NULL;
9332 }
9333
9334
9335 SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9336 PyObject *resultobj = 0;
9337 wxListBox *arg1 = (wxListBox *) 0 ;
9338 int arg2 ;
9339 bool arg3 = (bool) true ;
9340 void *argp1 = 0 ;
9341 int res1 = 0 ;
9342 int val2 ;
9343 int ecode2 = 0 ;
9344 bool val3 ;
9345 int ecode3 = 0 ;
9346 PyObject * obj0 = 0 ;
9347 PyObject * obj1 = 0 ;
9348 PyObject * obj2 = 0 ;
9349 char * kwnames[] = {
9350 (char *) "self",(char *) "n",(char *) "select", NULL
9351 };
9352
9353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9355 if (!SWIG_IsOK(res1)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9357 }
9358 arg1 = reinterpret_cast< wxListBox * >(argp1);
9359 ecode2 = SWIG_AsVal_int(obj1, &val2);
9360 if (!SWIG_IsOK(ecode2)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9362 }
9363 arg2 = static_cast< int >(val2);
9364 if (obj2) {
9365 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9366 if (!SWIG_IsOK(ecode3)) {
9367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9368 }
9369 arg3 = static_cast< bool >(val3);
9370 }
9371 {
9372 PyThreadState* __tstate = wxPyBeginAllowThreads();
9373 (arg1)->SetSelection(arg2,arg3);
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
9377 resultobj = SWIG_Py_Void();
9378 return resultobj;
9379 fail:
9380 return NULL;
9381 }
9382
9383
9384 SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9385 PyObject *resultobj = 0;
9386 wxListBox *arg1 = (wxListBox *) 0 ;
9387 int arg2 ;
9388 void *argp1 = 0 ;
9389 int res1 = 0 ;
9390 int val2 ;
9391 int ecode2 = 0 ;
9392 PyObject * obj0 = 0 ;
9393 PyObject * obj1 = 0 ;
9394 char * kwnames[] = {
9395 (char *) "self",(char *) "n", NULL
9396 };
9397
9398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9400 if (!SWIG_IsOK(res1)) {
9401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9402 }
9403 arg1 = reinterpret_cast< wxListBox * >(argp1);
9404 ecode2 = SWIG_AsVal_int(obj1, &val2);
9405 if (!SWIG_IsOK(ecode2)) {
9406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9407 }
9408 arg2 = static_cast< int >(val2);
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 (arg1)->Select(arg2);
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 resultobj = SWIG_Py_Void();
9416 return resultobj;
9417 fail:
9418 return NULL;
9419 }
9420
9421
9422 SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9423 PyObject *resultobj = 0;
9424 wxListBox *arg1 = (wxListBox *) 0 ;
9425 int arg2 ;
9426 void *argp1 = 0 ;
9427 int res1 = 0 ;
9428 int val2 ;
9429 int ecode2 = 0 ;
9430 PyObject * obj0 = 0 ;
9431 PyObject * obj1 = 0 ;
9432 char * kwnames[] = {
9433 (char *) "self",(char *) "n", NULL
9434 };
9435
9436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9438 if (!SWIG_IsOK(res1)) {
9439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9440 }
9441 arg1 = reinterpret_cast< wxListBox * >(argp1);
9442 ecode2 = SWIG_AsVal_int(obj1, &val2);
9443 if (!SWIG_IsOK(ecode2)) {
9444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9445 }
9446 arg2 = static_cast< int >(val2);
9447 {
9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9449 (arg1)->Deselect(arg2);
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 resultobj = SWIG_Py_Void();
9454 return resultobj;
9455 fail:
9456 return NULL;
9457 }
9458
9459
9460 SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9461 PyObject *resultobj = 0;
9462 wxListBox *arg1 = (wxListBox *) 0 ;
9463 int arg2 = (int) -1 ;
9464 void *argp1 = 0 ;
9465 int res1 = 0 ;
9466 int val2 ;
9467 int ecode2 = 0 ;
9468 PyObject * obj0 = 0 ;
9469 PyObject * obj1 = 0 ;
9470 char * kwnames[] = {
9471 (char *) "self",(char *) "itemToLeaveSelected", NULL
9472 };
9473
9474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9476 if (!SWIG_IsOK(res1)) {
9477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9478 }
9479 arg1 = reinterpret_cast< wxListBox * >(argp1);
9480 if (obj1) {
9481 ecode2 = SWIG_AsVal_int(obj1, &val2);
9482 if (!SWIG_IsOK(ecode2)) {
9483 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9484 }
9485 arg2 = static_cast< int >(val2);
9486 }
9487 {
9488 PyThreadState* __tstate = wxPyBeginAllowThreads();
9489 (arg1)->DeselectAll(arg2);
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 resultobj = SWIG_Py_Void();
9494 return resultobj;
9495 fail:
9496 return NULL;
9497 }
9498
9499
9500 SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj = 0;
9502 wxListBox *arg1 = (wxListBox *) 0 ;
9503 wxString *arg2 = 0 ;
9504 bool arg3 = (bool) true ;
9505 bool result;
9506 void *argp1 = 0 ;
9507 int res1 = 0 ;
9508 bool temp2 = false ;
9509 bool val3 ;
9510 int ecode3 = 0 ;
9511 PyObject * obj0 = 0 ;
9512 PyObject * obj1 = 0 ;
9513 PyObject * obj2 = 0 ;
9514 char * kwnames[] = {
9515 (char *) "self",(char *) "s",(char *) "select", NULL
9516 };
9517
9518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9520 if (!SWIG_IsOK(res1)) {
9521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9522 }
9523 arg1 = reinterpret_cast< wxListBox * >(argp1);
9524 {
9525 arg2 = wxString_in_helper(obj1);
9526 if (arg2 == NULL) SWIG_fail;
9527 temp2 = true;
9528 }
9529 if (obj2) {
9530 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9531 if (!SWIG_IsOK(ecode3)) {
9532 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9533 }
9534 arg3 = static_cast< bool >(val3);
9535 }
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9539 wxPyEndAllowThreads(__tstate);
9540 if (PyErr_Occurred()) SWIG_fail;
9541 }
9542 {
9543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9544 }
9545 {
9546 if (temp2)
9547 delete arg2;
9548 }
9549 return resultobj;
9550 fail:
9551 {
9552 if (temp2)
9553 delete arg2;
9554 }
9555 return NULL;
9556 }
9557
9558
9559 SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9560 PyObject *resultobj = 0;
9561 wxListBox *arg1 = (wxListBox *) 0 ;
9562 PyObject *result = 0 ;
9563 void *argp1 = 0 ;
9564 int res1 = 0 ;
9565 PyObject *swig_obj[1] ;
9566
9567 if (!args) SWIG_fail;
9568 swig_obj[0] = args;
9569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9570 if (!SWIG_IsOK(res1)) {
9571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9572 }
9573 arg1 = reinterpret_cast< wxListBox * >(argp1);
9574 {
9575 PyThreadState* __tstate = wxPyBeginAllowThreads();
9576 result = (PyObject *)wxListBox_GetSelections(arg1);
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 resultobj = result;
9581 return resultobj;
9582 fail:
9583 return NULL;
9584 }
9585
9586
9587 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj = 0;
9589 wxListBox *arg1 = (wxListBox *) 0 ;
9590 int arg2 ;
9591 void *argp1 = 0 ;
9592 int res1 = 0 ;
9593 int val2 ;
9594 int ecode2 = 0 ;
9595 PyObject * obj0 = 0 ;
9596 PyObject * obj1 = 0 ;
9597 char * kwnames[] = {
9598 (char *) "self",(char *) "n", NULL
9599 };
9600
9601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9603 if (!SWIG_IsOK(res1)) {
9604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9605 }
9606 arg1 = reinterpret_cast< wxListBox * >(argp1);
9607 ecode2 = SWIG_AsVal_int(obj1, &val2);
9608 if (!SWIG_IsOK(ecode2)) {
9609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9610 }
9611 arg2 = static_cast< int >(val2);
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 (arg1)->SetFirstItem(arg2);
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 resultobj = SWIG_Py_Void();
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj = 0;
9627 wxListBox *arg1 = (wxListBox *) 0 ;
9628 wxString *arg2 = 0 ;
9629 void *argp1 = 0 ;
9630 int res1 = 0 ;
9631 bool temp2 = false ;
9632 PyObject * obj0 = 0 ;
9633 PyObject * obj1 = 0 ;
9634 char * kwnames[] = {
9635 (char *) "self",(char *) "s", NULL
9636 };
9637
9638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9640 if (!SWIG_IsOK(res1)) {
9641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9642 }
9643 arg1 = reinterpret_cast< wxListBox * >(argp1);
9644 {
9645 arg2 = wxString_in_helper(obj1);
9646 if (arg2 == NULL) SWIG_fail;
9647 temp2 = true;
9648 }
9649 {
9650 PyThreadState* __tstate = wxPyBeginAllowThreads();
9651 (arg1)->SetFirstItem((wxString const &)*arg2);
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 }
9655 resultobj = SWIG_Py_Void();
9656 {
9657 if (temp2)
9658 delete arg2;
9659 }
9660 return resultobj;
9661 fail:
9662 {
9663 if (temp2)
9664 delete arg2;
9665 }
9666 return NULL;
9667 }
9668
9669
9670 SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9671 PyObject *resultobj = 0;
9672 wxListBox *arg1 = (wxListBox *) 0 ;
9673 int arg2 ;
9674 void *argp1 = 0 ;
9675 int res1 = 0 ;
9676 int val2 ;
9677 int ecode2 = 0 ;
9678 PyObject * obj0 = 0 ;
9679 PyObject * obj1 = 0 ;
9680 char * kwnames[] = {
9681 (char *) "self",(char *) "n", NULL
9682 };
9683
9684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9686 if (!SWIG_IsOK(res1)) {
9687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9688 }
9689 arg1 = reinterpret_cast< wxListBox * >(argp1);
9690 ecode2 = SWIG_AsVal_int(obj1, &val2);
9691 if (!SWIG_IsOK(ecode2)) {
9692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9693 }
9694 arg2 = static_cast< int >(val2);
9695 {
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 (arg1)->EnsureVisible(arg2);
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 resultobj = SWIG_Py_Void();
9702 return resultobj;
9703 fail:
9704 return NULL;
9705 }
9706
9707
9708 SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj = 0;
9710 wxListBox *arg1 = (wxListBox *) 0 ;
9711 wxString *arg2 = 0 ;
9712 void *argp1 = 0 ;
9713 int res1 = 0 ;
9714 bool temp2 = false ;
9715 PyObject * obj0 = 0 ;
9716 PyObject * obj1 = 0 ;
9717 char * kwnames[] = {
9718 (char *) "self",(char *) "s", NULL
9719 };
9720
9721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9723 if (!SWIG_IsOK(res1)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9725 }
9726 arg1 = reinterpret_cast< wxListBox * >(argp1);
9727 {
9728 arg2 = wxString_in_helper(obj1);
9729 if (arg2 == NULL) SWIG_fail;
9730 temp2 = true;
9731 }
9732 {
9733 PyThreadState* __tstate = wxPyBeginAllowThreads();
9734 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9735 wxPyEndAllowThreads(__tstate);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
9738 resultobj = SWIG_Py_Void();
9739 {
9740 if (temp2)
9741 delete arg2;
9742 }
9743 return resultobj;
9744 fail:
9745 {
9746 if (temp2)
9747 delete arg2;
9748 }
9749 return NULL;
9750 }
9751
9752
9753 SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9754 PyObject *resultobj = 0;
9755 wxListBox *arg1 = (wxListBox *) 0 ;
9756 bool result;
9757 void *argp1 = 0 ;
9758 int res1 = 0 ;
9759 PyObject *swig_obj[1] ;
9760
9761 if (!args) SWIG_fail;
9762 swig_obj[0] = args;
9763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9764 if (!SWIG_IsOK(res1)) {
9765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9766 }
9767 arg1 = reinterpret_cast< wxListBox * >(argp1);
9768 {
9769 PyThreadState* __tstate = wxPyBeginAllowThreads();
9770 result = (bool)((wxListBox const *)arg1)->IsSorted();
9771 wxPyEndAllowThreads(__tstate);
9772 if (PyErr_Occurred()) SWIG_fail;
9773 }
9774 {
9775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9776 }
9777 return resultobj;
9778 fail:
9779 return NULL;
9780 }
9781
9782
9783 SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9784 PyObject *resultobj = 0;
9785 wxListBox *arg1 = (wxListBox *) 0 ;
9786 wxPoint *arg2 = 0 ;
9787 int result;
9788 void *argp1 = 0 ;
9789 int res1 = 0 ;
9790 wxPoint temp2 ;
9791 PyObject * obj0 = 0 ;
9792 PyObject * obj1 = 0 ;
9793 char * kwnames[] = {
9794 (char *) "self",(char *) "pt", NULL
9795 };
9796
9797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9799 if (!SWIG_IsOK(res1)) {
9800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9801 }
9802 arg1 = reinterpret_cast< wxListBox * >(argp1);
9803 {
9804 arg2 = &temp2;
9805 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9806 }
9807 {
9808 PyThreadState* __tstate = wxPyBeginAllowThreads();
9809 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9810 wxPyEndAllowThreads(__tstate);
9811 if (PyErr_Occurred()) SWIG_fail;
9812 }
9813 resultobj = SWIG_From_int(static_cast< int >(result));
9814 return resultobj;
9815 fail:
9816 return NULL;
9817 }
9818
9819
9820 SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9821 PyObject *resultobj = 0;
9822 wxListBox *arg1 = (wxListBox *) 0 ;
9823 int arg2 ;
9824 wxColour *arg3 = 0 ;
9825 void *argp1 = 0 ;
9826 int res1 = 0 ;
9827 int val2 ;
9828 int ecode2 = 0 ;
9829 wxColour temp3 ;
9830 PyObject * obj0 = 0 ;
9831 PyObject * obj1 = 0 ;
9832 PyObject * obj2 = 0 ;
9833 char * kwnames[] = {
9834 (char *) "self",(char *) "item",(char *) "c", NULL
9835 };
9836
9837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9839 if (!SWIG_IsOK(res1)) {
9840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9841 }
9842 arg1 = reinterpret_cast< wxListBox * >(argp1);
9843 ecode2 = SWIG_AsVal_int(obj1, &val2);
9844 if (!SWIG_IsOK(ecode2)) {
9845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9846 }
9847 arg2 = static_cast< int >(val2);
9848 {
9849 arg3 = &temp3;
9850 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9851 }
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 resultobj = SWIG_Py_Void();
9859 return resultobj;
9860 fail:
9861 return NULL;
9862 }
9863
9864
9865 SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9866 PyObject *resultobj = 0;
9867 wxListBox *arg1 = (wxListBox *) 0 ;
9868 int arg2 ;
9869 wxColour *arg3 = 0 ;
9870 void *argp1 = 0 ;
9871 int res1 = 0 ;
9872 int val2 ;
9873 int ecode2 = 0 ;
9874 wxColour temp3 ;
9875 PyObject * obj0 = 0 ;
9876 PyObject * obj1 = 0 ;
9877 PyObject * obj2 = 0 ;
9878 char * kwnames[] = {
9879 (char *) "self",(char *) "item",(char *) "c", NULL
9880 };
9881
9882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9884 if (!SWIG_IsOK(res1)) {
9885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9886 }
9887 arg1 = reinterpret_cast< wxListBox * >(argp1);
9888 ecode2 = SWIG_AsVal_int(obj1, &val2);
9889 if (!SWIG_IsOK(ecode2)) {
9890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9891 }
9892 arg2 = static_cast< int >(val2);
9893 {
9894 arg3 = &temp3;
9895 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9896 }
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) SWIG_fail;
9902 }
9903 resultobj = SWIG_Py_Void();
9904 return resultobj;
9905 fail:
9906 return NULL;
9907 }
9908
9909
9910 SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9911 PyObject *resultobj = 0;
9912 wxListBox *arg1 = (wxListBox *) 0 ;
9913 int arg2 ;
9914 wxFont *arg3 = 0 ;
9915 void *argp1 = 0 ;
9916 int res1 = 0 ;
9917 int val2 ;
9918 int ecode2 = 0 ;
9919 void *argp3 = 0 ;
9920 int res3 = 0 ;
9921 PyObject * obj0 = 0 ;
9922 PyObject * obj1 = 0 ;
9923 PyObject * obj2 = 0 ;
9924 char * kwnames[] = {
9925 (char *) "self",(char *) "item",(char *) "f", NULL
9926 };
9927
9928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9930 if (!SWIG_IsOK(res1)) {
9931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9932 }
9933 arg1 = reinterpret_cast< wxListBox * >(argp1);
9934 ecode2 = SWIG_AsVal_int(obj1, &val2);
9935 if (!SWIG_IsOK(ecode2)) {
9936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9937 }
9938 arg2 = static_cast< int >(val2);
9939 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9940 if (!SWIG_IsOK(res3)) {
9941 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9942 }
9943 if (!argp3) {
9944 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9945 }
9946 arg3 = reinterpret_cast< wxFont * >(argp3);
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
9953 resultobj = SWIG_Py_Void();
9954 return resultobj;
9955 fail:
9956 return NULL;
9957 }
9958
9959
9960 SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9961 PyObject *resultobj = 0;
9962 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9963 SwigValueWrapper<wxVisualAttributes > result;
9964 int val1 ;
9965 int ecode1 = 0 ;
9966 PyObject * obj0 = 0 ;
9967 char * kwnames[] = {
9968 (char *) "variant", NULL
9969 };
9970
9971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9972 if (obj0) {
9973 ecode1 = SWIG_AsVal_int(obj0, &val1);
9974 if (!SWIG_IsOK(ecode1)) {
9975 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9976 }
9977 arg1 = static_cast< wxWindowVariant >(val1);
9978 }
9979 {
9980 if (!wxPyCheckForApp()) SWIG_fail;
9981 PyThreadState* __tstate = wxPyBeginAllowThreads();
9982 result = wxListBox::GetClassDefaultAttributes(arg1);
9983 wxPyEndAllowThreads(__tstate);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9987 return resultobj;
9988 fail:
9989 return NULL;
9990 }
9991
9992
9993 SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9994 PyObject *obj;
9995 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9996 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
9997 return SWIG_Py_Void();
9998 }
9999
10000 SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10001 return SWIG_Python_InitShadowInstance(args);
10002 }
10003
10004 SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj = 0;
10006 wxWindow *arg1 = (wxWindow *) 0 ;
10007 int arg2 = (int) -1 ;
10008 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10009 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10010 wxSize const &arg4_defvalue = wxDefaultSize ;
10011 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10012 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10013 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10014 long arg6 = (long) 0 ;
10015 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10016 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10017 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10018 wxString *arg8 = (wxString *) &arg8_defvalue ;
10019 wxCheckListBox *result = 0 ;
10020 void *argp1 = 0 ;
10021 int res1 = 0 ;
10022 int val2 ;
10023 int ecode2 = 0 ;
10024 wxPoint temp3 ;
10025 wxSize temp4 ;
10026 bool temp5 = false ;
10027 long val6 ;
10028 int ecode6 = 0 ;
10029 void *argp7 = 0 ;
10030 int res7 = 0 ;
10031 bool temp8 = false ;
10032 PyObject * obj0 = 0 ;
10033 PyObject * obj1 = 0 ;
10034 PyObject * obj2 = 0 ;
10035 PyObject * obj3 = 0 ;
10036 PyObject * obj4 = 0 ;
10037 PyObject * obj5 = 0 ;
10038 PyObject * obj6 = 0 ;
10039 PyObject * obj7 = 0 ;
10040 char * kwnames[] = {
10041 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10042 };
10043
10044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10046 if (!SWIG_IsOK(res1)) {
10047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10048 }
10049 arg1 = reinterpret_cast< wxWindow * >(argp1);
10050 if (obj1) {
10051 ecode2 = SWIG_AsVal_int(obj1, &val2);
10052 if (!SWIG_IsOK(ecode2)) {
10053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10054 }
10055 arg2 = static_cast< int >(val2);
10056 }
10057 if (obj2) {
10058 {
10059 arg3 = &temp3;
10060 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10061 }
10062 }
10063 if (obj3) {
10064 {
10065 arg4 = &temp4;
10066 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10067 }
10068 }
10069 if (obj4) {
10070 {
10071 if (! PySequence_Check(obj4)) {
10072 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10073 SWIG_fail;
10074 }
10075 arg5 = new wxArrayString;
10076 temp5 = true;
10077 int i, len=PySequence_Length(obj4);
10078 for (i=0; i<len; i++) {
10079 PyObject* item = PySequence_GetItem(obj4, i);
10080 wxString* s = wxString_in_helper(item);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 arg5->Add(*s);
10083 delete s;
10084 Py_DECREF(item);
10085 }
10086 }
10087 }
10088 if (obj5) {
10089 ecode6 = SWIG_AsVal_long(obj5, &val6);
10090 if (!SWIG_IsOK(ecode6)) {
10091 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10092 }
10093 arg6 = static_cast< long >(val6);
10094 }
10095 if (obj6) {
10096 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10097 if (!SWIG_IsOK(res7)) {
10098 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10099 }
10100 if (!argp7) {
10101 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10102 }
10103 arg7 = reinterpret_cast< wxValidator * >(argp7);
10104 }
10105 if (obj7) {
10106 {
10107 arg8 = wxString_in_helper(obj7);
10108 if (arg8 == NULL) SWIG_fail;
10109 temp8 = true;
10110 }
10111 }
10112 {
10113 if (!wxPyCheckForApp()) SWIG_fail;
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10116 wxPyEndAllowThreads(__tstate);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
10119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10120 {
10121 if (temp5) delete arg5;
10122 }
10123 {
10124 if (temp8)
10125 delete arg8;
10126 }
10127 return resultobj;
10128 fail:
10129 {
10130 if (temp5) delete arg5;
10131 }
10132 {
10133 if (temp8)
10134 delete arg8;
10135 }
10136 return NULL;
10137 }
10138
10139
10140 SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10141 PyObject *resultobj = 0;
10142 wxCheckListBox *result = 0 ;
10143
10144 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10145 {
10146 if (!wxPyCheckForApp()) SWIG_fail;
10147 PyThreadState* __tstate = wxPyBeginAllowThreads();
10148 result = (wxCheckListBox *)new wxCheckListBox();
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10153 return resultobj;
10154 fail:
10155 return NULL;
10156 }
10157
10158
10159 SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10160 PyObject *resultobj = 0;
10161 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10162 wxWindow *arg2 = (wxWindow *) 0 ;
10163 int arg3 = (int) -1 ;
10164 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10165 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10166 wxSize const &arg5_defvalue = wxDefaultSize ;
10167 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10168 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10169 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10170 long arg7 = (long) 0 ;
10171 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10172 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10173 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10174 wxString *arg9 = (wxString *) &arg9_defvalue ;
10175 bool result;
10176 void *argp1 = 0 ;
10177 int res1 = 0 ;
10178 void *argp2 = 0 ;
10179 int res2 = 0 ;
10180 int val3 ;
10181 int ecode3 = 0 ;
10182 wxPoint temp4 ;
10183 wxSize temp5 ;
10184 bool temp6 = false ;
10185 long val7 ;
10186 int ecode7 = 0 ;
10187 void *argp8 = 0 ;
10188 int res8 = 0 ;
10189 bool temp9 = false ;
10190 PyObject * obj0 = 0 ;
10191 PyObject * obj1 = 0 ;
10192 PyObject * obj2 = 0 ;
10193 PyObject * obj3 = 0 ;
10194 PyObject * obj4 = 0 ;
10195 PyObject * obj5 = 0 ;
10196 PyObject * obj6 = 0 ;
10197 PyObject * obj7 = 0 ;
10198 PyObject * obj8 = 0 ;
10199 char * kwnames[] = {
10200 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10201 };
10202
10203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10205 if (!SWIG_IsOK(res1)) {
10206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10207 }
10208 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10209 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10210 if (!SWIG_IsOK(res2)) {
10211 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10212 }
10213 arg2 = reinterpret_cast< wxWindow * >(argp2);
10214 if (obj2) {
10215 ecode3 = SWIG_AsVal_int(obj2, &val3);
10216 if (!SWIG_IsOK(ecode3)) {
10217 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10218 }
10219 arg3 = static_cast< int >(val3);
10220 }
10221 if (obj3) {
10222 {
10223 arg4 = &temp4;
10224 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10225 }
10226 }
10227 if (obj4) {
10228 {
10229 arg5 = &temp5;
10230 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10231 }
10232 }
10233 if (obj5) {
10234 {
10235 if (! PySequence_Check(obj5)) {
10236 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10237 SWIG_fail;
10238 }
10239 arg6 = new wxArrayString;
10240 temp6 = true;
10241 int i, len=PySequence_Length(obj5);
10242 for (i=0; i<len; i++) {
10243 PyObject* item = PySequence_GetItem(obj5, i);
10244 wxString* s = wxString_in_helper(item);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 arg6->Add(*s);
10247 delete s;
10248 Py_DECREF(item);
10249 }
10250 }
10251 }
10252 if (obj6) {
10253 ecode7 = SWIG_AsVal_long(obj6, &val7);
10254 if (!SWIG_IsOK(ecode7)) {
10255 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10256 }
10257 arg7 = static_cast< long >(val7);
10258 }
10259 if (obj7) {
10260 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10261 if (!SWIG_IsOK(res8)) {
10262 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10263 }
10264 if (!argp8) {
10265 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10266 }
10267 arg8 = reinterpret_cast< wxValidator * >(argp8);
10268 }
10269 if (obj8) {
10270 {
10271 arg9 = wxString_in_helper(obj8);
10272 if (arg9 == NULL) SWIG_fail;
10273 temp9 = true;
10274 }
10275 }
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 {
10283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10284 }
10285 {
10286 if (temp6) delete arg6;
10287 }
10288 {
10289 if (temp9)
10290 delete arg9;
10291 }
10292 return resultobj;
10293 fail:
10294 {
10295 if (temp6) delete arg6;
10296 }
10297 {
10298 if (temp9)
10299 delete arg9;
10300 }
10301 return NULL;
10302 }
10303
10304
10305 SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10306 PyObject *resultobj = 0;
10307 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10308 unsigned int arg2 ;
10309 bool result;
10310 void *argp1 = 0 ;
10311 int res1 = 0 ;
10312 unsigned int val2 ;
10313 int ecode2 = 0 ;
10314 PyObject * obj0 = 0 ;
10315 PyObject * obj1 = 0 ;
10316 char * kwnames[] = {
10317 (char *) "self",(char *) "index", NULL
10318 };
10319
10320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10322 if (!SWIG_IsOK(res1)) {
10323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10324 }
10325 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10326 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10327 if (!SWIG_IsOK(ecode2)) {
10328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10329 }
10330 arg2 = static_cast< unsigned int >(val2);
10331 {
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
10333 result = (bool)(arg1)->IsChecked(arg2);
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 {
10338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10339 }
10340 return resultobj;
10341 fail:
10342 return NULL;
10343 }
10344
10345
10346 SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10347 PyObject *resultobj = 0;
10348 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10349 unsigned int arg2 ;
10350 int arg3 = (int) true ;
10351 void *argp1 = 0 ;
10352 int res1 = 0 ;
10353 unsigned int val2 ;
10354 int ecode2 = 0 ;
10355 int val3 ;
10356 int ecode3 = 0 ;
10357 PyObject * obj0 = 0 ;
10358 PyObject * obj1 = 0 ;
10359 PyObject * obj2 = 0 ;
10360 char * kwnames[] = {
10361 (char *) "self",(char *) "index",(char *) "check", NULL
10362 };
10363
10364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10366 if (!SWIG_IsOK(res1)) {
10367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10368 }
10369 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10370 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10371 if (!SWIG_IsOK(ecode2)) {
10372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10373 }
10374 arg2 = static_cast< unsigned int >(val2);
10375 if (obj2) {
10376 ecode3 = SWIG_AsVal_int(obj2, &val3);
10377 if (!SWIG_IsOK(ecode3)) {
10378 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10379 }
10380 arg3 = static_cast< int >(val3);
10381 }
10382 {
10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
10384 (arg1)->Check(arg2,arg3);
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
10388 resultobj = SWIG_Py_Void();
10389 return resultobj;
10390 fail:
10391 return NULL;
10392 }
10393
10394
10395 SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10396 PyObject *resultobj = 0;
10397 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10398 int result;
10399 void *argp1 = 0 ;
10400 int res1 = 0 ;
10401 PyObject *swig_obj[1] ;
10402
10403 if (!args) SWIG_fail;
10404 swig_obj[0] = args;
10405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10406 if (!SWIG_IsOK(res1)) {
10407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10408 }
10409 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 result = (int)(arg1)->GetItemHeight();
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 resultobj = SWIG_From_int(static_cast< int >(result));
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10424 PyObject *obj;
10425 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10426 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10427 return SWIG_Py_Void();
10428 }
10429
10430 SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10431 return SWIG_Python_InitShadowInstance(args);
10432 }
10433
10434 SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10435 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10436 return 1;
10437 }
10438
10439
10440 SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10441 PyObject *pyobj = 0;
10442
10443 {
10444 #if wxUSE_UNICODE
10445 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10446 #else
10447 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10448 #endif
10449 }
10450 return pyobj;
10451 }
10452
10453
10454 SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10455 PyObject *resultobj = 0;
10456 wxColour const &arg1_defvalue = wxNullColour ;
10457 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10458 wxColour const &arg2_defvalue = wxNullColour ;
10459 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10460 wxFont const &arg3_defvalue = wxNullFont ;
10461 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10462 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10463 wxTextAttr *result = 0 ;
10464 wxColour temp1 ;
10465 wxColour temp2 ;
10466 void *argp3 = 0 ;
10467 int res3 = 0 ;
10468 int val4 ;
10469 int ecode4 = 0 ;
10470 PyObject * obj0 = 0 ;
10471 PyObject * obj1 = 0 ;
10472 PyObject * obj2 = 0 ;
10473 PyObject * obj3 = 0 ;
10474 char * kwnames[] = {
10475 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10476 };
10477
10478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10479 if (obj0) {
10480 {
10481 arg1 = &temp1;
10482 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
10483 }
10484 }
10485 if (obj1) {
10486 {
10487 arg2 = &temp2;
10488 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10489 }
10490 }
10491 if (obj2) {
10492 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10493 if (!SWIG_IsOK(res3)) {
10494 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10495 }
10496 if (!argp3) {
10497 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10498 }
10499 arg3 = reinterpret_cast< wxFont * >(argp3);
10500 }
10501 if (obj3) {
10502 ecode4 = SWIG_AsVal_int(obj3, &val4);
10503 if (!SWIG_IsOK(ecode4)) {
10504 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10505 }
10506 arg4 = static_cast< wxTextAttrAlignment >(val4);
10507 }
10508 {
10509 PyThreadState* __tstate = wxPyBeginAllowThreads();
10510 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10511 wxPyEndAllowThreads(__tstate);
10512 if (PyErr_Occurred()) SWIG_fail;
10513 }
10514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10515 return resultobj;
10516 fail:
10517 return NULL;
10518 }
10519
10520
10521 SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10522 PyObject *resultobj = 0;
10523 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10524 void *argp1 = 0 ;
10525 int res1 = 0 ;
10526 PyObject *swig_obj[1] ;
10527
10528 if (!args) SWIG_fail;
10529 swig_obj[0] = args;
10530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10531 if (!SWIG_IsOK(res1)) {
10532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10533 }
10534 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 delete arg1;
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 resultobj = SWIG_Py_Void();
10543 return resultobj;
10544 fail:
10545 return NULL;
10546 }
10547
10548
10549 SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10550 PyObject *resultobj = 0;
10551 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10552 void *argp1 = 0 ;
10553 int res1 = 0 ;
10554 PyObject *swig_obj[1] ;
10555
10556 if (!args) SWIG_fail;
10557 swig_obj[0] = args;
10558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10559 if (!SWIG_IsOK(res1)) {
10560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10561 }
10562 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 (arg1)->Init();
10566 wxPyEndAllowThreads(__tstate);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 resultobj = SWIG_Py_Void();
10570 return resultobj;
10571 fail:
10572 return NULL;
10573 }
10574
10575
10576 SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10577 PyObject *resultobj = 0;
10578 wxTextAttr *arg1 = 0 ;
10579 wxTextAttr *arg2 = 0 ;
10580 wxTextAttr result;
10581 void *argp1 = 0 ;
10582 int res1 = 0 ;
10583 void *argp2 = 0 ;
10584 int res2 = 0 ;
10585 PyObject * obj0 = 0 ;
10586 PyObject * obj1 = 0 ;
10587 char * kwnames[] = {
10588 (char *) "base",(char *) "overlay", NULL
10589 };
10590
10591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10592 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10593 if (!SWIG_IsOK(res1)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10595 }
10596 if (!argp1) {
10597 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10598 }
10599 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10600 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10601 if (!SWIG_IsOK(res2)) {
10602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10603 }
10604 if (!argp2) {
10605 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10606 }
10607 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10608 {
10609 PyThreadState* __tstate = wxPyBeginAllowThreads();
10610 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10611 wxPyEndAllowThreads(__tstate);
10612 if (PyErr_Occurred()) SWIG_fail;
10613 }
10614 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10615 return resultobj;
10616 fail:
10617 return NULL;
10618 }
10619
10620
10621 SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10622 PyObject *resultobj = 0;
10623 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10624 wxColour *arg2 = 0 ;
10625 void *argp1 = 0 ;
10626 int res1 = 0 ;
10627 wxColour temp2 ;
10628 PyObject * obj0 = 0 ;
10629 PyObject * obj1 = 0 ;
10630 char * kwnames[] = {
10631 (char *) "self",(char *) "colText", NULL
10632 };
10633
10634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10636 if (!SWIG_IsOK(res1)) {
10637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10638 }
10639 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10640 {
10641 arg2 = &temp2;
10642 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10643 }
10644 {
10645 PyThreadState* __tstate = wxPyBeginAllowThreads();
10646 (arg1)->SetTextColour((wxColour const &)*arg2);
10647 wxPyEndAllowThreads(__tstate);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 }
10650 resultobj = SWIG_Py_Void();
10651 return resultobj;
10652 fail:
10653 return NULL;
10654 }
10655
10656
10657 SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10658 PyObject *resultobj = 0;
10659 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10660 wxColour *arg2 = 0 ;
10661 void *argp1 = 0 ;
10662 int res1 = 0 ;
10663 wxColour temp2 ;
10664 PyObject * obj0 = 0 ;
10665 PyObject * obj1 = 0 ;
10666 char * kwnames[] = {
10667 (char *) "self",(char *) "colBack", NULL
10668 };
10669
10670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10672 if (!SWIG_IsOK(res1)) {
10673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10674 }
10675 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10676 {
10677 arg2 = &temp2;
10678 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10679 }
10680 {
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10683 wxPyEndAllowThreads(__tstate);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 }
10686 resultobj = SWIG_Py_Void();
10687 return resultobj;
10688 fail:
10689 return NULL;
10690 }
10691
10692
10693 SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10694 PyObject *resultobj = 0;
10695 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10696 wxFont *arg2 = 0 ;
10697 long arg3 = (long) wxTEXT_ATTR_FONT ;
10698 void *argp1 = 0 ;
10699 int res1 = 0 ;
10700 void *argp2 = 0 ;
10701 int res2 = 0 ;
10702 long val3 ;
10703 int ecode3 = 0 ;
10704 PyObject * obj0 = 0 ;
10705 PyObject * obj1 = 0 ;
10706 PyObject * obj2 = 0 ;
10707 char * kwnames[] = {
10708 (char *) "self",(char *) "font",(char *) "flags", NULL
10709 };
10710
10711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10713 if (!SWIG_IsOK(res1)) {
10714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10715 }
10716 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10717 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10718 if (!SWIG_IsOK(res2)) {
10719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10720 }
10721 if (!argp2) {
10722 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10723 }
10724 arg2 = reinterpret_cast< wxFont * >(argp2);
10725 if (obj2) {
10726 ecode3 = SWIG_AsVal_long(obj2, &val3);
10727 if (!SWIG_IsOK(ecode3)) {
10728 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10729 }
10730 arg3 = static_cast< long >(val3);
10731 }
10732 {
10733 PyThreadState* __tstate = wxPyBeginAllowThreads();
10734 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 resultobj = SWIG_Py_Void();
10739 return resultobj;
10740 fail:
10741 return NULL;
10742 }
10743
10744
10745 SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10746 PyObject *resultobj = 0;
10747 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10748 wxTextAttrAlignment arg2 ;
10749 void *argp1 = 0 ;
10750 int res1 = 0 ;
10751 int val2 ;
10752 int ecode2 = 0 ;
10753 PyObject * obj0 = 0 ;
10754 PyObject * obj1 = 0 ;
10755 char * kwnames[] = {
10756 (char *) "self",(char *) "alignment", NULL
10757 };
10758
10759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10761 if (!SWIG_IsOK(res1)) {
10762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10763 }
10764 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10765 ecode2 = SWIG_AsVal_int(obj1, &val2);
10766 if (!SWIG_IsOK(ecode2)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10768 }
10769 arg2 = static_cast< wxTextAttrAlignment >(val2);
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 (arg1)->SetAlignment(arg2);
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 resultobj = SWIG_Py_Void();
10777 return resultobj;
10778 fail:
10779 return NULL;
10780 }
10781
10782
10783 SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10784 PyObject *resultobj = 0;
10785 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10786 wxArrayInt *arg2 = 0 ;
10787 void *argp1 = 0 ;
10788 int res1 = 0 ;
10789 bool temp2 = false ;
10790 PyObject * obj0 = 0 ;
10791 PyObject * obj1 = 0 ;
10792 char * kwnames[] = {
10793 (char *) "self",(char *) "tabs", NULL
10794 };
10795
10796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10798 if (!SWIG_IsOK(res1)) {
10799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10800 }
10801 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10802 {
10803 if (! PySequence_Check(obj1)) {
10804 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10805 SWIG_fail;
10806 }
10807 arg2 = new wxArrayInt;
10808 temp2 = true;
10809 int i, len=PySequence_Length(obj1);
10810 for (i=0; i<len; i++) {
10811 PyObject* item = PySequence_GetItem(obj1, i);
10812 PyObject* number = PyNumber_Int(item);
10813 if (!number) {
10814 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10815 SWIG_fail;
10816 }
10817 arg2->Add(PyInt_AS_LONG(number));
10818 Py_DECREF(item);
10819 Py_DECREF(number);
10820 }
10821 }
10822 {
10823 PyThreadState* __tstate = wxPyBeginAllowThreads();
10824 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10825 wxPyEndAllowThreads(__tstate);
10826 if (PyErr_Occurred()) SWIG_fail;
10827 }
10828 resultobj = SWIG_Py_Void();
10829 {
10830 if (temp2) delete arg2;
10831 }
10832 return resultobj;
10833 fail:
10834 {
10835 if (temp2) delete arg2;
10836 }
10837 return NULL;
10838 }
10839
10840
10841 SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10842 PyObject *resultobj = 0;
10843 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10844 int arg2 ;
10845 int arg3 = (int) 0 ;
10846 void *argp1 = 0 ;
10847 int res1 = 0 ;
10848 int val2 ;
10849 int ecode2 = 0 ;
10850 int val3 ;
10851 int ecode3 = 0 ;
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 PyObject * obj2 = 0 ;
10855 char * kwnames[] = {
10856 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10857 };
10858
10859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10861 if (!SWIG_IsOK(res1)) {
10862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10863 }
10864 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10865 ecode2 = SWIG_AsVal_int(obj1, &val2);
10866 if (!SWIG_IsOK(ecode2)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10868 }
10869 arg2 = static_cast< int >(val2);
10870 if (obj2) {
10871 ecode3 = SWIG_AsVal_int(obj2, &val3);
10872 if (!SWIG_IsOK(ecode3)) {
10873 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10874 }
10875 arg3 = static_cast< int >(val3);
10876 }
10877 {
10878 PyThreadState* __tstate = wxPyBeginAllowThreads();
10879 (arg1)->SetLeftIndent(arg2,arg3);
10880 wxPyEndAllowThreads(__tstate);
10881 if (PyErr_Occurred()) SWIG_fail;
10882 }
10883 resultobj = SWIG_Py_Void();
10884 return resultobj;
10885 fail:
10886 return NULL;
10887 }
10888
10889
10890 SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10891 PyObject *resultobj = 0;
10892 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10893 int arg2 ;
10894 void *argp1 = 0 ;
10895 int res1 = 0 ;
10896 int val2 ;
10897 int ecode2 = 0 ;
10898 PyObject * obj0 = 0 ;
10899 PyObject * obj1 = 0 ;
10900 char * kwnames[] = {
10901 (char *) "self",(char *) "indent", NULL
10902 };
10903
10904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10906 if (!SWIG_IsOK(res1)) {
10907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10908 }
10909 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10910 ecode2 = SWIG_AsVal_int(obj1, &val2);
10911 if (!SWIG_IsOK(ecode2)) {
10912 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10913 }
10914 arg2 = static_cast< int >(val2);
10915 {
10916 PyThreadState* __tstate = wxPyBeginAllowThreads();
10917 (arg1)->SetRightIndent(arg2);
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
10921 resultobj = SWIG_Py_Void();
10922 return resultobj;
10923 fail:
10924 return NULL;
10925 }
10926
10927
10928 SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10929 PyObject *resultobj = 0;
10930 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10931 long arg2 ;
10932 void *argp1 = 0 ;
10933 int res1 = 0 ;
10934 long val2 ;
10935 int ecode2 = 0 ;
10936 PyObject * obj0 = 0 ;
10937 PyObject * obj1 = 0 ;
10938 char * kwnames[] = {
10939 (char *) "self",(char *) "flags", NULL
10940 };
10941
10942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10944 if (!SWIG_IsOK(res1)) {
10945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10946 }
10947 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10948 ecode2 = SWIG_AsVal_long(obj1, &val2);
10949 if (!SWIG_IsOK(ecode2)) {
10950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10951 }
10952 arg2 = static_cast< long >(val2);
10953 {
10954 PyThreadState* __tstate = wxPyBeginAllowThreads();
10955 (arg1)->SetFlags(arg2);
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 resultobj = SWIG_Py_Void();
10960 return resultobj;
10961 fail:
10962 return NULL;
10963 }
10964
10965
10966 SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10967 PyObject *resultobj = 0;
10968 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10969 bool result;
10970 void *argp1 = 0 ;
10971 int res1 = 0 ;
10972 PyObject *swig_obj[1] ;
10973
10974 if (!args) SWIG_fail;
10975 swig_obj[0] = args;
10976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10977 if (!SWIG_IsOK(res1)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10979 }
10980 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10981 {
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
10984 wxPyEndAllowThreads(__tstate);
10985 if (PyErr_Occurred()) SWIG_fail;
10986 }
10987 {
10988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10989 }
10990 return resultobj;
10991 fail:
10992 return NULL;
10993 }
10994
10995
10996 SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10997 PyObject *resultobj = 0;
10998 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10999 bool result;
11000 void *argp1 = 0 ;
11001 int res1 = 0 ;
11002 PyObject *swig_obj[1] ;
11003
11004 if (!args) SWIG_fail;
11005 swig_obj[0] = args;
11006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11007 if (!SWIG_IsOK(res1)) {
11008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11009 }
11010 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 {
11018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11019 }
11020 return resultobj;
11021 fail:
11022 return NULL;
11023 }
11024
11025
11026 SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11027 PyObject *resultobj = 0;
11028 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11029 bool result;
11030 void *argp1 = 0 ;
11031 int res1 = 0 ;
11032 PyObject *swig_obj[1] ;
11033
11034 if (!args) SWIG_fail;
11035 swig_obj[0] = args;
11036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11037 if (!SWIG_IsOK(res1)) {
11038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11039 }
11040 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11041 {
11042 PyThreadState* __tstate = wxPyBeginAllowThreads();
11043 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11044 wxPyEndAllowThreads(__tstate);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 {
11048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11049 }
11050 return resultobj;
11051 fail:
11052 return NULL;
11053 }
11054
11055
11056 SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11057 PyObject *resultobj = 0;
11058 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11059 bool result;
11060 void *argp1 = 0 ;
11061 int res1 = 0 ;
11062 PyObject *swig_obj[1] ;
11063
11064 if (!args) SWIG_fail;
11065 swig_obj[0] = args;
11066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11067 if (!SWIG_IsOK(res1)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11069 }
11070 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
11077 {
11078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11079 }
11080 return resultobj;
11081 fail:
11082 return NULL;
11083 }
11084
11085
11086 SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11087 PyObject *resultobj = 0;
11088 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11089 bool result;
11090 void *argp1 = 0 ;
11091 int res1 = 0 ;
11092 PyObject *swig_obj[1] ;
11093
11094 if (!args) SWIG_fail;
11095 swig_obj[0] = args;
11096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11097 if (!SWIG_IsOK(res1)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11099 }
11100 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 {
11108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11109 }
11110 return resultobj;
11111 fail:
11112 return NULL;
11113 }
11114
11115
11116 SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11117 PyObject *resultobj = 0;
11118 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11119 bool result;
11120 void *argp1 = 0 ;
11121 int res1 = 0 ;
11122 PyObject *swig_obj[1] ;
11123
11124 if (!args) SWIG_fail;
11125 swig_obj[0] = args;
11126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11127 if (!SWIG_IsOK(res1)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11129 }
11130 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11131 {
11132 PyThreadState* __tstate = wxPyBeginAllowThreads();
11133 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11134 wxPyEndAllowThreads(__tstate);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 }
11137 {
11138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11139 }
11140 return resultobj;
11141 fail:
11142 return NULL;
11143 }
11144
11145
11146 SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11147 PyObject *resultobj = 0;
11148 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11149 bool result;
11150 void *argp1 = 0 ;
11151 int res1 = 0 ;
11152 PyObject *swig_obj[1] ;
11153
11154 if (!args) SWIG_fail;
11155 swig_obj[0] = args;
11156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11157 if (!SWIG_IsOK(res1)) {
11158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11159 }
11160 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
11167 {
11168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11169 }
11170 return resultobj;
11171 fail:
11172 return NULL;
11173 }
11174
11175
11176 SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11177 PyObject *resultobj = 0;
11178 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11179 long arg2 ;
11180 bool result;
11181 void *argp1 = 0 ;
11182 int res1 = 0 ;
11183 long val2 ;
11184 int ecode2 = 0 ;
11185 PyObject * obj0 = 0 ;
11186 PyObject * obj1 = 0 ;
11187 char * kwnames[] = {
11188 (char *) "self",(char *) "flag", NULL
11189 };
11190
11191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11193 if (!SWIG_IsOK(res1)) {
11194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11195 }
11196 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11197 ecode2 = SWIG_AsVal_long(obj1, &val2);
11198 if (!SWIG_IsOK(ecode2)) {
11199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11200 }
11201 arg2 = static_cast< long >(val2);
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11205 wxPyEndAllowThreads(__tstate);
11206 if (PyErr_Occurred()) SWIG_fail;
11207 }
11208 {
11209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11210 }
11211 return resultobj;
11212 fail:
11213 return NULL;
11214 }
11215
11216
11217 SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11218 PyObject *resultobj = 0;
11219 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11220 wxColour *result = 0 ;
11221 void *argp1 = 0 ;
11222 int res1 = 0 ;
11223 PyObject *swig_obj[1] ;
11224
11225 if (!args) SWIG_fail;
11226 swig_obj[0] = args;
11227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11228 if (!SWIG_IsOK(res1)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11230 }
11231 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11232 {
11233 PyThreadState* __tstate = wxPyBeginAllowThreads();
11234 {
11235 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11236 result = (wxColour *) &_result_ref;
11237 }
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11242 return resultobj;
11243 fail:
11244 return NULL;
11245 }
11246
11247
11248 SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11249 PyObject *resultobj = 0;
11250 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11251 wxColour *result = 0 ;
11252 void *argp1 = 0 ;
11253 int res1 = 0 ;
11254 PyObject *swig_obj[1] ;
11255
11256 if (!args) SWIG_fail;
11257 swig_obj[0] = args;
11258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11259 if (!SWIG_IsOK(res1)) {
11260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11261 }
11262 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11263 {
11264 PyThreadState* __tstate = wxPyBeginAllowThreads();
11265 {
11266 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11267 result = (wxColour *) &_result_ref;
11268 }
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
11272 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11273 return resultobj;
11274 fail:
11275 return NULL;
11276 }
11277
11278
11279 SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11280 PyObject *resultobj = 0;
11281 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11282 wxFont *result = 0 ;
11283 void *argp1 = 0 ;
11284 int res1 = 0 ;
11285 PyObject *swig_obj[1] ;
11286
11287 if (!args) SWIG_fail;
11288 swig_obj[0] = args;
11289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11290 if (!SWIG_IsOK(res1)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11292 }
11293 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11294 {
11295 PyThreadState* __tstate = wxPyBeginAllowThreads();
11296 {
11297 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11298 result = (wxFont *) &_result_ref;
11299 }
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
11303 {
11304 wxFont* resultptr = new wxFont(*result);
11305 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11306 }
11307 return resultobj;
11308 fail:
11309 return NULL;
11310 }
11311
11312
11313 SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11314 PyObject *resultobj = 0;
11315 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11316 wxTextAttrAlignment result;
11317 void *argp1 = 0 ;
11318 int res1 = 0 ;
11319 PyObject *swig_obj[1] ;
11320
11321 if (!args) SWIG_fail;
11322 swig_obj[0] = args;
11323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11324 if (!SWIG_IsOK(res1)) {
11325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11326 }
11327 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11328 {
11329 PyThreadState* __tstate = wxPyBeginAllowThreads();
11330 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11331 wxPyEndAllowThreads(__tstate);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 }
11334 resultobj = SWIG_From_int(static_cast< int >(result));
11335 return resultobj;
11336 fail:
11337 return NULL;
11338 }
11339
11340
11341 SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11342 PyObject *resultobj = 0;
11343 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11344 wxArrayInt *result = 0 ;
11345 void *argp1 = 0 ;
11346 int res1 = 0 ;
11347 PyObject *swig_obj[1] ;
11348
11349 if (!args) SWIG_fail;
11350 swig_obj[0] = args;
11351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11352 if (!SWIG_IsOK(res1)) {
11353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11354 }
11355 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11356 {
11357 PyThreadState* __tstate = wxPyBeginAllowThreads();
11358 {
11359 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11360 result = (wxArrayInt *) &_result_ref;
11361 }
11362 wxPyEndAllowThreads(__tstate);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 {
11366 resultobj = wxArrayInt2PyList_helper(*result);
11367 }
11368 return resultobj;
11369 fail:
11370 return NULL;
11371 }
11372
11373
11374 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11375 PyObject *resultobj = 0;
11376 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11377 long result;
11378 void *argp1 = 0 ;
11379 int res1 = 0 ;
11380 PyObject *swig_obj[1] ;
11381
11382 if (!args) SWIG_fail;
11383 swig_obj[0] = args;
11384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11385 if (!SWIG_IsOK(res1)) {
11386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11387 }
11388 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11389 {
11390 PyThreadState* __tstate = wxPyBeginAllowThreads();
11391 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11392 wxPyEndAllowThreads(__tstate);
11393 if (PyErr_Occurred()) SWIG_fail;
11394 }
11395 resultobj = SWIG_From_long(static_cast< long >(result));
11396 return resultobj;
11397 fail:
11398 return NULL;
11399 }
11400
11401
11402 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11403 PyObject *resultobj = 0;
11404 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11405 long result;
11406 void *argp1 = 0 ;
11407 int res1 = 0 ;
11408 PyObject *swig_obj[1] ;
11409
11410 if (!args) SWIG_fail;
11411 swig_obj[0] = args;
11412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11413 if (!SWIG_IsOK(res1)) {
11414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11415 }
11416 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 }
11423 resultobj = SWIG_From_long(static_cast< long >(result));
11424 return resultobj;
11425 fail:
11426 return NULL;
11427 }
11428
11429
11430 SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11431 PyObject *resultobj = 0;
11432 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11433 long result;
11434 void *argp1 = 0 ;
11435 int res1 = 0 ;
11436 PyObject *swig_obj[1] ;
11437
11438 if (!args) SWIG_fail;
11439 swig_obj[0] = args;
11440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11441 if (!SWIG_IsOK(res1)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11443 }
11444 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 resultobj = SWIG_From_long(static_cast< long >(result));
11452 return resultobj;
11453 fail:
11454 return NULL;
11455 }
11456
11457
11458 SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11459 PyObject *resultobj = 0;
11460 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11461 long result;
11462 void *argp1 = 0 ;
11463 int res1 = 0 ;
11464 PyObject *swig_obj[1] ;
11465
11466 if (!args) SWIG_fail;
11467 swig_obj[0] = args;
11468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11469 if (!SWIG_IsOK(res1)) {
11470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11471 }
11472 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11473 {
11474 PyThreadState* __tstate = wxPyBeginAllowThreads();
11475 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 resultobj = SWIG_From_long(static_cast< long >(result));
11480 return resultobj;
11481 fail:
11482 return NULL;
11483 }
11484
11485
11486 SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11487 PyObject *resultobj = 0;
11488 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11489 bool result;
11490 void *argp1 = 0 ;
11491 int res1 = 0 ;
11492 PyObject *swig_obj[1] ;
11493
11494 if (!args) SWIG_fail;
11495 swig_obj[0] = args;
11496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11497 if (!SWIG_IsOK(res1)) {
11498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11499 }
11500 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 {
11508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11509 }
11510 return resultobj;
11511 fail:
11512 return NULL;
11513 }
11514
11515
11516 SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11517 PyObject *resultobj = 0;
11518 wxTextAttr *arg1 = 0 ;
11519 wxTextAttr *arg2 = 0 ;
11520 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11521 wxTextAttr result;
11522 void *argp1 = 0 ;
11523 int res1 = 0 ;
11524 void *argp2 = 0 ;
11525 int res2 = 0 ;
11526 void *argp3 = 0 ;
11527 int res3 = 0 ;
11528 PyObject * obj0 = 0 ;
11529 PyObject * obj1 = 0 ;
11530 PyObject * obj2 = 0 ;
11531 char * kwnames[] = {
11532 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11533 };
11534
11535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11536 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11537 if (!SWIG_IsOK(res1)) {
11538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11539 }
11540 if (!argp1) {
11541 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11542 }
11543 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11544 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11545 if (!SWIG_IsOK(res2)) {
11546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11547 }
11548 if (!argp2) {
11549 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11550 }
11551 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11552 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11553 if (!SWIG_IsOK(res3)) {
11554 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11555 }
11556 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11560 wxPyEndAllowThreads(__tstate);
11561 if (PyErr_Occurred()) SWIG_fail;
11562 }
11563 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11564 return resultobj;
11565 fail:
11566 return NULL;
11567 }
11568
11569
11570 SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11571 PyObject *obj;
11572 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11573 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11574 return SWIG_Py_Void();
11575 }
11576
11577 SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11578 return SWIG_Python_InitShadowInstance(args);
11579 }
11580
11581 SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11582 PyObject *resultobj = 0;
11583 wxWindow *arg1 = (wxWindow *) 0 ;
11584 int arg2 = (int) -1 ;
11585 wxString const &arg3_defvalue = wxPyEmptyString ;
11586 wxString *arg3 = (wxString *) &arg3_defvalue ;
11587 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11588 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11589 wxSize const &arg5_defvalue = wxDefaultSize ;
11590 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11591 long arg6 = (long) 0 ;
11592 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11593 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11594 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11595 wxString *arg8 = (wxString *) &arg8_defvalue ;
11596 wxTextCtrl *result = 0 ;
11597 void *argp1 = 0 ;
11598 int res1 = 0 ;
11599 int val2 ;
11600 int ecode2 = 0 ;
11601 bool temp3 = false ;
11602 wxPoint temp4 ;
11603 wxSize temp5 ;
11604 long val6 ;
11605 int ecode6 = 0 ;
11606 void *argp7 = 0 ;
11607 int res7 = 0 ;
11608 bool temp8 = false ;
11609 PyObject * obj0 = 0 ;
11610 PyObject * obj1 = 0 ;
11611 PyObject * obj2 = 0 ;
11612 PyObject * obj3 = 0 ;
11613 PyObject * obj4 = 0 ;
11614 PyObject * obj5 = 0 ;
11615 PyObject * obj6 = 0 ;
11616 PyObject * obj7 = 0 ;
11617 char * kwnames[] = {
11618 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11619 };
11620
11621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11623 if (!SWIG_IsOK(res1)) {
11624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11625 }
11626 arg1 = reinterpret_cast< wxWindow * >(argp1);
11627 if (obj1) {
11628 ecode2 = SWIG_AsVal_int(obj1, &val2);
11629 if (!SWIG_IsOK(ecode2)) {
11630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11631 }
11632 arg2 = static_cast< int >(val2);
11633 }
11634 if (obj2) {
11635 {
11636 arg3 = wxString_in_helper(obj2);
11637 if (arg3 == NULL) SWIG_fail;
11638 temp3 = true;
11639 }
11640 }
11641 if (obj3) {
11642 {
11643 arg4 = &temp4;
11644 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11645 }
11646 }
11647 if (obj4) {
11648 {
11649 arg5 = &temp5;
11650 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11651 }
11652 }
11653 if (obj5) {
11654 ecode6 = SWIG_AsVal_long(obj5, &val6);
11655 if (!SWIG_IsOK(ecode6)) {
11656 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11657 }
11658 arg6 = static_cast< long >(val6);
11659 }
11660 if (obj6) {
11661 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11662 if (!SWIG_IsOK(res7)) {
11663 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11664 }
11665 if (!argp7) {
11666 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11667 }
11668 arg7 = reinterpret_cast< wxValidator * >(argp7);
11669 }
11670 if (obj7) {
11671 {
11672 arg8 = wxString_in_helper(obj7);
11673 if (arg8 == NULL) SWIG_fail;
11674 temp8 = true;
11675 }
11676 }
11677 {
11678 if (!wxPyCheckForApp()) SWIG_fail;
11679 PyThreadState* __tstate = wxPyBeginAllowThreads();
11680 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11685 {
11686 if (temp3)
11687 delete arg3;
11688 }
11689 {
11690 if (temp8)
11691 delete arg8;
11692 }
11693 return resultobj;
11694 fail:
11695 {
11696 if (temp3)
11697 delete arg3;
11698 }
11699 {
11700 if (temp8)
11701 delete arg8;
11702 }
11703 return NULL;
11704 }
11705
11706
11707 SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11708 PyObject *resultobj = 0;
11709 wxTextCtrl *result = 0 ;
11710
11711 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11712 {
11713 if (!wxPyCheckForApp()) SWIG_fail;
11714 PyThreadState* __tstate = wxPyBeginAllowThreads();
11715 result = (wxTextCtrl *)new wxTextCtrl();
11716 wxPyEndAllowThreads(__tstate);
11717 if (PyErr_Occurred()) SWIG_fail;
11718 }
11719 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11720 return resultobj;
11721 fail:
11722 return NULL;
11723 }
11724
11725
11726 SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11727 PyObject *resultobj = 0;
11728 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11729 wxWindow *arg2 = (wxWindow *) 0 ;
11730 int arg3 = (int) -1 ;
11731 wxString const &arg4_defvalue = wxPyEmptyString ;
11732 wxString *arg4 = (wxString *) &arg4_defvalue ;
11733 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11734 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11735 wxSize const &arg6_defvalue = wxDefaultSize ;
11736 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11737 long arg7 = (long) 0 ;
11738 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11739 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11740 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11741 wxString *arg9 = (wxString *) &arg9_defvalue ;
11742 bool result;
11743 void *argp1 = 0 ;
11744 int res1 = 0 ;
11745 void *argp2 = 0 ;
11746 int res2 = 0 ;
11747 int val3 ;
11748 int ecode3 = 0 ;
11749 bool temp4 = false ;
11750 wxPoint temp5 ;
11751 wxSize temp6 ;
11752 long val7 ;
11753 int ecode7 = 0 ;
11754 void *argp8 = 0 ;
11755 int res8 = 0 ;
11756 bool temp9 = false ;
11757 PyObject * obj0 = 0 ;
11758 PyObject * obj1 = 0 ;
11759 PyObject * obj2 = 0 ;
11760 PyObject * obj3 = 0 ;
11761 PyObject * obj4 = 0 ;
11762 PyObject * obj5 = 0 ;
11763 PyObject * obj6 = 0 ;
11764 PyObject * obj7 = 0 ;
11765 PyObject * obj8 = 0 ;
11766 char * kwnames[] = {
11767 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11768 };
11769
11770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11772 if (!SWIG_IsOK(res1)) {
11773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11774 }
11775 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11776 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11777 if (!SWIG_IsOK(res2)) {
11778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11779 }
11780 arg2 = reinterpret_cast< wxWindow * >(argp2);
11781 if (obj2) {
11782 ecode3 = SWIG_AsVal_int(obj2, &val3);
11783 if (!SWIG_IsOK(ecode3)) {
11784 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11785 }
11786 arg3 = static_cast< int >(val3);
11787 }
11788 if (obj3) {
11789 {
11790 arg4 = wxString_in_helper(obj3);
11791 if (arg4 == NULL) SWIG_fail;
11792 temp4 = true;
11793 }
11794 }
11795 if (obj4) {
11796 {
11797 arg5 = &temp5;
11798 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11799 }
11800 }
11801 if (obj5) {
11802 {
11803 arg6 = &temp6;
11804 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11805 }
11806 }
11807 if (obj6) {
11808 ecode7 = SWIG_AsVal_long(obj6, &val7);
11809 if (!SWIG_IsOK(ecode7)) {
11810 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11811 }
11812 arg7 = static_cast< long >(val7);
11813 }
11814 if (obj7) {
11815 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11816 if (!SWIG_IsOK(res8)) {
11817 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11818 }
11819 if (!argp8) {
11820 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11821 }
11822 arg8 = reinterpret_cast< wxValidator * >(argp8);
11823 }
11824 if (obj8) {
11825 {
11826 arg9 = wxString_in_helper(obj8);
11827 if (arg9 == NULL) SWIG_fail;
11828 temp9 = true;
11829 }
11830 }
11831 {
11832 PyThreadState* __tstate = wxPyBeginAllowThreads();
11833 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11834 wxPyEndAllowThreads(__tstate);
11835 if (PyErr_Occurred()) SWIG_fail;
11836 }
11837 {
11838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11839 }
11840 {
11841 if (temp4)
11842 delete arg4;
11843 }
11844 {
11845 if (temp9)
11846 delete arg9;
11847 }
11848 return resultobj;
11849 fail:
11850 {
11851 if (temp4)
11852 delete arg4;
11853 }
11854 {
11855 if (temp9)
11856 delete arg9;
11857 }
11858 return NULL;
11859 }
11860
11861
11862 SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11863 PyObject *resultobj = 0;
11864 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11865 wxString result;
11866 void *argp1 = 0 ;
11867 int res1 = 0 ;
11868 PyObject *swig_obj[1] ;
11869
11870 if (!args) SWIG_fail;
11871 swig_obj[0] = args;
11872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11873 if (!SWIG_IsOK(res1)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11875 }
11876 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11877 {
11878 PyThreadState* __tstate = wxPyBeginAllowThreads();
11879 result = ((wxTextCtrl const *)arg1)->GetValue();
11880 wxPyEndAllowThreads(__tstate);
11881 if (PyErr_Occurred()) SWIG_fail;
11882 }
11883 {
11884 #if wxUSE_UNICODE
11885 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11886 #else
11887 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11888 #endif
11889 }
11890 return resultobj;
11891 fail:
11892 return NULL;
11893 }
11894
11895
11896 SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11897 PyObject *resultobj = 0;
11898 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11899 wxString *arg2 = 0 ;
11900 void *argp1 = 0 ;
11901 int res1 = 0 ;
11902 bool temp2 = false ;
11903 PyObject * obj0 = 0 ;
11904 PyObject * obj1 = 0 ;
11905 char * kwnames[] = {
11906 (char *) "self",(char *) "value", NULL
11907 };
11908
11909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11911 if (!SWIG_IsOK(res1)) {
11912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11913 }
11914 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11915 {
11916 arg2 = wxString_in_helper(obj1);
11917 if (arg2 == NULL) SWIG_fail;
11918 temp2 = true;
11919 }
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
11922 (arg1)->SetValue((wxString const &)*arg2);
11923 wxPyEndAllowThreads(__tstate);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 resultobj = SWIG_Py_Void();
11927 {
11928 if (temp2)
11929 delete arg2;
11930 }
11931 return resultobj;
11932 fail:
11933 {
11934 if (temp2)
11935 delete arg2;
11936 }
11937 return NULL;
11938 }
11939
11940
11941 SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11942 PyObject *resultobj = 0;
11943 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11944 bool result;
11945 void *argp1 = 0 ;
11946 int res1 = 0 ;
11947 PyObject *swig_obj[1] ;
11948
11949 if (!args) SWIG_fail;
11950 swig_obj[0] = args;
11951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11952 if (!SWIG_IsOK(res1)) {
11953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11954 }
11955 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11956 {
11957 PyThreadState* __tstate = wxPyBeginAllowThreads();
11958 result = (bool)((wxTextCtrl const *)arg1)->IsEmpty();
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
11962 {
11963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11964 }
11965 return resultobj;
11966 fail:
11967 return NULL;
11968 }
11969
11970
11971 SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj = 0;
11973 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11974 wxString *arg2 = 0 ;
11975 void *argp1 = 0 ;
11976 int res1 = 0 ;
11977 bool temp2 = false ;
11978 PyObject * obj0 = 0 ;
11979 PyObject * obj1 = 0 ;
11980 char * kwnames[] = {
11981 (char *) "self",(char *) "value", NULL
11982 };
11983
11984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail;
11985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11986 if (!SWIG_IsOK(res1)) {
11987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11988 }
11989 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11990 {
11991 arg2 = wxString_in_helper(obj1);
11992 if (arg2 == NULL) SWIG_fail;
11993 temp2 = true;
11994 }
11995 {
11996 PyThreadState* __tstate = wxPyBeginAllowThreads();
11997 (arg1)->ChangeValue((wxString const &)*arg2);
11998 wxPyEndAllowThreads(__tstate);
11999 if (PyErr_Occurred()) SWIG_fail;
12000 }
12001 resultobj = SWIG_Py_Void();
12002 {
12003 if (temp2)
12004 delete arg2;
12005 }
12006 return resultobj;
12007 fail:
12008 {
12009 if (temp2)
12010 delete arg2;
12011 }
12012 return NULL;
12013 }
12014
12015
12016 SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12017 PyObject *resultobj = 0;
12018 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12019 long arg2 ;
12020 long arg3 ;
12021 wxString result;
12022 void *argp1 = 0 ;
12023 int res1 = 0 ;
12024 long val2 ;
12025 int ecode2 = 0 ;
12026 long val3 ;
12027 int ecode3 = 0 ;
12028 PyObject * obj0 = 0 ;
12029 PyObject * obj1 = 0 ;
12030 PyObject * obj2 = 0 ;
12031 char * kwnames[] = {
12032 (char *) "self",(char *) "from",(char *) "to", NULL
12033 };
12034
12035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12037 if (!SWIG_IsOK(res1)) {
12038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12039 }
12040 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12041 ecode2 = SWIG_AsVal_long(obj1, &val2);
12042 if (!SWIG_IsOK(ecode2)) {
12043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12044 }
12045 arg2 = static_cast< long >(val2);
12046 ecode3 = SWIG_AsVal_long(obj2, &val3);
12047 if (!SWIG_IsOK(ecode3)) {
12048 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12049 }
12050 arg3 = static_cast< long >(val3);
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 {
12058 #if wxUSE_UNICODE
12059 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12060 #else
12061 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12062 #endif
12063 }
12064 return resultobj;
12065 fail:
12066 return NULL;
12067 }
12068
12069
12070 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12071 PyObject *resultobj = 0;
12072 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12073 long arg2 ;
12074 int result;
12075 void *argp1 = 0 ;
12076 int res1 = 0 ;
12077 long val2 ;
12078 int ecode2 = 0 ;
12079 PyObject * obj0 = 0 ;
12080 PyObject * obj1 = 0 ;
12081 char * kwnames[] = {
12082 (char *) "self",(char *) "lineNo", NULL
12083 };
12084
12085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12087 if (!SWIG_IsOK(res1)) {
12088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12089 }
12090 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12091 ecode2 = SWIG_AsVal_long(obj1, &val2);
12092 if (!SWIG_IsOK(ecode2)) {
12093 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12094 }
12095 arg2 = static_cast< long >(val2);
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 resultobj = SWIG_From_int(static_cast< int >(result));
12103 return resultobj;
12104 fail:
12105 return NULL;
12106 }
12107
12108
12109 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12110 PyObject *resultobj = 0;
12111 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12112 long arg2 ;
12113 wxString result;
12114 void *argp1 = 0 ;
12115 int res1 = 0 ;
12116 long val2 ;
12117 int ecode2 = 0 ;
12118 PyObject * obj0 = 0 ;
12119 PyObject * obj1 = 0 ;
12120 char * kwnames[] = {
12121 (char *) "self",(char *) "lineNo", NULL
12122 };
12123
12124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12126 if (!SWIG_IsOK(res1)) {
12127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12128 }
12129 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12130 ecode2 = SWIG_AsVal_long(obj1, &val2);
12131 if (!SWIG_IsOK(ecode2)) {
12132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12133 }
12134 arg2 = static_cast< long >(val2);
12135 {
12136 PyThreadState* __tstate = wxPyBeginAllowThreads();
12137 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12138 wxPyEndAllowThreads(__tstate);
12139 if (PyErr_Occurred()) SWIG_fail;
12140 }
12141 {
12142 #if wxUSE_UNICODE
12143 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12144 #else
12145 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12146 #endif
12147 }
12148 return resultobj;
12149 fail:
12150 return NULL;
12151 }
12152
12153
12154 SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12155 PyObject *resultobj = 0;
12156 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12157 int result;
12158 void *argp1 = 0 ;
12159 int res1 = 0 ;
12160 PyObject *swig_obj[1] ;
12161
12162 if (!args) SWIG_fail;
12163 swig_obj[0] = args;
12164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12165 if (!SWIG_IsOK(res1)) {
12166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12167 }
12168 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12169 {
12170 PyThreadState* __tstate = wxPyBeginAllowThreads();
12171 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12172 wxPyEndAllowThreads(__tstate);
12173 if (PyErr_Occurred()) SWIG_fail;
12174 }
12175 resultobj = SWIG_From_int(static_cast< int >(result));
12176 return resultobj;
12177 fail:
12178 return NULL;
12179 }
12180
12181
12182 SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12183 PyObject *resultobj = 0;
12184 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12185 bool result;
12186 void *argp1 = 0 ;
12187 int res1 = 0 ;
12188 PyObject *swig_obj[1] ;
12189
12190 if (!args) SWIG_fail;
12191 swig_obj[0] = args;
12192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12193 if (!SWIG_IsOK(res1)) {
12194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12195 }
12196 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12197 {
12198 PyThreadState* __tstate = wxPyBeginAllowThreads();
12199 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12200 wxPyEndAllowThreads(__tstate);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 {
12204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12205 }
12206 return resultobj;
12207 fail:
12208 return NULL;
12209 }
12210
12211
12212 SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12213 PyObject *resultobj = 0;
12214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12215 bool result;
12216 void *argp1 = 0 ;
12217 int res1 = 0 ;
12218 PyObject *swig_obj[1] ;
12219
12220 if (!args) SWIG_fail;
12221 swig_obj[0] = args;
12222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12223 if (!SWIG_IsOK(res1)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12225 }
12226 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12227 {
12228 PyThreadState* __tstate = wxPyBeginAllowThreads();
12229 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 {
12234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12235 }
12236 return resultobj;
12237 fail:
12238 return NULL;
12239 }
12240
12241
12242 SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12243 PyObject *resultobj = 0;
12244 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12245 bool result;
12246 void *argp1 = 0 ;
12247 int res1 = 0 ;
12248 PyObject *swig_obj[1] ;
12249
12250 if (!args) SWIG_fail;
12251 swig_obj[0] = args;
12252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12253 if (!SWIG_IsOK(res1)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12255 }
12256 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12257 {
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 }
12263 {
12264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12265 }
12266 return resultobj;
12267 fail:
12268 return NULL;
12269 }
12270
12271
12272 SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12273 PyObject *resultobj = 0;
12274 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12275 bool result;
12276 void *argp1 = 0 ;
12277 int res1 = 0 ;
12278 PyObject *swig_obj[1] ;
12279
12280 if (!args) SWIG_fail;
12281 swig_obj[0] = args;
12282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12283 if (!SWIG_IsOK(res1)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12285 }
12286 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 {
12294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12295 }
12296 return resultobj;
12297 fail:
12298 return NULL;
12299 }
12300
12301
12302 SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12303 PyObject *resultobj = 0;
12304 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12305 long *arg2 = (long *) 0 ;
12306 long *arg3 = (long *) 0 ;
12307 void *argp1 = 0 ;
12308 int res1 = 0 ;
12309 long temp2 ;
12310 int res2 = SWIG_TMPOBJ ;
12311 long temp3 ;
12312 int res3 = SWIG_TMPOBJ ;
12313 PyObject *swig_obj[1] ;
12314
12315 arg2 = &temp2;
12316 arg3 = &temp3;
12317 if (!args) SWIG_fail;
12318 swig_obj[0] = args;
12319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12320 if (!SWIG_IsOK(res1)) {
12321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12322 }
12323 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12324 {
12325 PyThreadState* __tstate = wxPyBeginAllowThreads();
12326 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 resultobj = SWIG_Py_Void();
12331 if (SWIG_IsTmpObj(res2)) {
12332 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12333 } else {
12334 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12335 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12336 }
12337 if (SWIG_IsTmpObj(res3)) {
12338 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12339 } else {
12340 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12341 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12342 }
12343 return resultobj;
12344 fail:
12345 return NULL;
12346 }
12347
12348
12349 SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12350 PyObject *resultobj = 0;
12351 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12352 wxString result;
12353 void *argp1 = 0 ;
12354 int res1 = 0 ;
12355 PyObject *swig_obj[1] ;
12356
12357 if (!args) SWIG_fail;
12358 swig_obj[0] = args;
12359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12360 if (!SWIG_IsOK(res1)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12362 }
12363 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12367 wxPyEndAllowThreads(__tstate);
12368 if (PyErr_Occurred()) SWIG_fail;
12369 }
12370 {
12371 #if wxUSE_UNICODE
12372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12373 #else
12374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12375 #endif
12376 }
12377 return resultobj;
12378 fail:
12379 return NULL;
12380 }
12381
12382
12383 SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12384 PyObject *resultobj = 0;
12385 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12386 void *argp1 = 0 ;
12387 int res1 = 0 ;
12388 PyObject *swig_obj[1] ;
12389
12390 if (!args) SWIG_fail;
12391 swig_obj[0] = args;
12392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12393 if (!SWIG_IsOK(res1)) {
12394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12395 }
12396 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12397 {
12398 PyThreadState* __tstate = wxPyBeginAllowThreads();
12399 (arg1)->Clear();
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 resultobj = SWIG_Py_Void();
12404 return resultobj;
12405 fail:
12406 return NULL;
12407 }
12408
12409
12410 SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12411 PyObject *resultobj = 0;
12412 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12413 long arg2 ;
12414 long arg3 ;
12415 wxString *arg4 = 0 ;
12416 void *argp1 = 0 ;
12417 int res1 = 0 ;
12418 long val2 ;
12419 int ecode2 = 0 ;
12420 long val3 ;
12421 int ecode3 = 0 ;
12422 bool temp4 = false ;
12423 PyObject * obj0 = 0 ;
12424 PyObject * obj1 = 0 ;
12425 PyObject * obj2 = 0 ;
12426 PyObject * obj3 = 0 ;
12427 char * kwnames[] = {
12428 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12429 };
12430
12431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12433 if (!SWIG_IsOK(res1)) {
12434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12435 }
12436 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12437 ecode2 = SWIG_AsVal_long(obj1, &val2);
12438 if (!SWIG_IsOK(ecode2)) {
12439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12440 }
12441 arg2 = static_cast< long >(val2);
12442 ecode3 = SWIG_AsVal_long(obj2, &val3);
12443 if (!SWIG_IsOK(ecode3)) {
12444 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12445 }
12446 arg3 = static_cast< long >(val3);
12447 {
12448 arg4 = wxString_in_helper(obj3);
12449 if (arg4 == NULL) SWIG_fail;
12450 temp4 = true;
12451 }
12452 {
12453 PyThreadState* __tstate = wxPyBeginAllowThreads();
12454 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12455 wxPyEndAllowThreads(__tstate);
12456 if (PyErr_Occurred()) SWIG_fail;
12457 }
12458 resultobj = SWIG_Py_Void();
12459 {
12460 if (temp4)
12461 delete arg4;
12462 }
12463 return resultobj;
12464 fail:
12465 {
12466 if (temp4)
12467 delete arg4;
12468 }
12469 return NULL;
12470 }
12471
12472
12473 SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12474 PyObject *resultobj = 0;
12475 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12476 long arg2 ;
12477 long arg3 ;
12478 void *argp1 = 0 ;
12479 int res1 = 0 ;
12480 long val2 ;
12481 int ecode2 = 0 ;
12482 long val3 ;
12483 int ecode3 = 0 ;
12484 PyObject * obj0 = 0 ;
12485 PyObject * obj1 = 0 ;
12486 PyObject * obj2 = 0 ;
12487 char * kwnames[] = {
12488 (char *) "self",(char *) "from",(char *) "to", NULL
12489 };
12490
12491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12493 if (!SWIG_IsOK(res1)) {
12494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12495 }
12496 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12497 ecode2 = SWIG_AsVal_long(obj1, &val2);
12498 if (!SWIG_IsOK(ecode2)) {
12499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12500 }
12501 arg2 = static_cast< long >(val2);
12502 ecode3 = SWIG_AsVal_long(obj2, &val3);
12503 if (!SWIG_IsOK(ecode3)) {
12504 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12505 }
12506 arg3 = static_cast< long >(val3);
12507 {
12508 PyThreadState* __tstate = wxPyBeginAllowThreads();
12509 (arg1)->Remove(arg2,arg3);
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 resultobj = SWIG_Py_Void();
12514 return resultobj;
12515 fail:
12516 return NULL;
12517 }
12518
12519
12520 SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12521 PyObject *resultobj = 0;
12522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12523 wxString *arg2 = 0 ;
12524 int arg3 = (int) wxTEXT_TYPE_ANY ;
12525 bool result;
12526 void *argp1 = 0 ;
12527 int res1 = 0 ;
12528 bool temp2 = false ;
12529 int val3 ;
12530 int ecode3 = 0 ;
12531 PyObject * obj0 = 0 ;
12532 PyObject * obj1 = 0 ;
12533 PyObject * obj2 = 0 ;
12534 char * kwnames[] = {
12535 (char *) "self",(char *) "file",(char *) "fileType", NULL
12536 };
12537
12538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12540 if (!SWIG_IsOK(res1)) {
12541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12542 }
12543 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12544 {
12545 arg2 = wxString_in_helper(obj1);
12546 if (arg2 == NULL) SWIG_fail;
12547 temp2 = true;
12548 }
12549 if (obj2) {
12550 ecode3 = SWIG_AsVal_int(obj2, &val3);
12551 if (!SWIG_IsOK(ecode3)) {
12552 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12553 }
12554 arg3 = static_cast< int >(val3);
12555 }
12556 {
12557 PyThreadState* __tstate = wxPyBeginAllowThreads();
12558 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 {
12563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12564 }
12565 {
12566 if (temp2)
12567 delete arg2;
12568 }
12569 return resultobj;
12570 fail:
12571 {
12572 if (temp2)
12573 delete arg2;
12574 }
12575 return NULL;
12576 }
12577
12578
12579 SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12580 PyObject *resultobj = 0;
12581 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12582 wxString const &arg2_defvalue = wxPyEmptyString ;
12583 wxString *arg2 = (wxString *) &arg2_defvalue ;
12584 int arg3 = (int) wxTEXT_TYPE_ANY ;
12585 bool result;
12586 void *argp1 = 0 ;
12587 int res1 = 0 ;
12588 bool temp2 = false ;
12589 int val3 ;
12590 int ecode3 = 0 ;
12591 PyObject * obj0 = 0 ;
12592 PyObject * obj1 = 0 ;
12593 PyObject * obj2 = 0 ;
12594 char * kwnames[] = {
12595 (char *) "self",(char *) "file",(char *) "fileType", NULL
12596 };
12597
12598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12600 if (!SWIG_IsOK(res1)) {
12601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12602 }
12603 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12604 if (obj1) {
12605 {
12606 arg2 = wxString_in_helper(obj1);
12607 if (arg2 == NULL) SWIG_fail;
12608 temp2 = true;
12609 }
12610 }
12611 if (obj2) {
12612 ecode3 = SWIG_AsVal_int(obj2, &val3);
12613 if (!SWIG_IsOK(ecode3)) {
12614 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12615 }
12616 arg3 = static_cast< int >(val3);
12617 }
12618 {
12619 PyThreadState* __tstate = wxPyBeginAllowThreads();
12620 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
12621 wxPyEndAllowThreads(__tstate);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 }
12624 {
12625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12626 }
12627 {
12628 if (temp2)
12629 delete arg2;
12630 }
12631 return resultobj;
12632 fail:
12633 {
12634 if (temp2)
12635 delete arg2;
12636 }
12637 return NULL;
12638 }
12639
12640
12641 SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12642 PyObject *resultobj = 0;
12643 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12644 void *argp1 = 0 ;
12645 int res1 = 0 ;
12646 PyObject *swig_obj[1] ;
12647
12648 if (!args) SWIG_fail;
12649 swig_obj[0] = args;
12650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12651 if (!SWIG_IsOK(res1)) {
12652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12653 }
12654 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12655 {
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 (arg1)->MarkDirty();
12658 wxPyEndAllowThreads(__tstate);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 }
12661 resultobj = SWIG_Py_Void();
12662 return resultobj;
12663 fail:
12664 return NULL;
12665 }
12666
12667
12668 SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12669 PyObject *resultobj = 0;
12670 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12671 void *argp1 = 0 ;
12672 int res1 = 0 ;
12673 PyObject *swig_obj[1] ;
12674
12675 if (!args) SWIG_fail;
12676 swig_obj[0] = args;
12677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12678 if (!SWIG_IsOK(res1)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12680 }
12681 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12682 {
12683 PyThreadState* __tstate = wxPyBeginAllowThreads();
12684 (arg1)->DiscardEdits();
12685 wxPyEndAllowThreads(__tstate);
12686 if (PyErr_Occurred()) SWIG_fail;
12687 }
12688 resultobj = SWIG_Py_Void();
12689 return resultobj;
12690 fail:
12691 return NULL;
12692 }
12693
12694
12695 SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12696 PyObject *resultobj = 0;
12697 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12698 bool arg2 ;
12699 void *argp1 = 0 ;
12700 int res1 = 0 ;
12701 bool val2 ;
12702 int ecode2 = 0 ;
12703 PyObject * obj0 = 0 ;
12704 PyObject * obj1 = 0 ;
12705 char * kwnames[] = {
12706 (char *) "self",(char *) "modified", NULL
12707 };
12708
12709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
12710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12711 if (!SWIG_IsOK(res1)) {
12712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12713 }
12714 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12715 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12716 if (!SWIG_IsOK(ecode2)) {
12717 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12718 }
12719 arg2 = static_cast< bool >(val2);
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 (arg1)->SetModified(arg2);
12723 wxPyEndAllowThreads(__tstate);
12724 if (PyErr_Occurred()) SWIG_fail;
12725 }
12726 resultobj = SWIG_Py_Void();
12727 return resultobj;
12728 fail:
12729 return NULL;
12730 }
12731
12732
12733 SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12734 PyObject *resultobj = 0;
12735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12736 unsigned long arg2 ;
12737 void *argp1 = 0 ;
12738 int res1 = 0 ;
12739 unsigned long val2 ;
12740 int ecode2 = 0 ;
12741 PyObject * obj0 = 0 ;
12742 PyObject * obj1 = 0 ;
12743 char * kwnames[] = {
12744 (char *) "self",(char *) "len", NULL
12745 };
12746
12747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12749 if (!SWIG_IsOK(res1)) {
12750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12751 }
12752 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12753 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12754 if (!SWIG_IsOK(ecode2)) {
12755 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12756 }
12757 arg2 = static_cast< unsigned long >(val2);
12758 {
12759 PyThreadState* __tstate = wxPyBeginAllowThreads();
12760 (arg1)->SetMaxLength(arg2);
12761 wxPyEndAllowThreads(__tstate);
12762 if (PyErr_Occurred()) SWIG_fail;
12763 }
12764 resultobj = SWIG_Py_Void();
12765 return resultobj;
12766 fail:
12767 return NULL;
12768 }
12769
12770
12771 SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12772 PyObject *resultobj = 0;
12773 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12774 wxString *arg2 = 0 ;
12775 void *argp1 = 0 ;
12776 int res1 = 0 ;
12777 bool temp2 = false ;
12778 PyObject * obj0 = 0 ;
12779 PyObject * obj1 = 0 ;
12780 char * kwnames[] = {
12781 (char *) "self",(char *) "text", NULL
12782 };
12783
12784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12786 if (!SWIG_IsOK(res1)) {
12787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12788 }
12789 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12790 {
12791 arg2 = wxString_in_helper(obj1);
12792 if (arg2 == NULL) SWIG_fail;
12793 temp2 = true;
12794 }
12795 {
12796 PyThreadState* __tstate = wxPyBeginAllowThreads();
12797 (arg1)->WriteText((wxString const &)*arg2);
12798 wxPyEndAllowThreads(__tstate);
12799 if (PyErr_Occurred()) SWIG_fail;
12800 }
12801 resultobj = SWIG_Py_Void();
12802 {
12803 if (temp2)
12804 delete arg2;
12805 }
12806 return resultobj;
12807 fail:
12808 {
12809 if (temp2)
12810 delete arg2;
12811 }
12812 return NULL;
12813 }
12814
12815
12816 SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12817 PyObject *resultobj = 0;
12818 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12819 wxString *arg2 = 0 ;
12820 void *argp1 = 0 ;
12821 int res1 = 0 ;
12822 bool temp2 = false ;
12823 PyObject * obj0 = 0 ;
12824 PyObject * obj1 = 0 ;
12825 char * kwnames[] = {
12826 (char *) "self",(char *) "text", NULL
12827 };
12828
12829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12831 if (!SWIG_IsOK(res1)) {
12832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12833 }
12834 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12835 {
12836 arg2 = wxString_in_helper(obj1);
12837 if (arg2 == NULL) SWIG_fail;
12838 temp2 = true;
12839 }
12840 {
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 (arg1)->AppendText((wxString const &)*arg2);
12843 wxPyEndAllowThreads(__tstate);
12844 if (PyErr_Occurred()) SWIG_fail;
12845 }
12846 resultobj = SWIG_Py_Void();
12847 {
12848 if (temp2)
12849 delete arg2;
12850 }
12851 return resultobj;
12852 fail:
12853 {
12854 if (temp2)
12855 delete arg2;
12856 }
12857 return NULL;
12858 }
12859
12860
12861 SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12862 PyObject *resultobj = 0;
12863 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12864 wxKeyEvent *arg2 = 0 ;
12865 bool result;
12866 void *argp1 = 0 ;
12867 int res1 = 0 ;
12868 void *argp2 = 0 ;
12869 int res2 = 0 ;
12870 PyObject * obj0 = 0 ;
12871 PyObject * obj1 = 0 ;
12872 char * kwnames[] = {
12873 (char *) "self",(char *) "event", NULL
12874 };
12875
12876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12878 if (!SWIG_IsOK(res1)) {
12879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12880 }
12881 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12882 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12883 if (!SWIG_IsOK(res2)) {
12884 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12885 }
12886 if (!argp2) {
12887 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12888 }
12889 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12890 {
12891 PyThreadState* __tstate = wxPyBeginAllowThreads();
12892 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12893 wxPyEndAllowThreads(__tstate);
12894 if (PyErr_Occurred()) SWIG_fail;
12895 }
12896 {
12897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12898 }
12899 return resultobj;
12900 fail:
12901 return NULL;
12902 }
12903
12904
12905 SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12906 PyObject *resultobj = 0;
12907 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12908 long arg2 ;
12909 long arg3 ;
12910 wxTextAttr *arg4 = 0 ;
12911 bool result;
12912 void *argp1 = 0 ;
12913 int res1 = 0 ;
12914 long val2 ;
12915 int ecode2 = 0 ;
12916 long val3 ;
12917 int ecode3 = 0 ;
12918 void *argp4 = 0 ;
12919 int res4 = 0 ;
12920 PyObject * obj0 = 0 ;
12921 PyObject * obj1 = 0 ;
12922 PyObject * obj2 = 0 ;
12923 PyObject * obj3 = 0 ;
12924 char * kwnames[] = {
12925 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12926 };
12927
12928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12930 if (!SWIG_IsOK(res1)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12932 }
12933 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12934 ecode2 = SWIG_AsVal_long(obj1, &val2);
12935 if (!SWIG_IsOK(ecode2)) {
12936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12937 }
12938 arg2 = static_cast< long >(val2);
12939 ecode3 = SWIG_AsVal_long(obj2, &val3);
12940 if (!SWIG_IsOK(ecode3)) {
12941 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12942 }
12943 arg3 = static_cast< long >(val3);
12944 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12945 if (!SWIG_IsOK(res4)) {
12946 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12947 }
12948 if (!argp4) {
12949 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12950 }
12951 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12952 {
12953 PyThreadState* __tstate = wxPyBeginAllowThreads();
12954 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 {
12959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12960 }
12961 return resultobj;
12962 fail:
12963 return NULL;
12964 }
12965
12966
12967 SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12968 PyObject *resultobj = 0;
12969 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12970 long arg2 ;
12971 wxTextAttr *arg3 = 0 ;
12972 bool result;
12973 void *argp1 = 0 ;
12974 int res1 = 0 ;
12975 long val2 ;
12976 int ecode2 = 0 ;
12977 void *argp3 = 0 ;
12978 int res3 = 0 ;
12979 PyObject * obj0 = 0 ;
12980 PyObject * obj1 = 0 ;
12981 PyObject * obj2 = 0 ;
12982 char * kwnames[] = {
12983 (char *) "self",(char *) "position",(char *) "style", NULL
12984 };
12985
12986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12988 if (!SWIG_IsOK(res1)) {
12989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12990 }
12991 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12992 ecode2 = SWIG_AsVal_long(obj1, &val2);
12993 if (!SWIG_IsOK(ecode2)) {
12994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12995 }
12996 arg2 = static_cast< long >(val2);
12997 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
12998 if (!SWIG_IsOK(res3)) {
12999 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13000 }
13001 if (!argp3) {
13002 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13003 }
13004 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
13005 {
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 result = (bool)(arg1)->GetStyle(arg2,*arg3);
13008 wxPyEndAllowThreads(__tstate);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 }
13011 {
13012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13013 }
13014 return resultobj;
13015 fail:
13016 return NULL;
13017 }
13018
13019
13020 SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13021 PyObject *resultobj = 0;
13022 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13023 wxTextAttr *arg2 = 0 ;
13024 bool result;
13025 void *argp1 = 0 ;
13026 int res1 = 0 ;
13027 void *argp2 = 0 ;
13028 int res2 = 0 ;
13029 PyObject * obj0 = 0 ;
13030 PyObject * obj1 = 0 ;
13031 char * kwnames[] = {
13032 (char *) "self",(char *) "style", NULL
13033 };
13034
13035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
13036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13037 if (!SWIG_IsOK(res1)) {
13038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13039 }
13040 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13041 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
13042 if (!SWIG_IsOK(res2)) {
13043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13044 }
13045 if (!argp2) {
13046 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13047 }
13048 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
13051 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13052 wxPyEndAllowThreads(__tstate);
13053 if (PyErr_Occurred()) SWIG_fail;
13054 }
13055 {
13056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13057 }
13058 return resultobj;
13059 fail:
13060 return NULL;
13061 }
13062
13063
13064 SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13065 PyObject *resultobj = 0;
13066 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13067 wxTextAttr *result = 0 ;
13068 void *argp1 = 0 ;
13069 int res1 = 0 ;
13070 PyObject *swig_obj[1] ;
13071
13072 if (!args) SWIG_fail;
13073 swig_obj[0] = args;
13074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13075 if (!SWIG_IsOK(res1)) {
13076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13077 }
13078 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13079 {
13080 PyThreadState* __tstate = wxPyBeginAllowThreads();
13081 {
13082 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13083 result = (wxTextAttr *) &_result_ref;
13084 }
13085 wxPyEndAllowThreads(__tstate);
13086 if (PyErr_Occurred()) SWIG_fail;
13087 }
13088 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13089 return resultobj;
13090 fail:
13091 return NULL;
13092 }
13093
13094
13095 SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13096 PyObject *resultobj = 0;
13097 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13098 long arg2 ;
13099 long arg3 ;
13100 long result;
13101 void *argp1 = 0 ;
13102 int res1 = 0 ;
13103 long val2 ;
13104 int ecode2 = 0 ;
13105 long val3 ;
13106 int ecode3 = 0 ;
13107 PyObject * obj0 = 0 ;
13108 PyObject * obj1 = 0 ;
13109 PyObject * obj2 = 0 ;
13110 char * kwnames[] = {
13111 (char *) "self",(char *) "x",(char *) "y", NULL
13112 };
13113
13114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13116 if (!SWIG_IsOK(res1)) {
13117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13118 }
13119 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13120 ecode2 = SWIG_AsVal_long(obj1, &val2);
13121 if (!SWIG_IsOK(ecode2)) {
13122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13123 }
13124 arg2 = static_cast< long >(val2);
13125 ecode3 = SWIG_AsVal_long(obj2, &val3);
13126 if (!SWIG_IsOK(ecode3)) {
13127 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13128 }
13129 arg3 = static_cast< long >(val3);
13130 {
13131 PyThreadState* __tstate = wxPyBeginAllowThreads();
13132 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13133 wxPyEndAllowThreads(__tstate);
13134 if (PyErr_Occurred()) SWIG_fail;
13135 }
13136 resultobj = SWIG_From_long(static_cast< long >(result));
13137 return resultobj;
13138 fail:
13139 return NULL;
13140 }
13141
13142
13143 SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13144 PyObject *resultobj = 0;
13145 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13146 long arg2 ;
13147 long *arg3 = (long *) 0 ;
13148 long *arg4 = (long *) 0 ;
13149 void *argp1 = 0 ;
13150 int res1 = 0 ;
13151 long val2 ;
13152 int ecode2 = 0 ;
13153 long temp3 ;
13154 int res3 = SWIG_TMPOBJ ;
13155 long temp4 ;
13156 int res4 = SWIG_TMPOBJ ;
13157 PyObject * obj0 = 0 ;
13158 PyObject * obj1 = 0 ;
13159 char * kwnames[] = {
13160 (char *) "self",(char *) "pos", NULL
13161 };
13162
13163 arg3 = &temp3;
13164 arg4 = &temp4;
13165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13167 if (!SWIG_IsOK(res1)) {
13168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13169 }
13170 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13171 ecode2 = SWIG_AsVal_long(obj1, &val2);
13172 if (!SWIG_IsOK(ecode2)) {
13173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13174 }
13175 arg2 = static_cast< long >(val2);
13176 {
13177 PyThreadState* __tstate = wxPyBeginAllowThreads();
13178 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13179 wxPyEndAllowThreads(__tstate);
13180 if (PyErr_Occurred()) SWIG_fail;
13181 }
13182 resultobj = SWIG_Py_Void();
13183 if (SWIG_IsTmpObj(res3)) {
13184 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13185 } else {
13186 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13187 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13188 }
13189 if (SWIG_IsTmpObj(res4)) {
13190 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13191 } else {
13192 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13193 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13194 }
13195 return resultobj;
13196 fail:
13197 return NULL;
13198 }
13199
13200
13201 SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj = 0;
13203 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13204 long arg2 ;
13205 void *argp1 = 0 ;
13206 int res1 = 0 ;
13207 long val2 ;
13208 int ecode2 = 0 ;
13209 PyObject * obj0 = 0 ;
13210 PyObject * obj1 = 0 ;
13211 char * kwnames[] = {
13212 (char *) "self",(char *) "pos", NULL
13213 };
13214
13215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13217 if (!SWIG_IsOK(res1)) {
13218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13219 }
13220 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13221 ecode2 = SWIG_AsVal_long(obj1, &val2);
13222 if (!SWIG_IsOK(ecode2)) {
13223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13224 }
13225 arg2 = static_cast< long >(val2);
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 (arg1)->ShowPosition(arg2);
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 resultobj = SWIG_Py_Void();
13233 return resultobj;
13234 fail:
13235 return NULL;
13236 }
13237
13238
13239 SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13240 PyObject *resultobj = 0;
13241 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13242 wxPoint *arg2 = 0 ;
13243 long *arg3 = (long *) 0 ;
13244 long *arg4 = (long *) 0 ;
13245 wxTextCtrlHitTestResult result;
13246 void *argp1 = 0 ;
13247 int res1 = 0 ;
13248 wxPoint temp2 ;
13249 long temp3 ;
13250 int res3 = SWIG_TMPOBJ ;
13251 long temp4 ;
13252 int res4 = SWIG_TMPOBJ ;
13253 PyObject * obj0 = 0 ;
13254 PyObject * obj1 = 0 ;
13255 char * kwnames[] = {
13256 (char *) "self",(char *) "pt", NULL
13257 };
13258
13259 arg3 = &temp3;
13260 arg4 = &temp4;
13261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13263 if (!SWIG_IsOK(res1)) {
13264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13265 }
13266 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13267 {
13268 arg2 = &temp2;
13269 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13270 }
13271 {
13272 PyThreadState* __tstate = wxPyBeginAllowThreads();
13273 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13274 wxPyEndAllowThreads(__tstate);
13275 if (PyErr_Occurred()) SWIG_fail;
13276 }
13277 resultobj = SWIG_From_int(static_cast< int >(result));
13278 if (SWIG_IsTmpObj(res3)) {
13279 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13280 } else {
13281 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13282 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13283 }
13284 if (SWIG_IsTmpObj(res4)) {
13285 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13286 } else {
13287 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13288 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13289 }
13290 return resultobj;
13291 fail:
13292 return NULL;
13293 }
13294
13295
13296 SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13297 PyObject *resultobj = 0;
13298 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13299 wxPoint *arg2 = 0 ;
13300 long *arg3 = (long *) 0 ;
13301 wxTextCtrlHitTestResult result;
13302 void *argp1 = 0 ;
13303 int res1 = 0 ;
13304 wxPoint temp2 ;
13305 long temp3 ;
13306 int res3 = SWIG_TMPOBJ ;
13307 PyObject * obj0 = 0 ;
13308 PyObject * obj1 = 0 ;
13309 char * kwnames[] = {
13310 (char *) "self",(char *) "pt", NULL
13311 };
13312
13313 arg3 = &temp3;
13314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13316 if (!SWIG_IsOK(res1)) {
13317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13318 }
13319 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13320 {
13321 arg2 = &temp2;
13322 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13323 }
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13327 wxPyEndAllowThreads(__tstate);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 }
13330 resultobj = SWIG_From_int(static_cast< int >(result));
13331 if (SWIG_IsTmpObj(res3)) {
13332 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13333 } else {
13334 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13335 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13336 }
13337 return resultobj;
13338 fail:
13339 return NULL;
13340 }
13341
13342
13343 SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13344 PyObject *resultobj = 0;
13345 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13346 void *argp1 = 0 ;
13347 int res1 = 0 ;
13348 PyObject *swig_obj[1] ;
13349
13350 if (!args) SWIG_fail;
13351 swig_obj[0] = args;
13352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13353 if (!SWIG_IsOK(res1)) {
13354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13355 }
13356 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13357 {
13358 PyThreadState* __tstate = wxPyBeginAllowThreads();
13359 (arg1)->Copy();
13360 wxPyEndAllowThreads(__tstate);
13361 if (PyErr_Occurred()) SWIG_fail;
13362 }
13363 resultobj = SWIG_Py_Void();
13364 return resultobj;
13365 fail:
13366 return NULL;
13367 }
13368
13369
13370 SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13371 PyObject *resultobj = 0;
13372 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13373 void *argp1 = 0 ;
13374 int res1 = 0 ;
13375 PyObject *swig_obj[1] ;
13376
13377 if (!args) SWIG_fail;
13378 swig_obj[0] = args;
13379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13380 if (!SWIG_IsOK(res1)) {
13381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13382 }
13383 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13384 {
13385 PyThreadState* __tstate = wxPyBeginAllowThreads();
13386 (arg1)->Cut();
13387 wxPyEndAllowThreads(__tstate);
13388 if (PyErr_Occurred()) SWIG_fail;
13389 }
13390 resultobj = SWIG_Py_Void();
13391 return resultobj;
13392 fail:
13393 return NULL;
13394 }
13395
13396
13397 SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13398 PyObject *resultobj = 0;
13399 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13400 void *argp1 = 0 ;
13401 int res1 = 0 ;
13402 PyObject *swig_obj[1] ;
13403
13404 if (!args) SWIG_fail;
13405 swig_obj[0] = args;
13406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13407 if (!SWIG_IsOK(res1)) {
13408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13409 }
13410 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 (arg1)->Paste();
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 resultobj = SWIG_Py_Void();
13418 return resultobj;
13419 fail:
13420 return NULL;
13421 }
13422
13423
13424 SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13425 PyObject *resultobj = 0;
13426 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13427 bool result;
13428 void *argp1 = 0 ;
13429 int res1 = 0 ;
13430 PyObject *swig_obj[1] ;
13431
13432 if (!args) SWIG_fail;
13433 swig_obj[0] = args;
13434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13435 if (!SWIG_IsOK(res1)) {
13436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13437 }
13438 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13439 {
13440 PyThreadState* __tstate = wxPyBeginAllowThreads();
13441 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 {
13446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13447 }
13448 return resultobj;
13449 fail:
13450 return NULL;
13451 }
13452
13453
13454 SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13455 PyObject *resultobj = 0;
13456 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13457 bool result;
13458 void *argp1 = 0 ;
13459 int res1 = 0 ;
13460 PyObject *swig_obj[1] ;
13461
13462 if (!args) SWIG_fail;
13463 swig_obj[0] = args;
13464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13465 if (!SWIG_IsOK(res1)) {
13466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13467 }
13468 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 {
13476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13477 }
13478 return resultobj;
13479 fail:
13480 return NULL;
13481 }
13482
13483
13484 SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13485 PyObject *resultobj = 0;
13486 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13487 bool result;
13488 void *argp1 = 0 ;
13489 int res1 = 0 ;
13490 PyObject *swig_obj[1] ;
13491
13492 if (!args) SWIG_fail;
13493 swig_obj[0] = args;
13494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13495 if (!SWIG_IsOK(res1)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13497 }
13498 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13502 wxPyEndAllowThreads(__tstate);
13503 if (PyErr_Occurred()) SWIG_fail;
13504 }
13505 {
13506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13507 }
13508 return resultobj;
13509 fail:
13510 return NULL;
13511 }
13512
13513
13514 SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13515 PyObject *resultobj = 0;
13516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13517 void *argp1 = 0 ;
13518 int res1 = 0 ;
13519 PyObject *swig_obj[1] ;
13520
13521 if (!args) SWIG_fail;
13522 swig_obj[0] = args;
13523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13524 if (!SWIG_IsOK(res1)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13526 }
13527 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13528 {
13529 PyThreadState* __tstate = wxPyBeginAllowThreads();
13530 (arg1)->Undo();
13531 wxPyEndAllowThreads(__tstate);
13532 if (PyErr_Occurred()) SWIG_fail;
13533 }
13534 resultobj = SWIG_Py_Void();
13535 return resultobj;
13536 fail:
13537 return NULL;
13538 }
13539
13540
13541 SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13542 PyObject *resultobj = 0;
13543 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13544 void *argp1 = 0 ;
13545 int res1 = 0 ;
13546 PyObject *swig_obj[1] ;
13547
13548 if (!args) SWIG_fail;
13549 swig_obj[0] = args;
13550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13551 if (!SWIG_IsOK(res1)) {
13552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13553 }
13554 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13555 {
13556 PyThreadState* __tstate = wxPyBeginAllowThreads();
13557 (arg1)->Redo();
13558 wxPyEndAllowThreads(__tstate);
13559 if (PyErr_Occurred()) SWIG_fail;
13560 }
13561 resultobj = SWIG_Py_Void();
13562 return resultobj;
13563 fail:
13564 return NULL;
13565 }
13566
13567
13568 SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13569 PyObject *resultobj = 0;
13570 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13571 bool result;
13572 void *argp1 = 0 ;
13573 int res1 = 0 ;
13574 PyObject *swig_obj[1] ;
13575
13576 if (!args) SWIG_fail;
13577 swig_obj[0] = args;
13578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13579 if (!SWIG_IsOK(res1)) {
13580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13581 }
13582 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13586 wxPyEndAllowThreads(__tstate);
13587 if (PyErr_Occurred()) SWIG_fail;
13588 }
13589 {
13590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13591 }
13592 return resultobj;
13593 fail:
13594 return NULL;
13595 }
13596
13597
13598 SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13599 PyObject *resultobj = 0;
13600 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13601 bool result;
13602 void *argp1 = 0 ;
13603 int res1 = 0 ;
13604 PyObject *swig_obj[1] ;
13605
13606 if (!args) SWIG_fail;
13607 swig_obj[0] = args;
13608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13609 if (!SWIG_IsOK(res1)) {
13610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13611 }
13612 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13613 {
13614 PyThreadState* __tstate = wxPyBeginAllowThreads();
13615 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13616 wxPyEndAllowThreads(__tstate);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 }
13619 {
13620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13621 }
13622 return resultobj;
13623 fail:
13624 return NULL;
13625 }
13626
13627
13628 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13629 PyObject *resultobj = 0;
13630 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13631 long arg2 ;
13632 void *argp1 = 0 ;
13633 int res1 = 0 ;
13634 long val2 ;
13635 int ecode2 = 0 ;
13636 PyObject * obj0 = 0 ;
13637 PyObject * obj1 = 0 ;
13638 char * kwnames[] = {
13639 (char *) "self",(char *) "pos", NULL
13640 };
13641
13642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13644 if (!SWIG_IsOK(res1)) {
13645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13646 }
13647 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13648 ecode2 = SWIG_AsVal_long(obj1, &val2);
13649 if (!SWIG_IsOK(ecode2)) {
13650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13651 }
13652 arg2 = static_cast< long >(val2);
13653 {
13654 PyThreadState* __tstate = wxPyBeginAllowThreads();
13655 (arg1)->SetInsertionPoint(arg2);
13656 wxPyEndAllowThreads(__tstate);
13657 if (PyErr_Occurred()) SWIG_fail;
13658 }
13659 resultobj = SWIG_Py_Void();
13660 return resultobj;
13661 fail:
13662 return NULL;
13663 }
13664
13665
13666 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13667 PyObject *resultobj = 0;
13668 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13669 void *argp1 = 0 ;
13670 int res1 = 0 ;
13671 PyObject *swig_obj[1] ;
13672
13673 if (!args) SWIG_fail;
13674 swig_obj[0] = args;
13675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13676 if (!SWIG_IsOK(res1)) {
13677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13678 }
13679 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13680 {
13681 PyThreadState* __tstate = wxPyBeginAllowThreads();
13682 (arg1)->SetInsertionPointEnd();
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 resultobj = SWIG_Py_Void();
13687 return resultobj;
13688 fail:
13689 return NULL;
13690 }
13691
13692
13693 SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13694 PyObject *resultobj = 0;
13695 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13696 long result;
13697 void *argp1 = 0 ;
13698 int res1 = 0 ;
13699 PyObject *swig_obj[1] ;
13700
13701 if (!args) SWIG_fail;
13702 swig_obj[0] = args;
13703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13704 if (!SWIG_IsOK(res1)) {
13705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13706 }
13707 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13708 {
13709 PyThreadState* __tstate = wxPyBeginAllowThreads();
13710 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13711 wxPyEndAllowThreads(__tstate);
13712 if (PyErr_Occurred()) SWIG_fail;
13713 }
13714 resultobj = SWIG_From_long(static_cast< long >(result));
13715 return resultobj;
13716 fail:
13717 return NULL;
13718 }
13719
13720
13721 SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13722 PyObject *resultobj = 0;
13723 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13724 long result;
13725 void *argp1 = 0 ;
13726 int res1 = 0 ;
13727 PyObject *swig_obj[1] ;
13728
13729 if (!args) SWIG_fail;
13730 swig_obj[0] = args;
13731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13732 if (!SWIG_IsOK(res1)) {
13733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13734 }
13735 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13736 {
13737 PyThreadState* __tstate = wxPyBeginAllowThreads();
13738 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13739 wxPyEndAllowThreads(__tstate);
13740 if (PyErr_Occurred()) SWIG_fail;
13741 }
13742 resultobj = SWIG_From_long(static_cast< long >(result));
13743 return resultobj;
13744 fail:
13745 return NULL;
13746 }
13747
13748
13749 SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13750 PyObject *resultobj = 0;
13751 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13752 long arg2 ;
13753 long arg3 ;
13754 void *argp1 = 0 ;
13755 int res1 = 0 ;
13756 long val2 ;
13757 int ecode2 = 0 ;
13758 long val3 ;
13759 int ecode3 = 0 ;
13760 PyObject * obj0 = 0 ;
13761 PyObject * obj1 = 0 ;
13762 PyObject * obj2 = 0 ;
13763 char * kwnames[] = {
13764 (char *) "self",(char *) "from",(char *) "to", NULL
13765 };
13766
13767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13769 if (!SWIG_IsOK(res1)) {
13770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13771 }
13772 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13773 ecode2 = SWIG_AsVal_long(obj1, &val2);
13774 if (!SWIG_IsOK(ecode2)) {
13775 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13776 }
13777 arg2 = static_cast< long >(val2);
13778 ecode3 = SWIG_AsVal_long(obj2, &val3);
13779 if (!SWIG_IsOK(ecode3)) {
13780 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13781 }
13782 arg3 = static_cast< long >(val3);
13783 {
13784 PyThreadState* __tstate = wxPyBeginAllowThreads();
13785 (arg1)->SetSelection(arg2,arg3);
13786 wxPyEndAllowThreads(__tstate);
13787 if (PyErr_Occurred()) SWIG_fail;
13788 }
13789 resultobj = SWIG_Py_Void();
13790 return resultobj;
13791 fail:
13792 return NULL;
13793 }
13794
13795
13796 SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13797 PyObject *resultobj = 0;
13798 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13799 void *argp1 = 0 ;
13800 int res1 = 0 ;
13801 PyObject *swig_obj[1] ;
13802
13803 if (!args) SWIG_fail;
13804 swig_obj[0] = args;
13805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13806 if (!SWIG_IsOK(res1)) {
13807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13808 }
13809 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13810 {
13811 PyThreadState* __tstate = wxPyBeginAllowThreads();
13812 (arg1)->SelectAll();
13813 wxPyEndAllowThreads(__tstate);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 resultobj = SWIG_Py_Void();
13817 return resultobj;
13818 fail:
13819 return NULL;
13820 }
13821
13822
13823 SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13824 PyObject *resultobj = 0;
13825 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13826 bool arg2 ;
13827 void *argp1 = 0 ;
13828 int res1 = 0 ;
13829 bool val2 ;
13830 int ecode2 = 0 ;
13831 PyObject * obj0 = 0 ;
13832 PyObject * obj1 = 0 ;
13833 char * kwnames[] = {
13834 (char *) "self",(char *) "editable", NULL
13835 };
13836
13837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13839 if (!SWIG_IsOK(res1)) {
13840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13841 }
13842 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13843 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13844 if (!SWIG_IsOK(ecode2)) {
13845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13846 }
13847 arg2 = static_cast< bool >(val2);
13848 {
13849 PyThreadState* __tstate = wxPyBeginAllowThreads();
13850 (arg1)->SetEditable(arg2);
13851 wxPyEndAllowThreads(__tstate);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 resultobj = SWIG_Py_Void();
13855 return resultobj;
13856 fail:
13857 return NULL;
13858 }
13859
13860
13861 SWIGINTERN PyObject *_wrap_TextCtrl_MacCheckSpelling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13862 PyObject *resultobj = 0;
13863 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13864 bool arg2 ;
13865 void *argp1 = 0 ;
13866 int res1 = 0 ;
13867 bool val2 ;
13868 int ecode2 = 0 ;
13869 PyObject * obj0 = 0 ;
13870 PyObject * obj1 = 0 ;
13871 char * kwnames[] = {
13872 (char *) "self",(char *) "check", NULL
13873 };
13874
13875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames,&obj0,&obj1)) SWIG_fail;
13876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13877 if (!SWIG_IsOK(res1)) {
13878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13879 }
13880 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13881 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13882 if (!SWIG_IsOK(ecode2)) {
13883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13884 }
13885 arg2 = static_cast< bool >(val2);
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 wxTextCtrl_MacCheckSpelling(arg1,arg2);
13889 wxPyEndAllowThreads(__tstate);
13890 if (PyErr_Occurred()) SWIG_fail;
13891 }
13892 resultobj = SWIG_Py_Void();
13893 return resultobj;
13894 fail:
13895 return NULL;
13896 }
13897
13898
13899 SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13900 PyObject *resultobj = 0;
13901 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13902 void *argp1 = 0 ;
13903 int res1 = 0 ;
13904 PyObject *swig_obj[1] ;
13905
13906 if (!args) SWIG_fail;
13907 swig_obj[0] = args;
13908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13909 if (!SWIG_IsOK(res1)) {
13910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13911 }
13912 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 (arg1)->SendTextUpdatedEvent();
13916 wxPyEndAllowThreads(__tstate);
13917 if (PyErr_Occurred()) SWIG_fail;
13918 }
13919 resultobj = SWIG_Py_Void();
13920 return resultobj;
13921 fail:
13922 return NULL;
13923 }
13924
13925
13926 SWIGINTERN PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13927 PyObject *resultobj = 0;
13928 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13929 bool arg2 = (bool) true ;
13930 bool result;
13931 void *argp1 = 0 ;
13932 int res1 = 0 ;
13933 bool val2 ;
13934 int ecode2 = 0 ;
13935 PyObject * obj0 = 0 ;
13936 PyObject * obj1 = 0 ;
13937 char * kwnames[] = {
13938 (char *) "self",(char *) "show", NULL
13939 };
13940
13941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) SWIG_fail;
13942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13943 if (!SWIG_IsOK(res1)) {
13944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13945 }
13946 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13947 if (obj1) {
13948 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13949 if (!SWIG_IsOK(ecode2)) {
13950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13951 }
13952 arg2 = static_cast< bool >(val2);
13953 }
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 result = (bool)(arg1)->ShowNativeCaret(arg2);
13957 wxPyEndAllowThreads(__tstate);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 }
13960 {
13961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13962 }
13963 return resultobj;
13964 fail:
13965 return NULL;
13966 }
13967
13968
13969 SWIGINTERN PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13970 PyObject *resultobj = 0;
13971 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13972 bool result;
13973 void *argp1 = 0 ;
13974 int res1 = 0 ;
13975 PyObject *swig_obj[1] ;
13976
13977 if (!args) SWIG_fail;
13978 swig_obj[0] = args;
13979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13980 if (!SWIG_IsOK(res1)) {
13981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13982 }
13983 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13984 {
13985 PyThreadState* __tstate = wxPyBeginAllowThreads();
13986 result = (bool)(arg1)->HideNativeCaret();
13987 wxPyEndAllowThreads(__tstate);
13988 if (PyErr_Occurred()) SWIG_fail;
13989 }
13990 {
13991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13992 }
13993 return resultobj;
13994 fail:
13995 return NULL;
13996 }
13997
13998
13999 SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14000 PyObject *resultobj = 0;
14001 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14002 wxString *arg2 = 0 ;
14003 void *argp1 = 0 ;
14004 int res1 = 0 ;
14005 bool temp2 = false ;
14006 PyObject * obj0 = 0 ;
14007 PyObject * obj1 = 0 ;
14008 char * kwnames[] = {
14009 (char *) "self",(char *) "text", NULL
14010 };
14011
14012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
14013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14014 if (!SWIG_IsOK(res1)) {
14015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14016 }
14017 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14018 {
14019 arg2 = wxString_in_helper(obj1);
14020 if (arg2 == NULL) SWIG_fail;
14021 temp2 = true;
14022 }
14023 {
14024 PyThreadState* __tstate = wxPyBeginAllowThreads();
14025 wxTextCtrl_write(arg1,(wxString const &)*arg2);
14026 wxPyEndAllowThreads(__tstate);
14027 if (PyErr_Occurred()) SWIG_fail;
14028 }
14029 resultobj = SWIG_Py_Void();
14030 {
14031 if (temp2)
14032 delete arg2;
14033 }
14034 return resultobj;
14035 fail:
14036 {
14037 if (temp2)
14038 delete arg2;
14039 }
14040 return NULL;
14041 }
14042
14043
14044 SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14045 PyObject *resultobj = 0;
14046 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14047 long arg2 ;
14048 long arg3 ;
14049 wxString result;
14050 void *argp1 = 0 ;
14051 int res1 = 0 ;
14052 long val2 ;
14053 int ecode2 = 0 ;
14054 long val3 ;
14055 int ecode3 = 0 ;
14056 PyObject * obj0 = 0 ;
14057 PyObject * obj1 = 0 ;
14058 PyObject * obj2 = 0 ;
14059 char * kwnames[] = {
14060 (char *) "self",(char *) "from",(char *) "to", NULL
14061 };
14062
14063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14065 if (!SWIG_IsOK(res1)) {
14066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14067 }
14068 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14069 ecode2 = SWIG_AsVal_long(obj1, &val2);
14070 if (!SWIG_IsOK(ecode2)) {
14071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14072 }
14073 arg2 = static_cast< long >(val2);
14074 ecode3 = SWIG_AsVal_long(obj2, &val3);
14075 if (!SWIG_IsOK(ecode3)) {
14076 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14077 }
14078 arg3 = static_cast< long >(val3);
14079 {
14080 PyThreadState* __tstate = wxPyBeginAllowThreads();
14081 result = wxTextCtrl_GetString(arg1,arg2,arg3);
14082 wxPyEndAllowThreads(__tstate);
14083 if (PyErr_Occurred()) SWIG_fail;
14084 }
14085 {
14086 #if wxUSE_UNICODE
14087 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14088 #else
14089 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14090 #endif
14091 }
14092 return resultobj;
14093 fail:
14094 return NULL;
14095 }
14096
14097
14098 SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14099 PyObject *resultobj = 0;
14100 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14101 SwigValueWrapper<wxVisualAttributes > result;
14102 int val1 ;
14103 int ecode1 = 0 ;
14104 PyObject * obj0 = 0 ;
14105 char * kwnames[] = {
14106 (char *) "variant", NULL
14107 };
14108
14109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14110 if (obj0) {
14111 ecode1 = SWIG_AsVal_int(obj0, &val1);
14112 if (!SWIG_IsOK(ecode1)) {
14113 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14114 }
14115 arg1 = static_cast< wxWindowVariant >(val1);
14116 }
14117 {
14118 if (!wxPyCheckForApp()) SWIG_fail;
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
14121 wxPyEndAllowThreads(__tstate);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14125 return resultobj;
14126 fail:
14127 return NULL;
14128 }
14129
14130
14131 SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14132 PyObject *obj;
14133 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14134 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
14135 return SWIG_Py_Void();
14136 }
14137
14138 SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14139 return SWIG_Python_InitShadowInstance(args);
14140 }
14141
14142 SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14143 PyObject *resultobj = 0;
14144 int arg1 ;
14145 wxMouseEvent *arg2 = 0 ;
14146 long arg3 ;
14147 long arg4 ;
14148 wxTextUrlEvent *result = 0 ;
14149 int val1 ;
14150 int ecode1 = 0 ;
14151 void *argp2 = 0 ;
14152 int res2 = 0 ;
14153 long val3 ;
14154 int ecode3 = 0 ;
14155 long val4 ;
14156 int ecode4 = 0 ;
14157 PyObject * obj0 = 0 ;
14158 PyObject * obj1 = 0 ;
14159 PyObject * obj2 = 0 ;
14160 PyObject * obj3 = 0 ;
14161 char * kwnames[] = {
14162 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14163 };
14164
14165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14166 ecode1 = SWIG_AsVal_int(obj0, &val1);
14167 if (!SWIG_IsOK(ecode1)) {
14168 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14169 }
14170 arg1 = static_cast< int >(val1);
14171 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14172 if (!SWIG_IsOK(res2)) {
14173 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14174 }
14175 if (!argp2) {
14176 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14177 }
14178 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14179 ecode3 = SWIG_AsVal_long(obj2, &val3);
14180 if (!SWIG_IsOK(ecode3)) {
14181 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14182 }
14183 arg3 = static_cast< long >(val3);
14184 ecode4 = SWIG_AsVal_long(obj3, &val4);
14185 if (!SWIG_IsOK(ecode4)) {
14186 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14187 }
14188 arg4 = static_cast< long >(val4);
14189 {
14190 PyThreadState* __tstate = wxPyBeginAllowThreads();
14191 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14192 wxPyEndAllowThreads(__tstate);
14193 if (PyErr_Occurred()) SWIG_fail;
14194 }
14195 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14196 return resultobj;
14197 fail:
14198 return NULL;
14199 }
14200
14201
14202 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14203 PyObject *resultobj = 0;
14204 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14205 wxMouseEvent *result = 0 ;
14206 void *argp1 = 0 ;
14207 int res1 = 0 ;
14208 PyObject *swig_obj[1] ;
14209
14210 if (!args) SWIG_fail;
14211 swig_obj[0] = args;
14212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14213 if (!SWIG_IsOK(res1)) {
14214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14215 }
14216 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14217 {
14218 PyThreadState* __tstate = wxPyBeginAllowThreads();
14219 {
14220 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14221 result = (wxMouseEvent *) &_result_ref;
14222 }
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
14226 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14227 return resultobj;
14228 fail:
14229 return NULL;
14230 }
14231
14232
14233 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14234 PyObject *resultobj = 0;
14235 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14236 long result;
14237 void *argp1 = 0 ;
14238 int res1 = 0 ;
14239 PyObject *swig_obj[1] ;
14240
14241 if (!args) SWIG_fail;
14242 swig_obj[0] = args;
14243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14244 if (!SWIG_IsOK(res1)) {
14245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14246 }
14247 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14248 {
14249 PyThreadState* __tstate = wxPyBeginAllowThreads();
14250 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14251 wxPyEndAllowThreads(__tstate);
14252 if (PyErr_Occurred()) SWIG_fail;
14253 }
14254 resultobj = SWIG_From_long(static_cast< long >(result));
14255 return resultobj;
14256 fail:
14257 return NULL;
14258 }
14259
14260
14261 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14262 PyObject *resultobj = 0;
14263 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14264 long result;
14265 void *argp1 = 0 ;
14266 int res1 = 0 ;
14267 PyObject *swig_obj[1] ;
14268
14269 if (!args) SWIG_fail;
14270 swig_obj[0] = args;
14271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14272 if (!SWIG_IsOK(res1)) {
14273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14274 }
14275 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14276 {
14277 PyThreadState* __tstate = wxPyBeginAllowThreads();
14278 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14279 wxPyEndAllowThreads(__tstate);
14280 if (PyErr_Occurred()) SWIG_fail;
14281 }
14282 resultobj = SWIG_From_long(static_cast< long >(result));
14283 return resultobj;
14284 fail:
14285 return NULL;
14286 }
14287
14288
14289 SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14290 PyObject *obj;
14291 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14292 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14293 return SWIG_Py_Void();
14294 }
14295
14296 SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14297 return SWIG_Python_InitShadowInstance(args);
14298 }
14299
14300 SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14301 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14302 return 1;
14303 }
14304
14305
14306 SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14307 PyObject *pyobj = 0;
14308
14309 {
14310 #if wxUSE_UNICODE
14311 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14312 #else
14313 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14314 #endif
14315 }
14316 return pyobj;
14317 }
14318
14319
14320 SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14321 PyObject *resultobj = 0;
14322 wxWindow *arg1 = (wxWindow *) 0 ;
14323 int arg2 = (int) -1 ;
14324 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14325 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14326 wxSize const &arg4_defvalue = wxDefaultSize ;
14327 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14328 long arg5 = (long) wxSB_HORIZONTAL ;
14329 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14330 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14331 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14332 wxString *arg7 = (wxString *) &arg7_defvalue ;
14333 wxScrollBar *result = 0 ;
14334 void *argp1 = 0 ;
14335 int res1 = 0 ;
14336 int val2 ;
14337 int ecode2 = 0 ;
14338 wxPoint temp3 ;
14339 wxSize temp4 ;
14340 long val5 ;
14341 int ecode5 = 0 ;
14342 void *argp6 = 0 ;
14343 int res6 = 0 ;
14344 bool temp7 = false ;
14345 PyObject * obj0 = 0 ;
14346 PyObject * obj1 = 0 ;
14347 PyObject * obj2 = 0 ;
14348 PyObject * obj3 = 0 ;
14349 PyObject * obj4 = 0 ;
14350 PyObject * obj5 = 0 ;
14351 PyObject * obj6 = 0 ;
14352 char * kwnames[] = {
14353 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14354 };
14355
14356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14358 if (!SWIG_IsOK(res1)) {
14359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14360 }
14361 arg1 = reinterpret_cast< wxWindow * >(argp1);
14362 if (obj1) {
14363 ecode2 = SWIG_AsVal_int(obj1, &val2);
14364 if (!SWIG_IsOK(ecode2)) {
14365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14366 }
14367 arg2 = static_cast< int >(val2);
14368 }
14369 if (obj2) {
14370 {
14371 arg3 = &temp3;
14372 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14373 }
14374 }
14375 if (obj3) {
14376 {
14377 arg4 = &temp4;
14378 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14379 }
14380 }
14381 if (obj4) {
14382 ecode5 = SWIG_AsVal_long(obj4, &val5);
14383 if (!SWIG_IsOK(ecode5)) {
14384 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14385 }
14386 arg5 = static_cast< long >(val5);
14387 }
14388 if (obj5) {
14389 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14390 if (!SWIG_IsOK(res6)) {
14391 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14392 }
14393 if (!argp6) {
14394 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14395 }
14396 arg6 = reinterpret_cast< wxValidator * >(argp6);
14397 }
14398 if (obj6) {
14399 {
14400 arg7 = wxString_in_helper(obj6);
14401 if (arg7 == NULL) SWIG_fail;
14402 temp7 = true;
14403 }
14404 }
14405 {
14406 if (!wxPyCheckForApp()) SWIG_fail;
14407 PyThreadState* __tstate = wxPyBeginAllowThreads();
14408 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14409 wxPyEndAllowThreads(__tstate);
14410 if (PyErr_Occurred()) SWIG_fail;
14411 }
14412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14413 {
14414 if (temp7)
14415 delete arg7;
14416 }
14417 return resultobj;
14418 fail:
14419 {
14420 if (temp7)
14421 delete arg7;
14422 }
14423 return NULL;
14424 }
14425
14426
14427 SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14428 PyObject *resultobj = 0;
14429 wxScrollBar *result = 0 ;
14430
14431 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14432 {
14433 if (!wxPyCheckForApp()) SWIG_fail;
14434 PyThreadState* __tstate = wxPyBeginAllowThreads();
14435 result = (wxScrollBar *)new wxScrollBar();
14436 wxPyEndAllowThreads(__tstate);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 }
14439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14440 return resultobj;
14441 fail:
14442 return NULL;
14443 }
14444
14445
14446 SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj = 0;
14448 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14449 wxWindow *arg2 = (wxWindow *) 0 ;
14450 int arg3 = (int) -1 ;
14451 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14452 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14453 wxSize const &arg5_defvalue = wxDefaultSize ;
14454 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14455 long arg6 = (long) wxSB_HORIZONTAL ;
14456 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14457 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14458 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14459 wxString *arg8 = (wxString *) &arg8_defvalue ;
14460 bool result;
14461 void *argp1 = 0 ;
14462 int res1 = 0 ;
14463 void *argp2 = 0 ;
14464 int res2 = 0 ;
14465 int val3 ;
14466 int ecode3 = 0 ;
14467 wxPoint temp4 ;
14468 wxSize temp5 ;
14469 long val6 ;
14470 int ecode6 = 0 ;
14471 void *argp7 = 0 ;
14472 int res7 = 0 ;
14473 bool temp8 = false ;
14474 PyObject * obj0 = 0 ;
14475 PyObject * obj1 = 0 ;
14476 PyObject * obj2 = 0 ;
14477 PyObject * obj3 = 0 ;
14478 PyObject * obj4 = 0 ;
14479 PyObject * obj5 = 0 ;
14480 PyObject * obj6 = 0 ;
14481 PyObject * obj7 = 0 ;
14482 char * kwnames[] = {
14483 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14484 };
14485
14486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14488 if (!SWIG_IsOK(res1)) {
14489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14490 }
14491 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14492 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14493 if (!SWIG_IsOK(res2)) {
14494 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14495 }
14496 arg2 = reinterpret_cast< wxWindow * >(argp2);
14497 if (obj2) {
14498 ecode3 = SWIG_AsVal_int(obj2, &val3);
14499 if (!SWIG_IsOK(ecode3)) {
14500 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14501 }
14502 arg3 = static_cast< int >(val3);
14503 }
14504 if (obj3) {
14505 {
14506 arg4 = &temp4;
14507 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14508 }
14509 }
14510 if (obj4) {
14511 {
14512 arg5 = &temp5;
14513 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14514 }
14515 }
14516 if (obj5) {
14517 ecode6 = SWIG_AsVal_long(obj5, &val6);
14518 if (!SWIG_IsOK(ecode6)) {
14519 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14520 }
14521 arg6 = static_cast< long >(val6);
14522 }
14523 if (obj6) {
14524 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14525 if (!SWIG_IsOK(res7)) {
14526 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14527 }
14528 if (!argp7) {
14529 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14530 }
14531 arg7 = reinterpret_cast< wxValidator * >(argp7);
14532 }
14533 if (obj7) {
14534 {
14535 arg8 = wxString_in_helper(obj7);
14536 if (arg8 == NULL) SWIG_fail;
14537 temp8 = true;
14538 }
14539 }
14540 {
14541 PyThreadState* __tstate = wxPyBeginAllowThreads();
14542 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 {
14547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14548 }
14549 {
14550 if (temp8)
14551 delete arg8;
14552 }
14553 return resultobj;
14554 fail:
14555 {
14556 if (temp8)
14557 delete arg8;
14558 }
14559 return NULL;
14560 }
14561
14562
14563 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14564 PyObject *resultobj = 0;
14565 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14566 int result;
14567 void *argp1 = 0 ;
14568 int res1 = 0 ;
14569 PyObject *swig_obj[1] ;
14570
14571 if (!args) SWIG_fail;
14572 swig_obj[0] = args;
14573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14574 if (!SWIG_IsOK(res1)) {
14575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14576 }
14577 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14578 {
14579 PyThreadState* __tstate = wxPyBeginAllowThreads();
14580 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14581 wxPyEndAllowThreads(__tstate);
14582 if (PyErr_Occurred()) SWIG_fail;
14583 }
14584 resultobj = SWIG_From_int(static_cast< int >(result));
14585 return resultobj;
14586 fail:
14587 return NULL;
14588 }
14589
14590
14591 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14592 PyObject *resultobj = 0;
14593 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14594 int result;
14595 void *argp1 = 0 ;
14596 int res1 = 0 ;
14597 PyObject *swig_obj[1] ;
14598
14599 if (!args) SWIG_fail;
14600 swig_obj[0] = args;
14601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14602 if (!SWIG_IsOK(res1)) {
14603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14604 }
14605 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14606 {
14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
14608 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14609 wxPyEndAllowThreads(__tstate);
14610 if (PyErr_Occurred()) SWIG_fail;
14611 }
14612 resultobj = SWIG_From_int(static_cast< int >(result));
14613 return resultobj;
14614 fail:
14615 return NULL;
14616 }
14617
14618
14619 SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14620 PyObject *resultobj = 0;
14621 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14622 int result;
14623 void *argp1 = 0 ;
14624 int res1 = 0 ;
14625 PyObject *swig_obj[1] ;
14626
14627 if (!args) SWIG_fail;
14628 swig_obj[0] = args;
14629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14630 if (!SWIG_IsOK(res1)) {
14631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14632 }
14633 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14634 {
14635 PyThreadState* __tstate = wxPyBeginAllowThreads();
14636 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14637 wxPyEndAllowThreads(__tstate);
14638 if (PyErr_Occurred()) SWIG_fail;
14639 }
14640 resultobj = SWIG_From_int(static_cast< int >(result));
14641 return resultobj;
14642 fail:
14643 return NULL;
14644 }
14645
14646
14647 SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14648 PyObject *resultobj = 0;
14649 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14650 int result;
14651 void *argp1 = 0 ;
14652 int res1 = 0 ;
14653 PyObject *swig_obj[1] ;
14654
14655 if (!args) SWIG_fail;
14656 swig_obj[0] = args;
14657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14658 if (!SWIG_IsOK(res1)) {
14659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14660 }
14661 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14662 {
14663 PyThreadState* __tstate = wxPyBeginAllowThreads();
14664 result = (int)((wxScrollBar const *)arg1)->GetRange();
14665 wxPyEndAllowThreads(__tstate);
14666 if (PyErr_Occurred()) SWIG_fail;
14667 }
14668 resultobj = SWIG_From_int(static_cast< int >(result));
14669 return resultobj;
14670 fail:
14671 return NULL;
14672 }
14673
14674
14675 SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14676 PyObject *resultobj = 0;
14677 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14678 bool result;
14679 void *argp1 = 0 ;
14680 int res1 = 0 ;
14681 PyObject *swig_obj[1] ;
14682
14683 if (!args) SWIG_fail;
14684 swig_obj[0] = args;
14685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14686 if (!SWIG_IsOK(res1)) {
14687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14688 }
14689 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14690 {
14691 PyThreadState* __tstate = wxPyBeginAllowThreads();
14692 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14693 wxPyEndAllowThreads(__tstate);
14694 if (PyErr_Occurred()) SWIG_fail;
14695 }
14696 {
14697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14698 }
14699 return resultobj;
14700 fail:
14701 return NULL;
14702 }
14703
14704
14705 SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14706 PyObject *resultobj = 0;
14707 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14708 int arg2 ;
14709 void *argp1 = 0 ;
14710 int res1 = 0 ;
14711 int val2 ;
14712 int ecode2 = 0 ;
14713 PyObject * obj0 = 0 ;
14714 PyObject * obj1 = 0 ;
14715 char * kwnames[] = {
14716 (char *) "self",(char *) "viewStart", NULL
14717 };
14718
14719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14721 if (!SWIG_IsOK(res1)) {
14722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14723 }
14724 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14725 ecode2 = SWIG_AsVal_int(obj1, &val2);
14726 if (!SWIG_IsOK(ecode2)) {
14727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14728 }
14729 arg2 = static_cast< int >(val2);
14730 {
14731 PyThreadState* __tstate = wxPyBeginAllowThreads();
14732 (arg1)->SetThumbPosition(arg2);
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 resultobj = SWIG_Py_Void();
14737 return resultobj;
14738 fail:
14739 return NULL;
14740 }
14741
14742
14743 SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14744 PyObject *resultobj = 0;
14745 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14746 SwigValueWrapper<wxVisualAttributes > result;
14747 int val1 ;
14748 int ecode1 = 0 ;
14749 PyObject * obj0 = 0 ;
14750 char * kwnames[] = {
14751 (char *) "variant", NULL
14752 };
14753
14754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14755 if (obj0) {
14756 ecode1 = SWIG_AsVal_int(obj0, &val1);
14757 if (!SWIG_IsOK(ecode1)) {
14758 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14759 }
14760 arg1 = static_cast< wxWindowVariant >(val1);
14761 }
14762 {
14763 if (!wxPyCheckForApp()) SWIG_fail;
14764 PyThreadState* __tstate = wxPyBeginAllowThreads();
14765 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14766 wxPyEndAllowThreads(__tstate);
14767 if (PyErr_Occurred()) SWIG_fail;
14768 }
14769 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14770 return resultobj;
14771 fail:
14772 return NULL;
14773 }
14774
14775
14776 SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14777 PyObject *obj;
14778 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14779 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14780 return SWIG_Py_Void();
14781 }
14782
14783 SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14784 return SWIG_Python_InitShadowInstance(args);
14785 }
14786
14787 SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14788 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14789 return 1;
14790 }
14791
14792
14793 SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14794 PyObject *pyobj = 0;
14795
14796 {
14797 #if wxUSE_UNICODE
14798 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14799 #else
14800 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14801 #endif
14802 }
14803 return pyobj;
14804 }
14805
14806
14807 SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14808 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14809 return 1;
14810 }
14811
14812
14813 SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14814 PyObject *pyobj = 0;
14815
14816 {
14817 #if wxUSE_UNICODE
14818 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14819 #else
14820 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14821 #endif
14822 }
14823 return pyobj;
14824 }
14825
14826
14827 SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14828 PyObject *resultobj = 0;
14829 wxWindow *arg1 = (wxWindow *) 0 ;
14830 int arg2 = (int) -1 ;
14831 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14832 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14833 wxSize const &arg4_defvalue = wxDefaultSize ;
14834 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14835 long arg5 = (long) wxSP_HORIZONTAL ;
14836 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14837 wxString *arg6 = (wxString *) &arg6_defvalue ;
14838 wxSpinButton *result = 0 ;
14839 void *argp1 = 0 ;
14840 int res1 = 0 ;
14841 int val2 ;
14842 int ecode2 = 0 ;
14843 wxPoint temp3 ;
14844 wxSize temp4 ;
14845 long val5 ;
14846 int ecode5 = 0 ;
14847 bool temp6 = false ;
14848 PyObject * obj0 = 0 ;
14849 PyObject * obj1 = 0 ;
14850 PyObject * obj2 = 0 ;
14851 PyObject * obj3 = 0 ;
14852 PyObject * obj4 = 0 ;
14853 PyObject * obj5 = 0 ;
14854 char * kwnames[] = {
14855 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14856 };
14857
14858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14860 if (!SWIG_IsOK(res1)) {
14861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14862 }
14863 arg1 = reinterpret_cast< wxWindow * >(argp1);
14864 if (obj1) {
14865 ecode2 = SWIG_AsVal_int(obj1, &val2);
14866 if (!SWIG_IsOK(ecode2)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14868 }
14869 arg2 = static_cast< int >(val2);
14870 }
14871 if (obj2) {
14872 {
14873 arg3 = &temp3;
14874 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14875 }
14876 }
14877 if (obj3) {
14878 {
14879 arg4 = &temp4;
14880 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14881 }
14882 }
14883 if (obj4) {
14884 ecode5 = SWIG_AsVal_long(obj4, &val5);
14885 if (!SWIG_IsOK(ecode5)) {
14886 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14887 }
14888 arg5 = static_cast< long >(val5);
14889 }
14890 if (obj5) {
14891 {
14892 arg6 = wxString_in_helper(obj5);
14893 if (arg6 == NULL) SWIG_fail;
14894 temp6 = true;
14895 }
14896 }
14897 {
14898 if (!wxPyCheckForApp()) SWIG_fail;
14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
14900 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14901 wxPyEndAllowThreads(__tstate);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 }
14904 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14905 {
14906 if (temp6)
14907 delete arg6;
14908 }
14909 return resultobj;
14910 fail:
14911 {
14912 if (temp6)
14913 delete arg6;
14914 }
14915 return NULL;
14916 }
14917
14918
14919 SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14920 PyObject *resultobj = 0;
14921 wxSpinButton *result = 0 ;
14922
14923 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14924 {
14925 if (!wxPyCheckForApp()) SWIG_fail;
14926 PyThreadState* __tstate = wxPyBeginAllowThreads();
14927 result = (wxSpinButton *)new wxSpinButton();
14928 wxPyEndAllowThreads(__tstate);
14929 if (PyErr_Occurred()) SWIG_fail;
14930 }
14931 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14932 return resultobj;
14933 fail:
14934 return NULL;
14935 }
14936
14937
14938 SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14939 PyObject *resultobj = 0;
14940 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14941 wxWindow *arg2 = (wxWindow *) 0 ;
14942 int arg3 = (int) -1 ;
14943 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14944 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14945 wxSize const &arg5_defvalue = wxDefaultSize ;
14946 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14947 long arg6 = (long) wxSP_HORIZONTAL ;
14948 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14949 wxString *arg7 = (wxString *) &arg7_defvalue ;
14950 bool result;
14951 void *argp1 = 0 ;
14952 int res1 = 0 ;
14953 void *argp2 = 0 ;
14954 int res2 = 0 ;
14955 int val3 ;
14956 int ecode3 = 0 ;
14957 wxPoint temp4 ;
14958 wxSize temp5 ;
14959 long val6 ;
14960 int ecode6 = 0 ;
14961 bool temp7 = false ;
14962 PyObject * obj0 = 0 ;
14963 PyObject * obj1 = 0 ;
14964 PyObject * obj2 = 0 ;
14965 PyObject * obj3 = 0 ;
14966 PyObject * obj4 = 0 ;
14967 PyObject * obj5 = 0 ;
14968 PyObject * obj6 = 0 ;
14969 char * kwnames[] = {
14970 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14971 };
14972
14973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14975 if (!SWIG_IsOK(res1)) {
14976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14977 }
14978 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14979 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14980 if (!SWIG_IsOK(res2)) {
14981 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14982 }
14983 arg2 = reinterpret_cast< wxWindow * >(argp2);
14984 if (obj2) {
14985 ecode3 = SWIG_AsVal_int(obj2, &val3);
14986 if (!SWIG_IsOK(ecode3)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14988 }
14989 arg3 = static_cast< int >(val3);
14990 }
14991 if (obj3) {
14992 {
14993 arg4 = &temp4;
14994 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14995 }
14996 }
14997 if (obj4) {
14998 {
14999 arg5 = &temp5;
15000 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15001 }
15002 }
15003 if (obj5) {
15004 ecode6 = SWIG_AsVal_long(obj5, &val6);
15005 if (!SWIG_IsOK(ecode6)) {
15006 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
15007 }
15008 arg6 = static_cast< long >(val6);
15009 }
15010 if (obj6) {
15011 {
15012 arg7 = wxString_in_helper(obj6);
15013 if (arg7 == NULL) SWIG_fail;
15014 temp7 = true;
15015 }
15016 }
15017 {
15018 PyThreadState* __tstate = wxPyBeginAllowThreads();
15019 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15020 wxPyEndAllowThreads(__tstate);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 {
15024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15025 }
15026 {
15027 if (temp7)
15028 delete arg7;
15029 }
15030 return resultobj;
15031 fail:
15032 {
15033 if (temp7)
15034 delete arg7;
15035 }
15036 return NULL;
15037 }
15038
15039
15040 SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15041 PyObject *resultobj = 0;
15042 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15043 int result;
15044 void *argp1 = 0 ;
15045 int res1 = 0 ;
15046 PyObject *swig_obj[1] ;
15047
15048 if (!args) SWIG_fail;
15049 swig_obj[0] = args;
15050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15051 if (!SWIG_IsOK(res1)) {
15052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15053 }
15054 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 result = (int)((wxSpinButton const *)arg1)->GetValue();
15058 wxPyEndAllowThreads(__tstate);
15059 if (PyErr_Occurred()) SWIG_fail;
15060 }
15061 resultobj = SWIG_From_int(static_cast< int >(result));
15062 return resultobj;
15063 fail:
15064 return NULL;
15065 }
15066
15067
15068 SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15069 PyObject *resultobj = 0;
15070 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15071 int result;
15072 void *argp1 = 0 ;
15073 int res1 = 0 ;
15074 PyObject *swig_obj[1] ;
15075
15076 if (!args) SWIG_fail;
15077 swig_obj[0] = args;
15078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15079 if (!SWIG_IsOK(res1)) {
15080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15081 }
15082 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 result = (int)((wxSpinButton const *)arg1)->GetMin();
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 resultobj = SWIG_From_int(static_cast< int >(result));
15090 return resultobj;
15091 fail:
15092 return NULL;
15093 }
15094
15095
15096 SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15097 PyObject *resultobj = 0;
15098 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15099 int result;
15100 void *argp1 = 0 ;
15101 int res1 = 0 ;
15102 PyObject *swig_obj[1] ;
15103
15104 if (!args) SWIG_fail;
15105 swig_obj[0] = args;
15106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15107 if (!SWIG_IsOK(res1)) {
15108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15109 }
15110 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15111 {
15112 PyThreadState* __tstate = wxPyBeginAllowThreads();
15113 result = (int)((wxSpinButton const *)arg1)->GetMax();
15114 wxPyEndAllowThreads(__tstate);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 resultobj = SWIG_From_int(static_cast< int >(result));
15118 return resultobj;
15119 fail:
15120 return NULL;
15121 }
15122
15123
15124 SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15125 PyObject *resultobj = 0;
15126 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15127 int arg2 ;
15128 void *argp1 = 0 ;
15129 int res1 = 0 ;
15130 int val2 ;
15131 int ecode2 = 0 ;
15132 PyObject * obj0 = 0 ;
15133 PyObject * obj1 = 0 ;
15134 char * kwnames[] = {
15135 (char *) "self",(char *) "val", NULL
15136 };
15137
15138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15140 if (!SWIG_IsOK(res1)) {
15141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15142 }
15143 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15144 ecode2 = SWIG_AsVal_int(obj1, &val2);
15145 if (!SWIG_IsOK(ecode2)) {
15146 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15147 }
15148 arg2 = static_cast< int >(val2);
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 (arg1)->SetValue(arg2);
15152 wxPyEndAllowThreads(__tstate);
15153 if (PyErr_Occurred()) SWIG_fail;
15154 }
15155 resultobj = SWIG_Py_Void();
15156 return resultobj;
15157 fail:
15158 return NULL;
15159 }
15160
15161
15162 SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15163 PyObject *resultobj = 0;
15164 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15165 int arg2 ;
15166 void *argp1 = 0 ;
15167 int res1 = 0 ;
15168 int val2 ;
15169 int ecode2 = 0 ;
15170 PyObject * obj0 = 0 ;
15171 PyObject * obj1 = 0 ;
15172 char * kwnames[] = {
15173 (char *) "self",(char *) "minVal", NULL
15174 };
15175
15176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15178 if (!SWIG_IsOK(res1)) {
15179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15180 }
15181 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15182 ecode2 = SWIG_AsVal_int(obj1, &val2);
15183 if (!SWIG_IsOK(ecode2)) {
15184 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15185 }
15186 arg2 = static_cast< int >(val2);
15187 {
15188 PyThreadState* __tstate = wxPyBeginAllowThreads();
15189 (arg1)->SetMin(arg2);
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 resultobj = SWIG_Py_Void();
15194 return resultobj;
15195 fail:
15196 return NULL;
15197 }
15198
15199
15200 SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15201 PyObject *resultobj = 0;
15202 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15203 int arg2 ;
15204 void *argp1 = 0 ;
15205 int res1 = 0 ;
15206 int val2 ;
15207 int ecode2 = 0 ;
15208 PyObject * obj0 = 0 ;
15209 PyObject * obj1 = 0 ;
15210 char * kwnames[] = {
15211 (char *) "self",(char *) "maxVal", NULL
15212 };
15213
15214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15216 if (!SWIG_IsOK(res1)) {
15217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15218 }
15219 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15220 ecode2 = SWIG_AsVal_int(obj1, &val2);
15221 if (!SWIG_IsOK(ecode2)) {
15222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15223 }
15224 arg2 = static_cast< int >(val2);
15225 {
15226 PyThreadState* __tstate = wxPyBeginAllowThreads();
15227 (arg1)->SetMax(arg2);
15228 wxPyEndAllowThreads(__tstate);
15229 if (PyErr_Occurred()) SWIG_fail;
15230 }
15231 resultobj = SWIG_Py_Void();
15232 return resultobj;
15233 fail:
15234 return NULL;
15235 }
15236
15237
15238 SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15239 PyObject *resultobj = 0;
15240 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15241 int arg2 ;
15242 int arg3 ;
15243 void *argp1 = 0 ;
15244 int res1 = 0 ;
15245 int val2 ;
15246 int ecode2 = 0 ;
15247 int val3 ;
15248 int ecode3 = 0 ;
15249 PyObject * obj0 = 0 ;
15250 PyObject * obj1 = 0 ;
15251 PyObject * obj2 = 0 ;
15252 char * kwnames[] = {
15253 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15254 };
15255
15256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15258 if (!SWIG_IsOK(res1)) {
15259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15260 }
15261 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15262 ecode2 = SWIG_AsVal_int(obj1, &val2);
15263 if (!SWIG_IsOK(ecode2)) {
15264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15265 }
15266 arg2 = static_cast< int >(val2);
15267 ecode3 = SWIG_AsVal_int(obj2, &val3);
15268 if (!SWIG_IsOK(ecode3)) {
15269 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15270 }
15271 arg3 = static_cast< int >(val3);
15272 {
15273 PyThreadState* __tstate = wxPyBeginAllowThreads();
15274 (arg1)->SetRange(arg2,arg3);
15275 wxPyEndAllowThreads(__tstate);
15276 if (PyErr_Occurred()) SWIG_fail;
15277 }
15278 resultobj = SWIG_Py_Void();
15279 return resultobj;
15280 fail:
15281 return NULL;
15282 }
15283
15284
15285 SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15286 PyObject *resultobj = 0;
15287 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15288 bool result;
15289 void *argp1 = 0 ;
15290 int res1 = 0 ;
15291 PyObject *swig_obj[1] ;
15292
15293 if (!args) SWIG_fail;
15294 swig_obj[0] = args;
15295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15296 if (!SWIG_IsOK(res1)) {
15297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15298 }
15299 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15300 {
15301 PyThreadState* __tstate = wxPyBeginAllowThreads();
15302 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 {
15307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15308 }
15309 return resultobj;
15310 fail:
15311 return NULL;
15312 }
15313
15314
15315 SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15316 PyObject *resultobj = 0;
15317 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15318 SwigValueWrapper<wxVisualAttributes > result;
15319 int val1 ;
15320 int ecode1 = 0 ;
15321 PyObject * obj0 = 0 ;
15322 char * kwnames[] = {
15323 (char *) "variant", NULL
15324 };
15325
15326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15327 if (obj0) {
15328 ecode1 = SWIG_AsVal_int(obj0, &val1);
15329 if (!SWIG_IsOK(ecode1)) {
15330 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15331 }
15332 arg1 = static_cast< wxWindowVariant >(val1);
15333 }
15334 {
15335 if (!wxPyCheckForApp()) SWIG_fail;
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15342 return resultobj;
15343 fail:
15344 return NULL;
15345 }
15346
15347
15348 SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15349 PyObject *obj;
15350 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15351 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15352 return SWIG_Py_Void();
15353 }
15354
15355 SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15356 return SWIG_Python_InitShadowInstance(args);
15357 }
15358
15359 SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15360 PyObject *resultobj = 0;
15361 wxWindow *arg1 = (wxWindow *) 0 ;
15362 int arg2 = (int) -1 ;
15363 wxString const &arg3_defvalue = wxPyEmptyString ;
15364 wxString *arg3 = (wxString *) &arg3_defvalue ;
15365 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15366 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15367 wxSize const &arg5_defvalue = wxDefaultSize ;
15368 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15369 long arg6 = (long) wxSP_ARROW_KEYS ;
15370 int arg7 = (int) 0 ;
15371 int arg8 = (int) 100 ;
15372 int arg9 = (int) 0 ;
15373 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15374 wxString *arg10 = (wxString *) &arg10_defvalue ;
15375 wxSpinCtrl *result = 0 ;
15376 void *argp1 = 0 ;
15377 int res1 = 0 ;
15378 int val2 ;
15379 int ecode2 = 0 ;
15380 bool temp3 = false ;
15381 wxPoint temp4 ;
15382 wxSize temp5 ;
15383 long val6 ;
15384 int ecode6 = 0 ;
15385 int val7 ;
15386 int ecode7 = 0 ;
15387 int val8 ;
15388 int ecode8 = 0 ;
15389 int val9 ;
15390 int ecode9 = 0 ;
15391 bool temp10 = false ;
15392 PyObject * obj0 = 0 ;
15393 PyObject * obj1 = 0 ;
15394 PyObject * obj2 = 0 ;
15395 PyObject * obj3 = 0 ;
15396 PyObject * obj4 = 0 ;
15397 PyObject * obj5 = 0 ;
15398 PyObject * obj6 = 0 ;
15399 PyObject * obj7 = 0 ;
15400 PyObject * obj8 = 0 ;
15401 PyObject * obj9 = 0 ;
15402 char * kwnames[] = {
15403 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15404 };
15405
15406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15408 if (!SWIG_IsOK(res1)) {
15409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15410 }
15411 arg1 = reinterpret_cast< wxWindow * >(argp1);
15412 if (obj1) {
15413 ecode2 = SWIG_AsVal_int(obj1, &val2);
15414 if (!SWIG_IsOK(ecode2)) {
15415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15416 }
15417 arg2 = static_cast< int >(val2);
15418 }
15419 if (obj2) {
15420 {
15421 arg3 = wxString_in_helper(obj2);
15422 if (arg3 == NULL) SWIG_fail;
15423 temp3 = true;
15424 }
15425 }
15426 if (obj3) {
15427 {
15428 arg4 = &temp4;
15429 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15430 }
15431 }
15432 if (obj4) {
15433 {
15434 arg5 = &temp5;
15435 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15436 }
15437 }
15438 if (obj5) {
15439 ecode6 = SWIG_AsVal_long(obj5, &val6);
15440 if (!SWIG_IsOK(ecode6)) {
15441 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15442 }
15443 arg6 = static_cast< long >(val6);
15444 }
15445 if (obj6) {
15446 ecode7 = SWIG_AsVal_int(obj6, &val7);
15447 if (!SWIG_IsOK(ecode7)) {
15448 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15449 }
15450 arg7 = static_cast< int >(val7);
15451 }
15452 if (obj7) {
15453 ecode8 = SWIG_AsVal_int(obj7, &val8);
15454 if (!SWIG_IsOK(ecode8)) {
15455 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15456 }
15457 arg8 = static_cast< int >(val8);
15458 }
15459 if (obj8) {
15460 ecode9 = SWIG_AsVal_int(obj8, &val9);
15461 if (!SWIG_IsOK(ecode9)) {
15462 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15463 }
15464 arg9 = static_cast< int >(val9);
15465 }
15466 if (obj9) {
15467 {
15468 arg10 = wxString_in_helper(obj9);
15469 if (arg10 == NULL) SWIG_fail;
15470 temp10 = true;
15471 }
15472 }
15473 {
15474 if (!wxPyCheckForApp()) SWIG_fail;
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15477 wxPyEndAllowThreads(__tstate);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 }
15480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15481 {
15482 if (temp3)
15483 delete arg3;
15484 }
15485 {
15486 if (temp10)
15487 delete arg10;
15488 }
15489 return resultobj;
15490 fail:
15491 {
15492 if (temp3)
15493 delete arg3;
15494 }
15495 {
15496 if (temp10)
15497 delete arg10;
15498 }
15499 return NULL;
15500 }
15501
15502
15503 SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15504 PyObject *resultobj = 0;
15505 wxSpinCtrl *result = 0 ;
15506
15507 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15508 {
15509 if (!wxPyCheckForApp()) SWIG_fail;
15510 PyThreadState* __tstate = wxPyBeginAllowThreads();
15511 result = (wxSpinCtrl *)new wxSpinCtrl();
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj = 0;
15524 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15525 wxWindow *arg2 = (wxWindow *) 0 ;
15526 int arg3 = (int) -1 ;
15527 wxString const &arg4_defvalue = wxPyEmptyString ;
15528 wxString *arg4 = (wxString *) &arg4_defvalue ;
15529 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15530 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15531 wxSize const &arg6_defvalue = wxDefaultSize ;
15532 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15533 long arg7 = (long) wxSP_ARROW_KEYS ;
15534 int arg8 = (int) 0 ;
15535 int arg9 = (int) 100 ;
15536 int arg10 = (int) 0 ;
15537 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15538 wxString *arg11 = (wxString *) &arg11_defvalue ;
15539 bool result;
15540 void *argp1 = 0 ;
15541 int res1 = 0 ;
15542 void *argp2 = 0 ;
15543 int res2 = 0 ;
15544 int val3 ;
15545 int ecode3 = 0 ;
15546 bool temp4 = false ;
15547 wxPoint temp5 ;
15548 wxSize temp6 ;
15549 long val7 ;
15550 int ecode7 = 0 ;
15551 int val8 ;
15552 int ecode8 = 0 ;
15553 int val9 ;
15554 int ecode9 = 0 ;
15555 int val10 ;
15556 int ecode10 = 0 ;
15557 bool temp11 = false ;
15558 PyObject * obj0 = 0 ;
15559 PyObject * obj1 = 0 ;
15560 PyObject * obj2 = 0 ;
15561 PyObject * obj3 = 0 ;
15562 PyObject * obj4 = 0 ;
15563 PyObject * obj5 = 0 ;
15564 PyObject * obj6 = 0 ;
15565 PyObject * obj7 = 0 ;
15566 PyObject * obj8 = 0 ;
15567 PyObject * obj9 = 0 ;
15568 PyObject * obj10 = 0 ;
15569 char * kwnames[] = {
15570 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15571 };
15572
15573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15575 if (!SWIG_IsOK(res1)) {
15576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15577 }
15578 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15580 if (!SWIG_IsOK(res2)) {
15581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15582 }
15583 arg2 = reinterpret_cast< wxWindow * >(argp2);
15584 if (obj2) {
15585 ecode3 = SWIG_AsVal_int(obj2, &val3);
15586 if (!SWIG_IsOK(ecode3)) {
15587 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15588 }
15589 arg3 = static_cast< int >(val3);
15590 }
15591 if (obj3) {
15592 {
15593 arg4 = wxString_in_helper(obj3);
15594 if (arg4 == NULL) SWIG_fail;
15595 temp4 = true;
15596 }
15597 }
15598 if (obj4) {
15599 {
15600 arg5 = &temp5;
15601 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15602 }
15603 }
15604 if (obj5) {
15605 {
15606 arg6 = &temp6;
15607 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15608 }
15609 }
15610 if (obj6) {
15611 ecode7 = SWIG_AsVal_long(obj6, &val7);
15612 if (!SWIG_IsOK(ecode7)) {
15613 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15614 }
15615 arg7 = static_cast< long >(val7);
15616 }
15617 if (obj7) {
15618 ecode8 = SWIG_AsVal_int(obj7, &val8);
15619 if (!SWIG_IsOK(ecode8)) {
15620 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15621 }
15622 arg8 = static_cast< int >(val8);
15623 }
15624 if (obj8) {
15625 ecode9 = SWIG_AsVal_int(obj8, &val9);
15626 if (!SWIG_IsOK(ecode9)) {
15627 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15628 }
15629 arg9 = static_cast< int >(val9);
15630 }
15631 if (obj9) {
15632 ecode10 = SWIG_AsVal_int(obj9, &val10);
15633 if (!SWIG_IsOK(ecode10)) {
15634 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15635 }
15636 arg10 = static_cast< int >(val10);
15637 }
15638 if (obj10) {
15639 {
15640 arg11 = wxString_in_helper(obj10);
15641 if (arg11 == NULL) SWIG_fail;
15642 temp11 = true;
15643 }
15644 }
15645 {
15646 PyThreadState* __tstate = wxPyBeginAllowThreads();
15647 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15648 wxPyEndAllowThreads(__tstate);
15649 if (PyErr_Occurred()) SWIG_fail;
15650 }
15651 {
15652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15653 }
15654 {
15655 if (temp4)
15656 delete arg4;
15657 }
15658 {
15659 if (temp11)
15660 delete arg11;
15661 }
15662 return resultobj;
15663 fail:
15664 {
15665 if (temp4)
15666 delete arg4;
15667 }
15668 {
15669 if (temp11)
15670 delete arg11;
15671 }
15672 return NULL;
15673 }
15674
15675
15676 SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15677 PyObject *resultobj = 0;
15678 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15679 int result;
15680 void *argp1 = 0 ;
15681 int res1 = 0 ;
15682 PyObject *swig_obj[1] ;
15683
15684 if (!args) SWIG_fail;
15685 swig_obj[0] = args;
15686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15687 if (!SWIG_IsOK(res1)) {
15688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15689 }
15690 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15691 {
15692 PyThreadState* __tstate = wxPyBeginAllowThreads();
15693 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15694 wxPyEndAllowThreads(__tstate);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
15697 resultobj = SWIG_From_int(static_cast< int >(result));
15698 return resultobj;
15699 fail:
15700 return NULL;
15701 }
15702
15703
15704 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15705 PyObject *resultobj = 0;
15706 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15707 int arg2 ;
15708 void *argp1 = 0 ;
15709 int res1 = 0 ;
15710 int val2 ;
15711 int ecode2 = 0 ;
15712 PyObject * obj0 = 0 ;
15713 PyObject * obj1 = 0 ;
15714 char * kwnames[] = {
15715 (char *) "self",(char *) "value", NULL
15716 };
15717
15718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15720 if (!SWIG_IsOK(res1)) {
15721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15722 }
15723 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15724 ecode2 = SWIG_AsVal_int(obj1, &val2);
15725 if (!SWIG_IsOK(ecode2)) {
15726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15727 }
15728 arg2 = static_cast< int >(val2);
15729 {
15730 PyThreadState* __tstate = wxPyBeginAllowThreads();
15731 (arg1)->SetValue(arg2);
15732 wxPyEndAllowThreads(__tstate);
15733 if (PyErr_Occurred()) SWIG_fail;
15734 }
15735 resultobj = SWIG_Py_Void();
15736 return resultobj;
15737 fail:
15738 return NULL;
15739 }
15740
15741
15742 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15743 PyObject *resultobj = 0;
15744 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15745 wxString *arg2 = 0 ;
15746 void *argp1 = 0 ;
15747 int res1 = 0 ;
15748 bool temp2 = false ;
15749 PyObject * obj0 = 0 ;
15750 PyObject * obj1 = 0 ;
15751 char * kwnames[] = {
15752 (char *) "self",(char *) "text", NULL
15753 };
15754
15755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15757 if (!SWIG_IsOK(res1)) {
15758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15759 }
15760 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15761 {
15762 arg2 = wxString_in_helper(obj1);
15763 if (arg2 == NULL) SWIG_fail;
15764 temp2 = true;
15765 }
15766 {
15767 PyThreadState* __tstate = wxPyBeginAllowThreads();
15768 (arg1)->SetValue((wxString const &)*arg2);
15769 wxPyEndAllowThreads(__tstate);
15770 if (PyErr_Occurred()) SWIG_fail;
15771 }
15772 resultobj = SWIG_Py_Void();
15773 {
15774 if (temp2)
15775 delete arg2;
15776 }
15777 return resultobj;
15778 fail:
15779 {
15780 if (temp2)
15781 delete arg2;
15782 }
15783 return NULL;
15784 }
15785
15786
15787 SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15788 PyObject *resultobj = 0;
15789 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15790 int arg2 ;
15791 int arg3 ;
15792 void *argp1 = 0 ;
15793 int res1 = 0 ;
15794 int val2 ;
15795 int ecode2 = 0 ;
15796 int val3 ;
15797 int ecode3 = 0 ;
15798 PyObject * obj0 = 0 ;
15799 PyObject * obj1 = 0 ;
15800 PyObject * obj2 = 0 ;
15801 char * kwnames[] = {
15802 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15803 };
15804
15805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15807 if (!SWIG_IsOK(res1)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15809 }
15810 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15811 ecode2 = SWIG_AsVal_int(obj1, &val2);
15812 if (!SWIG_IsOK(ecode2)) {
15813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15814 }
15815 arg2 = static_cast< int >(val2);
15816 ecode3 = SWIG_AsVal_int(obj2, &val3);
15817 if (!SWIG_IsOK(ecode3)) {
15818 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15819 }
15820 arg3 = static_cast< int >(val3);
15821 {
15822 PyThreadState* __tstate = wxPyBeginAllowThreads();
15823 (arg1)->SetRange(arg2,arg3);
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 resultobj = SWIG_Py_Void();
15828 return resultobj;
15829 fail:
15830 return NULL;
15831 }
15832
15833
15834 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15835 PyObject *resultobj = 0;
15836 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15837 int result;
15838 void *argp1 = 0 ;
15839 int res1 = 0 ;
15840 PyObject *swig_obj[1] ;
15841
15842 if (!args) SWIG_fail;
15843 swig_obj[0] = args;
15844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15845 if (!SWIG_IsOK(res1)) {
15846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15847 }
15848 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 resultobj = SWIG_From_int(static_cast< int >(result));
15856 return resultobj;
15857 fail:
15858 return NULL;
15859 }
15860
15861
15862 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15863 PyObject *resultobj = 0;
15864 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15865 int result;
15866 void *argp1 = 0 ;
15867 int res1 = 0 ;
15868 PyObject *swig_obj[1] ;
15869
15870 if (!args) SWIG_fail;
15871 swig_obj[0] = args;
15872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15873 if (!SWIG_IsOK(res1)) {
15874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15875 }
15876 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15880 wxPyEndAllowThreads(__tstate);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 }
15883 resultobj = SWIG_From_int(static_cast< int >(result));
15884 return resultobj;
15885 fail:
15886 return NULL;
15887 }
15888
15889
15890 SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15891 PyObject *resultobj = 0;
15892 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15893 long arg2 ;
15894 long arg3 ;
15895 void *argp1 = 0 ;
15896 int res1 = 0 ;
15897 long val2 ;
15898 int ecode2 = 0 ;
15899 long val3 ;
15900 int ecode3 = 0 ;
15901 PyObject * obj0 = 0 ;
15902 PyObject * obj1 = 0 ;
15903 PyObject * obj2 = 0 ;
15904 char * kwnames[] = {
15905 (char *) "self",(char *) "from",(char *) "to", NULL
15906 };
15907
15908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15910 if (!SWIG_IsOK(res1)) {
15911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15912 }
15913 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15914 ecode2 = SWIG_AsVal_long(obj1, &val2);
15915 if (!SWIG_IsOK(ecode2)) {
15916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15917 }
15918 arg2 = static_cast< long >(val2);
15919 ecode3 = SWIG_AsVal_long(obj2, &val3);
15920 if (!SWIG_IsOK(ecode3)) {
15921 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15922 }
15923 arg3 = static_cast< long >(val3);
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 (arg1)->SetSelection(arg2,arg3);
15927 wxPyEndAllowThreads(__tstate);
15928 if (PyErr_Occurred()) SWIG_fail;
15929 }
15930 resultobj = SWIG_Py_Void();
15931 return resultobj;
15932 fail:
15933 return NULL;
15934 }
15935
15936
15937 SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15938 PyObject *resultobj = 0;
15939 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15940 SwigValueWrapper<wxVisualAttributes > result;
15941 int val1 ;
15942 int ecode1 = 0 ;
15943 PyObject * obj0 = 0 ;
15944 char * kwnames[] = {
15945 (char *) "variant", NULL
15946 };
15947
15948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15949 if (obj0) {
15950 ecode1 = SWIG_AsVal_int(obj0, &val1);
15951 if (!SWIG_IsOK(ecode1)) {
15952 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15953 }
15954 arg1 = static_cast< wxWindowVariant >(val1);
15955 }
15956 {
15957 if (!wxPyCheckForApp()) SWIG_fail;
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15960 wxPyEndAllowThreads(__tstate);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15964 return resultobj;
15965 fail:
15966 return NULL;
15967 }
15968
15969
15970 SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15971 PyObject *obj;
15972 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15973 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15974 return SWIG_Py_Void();
15975 }
15976
15977 SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15978 return SWIG_Python_InitShadowInstance(args);
15979 }
15980
15981 SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15982 PyObject *resultobj = 0;
15983 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15984 int arg2 = (int) 0 ;
15985 wxSpinEvent *result = 0 ;
15986 int val1 ;
15987 int ecode1 = 0 ;
15988 int val2 ;
15989 int ecode2 = 0 ;
15990 PyObject * obj0 = 0 ;
15991 PyObject * obj1 = 0 ;
15992 char * kwnames[] = {
15993 (char *) "commandType",(char *) "winid", NULL
15994 };
15995
15996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15997 if (obj0) {
15998 ecode1 = SWIG_AsVal_int(obj0, &val1);
15999 if (!SWIG_IsOK(ecode1)) {
16000 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16001 }
16002 arg1 = static_cast< wxEventType >(val1);
16003 }
16004 if (obj1) {
16005 ecode2 = SWIG_AsVal_int(obj1, &val2);
16006 if (!SWIG_IsOK(ecode2)) {
16007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
16008 }
16009 arg2 = static_cast< int >(val2);
16010 }
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
16014 wxPyEndAllowThreads(__tstate);
16015 if (PyErr_Occurred()) SWIG_fail;
16016 }
16017 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
16018 return resultobj;
16019 fail:
16020 return NULL;
16021 }
16022
16023
16024 SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16025 PyObject *resultobj = 0;
16026 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16027 int result;
16028 void *argp1 = 0 ;
16029 int res1 = 0 ;
16030 PyObject *swig_obj[1] ;
16031
16032 if (!args) SWIG_fail;
16033 swig_obj[0] = args;
16034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16035 if (!SWIG_IsOK(res1)) {
16036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16037 }
16038 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16039 {
16040 PyThreadState* __tstate = wxPyBeginAllowThreads();
16041 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
16042 wxPyEndAllowThreads(__tstate);
16043 if (PyErr_Occurred()) SWIG_fail;
16044 }
16045 resultobj = SWIG_From_int(static_cast< int >(result));
16046 return resultobj;
16047 fail:
16048 return NULL;
16049 }
16050
16051
16052 SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16053 PyObject *resultobj = 0;
16054 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16055 int arg2 ;
16056 void *argp1 = 0 ;
16057 int res1 = 0 ;
16058 int val2 ;
16059 int ecode2 = 0 ;
16060 PyObject * obj0 = 0 ;
16061 PyObject * obj1 = 0 ;
16062 char * kwnames[] = {
16063 (char *) "self",(char *) "pos", NULL
16064 };
16065
16066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16068 if (!SWIG_IsOK(res1)) {
16069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16070 }
16071 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16072 ecode2 = SWIG_AsVal_int(obj1, &val2);
16073 if (!SWIG_IsOK(ecode2)) {
16074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16075 }
16076 arg2 = static_cast< int >(val2);
16077 {
16078 PyThreadState* __tstate = wxPyBeginAllowThreads();
16079 (arg1)->SetPosition(arg2);
16080 wxPyEndAllowThreads(__tstate);
16081 if (PyErr_Occurred()) SWIG_fail;
16082 }
16083 resultobj = SWIG_Py_Void();
16084 return resultobj;
16085 fail:
16086 return NULL;
16087 }
16088
16089
16090 SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16091 PyObject *obj;
16092 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16093 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
16094 return SWIG_Py_Void();
16095 }
16096
16097 SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16098 return SWIG_Python_InitShadowInstance(args);
16099 }
16100
16101 SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
16102 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
16103 return 1;
16104 }
16105
16106
16107 SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
16108 PyObject *pyobj = 0;
16109
16110 {
16111 #if wxUSE_UNICODE
16112 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16113 #else
16114 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16115 #endif
16116 }
16117 return pyobj;
16118 }
16119
16120
16121 SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
16122 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
16123 return 1;
16124 }
16125
16126
16127 SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
16128 PyObject *pyobj = 0;
16129
16130 {
16131 #if wxUSE_UNICODE
16132 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16133 #else
16134 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16135 #endif
16136 }
16137 return pyobj;
16138 }
16139
16140
16141 SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16142 PyObject *resultobj = 0;
16143 wxWindow *arg1 = (wxWindow *) 0 ;
16144 int arg2 = (int) -1 ;
16145 wxString const &arg3_defvalue = wxPyEmptyString ;
16146 wxString *arg3 = (wxString *) &arg3_defvalue ;
16147 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16148 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16149 wxSize const &arg5_defvalue = wxDefaultSize ;
16150 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16151 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16152 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16153 int arg7 = (int) 0 ;
16154 long arg8 = (long) wxRA_HORIZONTAL ;
16155 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16156 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16157 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16158 wxString *arg10 = (wxString *) &arg10_defvalue ;
16159 wxRadioBox *result = 0 ;
16160 void *argp1 = 0 ;
16161 int res1 = 0 ;
16162 int val2 ;
16163 int ecode2 = 0 ;
16164 bool temp3 = false ;
16165 wxPoint temp4 ;
16166 wxSize temp5 ;
16167 bool temp6 = false ;
16168 int val7 ;
16169 int ecode7 = 0 ;
16170 long val8 ;
16171 int ecode8 = 0 ;
16172 void *argp9 = 0 ;
16173 int res9 = 0 ;
16174 bool temp10 = false ;
16175 PyObject * obj0 = 0 ;
16176 PyObject * obj1 = 0 ;
16177 PyObject * obj2 = 0 ;
16178 PyObject * obj3 = 0 ;
16179 PyObject * obj4 = 0 ;
16180 PyObject * obj5 = 0 ;
16181 PyObject * obj6 = 0 ;
16182 PyObject * obj7 = 0 ;
16183 PyObject * obj8 = 0 ;
16184 PyObject * obj9 = 0 ;
16185 char * kwnames[] = {
16186 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16187 };
16188
16189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16191 if (!SWIG_IsOK(res1)) {
16192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16193 }
16194 arg1 = reinterpret_cast< wxWindow * >(argp1);
16195 if (obj1) {
16196 ecode2 = SWIG_AsVal_int(obj1, &val2);
16197 if (!SWIG_IsOK(ecode2)) {
16198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16199 }
16200 arg2 = static_cast< int >(val2);
16201 }
16202 if (obj2) {
16203 {
16204 arg3 = wxString_in_helper(obj2);
16205 if (arg3 == NULL) SWIG_fail;
16206 temp3 = true;
16207 }
16208 }
16209 if (obj3) {
16210 {
16211 arg4 = &temp4;
16212 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16213 }
16214 }
16215 if (obj4) {
16216 {
16217 arg5 = &temp5;
16218 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16219 }
16220 }
16221 if (obj5) {
16222 {
16223 if (! PySequence_Check(obj5)) {
16224 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16225 SWIG_fail;
16226 }
16227 arg6 = new wxArrayString;
16228 temp6 = true;
16229 int i, len=PySequence_Length(obj5);
16230 for (i=0; i<len; i++) {
16231 PyObject* item = PySequence_GetItem(obj5, i);
16232 wxString* s = wxString_in_helper(item);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 arg6->Add(*s);
16235 delete s;
16236 Py_DECREF(item);
16237 }
16238 }
16239 }
16240 if (obj6) {
16241 ecode7 = SWIG_AsVal_int(obj6, &val7);
16242 if (!SWIG_IsOK(ecode7)) {
16243 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16244 }
16245 arg7 = static_cast< int >(val7);
16246 }
16247 if (obj7) {
16248 ecode8 = SWIG_AsVal_long(obj7, &val8);
16249 if (!SWIG_IsOK(ecode8)) {
16250 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16251 }
16252 arg8 = static_cast< long >(val8);
16253 }
16254 if (obj8) {
16255 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16256 if (!SWIG_IsOK(res9)) {
16257 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16258 }
16259 if (!argp9) {
16260 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16261 }
16262 arg9 = reinterpret_cast< wxValidator * >(argp9);
16263 }
16264 if (obj9) {
16265 {
16266 arg10 = wxString_in_helper(obj9);
16267 if (arg10 == NULL) SWIG_fail;
16268 temp10 = true;
16269 }
16270 }
16271 {
16272 if (!wxPyCheckForApp()) SWIG_fail;
16273 PyThreadState* __tstate = wxPyBeginAllowThreads();
16274 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);
16275 wxPyEndAllowThreads(__tstate);
16276 if (PyErr_Occurred()) SWIG_fail;
16277 }
16278 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16279 {
16280 if (temp3)
16281 delete arg3;
16282 }
16283 {
16284 if (temp6) delete arg6;
16285 }
16286 {
16287 if (temp10)
16288 delete arg10;
16289 }
16290 return resultobj;
16291 fail:
16292 {
16293 if (temp3)
16294 delete arg3;
16295 }
16296 {
16297 if (temp6) delete arg6;
16298 }
16299 {
16300 if (temp10)
16301 delete arg10;
16302 }
16303 return NULL;
16304 }
16305
16306
16307 SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16308 PyObject *resultobj = 0;
16309 wxRadioBox *result = 0 ;
16310
16311 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16312 {
16313 if (!wxPyCheckForApp()) SWIG_fail;
16314 PyThreadState* __tstate = wxPyBeginAllowThreads();
16315 result = (wxRadioBox *)new wxRadioBox();
16316 wxPyEndAllowThreads(__tstate);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 }
16319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16320 return resultobj;
16321 fail:
16322 return NULL;
16323 }
16324
16325
16326 SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16327 PyObject *resultobj = 0;
16328 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16329 wxWindow *arg2 = (wxWindow *) 0 ;
16330 int arg3 = (int) -1 ;
16331 wxString const &arg4_defvalue = wxPyEmptyString ;
16332 wxString *arg4 = (wxString *) &arg4_defvalue ;
16333 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16334 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16335 wxSize const &arg6_defvalue = wxDefaultSize ;
16336 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16337 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16338 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16339 int arg8 = (int) 0 ;
16340 long arg9 = (long) wxRA_HORIZONTAL ;
16341 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16342 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16343 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16344 wxString *arg11 = (wxString *) &arg11_defvalue ;
16345 bool result;
16346 void *argp1 = 0 ;
16347 int res1 = 0 ;
16348 void *argp2 = 0 ;
16349 int res2 = 0 ;
16350 int val3 ;
16351 int ecode3 = 0 ;
16352 bool temp4 = false ;
16353 wxPoint temp5 ;
16354 wxSize temp6 ;
16355 bool temp7 = false ;
16356 int val8 ;
16357 int ecode8 = 0 ;
16358 long val9 ;
16359 int ecode9 = 0 ;
16360 void *argp10 = 0 ;
16361 int res10 = 0 ;
16362 bool temp11 = false ;
16363 PyObject * obj0 = 0 ;
16364 PyObject * obj1 = 0 ;
16365 PyObject * obj2 = 0 ;
16366 PyObject * obj3 = 0 ;
16367 PyObject * obj4 = 0 ;
16368 PyObject * obj5 = 0 ;
16369 PyObject * obj6 = 0 ;
16370 PyObject * obj7 = 0 ;
16371 PyObject * obj8 = 0 ;
16372 PyObject * obj9 = 0 ;
16373 PyObject * obj10 = 0 ;
16374 char * kwnames[] = {
16375 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16376 };
16377
16378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16380 if (!SWIG_IsOK(res1)) {
16381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16382 }
16383 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16384 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16385 if (!SWIG_IsOK(res2)) {
16386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16387 }
16388 arg2 = reinterpret_cast< wxWindow * >(argp2);
16389 if (obj2) {
16390 ecode3 = SWIG_AsVal_int(obj2, &val3);
16391 if (!SWIG_IsOK(ecode3)) {
16392 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16393 }
16394 arg3 = static_cast< int >(val3);
16395 }
16396 if (obj3) {
16397 {
16398 arg4 = wxString_in_helper(obj3);
16399 if (arg4 == NULL) SWIG_fail;
16400 temp4 = true;
16401 }
16402 }
16403 if (obj4) {
16404 {
16405 arg5 = &temp5;
16406 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16407 }
16408 }
16409 if (obj5) {
16410 {
16411 arg6 = &temp6;
16412 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16413 }
16414 }
16415 if (obj6) {
16416 {
16417 if (! PySequence_Check(obj6)) {
16418 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16419 SWIG_fail;
16420 }
16421 arg7 = new wxArrayString;
16422 temp7 = true;
16423 int i, len=PySequence_Length(obj6);
16424 for (i=0; i<len; i++) {
16425 PyObject* item = PySequence_GetItem(obj6, i);
16426 wxString* s = wxString_in_helper(item);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 arg7->Add(*s);
16429 delete s;
16430 Py_DECREF(item);
16431 }
16432 }
16433 }
16434 if (obj7) {
16435 ecode8 = SWIG_AsVal_int(obj7, &val8);
16436 if (!SWIG_IsOK(ecode8)) {
16437 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16438 }
16439 arg8 = static_cast< int >(val8);
16440 }
16441 if (obj8) {
16442 ecode9 = SWIG_AsVal_long(obj8, &val9);
16443 if (!SWIG_IsOK(ecode9)) {
16444 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16445 }
16446 arg9 = static_cast< long >(val9);
16447 }
16448 if (obj9) {
16449 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16450 if (!SWIG_IsOK(res10)) {
16451 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16452 }
16453 if (!argp10) {
16454 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16455 }
16456 arg10 = reinterpret_cast< wxValidator * >(argp10);
16457 }
16458 if (obj10) {
16459 {
16460 arg11 = wxString_in_helper(obj10);
16461 if (arg11 == NULL) SWIG_fail;
16462 temp11 = true;
16463 }
16464 }
16465 {
16466 PyThreadState* __tstate = wxPyBeginAllowThreads();
16467 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);
16468 wxPyEndAllowThreads(__tstate);
16469 if (PyErr_Occurred()) SWIG_fail;
16470 }
16471 {
16472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16473 }
16474 {
16475 if (temp4)
16476 delete arg4;
16477 }
16478 {
16479 if (temp7) delete arg7;
16480 }
16481 {
16482 if (temp11)
16483 delete arg11;
16484 }
16485 return resultobj;
16486 fail:
16487 {
16488 if (temp4)
16489 delete arg4;
16490 }
16491 {
16492 if (temp7) delete arg7;
16493 }
16494 {
16495 if (temp11)
16496 delete arg11;
16497 }
16498 return NULL;
16499 }
16500
16501
16502 SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16503 PyObject *resultobj = 0;
16504 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16505 int arg2 ;
16506 void *argp1 = 0 ;
16507 int res1 = 0 ;
16508 int val2 ;
16509 int ecode2 = 0 ;
16510 PyObject * obj0 = 0 ;
16511 PyObject * obj1 = 0 ;
16512 char * kwnames[] = {
16513 (char *) "self",(char *) "n", NULL
16514 };
16515
16516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16518 if (!SWIG_IsOK(res1)) {
16519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16520 }
16521 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16522 ecode2 = SWIG_AsVal_int(obj1, &val2);
16523 if (!SWIG_IsOK(ecode2)) {
16524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16525 }
16526 arg2 = static_cast< int >(val2);
16527 {
16528 PyThreadState* __tstate = wxPyBeginAllowThreads();
16529 (arg1)->SetSelection(arg2);
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 resultobj = SWIG_Py_Void();
16534 return resultobj;
16535 fail:
16536 return NULL;
16537 }
16538
16539
16540 SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16541 PyObject *resultobj = 0;
16542 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16543 int result;
16544 void *argp1 = 0 ;
16545 int res1 = 0 ;
16546 PyObject *swig_obj[1] ;
16547
16548 if (!args) SWIG_fail;
16549 swig_obj[0] = args;
16550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16551 if (!SWIG_IsOK(res1)) {
16552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16553 }
16554 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16555 {
16556 PyThreadState* __tstate = wxPyBeginAllowThreads();
16557 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16558 wxPyEndAllowThreads(__tstate);
16559 if (PyErr_Occurred()) SWIG_fail;
16560 }
16561 resultobj = SWIG_From_int(static_cast< int >(result));
16562 return resultobj;
16563 fail:
16564 return NULL;
16565 }
16566
16567
16568 SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16569 PyObject *resultobj = 0;
16570 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16571 wxString result;
16572 void *argp1 = 0 ;
16573 int res1 = 0 ;
16574 PyObject *swig_obj[1] ;
16575
16576 if (!args) SWIG_fail;
16577 swig_obj[0] = args;
16578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16579 if (!SWIG_IsOK(res1)) {
16580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16581 }
16582 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16583 {
16584 PyThreadState* __tstate = wxPyBeginAllowThreads();
16585 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16586 wxPyEndAllowThreads(__tstate);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 }
16589 {
16590 #if wxUSE_UNICODE
16591 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16592 #else
16593 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16594 #endif
16595 }
16596 return resultobj;
16597 fail:
16598 return NULL;
16599 }
16600
16601
16602 SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16603 PyObject *resultobj = 0;
16604 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16605 wxString *arg2 = 0 ;
16606 bool result;
16607 void *argp1 = 0 ;
16608 int res1 = 0 ;
16609 bool temp2 = false ;
16610 PyObject * obj0 = 0 ;
16611 PyObject * obj1 = 0 ;
16612 char * kwnames[] = {
16613 (char *) "self",(char *) "s", NULL
16614 };
16615
16616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16618 if (!SWIG_IsOK(res1)) {
16619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16620 }
16621 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16622 {
16623 arg2 = wxString_in_helper(obj1);
16624 if (arg2 == NULL) SWIG_fail;
16625 temp2 = true;
16626 }
16627 {
16628 PyThreadState* __tstate = wxPyBeginAllowThreads();
16629 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16630 wxPyEndAllowThreads(__tstate);
16631 if (PyErr_Occurred()) SWIG_fail;
16632 }
16633 {
16634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16635 }
16636 {
16637 if (temp2)
16638 delete arg2;
16639 }
16640 return resultobj;
16641 fail:
16642 {
16643 if (temp2)
16644 delete arg2;
16645 }
16646 return NULL;
16647 }
16648
16649
16650 SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16651 PyObject *resultobj = 0;
16652 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16653 size_t result;
16654 void *argp1 = 0 ;
16655 int res1 = 0 ;
16656 PyObject *swig_obj[1] ;
16657
16658 if (!args) SWIG_fail;
16659 swig_obj[0] = args;
16660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16661 if (!SWIG_IsOK(res1)) {
16662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16663 }
16664 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16672 return resultobj;
16673 fail:
16674 return NULL;
16675 }
16676
16677
16678 SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16679 PyObject *resultobj = 0;
16680 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16681 wxString *arg2 = 0 ;
16682 int result;
16683 void *argp1 = 0 ;
16684 int res1 = 0 ;
16685 bool temp2 = false ;
16686 PyObject * obj0 = 0 ;
16687 PyObject * obj1 = 0 ;
16688 char * kwnames[] = {
16689 (char *) "self",(char *) "s", NULL
16690 };
16691
16692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16694 if (!SWIG_IsOK(res1)) {
16695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16696 }
16697 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16698 {
16699 arg2 = wxString_in_helper(obj1);
16700 if (arg2 == NULL) SWIG_fail;
16701 temp2 = true;
16702 }
16703 {
16704 PyThreadState* __tstate = wxPyBeginAllowThreads();
16705 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16706 wxPyEndAllowThreads(__tstate);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 resultobj = SWIG_From_int(static_cast< int >(result));
16710 {
16711 if (temp2)
16712 delete arg2;
16713 }
16714 return resultobj;
16715 fail:
16716 {
16717 if (temp2)
16718 delete arg2;
16719 }
16720 return NULL;
16721 }
16722
16723
16724 SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16725 PyObject *resultobj = 0;
16726 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16727 int arg2 ;
16728 wxString result;
16729 void *argp1 = 0 ;
16730 int res1 = 0 ;
16731 int val2 ;
16732 int ecode2 = 0 ;
16733 PyObject * obj0 = 0 ;
16734 PyObject * obj1 = 0 ;
16735 char * kwnames[] = {
16736 (char *) "self",(char *) "n", NULL
16737 };
16738
16739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16741 if (!SWIG_IsOK(res1)) {
16742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16743 }
16744 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16745 ecode2 = SWIG_AsVal_int(obj1, &val2);
16746 if (!SWIG_IsOK(ecode2)) {
16747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16748 }
16749 arg2 = static_cast< int >(val2);
16750 {
16751 PyThreadState* __tstate = wxPyBeginAllowThreads();
16752 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16753 wxPyEndAllowThreads(__tstate);
16754 if (PyErr_Occurred()) SWIG_fail;
16755 }
16756 {
16757 #if wxUSE_UNICODE
16758 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16759 #else
16760 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16761 #endif
16762 }
16763 return resultobj;
16764 fail:
16765 return NULL;
16766 }
16767
16768
16769 SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16770 PyObject *resultobj = 0;
16771 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16772 int arg2 ;
16773 wxString *arg3 = 0 ;
16774 void *argp1 = 0 ;
16775 int res1 = 0 ;
16776 int val2 ;
16777 int ecode2 = 0 ;
16778 bool temp3 = false ;
16779 PyObject * obj0 = 0 ;
16780 PyObject * obj1 = 0 ;
16781 PyObject * obj2 = 0 ;
16782 char * kwnames[] = {
16783 (char *) "self",(char *) "n",(char *) "label", NULL
16784 };
16785
16786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16788 if (!SWIG_IsOK(res1)) {
16789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16790 }
16791 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16792 ecode2 = SWIG_AsVal_int(obj1, &val2);
16793 if (!SWIG_IsOK(ecode2)) {
16794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16795 }
16796 arg2 = static_cast< int >(val2);
16797 {
16798 arg3 = wxString_in_helper(obj2);
16799 if (arg3 == NULL) SWIG_fail;
16800 temp3 = true;
16801 }
16802 {
16803 PyThreadState* __tstate = wxPyBeginAllowThreads();
16804 (arg1)->SetString(arg2,(wxString const &)*arg3);
16805 wxPyEndAllowThreads(__tstate);
16806 if (PyErr_Occurred()) SWIG_fail;
16807 }
16808 resultobj = SWIG_Py_Void();
16809 {
16810 if (temp3)
16811 delete arg3;
16812 }
16813 return resultobj;
16814 fail:
16815 {
16816 if (temp3)
16817 delete arg3;
16818 }
16819 return NULL;
16820 }
16821
16822
16823 SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16824 PyObject *resultobj = 0;
16825 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16826 unsigned int arg2 ;
16827 bool arg3 = (bool) true ;
16828 void *argp1 = 0 ;
16829 int res1 = 0 ;
16830 unsigned int val2 ;
16831 int ecode2 = 0 ;
16832 bool val3 ;
16833 int ecode3 = 0 ;
16834 PyObject * obj0 = 0 ;
16835 PyObject * obj1 = 0 ;
16836 PyObject * obj2 = 0 ;
16837 char * kwnames[] = {
16838 (char *) "self",(char *) "n",(char *) "enable", NULL
16839 };
16840
16841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16843 if (!SWIG_IsOK(res1)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16845 }
16846 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16847 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16848 if (!SWIG_IsOK(ecode2)) {
16849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16850 }
16851 arg2 = static_cast< unsigned int >(val2);
16852 if (obj2) {
16853 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16854 if (!SWIG_IsOK(ecode3)) {
16855 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16856 }
16857 arg3 = static_cast< bool >(val3);
16858 }
16859 {
16860 PyThreadState* __tstate = wxPyBeginAllowThreads();
16861 (arg1)->Enable(arg2,arg3);
16862 wxPyEndAllowThreads(__tstate);
16863 if (PyErr_Occurred()) SWIG_fail;
16864 }
16865 resultobj = SWIG_Py_Void();
16866 return resultobj;
16867 fail:
16868 return NULL;
16869 }
16870
16871
16872 SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16873 PyObject *resultobj = 0;
16874 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16875 unsigned int arg2 ;
16876 bool arg3 = (bool) true ;
16877 void *argp1 = 0 ;
16878 int res1 = 0 ;
16879 unsigned int val2 ;
16880 int ecode2 = 0 ;
16881 bool val3 ;
16882 int ecode3 = 0 ;
16883 PyObject * obj0 = 0 ;
16884 PyObject * obj1 = 0 ;
16885 PyObject * obj2 = 0 ;
16886 char * kwnames[] = {
16887 (char *) "self",(char *) "n",(char *) "show", NULL
16888 };
16889
16890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16892 if (!SWIG_IsOK(res1)) {
16893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16894 }
16895 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16896 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16897 if (!SWIG_IsOK(ecode2)) {
16898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16899 }
16900 arg2 = static_cast< unsigned int >(val2);
16901 if (obj2) {
16902 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16903 if (!SWIG_IsOK(ecode3)) {
16904 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16905 }
16906 arg3 = static_cast< bool >(val3);
16907 }
16908 {
16909 PyThreadState* __tstate = wxPyBeginAllowThreads();
16910 (arg1)->Show(arg2,arg3);
16911 wxPyEndAllowThreads(__tstate);
16912 if (PyErr_Occurred()) SWIG_fail;
16913 }
16914 resultobj = SWIG_Py_Void();
16915 return resultobj;
16916 fail:
16917 return NULL;
16918 }
16919
16920
16921 SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16922 PyObject *resultobj = 0;
16923 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16924 unsigned int arg2 ;
16925 bool result;
16926 void *argp1 = 0 ;
16927 int res1 = 0 ;
16928 unsigned int val2 ;
16929 int ecode2 = 0 ;
16930 PyObject * obj0 = 0 ;
16931 PyObject * obj1 = 0 ;
16932 char * kwnames[] = {
16933 (char *) "self",(char *) "n", NULL
16934 };
16935
16936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16938 if (!SWIG_IsOK(res1)) {
16939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16940 }
16941 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16942 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16943 if (!SWIG_IsOK(ecode2)) {
16944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16945 }
16946 arg2 = static_cast< unsigned int >(val2);
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
16949 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16950 wxPyEndAllowThreads(__tstate);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 }
16953 {
16954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16955 }
16956 return resultobj;
16957 fail:
16958 return NULL;
16959 }
16960
16961
16962 SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16963 PyObject *resultobj = 0;
16964 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16965 unsigned int arg2 ;
16966 bool result;
16967 void *argp1 = 0 ;
16968 int res1 = 0 ;
16969 unsigned int val2 ;
16970 int ecode2 = 0 ;
16971 PyObject * obj0 = 0 ;
16972 PyObject * obj1 = 0 ;
16973 char * kwnames[] = {
16974 (char *) "self",(char *) "n", NULL
16975 };
16976
16977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16979 if (!SWIG_IsOK(res1)) {
16980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16981 }
16982 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16983 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16984 if (!SWIG_IsOK(ecode2)) {
16985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16986 }
16987 arg2 = static_cast< unsigned int >(val2);
16988 {
16989 PyThreadState* __tstate = wxPyBeginAllowThreads();
16990 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16991 wxPyEndAllowThreads(__tstate);
16992 if (PyErr_Occurred()) SWIG_fail;
16993 }
16994 {
16995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16996 }
16997 return resultobj;
16998 fail:
16999 return NULL;
17000 }
17001
17002
17003 SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17004 PyObject *resultobj = 0;
17005 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17006 unsigned int result;
17007 void *argp1 = 0 ;
17008 int res1 = 0 ;
17009 PyObject *swig_obj[1] ;
17010
17011 if (!args) SWIG_fail;
17012 swig_obj[0] = args;
17013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17014 if (!SWIG_IsOK(res1)) {
17015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17016 }
17017 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17018 {
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
17021 wxPyEndAllowThreads(__tstate);
17022 if (PyErr_Occurred()) SWIG_fail;
17023 }
17024 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
17025 return resultobj;
17026 fail:
17027 return NULL;
17028 }
17029
17030
17031 SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17032 PyObject *resultobj = 0;
17033 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17034 unsigned int result;
17035 void *argp1 = 0 ;
17036 int res1 = 0 ;
17037 PyObject *swig_obj[1] ;
17038
17039 if (!args) SWIG_fail;
17040 swig_obj[0] = args;
17041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17042 if (!SWIG_IsOK(res1)) {
17043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17044 }
17045 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17046 {
17047 PyThreadState* __tstate = wxPyBeginAllowThreads();
17048 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
17049 wxPyEndAllowThreads(__tstate);
17050 if (PyErr_Occurred()) SWIG_fail;
17051 }
17052 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
17053 return resultobj;
17054 fail:
17055 return NULL;
17056 }
17057
17058
17059 SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17060 PyObject *resultobj = 0;
17061 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17062 int arg2 ;
17063 wxDirection arg3 ;
17064 long arg4 ;
17065 int result;
17066 void *argp1 = 0 ;
17067 int res1 = 0 ;
17068 int val2 ;
17069 int ecode2 = 0 ;
17070 int val3 ;
17071 int ecode3 = 0 ;
17072 long val4 ;
17073 int ecode4 = 0 ;
17074 PyObject * obj0 = 0 ;
17075 PyObject * obj1 = 0 ;
17076 PyObject * obj2 = 0 ;
17077 PyObject * obj3 = 0 ;
17078 char * kwnames[] = {
17079 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17080 };
17081
17082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17084 if (!SWIG_IsOK(res1)) {
17085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17086 }
17087 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17088 ecode2 = SWIG_AsVal_int(obj1, &val2);
17089 if (!SWIG_IsOK(ecode2)) {
17090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17091 }
17092 arg2 = static_cast< int >(val2);
17093 ecode3 = SWIG_AsVal_int(obj2, &val3);
17094 if (!SWIG_IsOK(ecode3)) {
17095 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17096 }
17097 arg3 = static_cast< wxDirection >(val3);
17098 ecode4 = SWIG_AsVal_long(obj3, &val4);
17099 if (!SWIG_IsOK(ecode4)) {
17100 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17101 }
17102 arg4 = static_cast< long >(val4);
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
17106 wxPyEndAllowThreads(__tstate);
17107 if (PyErr_Occurred()) SWIG_fail;
17108 }
17109 resultobj = SWIG_From_int(static_cast< int >(result));
17110 return resultobj;
17111 fail:
17112 return NULL;
17113 }
17114
17115
17116 SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17117 PyObject *resultobj = 0;
17118 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17119 unsigned int arg2 ;
17120 wxString *arg3 = 0 ;
17121 void *argp1 = 0 ;
17122 int res1 = 0 ;
17123 unsigned int val2 ;
17124 int ecode2 = 0 ;
17125 bool temp3 = false ;
17126 PyObject * obj0 = 0 ;
17127 PyObject * obj1 = 0 ;
17128 PyObject * obj2 = 0 ;
17129 char * kwnames[] = {
17130 (char *) "self",(char *) "item",(char *) "text", NULL
17131 };
17132
17133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17135 if (!SWIG_IsOK(res1)) {
17136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17137 }
17138 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17139 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17140 if (!SWIG_IsOK(ecode2)) {
17141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17142 }
17143 arg2 = static_cast< unsigned int >(val2);
17144 {
17145 arg3 = wxString_in_helper(obj2);
17146 if (arg3 == NULL) SWIG_fail;
17147 temp3 = true;
17148 }
17149 {
17150 PyThreadState* __tstate = wxPyBeginAllowThreads();
17151 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
17152 wxPyEndAllowThreads(__tstate);
17153 if (PyErr_Occurred()) SWIG_fail;
17154 }
17155 resultobj = SWIG_Py_Void();
17156 {
17157 if (temp3)
17158 delete arg3;
17159 }
17160 return resultobj;
17161 fail:
17162 {
17163 if (temp3)
17164 delete arg3;
17165 }
17166 return NULL;
17167 }
17168
17169
17170 SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17171 PyObject *resultobj = 0;
17172 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17173 unsigned int arg2 ;
17174 wxToolTip *result = 0 ;
17175 void *argp1 = 0 ;
17176 int res1 = 0 ;
17177 unsigned int val2 ;
17178 int ecode2 = 0 ;
17179 PyObject * obj0 = 0 ;
17180 PyObject * obj1 = 0 ;
17181 char * kwnames[] = {
17182 (char *) "self",(char *) "item", NULL
17183 };
17184
17185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17187 if (!SWIG_IsOK(res1)) {
17188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17189 }
17190 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17191 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17192 if (!SWIG_IsOK(ecode2)) {
17193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17194 }
17195 arg2 = static_cast< unsigned int >(val2);
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17199 wxPyEndAllowThreads(__tstate);
17200 if (PyErr_Occurred()) SWIG_fail;
17201 }
17202 {
17203 resultobj = wxPyMake_wxObject(result, (bool)0);
17204 }
17205 return resultobj;
17206 fail:
17207 return NULL;
17208 }
17209
17210
17211 SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17212 PyObject *resultobj = 0;
17213 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17214 unsigned int arg2 ;
17215 wxString *arg3 = 0 ;
17216 void *argp1 = 0 ;
17217 int res1 = 0 ;
17218 unsigned int val2 ;
17219 int ecode2 = 0 ;
17220 bool temp3 = false ;
17221 PyObject * obj0 = 0 ;
17222 PyObject * obj1 = 0 ;
17223 PyObject * obj2 = 0 ;
17224 char * kwnames[] = {
17225 (char *) "self",(char *) "n",(char *) "helpText", NULL
17226 };
17227
17228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17230 if (!SWIG_IsOK(res1)) {
17231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17232 }
17233 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17234 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17235 if (!SWIG_IsOK(ecode2)) {
17236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17237 }
17238 arg2 = static_cast< unsigned int >(val2);
17239 {
17240 arg3 = wxString_in_helper(obj2);
17241 if (arg3 == NULL) SWIG_fail;
17242 temp3 = true;
17243 }
17244 {
17245 PyThreadState* __tstate = wxPyBeginAllowThreads();
17246 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17247 wxPyEndAllowThreads(__tstate);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 resultobj = SWIG_Py_Void();
17251 {
17252 if (temp3)
17253 delete arg3;
17254 }
17255 return resultobj;
17256 fail:
17257 {
17258 if (temp3)
17259 delete arg3;
17260 }
17261 return NULL;
17262 }
17263
17264
17265 SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17266 PyObject *resultobj = 0;
17267 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17268 unsigned int arg2 ;
17269 wxString result;
17270 void *argp1 = 0 ;
17271 int res1 = 0 ;
17272 unsigned int val2 ;
17273 int ecode2 = 0 ;
17274 PyObject * obj0 = 0 ;
17275 PyObject * obj1 = 0 ;
17276 char * kwnames[] = {
17277 (char *) "self",(char *) "n", NULL
17278 };
17279
17280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17282 if (!SWIG_IsOK(res1)) {
17283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17284 }
17285 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17286 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17287 if (!SWIG_IsOK(ecode2)) {
17288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17289 }
17290 arg2 = static_cast< unsigned int >(val2);
17291 {
17292 PyThreadState* __tstate = wxPyBeginAllowThreads();
17293 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17294 wxPyEndAllowThreads(__tstate);
17295 if (PyErr_Occurred()) SWIG_fail;
17296 }
17297 {
17298 #if wxUSE_UNICODE
17299 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17300 #else
17301 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17302 #endif
17303 }
17304 return resultobj;
17305 fail:
17306 return NULL;
17307 }
17308
17309
17310 SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17311 PyObject *resultobj = 0;
17312 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17313 SwigValueWrapper<wxVisualAttributes > result;
17314 int val1 ;
17315 int ecode1 = 0 ;
17316 PyObject * obj0 = 0 ;
17317 char * kwnames[] = {
17318 (char *) "variant", NULL
17319 };
17320
17321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17322 if (obj0) {
17323 ecode1 = SWIG_AsVal_int(obj0, &val1);
17324 if (!SWIG_IsOK(ecode1)) {
17325 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17326 }
17327 arg1 = static_cast< wxWindowVariant >(val1);
17328 }
17329 {
17330 if (!wxPyCheckForApp()) SWIG_fail;
17331 PyThreadState* __tstate = wxPyBeginAllowThreads();
17332 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17337 return resultobj;
17338 fail:
17339 return NULL;
17340 }
17341
17342
17343 SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17344 PyObject *obj;
17345 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17346 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17347 return SWIG_Py_Void();
17348 }
17349
17350 SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17351 return SWIG_Python_InitShadowInstance(args);
17352 }
17353
17354 SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17355 PyObject *resultobj = 0;
17356 wxWindow *arg1 = (wxWindow *) 0 ;
17357 int arg2 = (int) -1 ;
17358 wxString const &arg3_defvalue = wxPyEmptyString ;
17359 wxString *arg3 = (wxString *) &arg3_defvalue ;
17360 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17361 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17362 wxSize const &arg5_defvalue = wxDefaultSize ;
17363 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17364 long arg6 = (long) 0 ;
17365 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17366 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17367 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17368 wxString *arg8 = (wxString *) &arg8_defvalue ;
17369 wxRadioButton *result = 0 ;
17370 void *argp1 = 0 ;
17371 int res1 = 0 ;
17372 int val2 ;
17373 int ecode2 = 0 ;
17374 bool temp3 = false ;
17375 wxPoint temp4 ;
17376 wxSize temp5 ;
17377 long val6 ;
17378 int ecode6 = 0 ;
17379 void *argp7 = 0 ;
17380 int res7 = 0 ;
17381 bool temp8 = false ;
17382 PyObject * obj0 = 0 ;
17383 PyObject * obj1 = 0 ;
17384 PyObject * obj2 = 0 ;
17385 PyObject * obj3 = 0 ;
17386 PyObject * obj4 = 0 ;
17387 PyObject * obj5 = 0 ;
17388 PyObject * obj6 = 0 ;
17389 PyObject * obj7 = 0 ;
17390 char * kwnames[] = {
17391 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17392 };
17393
17394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17396 if (!SWIG_IsOK(res1)) {
17397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17398 }
17399 arg1 = reinterpret_cast< wxWindow * >(argp1);
17400 if (obj1) {
17401 ecode2 = SWIG_AsVal_int(obj1, &val2);
17402 if (!SWIG_IsOK(ecode2)) {
17403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17404 }
17405 arg2 = static_cast< int >(val2);
17406 }
17407 if (obj2) {
17408 {
17409 arg3 = wxString_in_helper(obj2);
17410 if (arg3 == NULL) SWIG_fail;
17411 temp3 = true;
17412 }
17413 }
17414 if (obj3) {
17415 {
17416 arg4 = &temp4;
17417 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17418 }
17419 }
17420 if (obj4) {
17421 {
17422 arg5 = &temp5;
17423 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17424 }
17425 }
17426 if (obj5) {
17427 ecode6 = SWIG_AsVal_long(obj5, &val6);
17428 if (!SWIG_IsOK(ecode6)) {
17429 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17430 }
17431 arg6 = static_cast< long >(val6);
17432 }
17433 if (obj6) {
17434 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17435 if (!SWIG_IsOK(res7)) {
17436 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17437 }
17438 if (!argp7) {
17439 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17440 }
17441 arg7 = reinterpret_cast< wxValidator * >(argp7);
17442 }
17443 if (obj7) {
17444 {
17445 arg8 = wxString_in_helper(obj7);
17446 if (arg8 == NULL) SWIG_fail;
17447 temp8 = true;
17448 }
17449 }
17450 {
17451 if (!wxPyCheckForApp()) SWIG_fail;
17452 PyThreadState* __tstate = wxPyBeginAllowThreads();
17453 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17454 wxPyEndAllowThreads(__tstate);
17455 if (PyErr_Occurred()) SWIG_fail;
17456 }
17457 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17458 {
17459 if (temp3)
17460 delete arg3;
17461 }
17462 {
17463 if (temp8)
17464 delete arg8;
17465 }
17466 return resultobj;
17467 fail:
17468 {
17469 if (temp3)
17470 delete arg3;
17471 }
17472 {
17473 if (temp8)
17474 delete arg8;
17475 }
17476 return NULL;
17477 }
17478
17479
17480 SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17481 PyObject *resultobj = 0;
17482 wxRadioButton *result = 0 ;
17483
17484 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17485 {
17486 if (!wxPyCheckForApp()) SWIG_fail;
17487 PyThreadState* __tstate = wxPyBeginAllowThreads();
17488 result = (wxRadioButton *)new wxRadioButton();
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17493 return resultobj;
17494 fail:
17495 return NULL;
17496 }
17497
17498
17499 SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj = 0;
17501 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17502 wxWindow *arg2 = (wxWindow *) 0 ;
17503 int arg3 = (int) -1 ;
17504 wxString const &arg4_defvalue = wxPyEmptyString ;
17505 wxString *arg4 = (wxString *) &arg4_defvalue ;
17506 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17507 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17508 wxSize const &arg6_defvalue = wxDefaultSize ;
17509 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17510 long arg7 = (long) 0 ;
17511 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17512 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17513 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17514 wxString *arg9 = (wxString *) &arg9_defvalue ;
17515 bool result;
17516 void *argp1 = 0 ;
17517 int res1 = 0 ;
17518 void *argp2 = 0 ;
17519 int res2 = 0 ;
17520 int val3 ;
17521 int ecode3 = 0 ;
17522 bool temp4 = false ;
17523 wxPoint temp5 ;
17524 wxSize temp6 ;
17525 long val7 ;
17526 int ecode7 = 0 ;
17527 void *argp8 = 0 ;
17528 int res8 = 0 ;
17529 bool temp9 = false ;
17530 PyObject * obj0 = 0 ;
17531 PyObject * obj1 = 0 ;
17532 PyObject * obj2 = 0 ;
17533 PyObject * obj3 = 0 ;
17534 PyObject * obj4 = 0 ;
17535 PyObject * obj5 = 0 ;
17536 PyObject * obj6 = 0 ;
17537 PyObject * obj7 = 0 ;
17538 PyObject * obj8 = 0 ;
17539 char * kwnames[] = {
17540 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17541 };
17542
17543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17545 if (!SWIG_IsOK(res1)) {
17546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17547 }
17548 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17549 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17550 if (!SWIG_IsOK(res2)) {
17551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17552 }
17553 arg2 = reinterpret_cast< wxWindow * >(argp2);
17554 if (obj2) {
17555 ecode3 = SWIG_AsVal_int(obj2, &val3);
17556 if (!SWIG_IsOK(ecode3)) {
17557 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17558 }
17559 arg3 = static_cast< int >(val3);
17560 }
17561 if (obj3) {
17562 {
17563 arg4 = wxString_in_helper(obj3);
17564 if (arg4 == NULL) SWIG_fail;
17565 temp4 = true;
17566 }
17567 }
17568 if (obj4) {
17569 {
17570 arg5 = &temp5;
17571 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17572 }
17573 }
17574 if (obj5) {
17575 {
17576 arg6 = &temp6;
17577 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17578 }
17579 }
17580 if (obj6) {
17581 ecode7 = SWIG_AsVal_long(obj6, &val7);
17582 if (!SWIG_IsOK(ecode7)) {
17583 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17584 }
17585 arg7 = static_cast< long >(val7);
17586 }
17587 if (obj7) {
17588 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17589 if (!SWIG_IsOK(res8)) {
17590 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17591 }
17592 if (!argp8) {
17593 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17594 }
17595 arg8 = reinterpret_cast< wxValidator * >(argp8);
17596 }
17597 if (obj8) {
17598 {
17599 arg9 = wxString_in_helper(obj8);
17600 if (arg9 == NULL) SWIG_fail;
17601 temp9 = true;
17602 }
17603 }
17604 {
17605 PyThreadState* __tstate = wxPyBeginAllowThreads();
17606 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 {
17611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17612 }
17613 {
17614 if (temp4)
17615 delete arg4;
17616 }
17617 {
17618 if (temp9)
17619 delete arg9;
17620 }
17621 return resultobj;
17622 fail:
17623 {
17624 if (temp4)
17625 delete arg4;
17626 }
17627 {
17628 if (temp9)
17629 delete arg9;
17630 }
17631 return NULL;
17632 }
17633
17634
17635 SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17636 PyObject *resultobj = 0;
17637 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17638 bool result;
17639 void *argp1 = 0 ;
17640 int res1 = 0 ;
17641 PyObject *swig_obj[1] ;
17642
17643 if (!args) SWIG_fail;
17644 swig_obj[0] = args;
17645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17646 if (!SWIG_IsOK(res1)) {
17647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17648 }
17649 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17650 {
17651 PyThreadState* __tstate = wxPyBeginAllowThreads();
17652 result = (bool)(arg1)->GetValue();
17653 wxPyEndAllowThreads(__tstate);
17654 if (PyErr_Occurred()) SWIG_fail;
17655 }
17656 {
17657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17658 }
17659 return resultobj;
17660 fail:
17661 return NULL;
17662 }
17663
17664
17665 SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17666 PyObject *resultobj = 0;
17667 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17668 bool arg2 ;
17669 void *argp1 = 0 ;
17670 int res1 = 0 ;
17671 bool val2 ;
17672 int ecode2 = 0 ;
17673 PyObject * obj0 = 0 ;
17674 PyObject * obj1 = 0 ;
17675 char * kwnames[] = {
17676 (char *) "self",(char *) "value", NULL
17677 };
17678
17679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17681 if (!SWIG_IsOK(res1)) {
17682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17683 }
17684 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17685 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17686 if (!SWIG_IsOK(ecode2)) {
17687 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17688 }
17689 arg2 = static_cast< bool >(val2);
17690 {
17691 PyThreadState* __tstate = wxPyBeginAllowThreads();
17692 (arg1)->SetValue(arg2);
17693 wxPyEndAllowThreads(__tstate);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
17696 resultobj = SWIG_Py_Void();
17697 return resultobj;
17698 fail:
17699 return NULL;
17700 }
17701
17702
17703 SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17704 PyObject *resultobj = 0;
17705 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17706 SwigValueWrapper<wxVisualAttributes > result;
17707 int val1 ;
17708 int ecode1 = 0 ;
17709 PyObject * obj0 = 0 ;
17710 char * kwnames[] = {
17711 (char *) "variant", NULL
17712 };
17713
17714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17715 if (obj0) {
17716 ecode1 = SWIG_AsVal_int(obj0, &val1);
17717 if (!SWIG_IsOK(ecode1)) {
17718 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17719 }
17720 arg1 = static_cast< wxWindowVariant >(val1);
17721 }
17722 {
17723 if (!wxPyCheckForApp()) SWIG_fail;
17724 PyThreadState* __tstate = wxPyBeginAllowThreads();
17725 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17726 wxPyEndAllowThreads(__tstate);
17727 if (PyErr_Occurred()) SWIG_fail;
17728 }
17729 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17730 return resultobj;
17731 fail:
17732 return NULL;
17733 }
17734
17735
17736 SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17737 PyObject *obj;
17738 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17739 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17740 return SWIG_Py_Void();
17741 }
17742
17743 SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17744 return SWIG_Python_InitShadowInstance(args);
17745 }
17746
17747 SWIGINTERN int SliderNameStr_set(PyObject *) {
17748 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17749 return 1;
17750 }
17751
17752
17753 SWIGINTERN PyObject *SliderNameStr_get(void) {
17754 PyObject *pyobj = 0;
17755
17756 {
17757 #if wxUSE_UNICODE
17758 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17759 #else
17760 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17761 #endif
17762 }
17763 return pyobj;
17764 }
17765
17766
17767 SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17768 PyObject *resultobj = 0;
17769 wxWindow *arg1 = (wxWindow *) 0 ;
17770 int arg2 = (int) -1 ;
17771 int arg3 = (int) 0 ;
17772 int arg4 = (int) 0 ;
17773 int arg5 = (int) 100 ;
17774 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17775 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17776 wxSize const &arg7_defvalue = wxDefaultSize ;
17777 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17778 long arg8 = (long) wxSL_HORIZONTAL ;
17779 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17780 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17781 wxString const &arg10_defvalue = wxPySliderNameStr ;
17782 wxString *arg10 = (wxString *) &arg10_defvalue ;
17783 wxSlider *result = 0 ;
17784 void *argp1 = 0 ;
17785 int res1 = 0 ;
17786 int val2 ;
17787 int ecode2 = 0 ;
17788 int val3 ;
17789 int ecode3 = 0 ;
17790 int val4 ;
17791 int ecode4 = 0 ;
17792 int val5 ;
17793 int ecode5 = 0 ;
17794 wxPoint temp6 ;
17795 wxSize temp7 ;
17796 long val8 ;
17797 int ecode8 = 0 ;
17798 void *argp9 = 0 ;
17799 int res9 = 0 ;
17800 bool temp10 = false ;
17801 PyObject * obj0 = 0 ;
17802 PyObject * obj1 = 0 ;
17803 PyObject * obj2 = 0 ;
17804 PyObject * obj3 = 0 ;
17805 PyObject * obj4 = 0 ;
17806 PyObject * obj5 = 0 ;
17807 PyObject * obj6 = 0 ;
17808 PyObject * obj7 = 0 ;
17809 PyObject * obj8 = 0 ;
17810 PyObject * obj9 = 0 ;
17811 char * kwnames[] = {
17812 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17813 };
17814
17815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17817 if (!SWIG_IsOK(res1)) {
17818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17819 }
17820 arg1 = reinterpret_cast< wxWindow * >(argp1);
17821 if (obj1) {
17822 ecode2 = SWIG_AsVal_int(obj1, &val2);
17823 if (!SWIG_IsOK(ecode2)) {
17824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17825 }
17826 arg2 = static_cast< int >(val2);
17827 }
17828 if (obj2) {
17829 ecode3 = SWIG_AsVal_int(obj2, &val3);
17830 if (!SWIG_IsOK(ecode3)) {
17831 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17832 }
17833 arg3 = static_cast< int >(val3);
17834 }
17835 if (obj3) {
17836 ecode4 = SWIG_AsVal_int(obj3, &val4);
17837 if (!SWIG_IsOK(ecode4)) {
17838 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17839 }
17840 arg4 = static_cast< int >(val4);
17841 }
17842 if (obj4) {
17843 ecode5 = SWIG_AsVal_int(obj4, &val5);
17844 if (!SWIG_IsOK(ecode5)) {
17845 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17846 }
17847 arg5 = static_cast< int >(val5);
17848 }
17849 if (obj5) {
17850 {
17851 arg6 = &temp6;
17852 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17853 }
17854 }
17855 if (obj6) {
17856 {
17857 arg7 = &temp7;
17858 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
17859 }
17860 }
17861 if (obj7) {
17862 ecode8 = SWIG_AsVal_long(obj7, &val8);
17863 if (!SWIG_IsOK(ecode8)) {
17864 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17865 }
17866 arg8 = static_cast< long >(val8);
17867 }
17868 if (obj8) {
17869 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17870 if (!SWIG_IsOK(res9)) {
17871 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17872 }
17873 if (!argp9) {
17874 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17875 }
17876 arg9 = reinterpret_cast< wxValidator * >(argp9);
17877 }
17878 if (obj9) {
17879 {
17880 arg10 = wxString_in_helper(obj9);
17881 if (arg10 == NULL) SWIG_fail;
17882 temp10 = true;
17883 }
17884 }
17885 {
17886 if (!wxPyCheckForApp()) SWIG_fail;
17887 PyThreadState* __tstate = wxPyBeginAllowThreads();
17888 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17889 wxPyEndAllowThreads(__tstate);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 }
17892 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17893 {
17894 if (temp10)
17895 delete arg10;
17896 }
17897 return resultobj;
17898 fail:
17899 {
17900 if (temp10)
17901 delete arg10;
17902 }
17903 return NULL;
17904 }
17905
17906
17907 SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17908 PyObject *resultobj = 0;
17909 wxSlider *result = 0 ;
17910
17911 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17912 {
17913 if (!wxPyCheckForApp()) SWIG_fail;
17914 PyThreadState* __tstate = wxPyBeginAllowThreads();
17915 result = (wxSlider *)new wxSlider();
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17920 return resultobj;
17921 fail:
17922 return NULL;
17923 }
17924
17925
17926 SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17927 PyObject *resultobj = 0;
17928 wxSlider *arg1 = (wxSlider *) 0 ;
17929 wxWindow *arg2 = (wxWindow *) 0 ;
17930 int arg3 = (int) -1 ;
17931 int arg4 = (int) 0 ;
17932 int arg5 = (int) 0 ;
17933 int arg6 = (int) 100 ;
17934 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17935 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17936 wxSize const &arg8_defvalue = wxDefaultSize ;
17937 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17938 long arg9 = (long) wxSL_HORIZONTAL ;
17939 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17940 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17941 wxString const &arg11_defvalue = wxPySliderNameStr ;
17942 wxString *arg11 = (wxString *) &arg11_defvalue ;
17943 bool result;
17944 void *argp1 = 0 ;
17945 int res1 = 0 ;
17946 void *argp2 = 0 ;
17947 int res2 = 0 ;
17948 int val3 ;
17949 int ecode3 = 0 ;
17950 int val4 ;
17951 int ecode4 = 0 ;
17952 int val5 ;
17953 int ecode5 = 0 ;
17954 int val6 ;
17955 int ecode6 = 0 ;
17956 wxPoint temp7 ;
17957 wxSize temp8 ;
17958 long val9 ;
17959 int ecode9 = 0 ;
17960 void *argp10 = 0 ;
17961 int res10 = 0 ;
17962 bool temp11 = false ;
17963 PyObject * obj0 = 0 ;
17964 PyObject * obj1 = 0 ;
17965 PyObject * obj2 = 0 ;
17966 PyObject * obj3 = 0 ;
17967 PyObject * obj4 = 0 ;
17968 PyObject * obj5 = 0 ;
17969 PyObject * obj6 = 0 ;
17970 PyObject * obj7 = 0 ;
17971 PyObject * obj8 = 0 ;
17972 PyObject * obj9 = 0 ;
17973 PyObject * obj10 = 0 ;
17974 char * kwnames[] = {
17975 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17976 };
17977
17978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17980 if (!SWIG_IsOK(res1)) {
17981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17982 }
17983 arg1 = reinterpret_cast< wxSlider * >(argp1);
17984 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17985 if (!SWIG_IsOK(res2)) {
17986 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17987 }
17988 arg2 = reinterpret_cast< wxWindow * >(argp2);
17989 if (obj2) {
17990 ecode3 = SWIG_AsVal_int(obj2, &val3);
17991 if (!SWIG_IsOK(ecode3)) {
17992 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17993 }
17994 arg3 = static_cast< int >(val3);
17995 }
17996 if (obj3) {
17997 ecode4 = SWIG_AsVal_int(obj3, &val4);
17998 if (!SWIG_IsOK(ecode4)) {
17999 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
18000 }
18001 arg4 = static_cast< int >(val4);
18002 }
18003 if (obj4) {
18004 ecode5 = SWIG_AsVal_int(obj4, &val5);
18005 if (!SWIG_IsOK(ecode5)) {
18006 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
18007 }
18008 arg5 = static_cast< int >(val5);
18009 }
18010 if (obj5) {
18011 ecode6 = SWIG_AsVal_int(obj5, &val6);
18012 if (!SWIG_IsOK(ecode6)) {
18013 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18014 }
18015 arg6 = static_cast< int >(val6);
18016 }
18017 if (obj6) {
18018 {
18019 arg7 = &temp7;
18020 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
18021 }
18022 }
18023 if (obj7) {
18024 {
18025 arg8 = &temp8;
18026 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
18027 }
18028 }
18029 if (obj8) {
18030 ecode9 = SWIG_AsVal_long(obj8, &val9);
18031 if (!SWIG_IsOK(ecode9)) {
18032 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18033 }
18034 arg9 = static_cast< long >(val9);
18035 }
18036 if (obj9) {
18037 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
18038 if (!SWIG_IsOK(res10)) {
18039 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18040 }
18041 if (!argp10) {
18042 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18043 }
18044 arg10 = reinterpret_cast< wxValidator * >(argp10);
18045 }
18046 if (obj10) {
18047 {
18048 arg11 = wxString_in_helper(obj10);
18049 if (arg11 == NULL) SWIG_fail;
18050 temp11 = true;
18051 }
18052 }
18053 {
18054 PyThreadState* __tstate = wxPyBeginAllowThreads();
18055 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
18056 wxPyEndAllowThreads(__tstate);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 {
18060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18061 }
18062 {
18063 if (temp11)
18064 delete arg11;
18065 }
18066 return resultobj;
18067 fail:
18068 {
18069 if (temp11)
18070 delete arg11;
18071 }
18072 return NULL;
18073 }
18074
18075
18076 SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18077 PyObject *resultobj = 0;
18078 wxSlider *arg1 = (wxSlider *) 0 ;
18079 int result;
18080 void *argp1 = 0 ;
18081 int res1 = 0 ;
18082 PyObject *swig_obj[1] ;
18083
18084 if (!args) SWIG_fail;
18085 swig_obj[0] = args;
18086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18087 if (!SWIG_IsOK(res1)) {
18088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18089 }
18090 arg1 = reinterpret_cast< wxSlider * >(argp1);
18091 {
18092 PyThreadState* __tstate = wxPyBeginAllowThreads();
18093 result = (int)((wxSlider const *)arg1)->GetValue();
18094 wxPyEndAllowThreads(__tstate);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 }
18097 resultobj = SWIG_From_int(static_cast< int >(result));
18098 return resultobj;
18099 fail:
18100 return NULL;
18101 }
18102
18103
18104 SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18105 PyObject *resultobj = 0;
18106 wxSlider *arg1 = (wxSlider *) 0 ;
18107 int arg2 ;
18108 void *argp1 = 0 ;
18109 int res1 = 0 ;
18110 int val2 ;
18111 int ecode2 = 0 ;
18112 PyObject * obj0 = 0 ;
18113 PyObject * obj1 = 0 ;
18114 char * kwnames[] = {
18115 (char *) "self",(char *) "value", NULL
18116 };
18117
18118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18120 if (!SWIG_IsOK(res1)) {
18121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18122 }
18123 arg1 = reinterpret_cast< wxSlider * >(argp1);
18124 ecode2 = SWIG_AsVal_int(obj1, &val2);
18125 if (!SWIG_IsOK(ecode2)) {
18126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18127 }
18128 arg2 = static_cast< int >(val2);
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 (arg1)->SetValue(arg2);
18132 wxPyEndAllowThreads(__tstate);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 resultobj = SWIG_Py_Void();
18136 return resultobj;
18137 fail:
18138 return NULL;
18139 }
18140
18141
18142 SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18143 PyObject *resultobj = 0;
18144 wxSlider *arg1 = (wxSlider *) 0 ;
18145 int arg2 ;
18146 int arg3 ;
18147 void *argp1 = 0 ;
18148 int res1 = 0 ;
18149 int val2 ;
18150 int ecode2 = 0 ;
18151 int val3 ;
18152 int ecode3 = 0 ;
18153 PyObject * obj0 = 0 ;
18154 PyObject * obj1 = 0 ;
18155 PyObject * obj2 = 0 ;
18156 char * kwnames[] = {
18157 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18158 };
18159
18160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18162 if (!SWIG_IsOK(res1)) {
18163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18164 }
18165 arg1 = reinterpret_cast< wxSlider * >(argp1);
18166 ecode2 = SWIG_AsVal_int(obj1, &val2);
18167 if (!SWIG_IsOK(ecode2)) {
18168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18169 }
18170 arg2 = static_cast< int >(val2);
18171 ecode3 = SWIG_AsVal_int(obj2, &val3);
18172 if (!SWIG_IsOK(ecode3)) {
18173 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18174 }
18175 arg3 = static_cast< int >(val3);
18176 {
18177 PyThreadState* __tstate = wxPyBeginAllowThreads();
18178 (arg1)->SetRange(arg2,arg3);
18179 wxPyEndAllowThreads(__tstate);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 }
18182 resultobj = SWIG_Py_Void();
18183 return resultobj;
18184 fail:
18185 return NULL;
18186 }
18187
18188
18189 SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18190 PyObject *resultobj = 0;
18191 wxSlider *arg1 = (wxSlider *) 0 ;
18192 int result;
18193 void *argp1 = 0 ;
18194 int res1 = 0 ;
18195 PyObject *swig_obj[1] ;
18196
18197 if (!args) SWIG_fail;
18198 swig_obj[0] = args;
18199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18200 if (!SWIG_IsOK(res1)) {
18201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18202 }
18203 arg1 = reinterpret_cast< wxSlider * >(argp1);
18204 {
18205 PyThreadState* __tstate = wxPyBeginAllowThreads();
18206 result = (int)((wxSlider const *)arg1)->GetMin();
18207 wxPyEndAllowThreads(__tstate);
18208 if (PyErr_Occurred()) SWIG_fail;
18209 }
18210 resultobj = SWIG_From_int(static_cast< int >(result));
18211 return resultobj;
18212 fail:
18213 return NULL;
18214 }
18215
18216
18217 SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18218 PyObject *resultobj = 0;
18219 wxSlider *arg1 = (wxSlider *) 0 ;
18220 int result;
18221 void *argp1 = 0 ;
18222 int res1 = 0 ;
18223 PyObject *swig_obj[1] ;
18224
18225 if (!args) SWIG_fail;
18226 swig_obj[0] = args;
18227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18228 if (!SWIG_IsOK(res1)) {
18229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18230 }
18231 arg1 = reinterpret_cast< wxSlider * >(argp1);
18232 {
18233 PyThreadState* __tstate = wxPyBeginAllowThreads();
18234 result = (int)((wxSlider const *)arg1)->GetMax();
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 resultobj = SWIG_From_int(static_cast< int >(result));
18239 return resultobj;
18240 fail:
18241 return NULL;
18242 }
18243
18244
18245 SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18246 PyObject *resultobj = 0;
18247 wxSlider *arg1 = (wxSlider *) 0 ;
18248 int arg2 ;
18249 void *argp1 = 0 ;
18250 int res1 = 0 ;
18251 int val2 ;
18252 int ecode2 = 0 ;
18253 PyObject * obj0 = 0 ;
18254 PyObject * obj1 = 0 ;
18255 char * kwnames[] = {
18256 (char *) "self",(char *) "minValue", NULL
18257 };
18258
18259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18261 if (!SWIG_IsOK(res1)) {
18262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18263 }
18264 arg1 = reinterpret_cast< wxSlider * >(argp1);
18265 ecode2 = SWIG_AsVal_int(obj1, &val2);
18266 if (!SWIG_IsOK(ecode2)) {
18267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18268 }
18269 arg2 = static_cast< int >(val2);
18270 {
18271 PyThreadState* __tstate = wxPyBeginAllowThreads();
18272 (arg1)->SetMin(arg2);
18273 wxPyEndAllowThreads(__tstate);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 resultobj = SWIG_Py_Void();
18277 return resultobj;
18278 fail:
18279 return NULL;
18280 }
18281
18282
18283 SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18284 PyObject *resultobj = 0;
18285 wxSlider *arg1 = (wxSlider *) 0 ;
18286 int arg2 ;
18287 void *argp1 = 0 ;
18288 int res1 = 0 ;
18289 int val2 ;
18290 int ecode2 = 0 ;
18291 PyObject * obj0 = 0 ;
18292 PyObject * obj1 = 0 ;
18293 char * kwnames[] = {
18294 (char *) "self",(char *) "maxValue", NULL
18295 };
18296
18297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18299 if (!SWIG_IsOK(res1)) {
18300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18301 }
18302 arg1 = reinterpret_cast< wxSlider * >(argp1);
18303 ecode2 = SWIG_AsVal_int(obj1, &val2);
18304 if (!SWIG_IsOK(ecode2)) {
18305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18306 }
18307 arg2 = static_cast< int >(val2);
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 (arg1)->SetMax(arg2);
18311 wxPyEndAllowThreads(__tstate);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
18314 resultobj = SWIG_Py_Void();
18315 return resultobj;
18316 fail:
18317 return NULL;
18318 }
18319
18320
18321 SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18322 PyObject *resultobj = 0;
18323 wxSlider *arg1 = (wxSlider *) 0 ;
18324 int arg2 ;
18325 void *argp1 = 0 ;
18326 int res1 = 0 ;
18327 int val2 ;
18328 int ecode2 = 0 ;
18329 PyObject * obj0 = 0 ;
18330 PyObject * obj1 = 0 ;
18331 char * kwnames[] = {
18332 (char *) "self",(char *) "lineSize", NULL
18333 };
18334
18335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18337 if (!SWIG_IsOK(res1)) {
18338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18339 }
18340 arg1 = reinterpret_cast< wxSlider * >(argp1);
18341 ecode2 = SWIG_AsVal_int(obj1, &val2);
18342 if (!SWIG_IsOK(ecode2)) {
18343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18344 }
18345 arg2 = static_cast< int >(val2);
18346 {
18347 PyThreadState* __tstate = wxPyBeginAllowThreads();
18348 (arg1)->SetLineSize(arg2);
18349 wxPyEndAllowThreads(__tstate);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
18352 resultobj = SWIG_Py_Void();
18353 return resultobj;
18354 fail:
18355 return NULL;
18356 }
18357
18358
18359 SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18360 PyObject *resultobj = 0;
18361 wxSlider *arg1 = (wxSlider *) 0 ;
18362 int arg2 ;
18363 void *argp1 = 0 ;
18364 int res1 = 0 ;
18365 int val2 ;
18366 int ecode2 = 0 ;
18367 PyObject * obj0 = 0 ;
18368 PyObject * obj1 = 0 ;
18369 char * kwnames[] = {
18370 (char *) "self",(char *) "pageSize", NULL
18371 };
18372
18373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18375 if (!SWIG_IsOK(res1)) {
18376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18377 }
18378 arg1 = reinterpret_cast< wxSlider * >(argp1);
18379 ecode2 = SWIG_AsVal_int(obj1, &val2);
18380 if (!SWIG_IsOK(ecode2)) {
18381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18382 }
18383 arg2 = static_cast< int >(val2);
18384 {
18385 PyThreadState* __tstate = wxPyBeginAllowThreads();
18386 (arg1)->SetPageSize(arg2);
18387 wxPyEndAllowThreads(__tstate);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 resultobj = SWIG_Py_Void();
18391 return resultobj;
18392 fail:
18393 return NULL;
18394 }
18395
18396
18397 SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18398 PyObject *resultobj = 0;
18399 wxSlider *arg1 = (wxSlider *) 0 ;
18400 int result;
18401 void *argp1 = 0 ;
18402 int res1 = 0 ;
18403 PyObject *swig_obj[1] ;
18404
18405 if (!args) SWIG_fail;
18406 swig_obj[0] = args;
18407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18408 if (!SWIG_IsOK(res1)) {
18409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18410 }
18411 arg1 = reinterpret_cast< wxSlider * >(argp1);
18412 {
18413 PyThreadState* __tstate = wxPyBeginAllowThreads();
18414 result = (int)((wxSlider const *)arg1)->GetLineSize();
18415 wxPyEndAllowThreads(__tstate);
18416 if (PyErr_Occurred()) SWIG_fail;
18417 }
18418 resultobj = SWIG_From_int(static_cast< int >(result));
18419 return resultobj;
18420 fail:
18421 return NULL;
18422 }
18423
18424
18425 SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18426 PyObject *resultobj = 0;
18427 wxSlider *arg1 = (wxSlider *) 0 ;
18428 int result;
18429 void *argp1 = 0 ;
18430 int res1 = 0 ;
18431 PyObject *swig_obj[1] ;
18432
18433 if (!args) SWIG_fail;
18434 swig_obj[0] = args;
18435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18436 if (!SWIG_IsOK(res1)) {
18437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18438 }
18439 arg1 = reinterpret_cast< wxSlider * >(argp1);
18440 {
18441 PyThreadState* __tstate = wxPyBeginAllowThreads();
18442 result = (int)((wxSlider const *)arg1)->GetPageSize();
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 resultobj = SWIG_From_int(static_cast< int >(result));
18447 return resultobj;
18448 fail:
18449 return NULL;
18450 }
18451
18452
18453 SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj = 0;
18455 wxSlider *arg1 = (wxSlider *) 0 ;
18456 int arg2 ;
18457 void *argp1 = 0 ;
18458 int res1 = 0 ;
18459 int val2 ;
18460 int ecode2 = 0 ;
18461 PyObject * obj0 = 0 ;
18462 PyObject * obj1 = 0 ;
18463 char * kwnames[] = {
18464 (char *) "self",(char *) "lenPixels", NULL
18465 };
18466
18467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18469 if (!SWIG_IsOK(res1)) {
18470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18471 }
18472 arg1 = reinterpret_cast< wxSlider * >(argp1);
18473 ecode2 = SWIG_AsVal_int(obj1, &val2);
18474 if (!SWIG_IsOK(ecode2)) {
18475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18476 }
18477 arg2 = static_cast< int >(val2);
18478 {
18479 PyThreadState* __tstate = wxPyBeginAllowThreads();
18480 (arg1)->SetThumbLength(arg2);
18481 wxPyEndAllowThreads(__tstate);
18482 if (PyErr_Occurred()) SWIG_fail;
18483 }
18484 resultobj = SWIG_Py_Void();
18485 return resultobj;
18486 fail:
18487 return NULL;
18488 }
18489
18490
18491 SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18492 PyObject *resultobj = 0;
18493 wxSlider *arg1 = (wxSlider *) 0 ;
18494 int result;
18495 void *argp1 = 0 ;
18496 int res1 = 0 ;
18497 PyObject *swig_obj[1] ;
18498
18499 if (!args) SWIG_fail;
18500 swig_obj[0] = args;
18501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18502 if (!SWIG_IsOK(res1)) {
18503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18504 }
18505 arg1 = reinterpret_cast< wxSlider * >(argp1);
18506 {
18507 PyThreadState* __tstate = wxPyBeginAllowThreads();
18508 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 resultobj = SWIG_From_int(static_cast< int >(result));
18513 return resultobj;
18514 fail:
18515 return NULL;
18516 }
18517
18518
18519 SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj = 0;
18521 wxSlider *arg1 = (wxSlider *) 0 ;
18522 int arg2 ;
18523 int arg3 = (int) 1 ;
18524 void *argp1 = 0 ;
18525 int res1 = 0 ;
18526 int val2 ;
18527 int ecode2 = 0 ;
18528 int val3 ;
18529 int ecode3 = 0 ;
18530 PyObject * obj0 = 0 ;
18531 PyObject * obj1 = 0 ;
18532 PyObject * obj2 = 0 ;
18533 char * kwnames[] = {
18534 (char *) "self",(char *) "n",(char *) "pos", NULL
18535 };
18536
18537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18539 if (!SWIG_IsOK(res1)) {
18540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18541 }
18542 arg1 = reinterpret_cast< wxSlider * >(argp1);
18543 ecode2 = SWIG_AsVal_int(obj1, &val2);
18544 if (!SWIG_IsOK(ecode2)) {
18545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18546 }
18547 arg2 = static_cast< int >(val2);
18548 if (obj2) {
18549 ecode3 = SWIG_AsVal_int(obj2, &val3);
18550 if (!SWIG_IsOK(ecode3)) {
18551 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18552 }
18553 arg3 = static_cast< int >(val3);
18554 }
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 (arg1)->SetTickFreq(arg2,arg3);
18558 wxPyEndAllowThreads(__tstate);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 resultobj = SWIG_Py_Void();
18562 return resultobj;
18563 fail:
18564 return NULL;
18565 }
18566
18567
18568 SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18569 PyObject *resultobj = 0;
18570 wxSlider *arg1 = (wxSlider *) 0 ;
18571 int result;
18572 void *argp1 = 0 ;
18573 int res1 = 0 ;
18574 PyObject *swig_obj[1] ;
18575
18576 if (!args) SWIG_fail;
18577 swig_obj[0] = args;
18578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18579 if (!SWIG_IsOK(res1)) {
18580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18581 }
18582 arg1 = reinterpret_cast< wxSlider * >(argp1);
18583 {
18584 PyThreadState* __tstate = wxPyBeginAllowThreads();
18585 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18586 wxPyEndAllowThreads(__tstate);
18587 if (PyErr_Occurred()) SWIG_fail;
18588 }
18589 resultobj = SWIG_From_int(static_cast< int >(result));
18590 return resultobj;
18591 fail:
18592 return NULL;
18593 }
18594
18595
18596 SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18597 PyObject *resultobj = 0;
18598 wxSlider *arg1 = (wxSlider *) 0 ;
18599 void *argp1 = 0 ;
18600 int res1 = 0 ;
18601 PyObject *swig_obj[1] ;
18602
18603 if (!args) SWIG_fail;
18604 swig_obj[0] = args;
18605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18606 if (!SWIG_IsOK(res1)) {
18607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18608 }
18609 arg1 = reinterpret_cast< wxSlider * >(argp1);
18610 {
18611 PyThreadState* __tstate = wxPyBeginAllowThreads();
18612 (arg1)->ClearTicks();
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 resultobj = SWIG_Py_Void();
18617 return resultobj;
18618 fail:
18619 return NULL;
18620 }
18621
18622
18623 SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18624 PyObject *resultobj = 0;
18625 wxSlider *arg1 = (wxSlider *) 0 ;
18626 int arg2 ;
18627 void *argp1 = 0 ;
18628 int res1 = 0 ;
18629 int val2 ;
18630 int ecode2 = 0 ;
18631 PyObject * obj0 = 0 ;
18632 PyObject * obj1 = 0 ;
18633 char * kwnames[] = {
18634 (char *) "self",(char *) "tickPos", NULL
18635 };
18636
18637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18639 if (!SWIG_IsOK(res1)) {
18640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18641 }
18642 arg1 = reinterpret_cast< wxSlider * >(argp1);
18643 ecode2 = SWIG_AsVal_int(obj1, &val2);
18644 if (!SWIG_IsOK(ecode2)) {
18645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18646 }
18647 arg2 = static_cast< int >(val2);
18648 {
18649 PyThreadState* __tstate = wxPyBeginAllowThreads();
18650 (arg1)->SetTick(arg2);
18651 wxPyEndAllowThreads(__tstate);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 }
18654 resultobj = SWIG_Py_Void();
18655 return resultobj;
18656 fail:
18657 return NULL;
18658 }
18659
18660
18661 SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18662 PyObject *resultobj = 0;
18663 wxSlider *arg1 = (wxSlider *) 0 ;
18664 void *argp1 = 0 ;
18665 int res1 = 0 ;
18666 PyObject *swig_obj[1] ;
18667
18668 if (!args) SWIG_fail;
18669 swig_obj[0] = args;
18670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18671 if (!SWIG_IsOK(res1)) {
18672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18673 }
18674 arg1 = reinterpret_cast< wxSlider * >(argp1);
18675 {
18676 PyThreadState* __tstate = wxPyBeginAllowThreads();
18677 (arg1)->ClearSel();
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 resultobj = SWIG_Py_Void();
18682 return resultobj;
18683 fail:
18684 return NULL;
18685 }
18686
18687
18688 SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18689 PyObject *resultobj = 0;
18690 wxSlider *arg1 = (wxSlider *) 0 ;
18691 int result;
18692 void *argp1 = 0 ;
18693 int res1 = 0 ;
18694 PyObject *swig_obj[1] ;
18695
18696 if (!args) SWIG_fail;
18697 swig_obj[0] = args;
18698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18699 if (!SWIG_IsOK(res1)) {
18700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18701 }
18702 arg1 = reinterpret_cast< wxSlider * >(argp1);
18703 {
18704 PyThreadState* __tstate = wxPyBeginAllowThreads();
18705 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 resultobj = SWIG_From_int(static_cast< int >(result));
18710 return resultobj;
18711 fail:
18712 return NULL;
18713 }
18714
18715
18716 SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18717 PyObject *resultobj = 0;
18718 wxSlider *arg1 = (wxSlider *) 0 ;
18719 int result;
18720 void *argp1 = 0 ;
18721 int res1 = 0 ;
18722 PyObject *swig_obj[1] ;
18723
18724 if (!args) SWIG_fail;
18725 swig_obj[0] = args;
18726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18727 if (!SWIG_IsOK(res1)) {
18728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18729 }
18730 arg1 = reinterpret_cast< wxSlider * >(argp1);
18731 {
18732 PyThreadState* __tstate = wxPyBeginAllowThreads();
18733 result = (int)((wxSlider const *)arg1)->GetSelStart();
18734 wxPyEndAllowThreads(__tstate);
18735 if (PyErr_Occurred()) SWIG_fail;
18736 }
18737 resultobj = SWIG_From_int(static_cast< int >(result));
18738 return resultobj;
18739 fail:
18740 return NULL;
18741 }
18742
18743
18744 SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18745 PyObject *resultobj = 0;
18746 wxSlider *arg1 = (wxSlider *) 0 ;
18747 int arg2 ;
18748 int arg3 ;
18749 void *argp1 = 0 ;
18750 int res1 = 0 ;
18751 int val2 ;
18752 int ecode2 = 0 ;
18753 int val3 ;
18754 int ecode3 = 0 ;
18755 PyObject * obj0 = 0 ;
18756 PyObject * obj1 = 0 ;
18757 PyObject * obj2 = 0 ;
18758 char * kwnames[] = {
18759 (char *) "self",(char *) "min",(char *) "max", NULL
18760 };
18761
18762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18764 if (!SWIG_IsOK(res1)) {
18765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18766 }
18767 arg1 = reinterpret_cast< wxSlider * >(argp1);
18768 ecode2 = SWIG_AsVal_int(obj1, &val2);
18769 if (!SWIG_IsOK(ecode2)) {
18770 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18771 }
18772 arg2 = static_cast< int >(val2);
18773 ecode3 = SWIG_AsVal_int(obj2, &val3);
18774 if (!SWIG_IsOK(ecode3)) {
18775 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18776 }
18777 arg3 = static_cast< int >(val3);
18778 {
18779 PyThreadState* __tstate = wxPyBeginAllowThreads();
18780 (arg1)->SetSelection(arg2,arg3);
18781 wxPyEndAllowThreads(__tstate);
18782 if (PyErr_Occurred()) SWIG_fail;
18783 }
18784 resultobj = SWIG_Py_Void();
18785 return resultobj;
18786 fail:
18787 return NULL;
18788 }
18789
18790
18791 SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18792 PyObject *resultobj = 0;
18793 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18794 SwigValueWrapper<wxVisualAttributes > result;
18795 int val1 ;
18796 int ecode1 = 0 ;
18797 PyObject * obj0 = 0 ;
18798 char * kwnames[] = {
18799 (char *) "variant", NULL
18800 };
18801
18802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18803 if (obj0) {
18804 ecode1 = SWIG_AsVal_int(obj0, &val1);
18805 if (!SWIG_IsOK(ecode1)) {
18806 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18807 }
18808 arg1 = static_cast< wxWindowVariant >(val1);
18809 }
18810 {
18811 if (!wxPyCheckForApp()) SWIG_fail;
18812 PyThreadState* __tstate = wxPyBeginAllowThreads();
18813 result = wxSlider::GetClassDefaultAttributes(arg1);
18814 wxPyEndAllowThreads(__tstate);
18815 if (PyErr_Occurred()) SWIG_fail;
18816 }
18817 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18818 return resultobj;
18819 fail:
18820 return NULL;
18821 }
18822
18823
18824 SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18825 PyObject *obj;
18826 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18827 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18828 return SWIG_Py_Void();
18829 }
18830
18831 SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18832 return SWIG_Python_InitShadowInstance(args);
18833 }
18834
18835 SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18836 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18837 return 1;
18838 }
18839
18840
18841 SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18842 PyObject *pyobj = 0;
18843
18844 {
18845 #if wxUSE_UNICODE
18846 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18847 #else
18848 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18849 #endif
18850 }
18851 return pyobj;
18852 }
18853
18854
18855 SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18856 PyObject *resultobj = 0;
18857 wxWindow *arg1 = (wxWindow *) 0 ;
18858 int arg2 = (int) -1 ;
18859 wxString const &arg3_defvalue = wxPyEmptyString ;
18860 wxString *arg3 = (wxString *) &arg3_defvalue ;
18861 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18862 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18863 wxSize const &arg5_defvalue = wxDefaultSize ;
18864 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18865 long arg6 = (long) 0 ;
18866 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18867 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18868 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18869 wxString *arg8 = (wxString *) &arg8_defvalue ;
18870 wxToggleButton *result = 0 ;
18871 void *argp1 = 0 ;
18872 int res1 = 0 ;
18873 int val2 ;
18874 int ecode2 = 0 ;
18875 bool temp3 = false ;
18876 wxPoint temp4 ;
18877 wxSize temp5 ;
18878 long val6 ;
18879 int ecode6 = 0 ;
18880 void *argp7 = 0 ;
18881 int res7 = 0 ;
18882 bool temp8 = false ;
18883 PyObject * obj0 = 0 ;
18884 PyObject * obj1 = 0 ;
18885 PyObject * obj2 = 0 ;
18886 PyObject * obj3 = 0 ;
18887 PyObject * obj4 = 0 ;
18888 PyObject * obj5 = 0 ;
18889 PyObject * obj6 = 0 ;
18890 PyObject * obj7 = 0 ;
18891 char * kwnames[] = {
18892 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18893 };
18894
18895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18897 if (!SWIG_IsOK(res1)) {
18898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18899 }
18900 arg1 = reinterpret_cast< wxWindow * >(argp1);
18901 if (obj1) {
18902 ecode2 = SWIG_AsVal_int(obj1, &val2);
18903 if (!SWIG_IsOK(ecode2)) {
18904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18905 }
18906 arg2 = static_cast< int >(val2);
18907 }
18908 if (obj2) {
18909 {
18910 arg3 = wxString_in_helper(obj2);
18911 if (arg3 == NULL) SWIG_fail;
18912 temp3 = true;
18913 }
18914 }
18915 if (obj3) {
18916 {
18917 arg4 = &temp4;
18918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18919 }
18920 }
18921 if (obj4) {
18922 {
18923 arg5 = &temp5;
18924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18925 }
18926 }
18927 if (obj5) {
18928 ecode6 = SWIG_AsVal_long(obj5, &val6);
18929 if (!SWIG_IsOK(ecode6)) {
18930 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18931 }
18932 arg6 = static_cast< long >(val6);
18933 }
18934 if (obj6) {
18935 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18936 if (!SWIG_IsOK(res7)) {
18937 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18938 }
18939 if (!argp7) {
18940 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18941 }
18942 arg7 = reinterpret_cast< wxValidator * >(argp7);
18943 }
18944 if (obj7) {
18945 {
18946 arg8 = wxString_in_helper(obj7);
18947 if (arg8 == NULL) SWIG_fail;
18948 temp8 = true;
18949 }
18950 }
18951 {
18952 if (!wxPyCheckForApp()) SWIG_fail;
18953 PyThreadState* __tstate = wxPyBeginAllowThreads();
18954 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18955 wxPyEndAllowThreads(__tstate);
18956 if (PyErr_Occurred()) SWIG_fail;
18957 }
18958 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18959 {
18960 if (temp3)
18961 delete arg3;
18962 }
18963 {
18964 if (temp8)
18965 delete arg8;
18966 }
18967 return resultobj;
18968 fail:
18969 {
18970 if (temp3)
18971 delete arg3;
18972 }
18973 {
18974 if (temp8)
18975 delete arg8;
18976 }
18977 return NULL;
18978 }
18979
18980
18981 SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18982 PyObject *resultobj = 0;
18983 wxToggleButton *result = 0 ;
18984
18985 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18986 {
18987 if (!wxPyCheckForApp()) SWIG_fail;
18988 PyThreadState* __tstate = wxPyBeginAllowThreads();
18989 result = (wxToggleButton *)new wxToggleButton();
18990 wxPyEndAllowThreads(__tstate);
18991 if (PyErr_Occurred()) SWIG_fail;
18992 }
18993 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18994 return resultobj;
18995 fail:
18996 return NULL;
18997 }
18998
18999
19000 SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19001 PyObject *resultobj = 0;
19002 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19003 wxWindow *arg2 = (wxWindow *) 0 ;
19004 int arg3 = (int) -1 ;
19005 wxString const &arg4_defvalue = wxPyEmptyString ;
19006 wxString *arg4 = (wxString *) &arg4_defvalue ;
19007 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19008 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19009 wxSize const &arg6_defvalue = wxDefaultSize ;
19010 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
19011 long arg7 = (long) 0 ;
19012 wxValidator const &arg8_defvalue = wxDefaultValidator ;
19013 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
19014 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
19015 wxString *arg9 = (wxString *) &arg9_defvalue ;
19016 bool result;
19017 void *argp1 = 0 ;
19018 int res1 = 0 ;
19019 void *argp2 = 0 ;
19020 int res2 = 0 ;
19021 int val3 ;
19022 int ecode3 = 0 ;
19023 bool temp4 = false ;
19024 wxPoint temp5 ;
19025 wxSize temp6 ;
19026 long val7 ;
19027 int ecode7 = 0 ;
19028 void *argp8 = 0 ;
19029 int res8 = 0 ;
19030 bool temp9 = false ;
19031 PyObject * obj0 = 0 ;
19032 PyObject * obj1 = 0 ;
19033 PyObject * obj2 = 0 ;
19034 PyObject * obj3 = 0 ;
19035 PyObject * obj4 = 0 ;
19036 PyObject * obj5 = 0 ;
19037 PyObject * obj6 = 0 ;
19038 PyObject * obj7 = 0 ;
19039 PyObject * obj8 = 0 ;
19040 char * kwnames[] = {
19041 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19042 };
19043
19044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
19045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19046 if (!SWIG_IsOK(res1)) {
19047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19048 }
19049 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19050 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19051 if (!SWIG_IsOK(res2)) {
19052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19053 }
19054 arg2 = reinterpret_cast< wxWindow * >(argp2);
19055 if (obj2) {
19056 ecode3 = SWIG_AsVal_int(obj2, &val3);
19057 if (!SWIG_IsOK(ecode3)) {
19058 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19059 }
19060 arg3 = static_cast< int >(val3);
19061 }
19062 if (obj3) {
19063 {
19064 arg4 = wxString_in_helper(obj3);
19065 if (arg4 == NULL) SWIG_fail;
19066 temp4 = true;
19067 }
19068 }
19069 if (obj4) {
19070 {
19071 arg5 = &temp5;
19072 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19073 }
19074 }
19075 if (obj5) {
19076 {
19077 arg6 = &temp6;
19078 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
19079 }
19080 }
19081 if (obj6) {
19082 ecode7 = SWIG_AsVal_long(obj6, &val7);
19083 if (!SWIG_IsOK(ecode7)) {
19084 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19085 }
19086 arg7 = static_cast< long >(val7);
19087 }
19088 if (obj7) {
19089 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
19090 if (!SWIG_IsOK(res8)) {
19091 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19092 }
19093 if (!argp8) {
19094 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19095 }
19096 arg8 = reinterpret_cast< wxValidator * >(argp8);
19097 }
19098 if (obj8) {
19099 {
19100 arg9 = wxString_in_helper(obj8);
19101 if (arg9 == NULL) SWIG_fail;
19102 temp9 = true;
19103 }
19104 }
19105 {
19106 PyThreadState* __tstate = wxPyBeginAllowThreads();
19107 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
19108 wxPyEndAllowThreads(__tstate);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 }
19111 {
19112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19113 }
19114 {
19115 if (temp4)
19116 delete arg4;
19117 }
19118 {
19119 if (temp9)
19120 delete arg9;
19121 }
19122 return resultobj;
19123 fail:
19124 {
19125 if (temp4)
19126 delete arg4;
19127 }
19128 {
19129 if (temp9)
19130 delete arg9;
19131 }
19132 return NULL;
19133 }
19134
19135
19136 SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19137 PyObject *resultobj = 0;
19138 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19139 bool arg2 ;
19140 void *argp1 = 0 ;
19141 int res1 = 0 ;
19142 bool val2 ;
19143 int ecode2 = 0 ;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 char * kwnames[] = {
19147 (char *) "self",(char *) "value", NULL
19148 };
19149
19150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19152 if (!SWIG_IsOK(res1)) {
19153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19154 }
19155 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19156 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19157 if (!SWIG_IsOK(ecode2)) {
19158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19159 }
19160 arg2 = static_cast< bool >(val2);
19161 {
19162 PyThreadState* __tstate = wxPyBeginAllowThreads();
19163 (arg1)->SetValue(arg2);
19164 wxPyEndAllowThreads(__tstate);
19165 if (PyErr_Occurred()) SWIG_fail;
19166 }
19167 resultobj = SWIG_Py_Void();
19168 return resultobj;
19169 fail:
19170 return NULL;
19171 }
19172
19173
19174 SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19175 PyObject *resultobj = 0;
19176 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19177 bool result;
19178 void *argp1 = 0 ;
19179 int res1 = 0 ;
19180 PyObject *swig_obj[1] ;
19181
19182 if (!args) SWIG_fail;
19183 swig_obj[0] = args;
19184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19185 if (!SWIG_IsOK(res1)) {
19186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19187 }
19188 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19189 {
19190 PyThreadState* __tstate = wxPyBeginAllowThreads();
19191 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19192 wxPyEndAllowThreads(__tstate);
19193 if (PyErr_Occurred()) SWIG_fail;
19194 }
19195 {
19196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19197 }
19198 return resultobj;
19199 fail:
19200 return NULL;
19201 }
19202
19203
19204 SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19205 PyObject *resultobj = 0;
19206 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19207 SwigValueWrapper<wxVisualAttributes > result;
19208 int val1 ;
19209 int ecode1 = 0 ;
19210 PyObject * obj0 = 0 ;
19211 char * kwnames[] = {
19212 (char *) "variant", NULL
19213 };
19214
19215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19216 if (obj0) {
19217 ecode1 = SWIG_AsVal_int(obj0, &val1);
19218 if (!SWIG_IsOK(ecode1)) {
19219 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19220 }
19221 arg1 = static_cast< wxWindowVariant >(val1);
19222 }
19223 {
19224 if (!wxPyCheckForApp()) SWIG_fail;
19225 PyThreadState* __tstate = wxPyBeginAllowThreads();
19226 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19227 wxPyEndAllowThreads(__tstate);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
19230 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19231 return resultobj;
19232 fail:
19233 return NULL;
19234 }
19235
19236
19237 SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19238 PyObject *obj;
19239 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19240 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19241 return SWIG_Py_Void();
19242 }
19243
19244 SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19245 return SWIG_Python_InitShadowInstance(args);
19246 }
19247
19248 SWIGINTERN int NotebookNameStr_set(PyObject *) {
19249 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19250 return 1;
19251 }
19252
19253
19254 SWIGINTERN PyObject *NotebookNameStr_get(void) {
19255 PyObject *pyobj = 0;
19256
19257 {
19258 #if wxUSE_UNICODE
19259 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19260 #else
19261 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19262 #endif
19263 }
19264 return pyobj;
19265 }
19266
19267
19268 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19269 PyObject *resultobj = 0;
19270 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19271 size_t result;
19272 void *argp1 = 0 ;
19273 int res1 = 0 ;
19274 PyObject *swig_obj[1] ;
19275
19276 if (!args) SWIG_fail;
19277 swig_obj[0] = args;
19278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19279 if (!SWIG_IsOK(res1)) {
19280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19281 }
19282 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19283 {
19284 PyThreadState* __tstate = wxPyBeginAllowThreads();
19285 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19286 wxPyEndAllowThreads(__tstate);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
19289 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19290 return resultobj;
19291 fail:
19292 return NULL;
19293 }
19294
19295
19296 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19297 PyObject *resultobj = 0;
19298 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19299 size_t arg2 ;
19300 wxWindow *result = 0 ;
19301 void *argp1 = 0 ;
19302 int res1 = 0 ;
19303 size_t val2 ;
19304 int ecode2 = 0 ;
19305 PyObject * obj0 = 0 ;
19306 PyObject * obj1 = 0 ;
19307 char * kwnames[] = {
19308 (char *) "self",(char *) "n", NULL
19309 };
19310
19311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19313 if (!SWIG_IsOK(res1)) {
19314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19315 }
19316 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19317 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19318 if (!SWIG_IsOK(ecode2)) {
19319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19320 }
19321 arg2 = static_cast< size_t >(val2);
19322 {
19323 PyThreadState* __tstate = wxPyBeginAllowThreads();
19324 result = (wxWindow *)(arg1)->GetPage(arg2);
19325 wxPyEndAllowThreads(__tstate);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 }
19328 {
19329 resultobj = wxPyMake_wxObject(result, 0);
19330 }
19331 return resultobj;
19332 fail:
19333 return NULL;
19334 }
19335
19336
19337 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19338 PyObject *resultobj = 0;
19339 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19340 wxWindow *result = 0 ;
19341 void *argp1 = 0 ;
19342 int res1 = 0 ;
19343 PyObject *swig_obj[1] ;
19344
19345 if (!args) SWIG_fail;
19346 swig_obj[0] = args;
19347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19348 if (!SWIG_IsOK(res1)) {
19349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19350 }
19351 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19355 wxPyEndAllowThreads(__tstate);
19356 if (PyErr_Occurred()) SWIG_fail;
19357 }
19358 {
19359 resultobj = wxPyMake_wxObject(result, 0);
19360 }
19361 return resultobj;
19362 fail:
19363 return NULL;
19364 }
19365
19366
19367 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19368 PyObject *resultobj = 0;
19369 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19370 int result;
19371 void *argp1 = 0 ;
19372 int res1 = 0 ;
19373 PyObject *swig_obj[1] ;
19374
19375 if (!args) SWIG_fail;
19376 swig_obj[0] = args;
19377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19378 if (!SWIG_IsOK(res1)) {
19379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19380 }
19381 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19382 {
19383 PyThreadState* __tstate = wxPyBeginAllowThreads();
19384 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19385 wxPyEndAllowThreads(__tstate);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 }
19388 resultobj = SWIG_From_int(static_cast< int >(result));
19389 return resultobj;
19390 fail:
19391 return NULL;
19392 }
19393
19394
19395 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19396 PyObject *resultobj = 0;
19397 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19398 size_t arg2 ;
19399 wxString *arg3 = 0 ;
19400 bool result;
19401 void *argp1 = 0 ;
19402 int res1 = 0 ;
19403 size_t val2 ;
19404 int ecode2 = 0 ;
19405 bool temp3 = false ;
19406 PyObject * obj0 = 0 ;
19407 PyObject * obj1 = 0 ;
19408 PyObject * obj2 = 0 ;
19409 char * kwnames[] = {
19410 (char *) "self",(char *) "n",(char *) "strText", NULL
19411 };
19412
19413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19415 if (!SWIG_IsOK(res1)) {
19416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19417 }
19418 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19419 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19420 if (!SWIG_IsOK(ecode2)) {
19421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19422 }
19423 arg2 = static_cast< size_t >(val2);
19424 {
19425 arg3 = wxString_in_helper(obj2);
19426 if (arg3 == NULL) SWIG_fail;
19427 temp3 = true;
19428 }
19429 {
19430 PyThreadState* __tstate = wxPyBeginAllowThreads();
19431 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19432 wxPyEndAllowThreads(__tstate);
19433 if (PyErr_Occurred()) SWIG_fail;
19434 }
19435 {
19436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19437 }
19438 {
19439 if (temp3)
19440 delete arg3;
19441 }
19442 return resultobj;
19443 fail:
19444 {
19445 if (temp3)
19446 delete arg3;
19447 }
19448 return NULL;
19449 }
19450
19451
19452 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj = 0;
19454 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19455 size_t arg2 ;
19456 wxString result;
19457 void *argp1 = 0 ;
19458 int res1 = 0 ;
19459 size_t val2 ;
19460 int ecode2 = 0 ;
19461 PyObject * obj0 = 0 ;
19462 PyObject * obj1 = 0 ;
19463 char * kwnames[] = {
19464 (char *) "self",(char *) "n", NULL
19465 };
19466
19467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19469 if (!SWIG_IsOK(res1)) {
19470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19471 }
19472 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19473 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19474 if (!SWIG_IsOK(ecode2)) {
19475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19476 }
19477 arg2 = static_cast< size_t >(val2);
19478 {
19479 PyThreadState* __tstate = wxPyBeginAllowThreads();
19480 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 {
19485 #if wxUSE_UNICODE
19486 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19487 #else
19488 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19489 #endif
19490 }
19491 return resultobj;
19492 fail:
19493 return NULL;
19494 }
19495
19496
19497 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19498 PyObject *resultobj = 0;
19499 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19500 wxImageList *arg2 = (wxImageList *) 0 ;
19501 void *argp1 = 0 ;
19502 int res1 = 0 ;
19503 void *argp2 = 0 ;
19504 int res2 = 0 ;
19505 PyObject * obj0 = 0 ;
19506 PyObject * obj1 = 0 ;
19507 char * kwnames[] = {
19508 (char *) "self",(char *) "imageList", NULL
19509 };
19510
19511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19513 if (!SWIG_IsOK(res1)) {
19514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19515 }
19516 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19517 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19518 if (!SWIG_IsOK(res2)) {
19519 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19520 }
19521 arg2 = reinterpret_cast< wxImageList * >(argp2);
19522 {
19523 PyThreadState* __tstate = wxPyBeginAllowThreads();
19524 (arg1)->SetImageList(arg2);
19525 wxPyEndAllowThreads(__tstate);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
19528 resultobj = SWIG_Py_Void();
19529 return resultobj;
19530 fail:
19531 return NULL;
19532 }
19533
19534
19535 SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19536 PyObject *resultobj = 0;
19537 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19538 wxImageList *arg2 = (wxImageList *) 0 ;
19539 void *argp1 = 0 ;
19540 int res1 = 0 ;
19541 int res2 = 0 ;
19542 PyObject * obj0 = 0 ;
19543 PyObject * obj1 = 0 ;
19544 char * kwnames[] = {
19545 (char *) "self",(char *) "imageList", NULL
19546 };
19547
19548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19550 if (!SWIG_IsOK(res1)) {
19551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19552 }
19553 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19554 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19555 if (!SWIG_IsOK(res2)) {
19556 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19557 }
19558 {
19559 PyThreadState* __tstate = wxPyBeginAllowThreads();
19560 (arg1)->AssignImageList(arg2);
19561 wxPyEndAllowThreads(__tstate);
19562 if (PyErr_Occurred()) SWIG_fail;
19563 }
19564 resultobj = SWIG_Py_Void();
19565 return resultobj;
19566 fail:
19567 return NULL;
19568 }
19569
19570
19571 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19572 PyObject *resultobj = 0;
19573 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19574 wxImageList *result = 0 ;
19575 void *argp1 = 0 ;
19576 int res1 = 0 ;
19577 PyObject *swig_obj[1] ;
19578
19579 if (!args) SWIG_fail;
19580 swig_obj[0] = args;
19581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19582 if (!SWIG_IsOK(res1)) {
19583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19584 }
19585 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19586 {
19587 PyThreadState* __tstate = wxPyBeginAllowThreads();
19588 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19589 wxPyEndAllowThreads(__tstate);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 }
19592 {
19593 resultobj = wxPyMake_wxObject(result, (bool)0);
19594 }
19595 return resultobj;
19596 fail:
19597 return NULL;
19598 }
19599
19600
19601 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19602 PyObject *resultobj = 0;
19603 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19604 size_t arg2 ;
19605 int result;
19606 void *argp1 = 0 ;
19607 int res1 = 0 ;
19608 size_t val2 ;
19609 int ecode2 = 0 ;
19610 PyObject * obj0 = 0 ;
19611 PyObject * obj1 = 0 ;
19612 char * kwnames[] = {
19613 (char *) "self",(char *) "n", NULL
19614 };
19615
19616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19618 if (!SWIG_IsOK(res1)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19620 }
19621 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19622 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19623 if (!SWIG_IsOK(ecode2)) {
19624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19625 }
19626 arg2 = static_cast< size_t >(val2);
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 resultobj = SWIG_From_int(static_cast< int >(result));
19634 return resultobj;
19635 fail:
19636 return NULL;
19637 }
19638
19639
19640 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19641 PyObject *resultobj = 0;
19642 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19643 size_t arg2 ;
19644 int arg3 ;
19645 bool result;
19646 void *argp1 = 0 ;
19647 int res1 = 0 ;
19648 size_t val2 ;
19649 int ecode2 = 0 ;
19650 int val3 ;
19651 int ecode3 = 0 ;
19652 PyObject * obj0 = 0 ;
19653 PyObject * obj1 = 0 ;
19654 PyObject * obj2 = 0 ;
19655 char * kwnames[] = {
19656 (char *) "self",(char *) "n",(char *) "imageId", NULL
19657 };
19658
19659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19661 if (!SWIG_IsOK(res1)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19663 }
19664 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19665 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19666 if (!SWIG_IsOK(ecode2)) {
19667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19668 }
19669 arg2 = static_cast< size_t >(val2);
19670 ecode3 = SWIG_AsVal_int(obj2, &val3);
19671 if (!SWIG_IsOK(ecode3)) {
19672 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19673 }
19674 arg3 = static_cast< int >(val3);
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19678 wxPyEndAllowThreads(__tstate);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 }
19681 {
19682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19683 }
19684 return resultobj;
19685 fail:
19686 return NULL;
19687 }
19688
19689
19690 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19691 PyObject *resultobj = 0;
19692 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19693 wxSize *arg2 = 0 ;
19694 void *argp1 = 0 ;
19695 int res1 = 0 ;
19696 wxSize temp2 ;
19697 PyObject * obj0 = 0 ;
19698 PyObject * obj1 = 0 ;
19699 char * kwnames[] = {
19700 (char *) "self",(char *) "size", NULL
19701 };
19702
19703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19705 if (!SWIG_IsOK(res1)) {
19706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19707 }
19708 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19709 {
19710 arg2 = &temp2;
19711 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19712 }
19713 {
19714 PyThreadState* __tstate = wxPyBeginAllowThreads();
19715 (arg1)->SetPageSize((wxSize const &)*arg2);
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 resultobj = SWIG_Py_Void();
19720 return resultobj;
19721 fail:
19722 return NULL;
19723 }
19724
19725
19726 SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19727 PyObject *resultobj = 0;
19728 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19729 wxSize *arg2 = 0 ;
19730 wxSize result;
19731 void *argp1 = 0 ;
19732 int res1 = 0 ;
19733 wxSize temp2 ;
19734 PyObject * obj0 = 0 ;
19735 PyObject * obj1 = 0 ;
19736 char * kwnames[] = {
19737 (char *) "self",(char *) "sizePage", NULL
19738 };
19739
19740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19742 if (!SWIG_IsOK(res1)) {
19743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19744 }
19745 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19746 {
19747 arg2 = &temp2;
19748 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19749 }
19750 {
19751 PyThreadState* __tstate = wxPyBeginAllowThreads();
19752 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19753 wxPyEndAllowThreads(__tstate);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 }
19756 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19757 return resultobj;
19758 fail:
19759 return NULL;
19760 }
19761
19762
19763 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19764 PyObject *resultobj = 0;
19765 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19766 unsigned int result;
19767 void *argp1 = 0 ;
19768 int res1 = 0 ;
19769 PyObject *swig_obj[1] ;
19770
19771 if (!args) SWIG_fail;
19772 swig_obj[0] = args;
19773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19774 if (!SWIG_IsOK(res1)) {
19775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19776 }
19777 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19778 {
19779 PyThreadState* __tstate = wxPyBeginAllowThreads();
19780 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
19781 wxPyEndAllowThreads(__tstate);
19782 if (PyErr_Occurred()) SWIG_fail;
19783 }
19784 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
19785 return resultobj;
19786 fail:
19787 return NULL;
19788 }
19789
19790
19791 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19792 PyObject *resultobj = 0;
19793 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19794 unsigned int arg2 ;
19795 void *argp1 = 0 ;
19796 int res1 = 0 ;
19797 unsigned int val2 ;
19798 int ecode2 = 0 ;
19799 PyObject * obj0 = 0 ;
19800 PyObject * obj1 = 0 ;
19801 char * kwnames[] = {
19802 (char *) "self",(char *) "internalBorder", NULL
19803 };
19804
19805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19807 if (!SWIG_IsOK(res1)) {
19808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19809 }
19810 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19811 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
19812 if (!SWIG_IsOK(ecode2)) {
19813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19814 }
19815 arg2 = static_cast< unsigned int >(val2);
19816 {
19817 PyThreadState* __tstate = wxPyBeginAllowThreads();
19818 (arg1)->SetInternalBorder(arg2);
19819 wxPyEndAllowThreads(__tstate);
19820 if (PyErr_Occurred()) SWIG_fail;
19821 }
19822 resultobj = SWIG_Py_Void();
19823 return resultobj;
19824 fail:
19825 return NULL;
19826 }
19827
19828
19829 SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19830 PyObject *resultobj = 0;
19831 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19832 bool result;
19833 void *argp1 = 0 ;
19834 int res1 = 0 ;
19835 PyObject *swig_obj[1] ;
19836
19837 if (!args) SWIG_fail;
19838 swig_obj[0] = args;
19839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19840 if (!SWIG_IsOK(res1)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19842 }
19843 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19844 {
19845 PyThreadState* __tstate = wxPyBeginAllowThreads();
19846 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19847 wxPyEndAllowThreads(__tstate);
19848 if (PyErr_Occurred()) SWIG_fail;
19849 }
19850 {
19851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19852 }
19853 return resultobj;
19854 fail:
19855 return NULL;
19856 }
19857
19858
19859 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19860 PyObject *resultobj = 0;
19861 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19862 int arg2 ;
19863 void *argp1 = 0 ;
19864 int res1 = 0 ;
19865 int val2 ;
19866 int ecode2 = 0 ;
19867 PyObject * obj0 = 0 ;
19868 PyObject * obj1 = 0 ;
19869 char * kwnames[] = {
19870 (char *) "self",(char *) "margin", NULL
19871 };
19872
19873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19875 if (!SWIG_IsOK(res1)) {
19876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19877 }
19878 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19879 ecode2 = SWIG_AsVal_int(obj1, &val2);
19880 if (!SWIG_IsOK(ecode2)) {
19881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19882 }
19883 arg2 = static_cast< int >(val2);
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 (arg1)->SetControlMargin(arg2);
19887 wxPyEndAllowThreads(__tstate);
19888 if (PyErr_Occurred()) SWIG_fail;
19889 }
19890 resultobj = SWIG_Py_Void();
19891 return resultobj;
19892 fail:
19893 return NULL;
19894 }
19895
19896
19897 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19898 PyObject *resultobj = 0;
19899 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19900 int result;
19901 void *argp1 = 0 ;
19902 int res1 = 0 ;
19903 PyObject *swig_obj[1] ;
19904
19905 if (!args) SWIG_fail;
19906 swig_obj[0] = args;
19907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19908 if (!SWIG_IsOK(res1)) {
19909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19910 }
19911 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19912 {
19913 PyThreadState* __tstate = wxPyBeginAllowThreads();
19914 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19915 wxPyEndAllowThreads(__tstate);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
19918 resultobj = SWIG_From_int(static_cast< int >(result));
19919 return resultobj;
19920 fail:
19921 return NULL;
19922 }
19923
19924
19925 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj = 0;
19927 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19928 bool arg2 ;
19929 void *argp1 = 0 ;
19930 int res1 = 0 ;
19931 bool val2 ;
19932 int ecode2 = 0 ;
19933 PyObject * obj0 = 0 ;
19934 PyObject * obj1 = 0 ;
19935 char * kwnames[] = {
19936 (char *) "self",(char *) "fit", NULL
19937 };
19938
19939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19941 if (!SWIG_IsOK(res1)) {
19942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19943 }
19944 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19945 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19946 if (!SWIG_IsOK(ecode2)) {
19947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19948 }
19949 arg2 = static_cast< bool >(val2);
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 (arg1)->SetFitToCurrentPage(arg2);
19953 wxPyEndAllowThreads(__tstate);
19954 if (PyErr_Occurred()) SWIG_fail;
19955 }
19956 resultobj = SWIG_Py_Void();
19957 return resultobj;
19958 fail:
19959 return NULL;
19960 }
19961
19962
19963 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19964 PyObject *resultobj = 0;
19965 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19966 bool result;
19967 void *argp1 = 0 ;
19968 int res1 = 0 ;
19969 PyObject *swig_obj[1] ;
19970
19971 if (!args) SWIG_fail;
19972 swig_obj[0] = args;
19973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19974 if (!SWIG_IsOK(res1)) {
19975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19976 }
19977 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19978 {
19979 PyThreadState* __tstate = wxPyBeginAllowThreads();
19980 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 {
19985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19986 }
19987 return resultobj;
19988 fail:
19989 return NULL;
19990 }
19991
19992
19993 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19994 PyObject *resultobj = 0;
19995 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19996 wxSizer *result = 0 ;
19997 void *argp1 = 0 ;
19998 int res1 = 0 ;
19999 PyObject *swig_obj[1] ;
20000
20001 if (!args) SWIG_fail;
20002 swig_obj[0] = args;
20003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20004 if (!SWIG_IsOK(res1)) {
20005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20006 }
20007 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20008 {
20009 PyThreadState* __tstate = wxPyBeginAllowThreads();
20010 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
20011 wxPyEndAllowThreads(__tstate);
20012 if (PyErr_Occurred()) SWIG_fail;
20013 }
20014 {
20015 resultobj = wxPyMake_wxObject(result, (bool)0);
20016 }
20017 return resultobj;
20018 fail:
20019 return NULL;
20020 }
20021
20022
20023 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20024 PyObject *resultobj = 0;
20025 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20026 size_t arg2 ;
20027 bool result;
20028 void *argp1 = 0 ;
20029 int res1 = 0 ;
20030 size_t val2 ;
20031 int ecode2 = 0 ;
20032 PyObject * obj0 = 0 ;
20033 PyObject * obj1 = 0 ;
20034 char * kwnames[] = {
20035 (char *) "self",(char *) "n", NULL
20036 };
20037
20038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
20039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20040 if (!SWIG_IsOK(res1)) {
20041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20042 }
20043 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20044 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20045 if (!SWIG_IsOK(ecode2)) {
20046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20047 }
20048 arg2 = static_cast< size_t >(val2);
20049 {
20050 PyThreadState* __tstate = wxPyBeginAllowThreads();
20051 result = (bool)(arg1)->DeletePage(arg2);
20052 wxPyEndAllowThreads(__tstate);
20053 if (PyErr_Occurred()) SWIG_fail;
20054 }
20055 {
20056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20057 }
20058 return resultobj;
20059 fail:
20060 return NULL;
20061 }
20062
20063
20064 SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20065 PyObject *resultobj = 0;
20066 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20067 size_t arg2 ;
20068 bool result;
20069 void *argp1 = 0 ;
20070 int res1 = 0 ;
20071 size_t val2 ;
20072 int ecode2 = 0 ;
20073 PyObject * obj0 = 0 ;
20074 PyObject * obj1 = 0 ;
20075 char * kwnames[] = {
20076 (char *) "self",(char *) "n", NULL
20077 };
20078
20079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
20080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20081 if (!SWIG_IsOK(res1)) {
20082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20083 }
20084 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20085 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20086 if (!SWIG_IsOK(ecode2)) {
20087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20088 }
20089 arg2 = static_cast< size_t >(val2);
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 result = (bool)(arg1)->RemovePage(arg2);
20093 wxPyEndAllowThreads(__tstate);
20094 if (PyErr_Occurred()) SWIG_fail;
20095 }
20096 {
20097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20098 }
20099 return resultobj;
20100 fail:
20101 return NULL;
20102 }
20103
20104
20105 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20106 PyObject *resultobj = 0;
20107 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20108 bool result;
20109 void *argp1 = 0 ;
20110 int res1 = 0 ;
20111 PyObject *swig_obj[1] ;
20112
20113 if (!args) SWIG_fail;
20114 swig_obj[0] = args;
20115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20116 if (!SWIG_IsOK(res1)) {
20117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20118 }
20119 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20120 {
20121 PyThreadState* __tstate = wxPyBeginAllowThreads();
20122 result = (bool)(arg1)->DeleteAllPages();
20123 wxPyEndAllowThreads(__tstate);
20124 if (PyErr_Occurred()) SWIG_fail;
20125 }
20126 {
20127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20128 }
20129 return resultobj;
20130 fail:
20131 return NULL;
20132 }
20133
20134
20135 SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20136 PyObject *resultobj = 0;
20137 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20138 wxWindow *arg2 = (wxWindow *) 0 ;
20139 wxString *arg3 = 0 ;
20140 bool arg4 = (bool) false ;
20141 int arg5 = (int) -1 ;
20142 bool result;
20143 void *argp1 = 0 ;
20144 int res1 = 0 ;
20145 void *argp2 = 0 ;
20146 int res2 = 0 ;
20147 bool temp3 = false ;
20148 bool val4 ;
20149 int ecode4 = 0 ;
20150 int val5 ;
20151 int ecode5 = 0 ;
20152 PyObject * obj0 = 0 ;
20153 PyObject * obj1 = 0 ;
20154 PyObject * obj2 = 0 ;
20155 PyObject * obj3 = 0 ;
20156 PyObject * obj4 = 0 ;
20157 char * kwnames[] = {
20158 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20159 };
20160
20161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20163 if (!SWIG_IsOK(res1)) {
20164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20165 }
20166 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20167 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20168 if (!SWIG_IsOK(res2)) {
20169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20170 }
20171 arg2 = reinterpret_cast< wxWindow * >(argp2);
20172 {
20173 arg3 = wxString_in_helper(obj2);
20174 if (arg3 == NULL) SWIG_fail;
20175 temp3 = true;
20176 }
20177 if (obj3) {
20178 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20179 if (!SWIG_IsOK(ecode4)) {
20180 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20181 }
20182 arg4 = static_cast< bool >(val4);
20183 }
20184 if (obj4) {
20185 ecode5 = SWIG_AsVal_int(obj4, &val5);
20186 if (!SWIG_IsOK(ecode5)) {
20187 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20188 }
20189 arg5 = static_cast< int >(val5);
20190 }
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20194 wxPyEndAllowThreads(__tstate);
20195 if (PyErr_Occurred()) SWIG_fail;
20196 }
20197 {
20198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20199 }
20200 {
20201 if (temp3)
20202 delete arg3;
20203 }
20204 return resultobj;
20205 fail:
20206 {
20207 if (temp3)
20208 delete arg3;
20209 }
20210 return NULL;
20211 }
20212
20213
20214 SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20215 PyObject *resultobj = 0;
20216 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20217 size_t arg2 ;
20218 wxWindow *arg3 = (wxWindow *) 0 ;
20219 wxString *arg4 = 0 ;
20220 bool arg5 = (bool) false ;
20221 int arg6 = (int) -1 ;
20222 bool result;
20223 void *argp1 = 0 ;
20224 int res1 = 0 ;
20225 size_t val2 ;
20226 int ecode2 = 0 ;
20227 void *argp3 = 0 ;
20228 int res3 = 0 ;
20229 bool temp4 = false ;
20230 bool val5 ;
20231 int ecode5 = 0 ;
20232 int val6 ;
20233 int ecode6 = 0 ;
20234 PyObject * obj0 = 0 ;
20235 PyObject * obj1 = 0 ;
20236 PyObject * obj2 = 0 ;
20237 PyObject * obj3 = 0 ;
20238 PyObject * obj4 = 0 ;
20239 PyObject * obj5 = 0 ;
20240 char * kwnames[] = {
20241 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20242 };
20243
20244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20246 if (!SWIG_IsOK(res1)) {
20247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20248 }
20249 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20250 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20251 if (!SWIG_IsOK(ecode2)) {
20252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20253 }
20254 arg2 = static_cast< size_t >(val2);
20255 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20256 if (!SWIG_IsOK(res3)) {
20257 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20258 }
20259 arg3 = reinterpret_cast< wxWindow * >(argp3);
20260 {
20261 arg4 = wxString_in_helper(obj3);
20262 if (arg4 == NULL) SWIG_fail;
20263 temp4 = true;
20264 }
20265 if (obj4) {
20266 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20267 if (!SWIG_IsOK(ecode5)) {
20268 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20269 }
20270 arg5 = static_cast< bool >(val5);
20271 }
20272 if (obj5) {
20273 ecode6 = SWIG_AsVal_int(obj5, &val6);
20274 if (!SWIG_IsOK(ecode6)) {
20275 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20276 }
20277 arg6 = static_cast< int >(val6);
20278 }
20279 {
20280 PyThreadState* __tstate = wxPyBeginAllowThreads();
20281 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20282 wxPyEndAllowThreads(__tstate);
20283 if (PyErr_Occurred()) SWIG_fail;
20284 }
20285 {
20286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20287 }
20288 {
20289 if (temp4)
20290 delete arg4;
20291 }
20292 return resultobj;
20293 fail:
20294 {
20295 if (temp4)
20296 delete arg4;
20297 }
20298 return NULL;
20299 }
20300
20301
20302 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20303 PyObject *resultobj = 0;
20304 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20305 size_t arg2 ;
20306 int result;
20307 void *argp1 = 0 ;
20308 int res1 = 0 ;
20309 size_t val2 ;
20310 int ecode2 = 0 ;
20311 PyObject * obj0 = 0 ;
20312 PyObject * obj1 = 0 ;
20313 char * kwnames[] = {
20314 (char *) "self",(char *) "n", NULL
20315 };
20316
20317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20319 if (!SWIG_IsOK(res1)) {
20320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20321 }
20322 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20323 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20324 if (!SWIG_IsOK(ecode2)) {
20325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20326 }
20327 arg2 = static_cast< size_t >(val2);
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
20330 result = (int)(arg1)->SetSelection(arg2);
20331 wxPyEndAllowThreads(__tstate);
20332 if (PyErr_Occurred()) SWIG_fail;
20333 }
20334 resultobj = SWIG_From_int(static_cast< int >(result));
20335 return resultobj;
20336 fail:
20337 return NULL;
20338 }
20339
20340
20341 SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20342 PyObject *resultobj = 0;
20343 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20344 size_t arg2 ;
20345 int result;
20346 void *argp1 = 0 ;
20347 int res1 = 0 ;
20348 size_t val2 ;
20349 int ecode2 = 0 ;
20350 PyObject * obj0 = 0 ;
20351 PyObject * obj1 = 0 ;
20352 char * kwnames[] = {
20353 (char *) "self",(char *) "n", NULL
20354 };
20355
20356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20358 if (!SWIG_IsOK(res1)) {
20359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20360 }
20361 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20362 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20363 if (!SWIG_IsOK(ecode2)) {
20364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20365 }
20366 arg2 = static_cast< size_t >(val2);
20367 {
20368 PyThreadState* __tstate = wxPyBeginAllowThreads();
20369 result = (int)(arg1)->ChangeSelection(arg2);
20370 wxPyEndAllowThreads(__tstate);
20371 if (PyErr_Occurred()) SWIG_fail;
20372 }
20373 resultobj = SWIG_From_int(static_cast< int >(result));
20374 return resultobj;
20375 fail:
20376 return NULL;
20377 }
20378
20379
20380 SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20381 PyObject *resultobj = 0;
20382 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20383 bool arg2 = (bool) true ;
20384 void *argp1 = 0 ;
20385 int res1 = 0 ;
20386 bool val2 ;
20387 int ecode2 = 0 ;
20388 PyObject * obj0 = 0 ;
20389 PyObject * obj1 = 0 ;
20390 char * kwnames[] = {
20391 (char *) "self",(char *) "forward", NULL
20392 };
20393
20394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20396 if (!SWIG_IsOK(res1)) {
20397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20398 }
20399 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20400 if (obj1) {
20401 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20402 if (!SWIG_IsOK(ecode2)) {
20403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20404 }
20405 arg2 = static_cast< bool >(val2);
20406 }
20407 {
20408 PyThreadState* __tstate = wxPyBeginAllowThreads();
20409 (arg1)->AdvanceSelection(arg2);
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
20413 resultobj = SWIG_Py_Void();
20414 return resultobj;
20415 fail:
20416 return NULL;
20417 }
20418
20419
20420 SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20421 PyObject *resultobj = 0;
20422 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20423 wxPoint *arg2 = 0 ;
20424 long *arg3 = (long *) 0 ;
20425 int result;
20426 void *argp1 = 0 ;
20427 int res1 = 0 ;
20428 wxPoint temp2 ;
20429 long temp3 ;
20430 int res3 = SWIG_TMPOBJ ;
20431 PyObject * obj0 = 0 ;
20432 PyObject * obj1 = 0 ;
20433 char * kwnames[] = {
20434 (char *) "self",(char *) "pt", NULL
20435 };
20436
20437 arg3 = &temp3;
20438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20440 if (!SWIG_IsOK(res1)) {
20441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20442 }
20443 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20444 {
20445 arg2 = &temp2;
20446 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20447 }
20448 {
20449 PyThreadState* __tstate = wxPyBeginAllowThreads();
20450 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20451 wxPyEndAllowThreads(__tstate);
20452 if (PyErr_Occurred()) SWIG_fail;
20453 }
20454 resultobj = SWIG_From_int(static_cast< int >(result));
20455 if (SWIG_IsTmpObj(res3)) {
20456 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20457 } else {
20458 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20459 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20460 }
20461 return resultobj;
20462 fail:
20463 return NULL;
20464 }
20465
20466
20467 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20468 PyObject *resultobj = 0;
20469 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20470 SwigValueWrapper<wxVisualAttributes > result;
20471 int val1 ;
20472 int ecode1 = 0 ;
20473 PyObject * obj0 = 0 ;
20474 char * kwnames[] = {
20475 (char *) "variant", NULL
20476 };
20477
20478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20479 if (obj0) {
20480 ecode1 = SWIG_AsVal_int(obj0, &val1);
20481 if (!SWIG_IsOK(ecode1)) {
20482 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20483 }
20484 arg1 = static_cast< wxWindowVariant >(val1);
20485 }
20486 {
20487 if (!wxPyCheckForApp()) SWIG_fail;
20488 PyThreadState* __tstate = wxPyBeginAllowThreads();
20489 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20490 wxPyEndAllowThreads(__tstate);
20491 if (PyErr_Occurred()) SWIG_fail;
20492 }
20493 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20494 return resultobj;
20495 fail:
20496 return NULL;
20497 }
20498
20499
20500 SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20501 PyObject *obj;
20502 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20503 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20504 return SWIG_Py_Void();
20505 }
20506
20507 SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20508 PyObject *resultobj = 0;
20509 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20510 int arg2 = (int) 0 ;
20511 int arg3 = (int) -1 ;
20512 int arg4 = (int) -1 ;
20513 wxBookCtrlBaseEvent *result = 0 ;
20514 int val1 ;
20515 int ecode1 = 0 ;
20516 int val2 ;
20517 int ecode2 = 0 ;
20518 int val3 ;
20519 int ecode3 = 0 ;
20520 int val4 ;
20521 int ecode4 = 0 ;
20522 PyObject * obj0 = 0 ;
20523 PyObject * obj1 = 0 ;
20524 PyObject * obj2 = 0 ;
20525 PyObject * obj3 = 0 ;
20526 char * kwnames[] = {
20527 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20528 };
20529
20530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20531 if (obj0) {
20532 ecode1 = SWIG_AsVal_int(obj0, &val1);
20533 if (!SWIG_IsOK(ecode1)) {
20534 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20535 }
20536 arg1 = static_cast< wxEventType >(val1);
20537 }
20538 if (obj1) {
20539 ecode2 = SWIG_AsVal_int(obj1, &val2);
20540 if (!SWIG_IsOK(ecode2)) {
20541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20542 }
20543 arg2 = static_cast< int >(val2);
20544 }
20545 if (obj2) {
20546 ecode3 = SWIG_AsVal_int(obj2, &val3);
20547 if (!SWIG_IsOK(ecode3)) {
20548 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20549 }
20550 arg3 = static_cast< int >(val3);
20551 }
20552 if (obj3) {
20553 ecode4 = SWIG_AsVal_int(obj3, &val4);
20554 if (!SWIG_IsOK(ecode4)) {
20555 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20556 }
20557 arg4 = static_cast< int >(val4);
20558 }
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20562 wxPyEndAllowThreads(__tstate);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
20565 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20566 return resultobj;
20567 fail:
20568 return NULL;
20569 }
20570
20571
20572 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20573 PyObject *resultobj = 0;
20574 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20575 int result;
20576 void *argp1 = 0 ;
20577 int res1 = 0 ;
20578 PyObject *swig_obj[1] ;
20579
20580 if (!args) SWIG_fail;
20581 swig_obj[0] = args;
20582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20583 if (!SWIG_IsOK(res1)) {
20584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20585 }
20586 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20587 {
20588 PyThreadState* __tstate = wxPyBeginAllowThreads();
20589 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20590 wxPyEndAllowThreads(__tstate);
20591 if (PyErr_Occurred()) SWIG_fail;
20592 }
20593 resultobj = SWIG_From_int(static_cast< int >(result));
20594 return resultobj;
20595 fail:
20596 return NULL;
20597 }
20598
20599
20600 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20601 PyObject *resultobj = 0;
20602 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20603 int arg2 ;
20604 void *argp1 = 0 ;
20605 int res1 = 0 ;
20606 int val2 ;
20607 int ecode2 = 0 ;
20608 PyObject * obj0 = 0 ;
20609 PyObject * obj1 = 0 ;
20610 char * kwnames[] = {
20611 (char *) "self",(char *) "nSel", NULL
20612 };
20613
20614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20616 if (!SWIG_IsOK(res1)) {
20617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20618 }
20619 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20620 ecode2 = SWIG_AsVal_int(obj1, &val2);
20621 if (!SWIG_IsOK(ecode2)) {
20622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20623 }
20624 arg2 = static_cast< int >(val2);
20625 {
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
20627 (arg1)->SetSelection(arg2);
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
20631 resultobj = SWIG_Py_Void();
20632 return resultobj;
20633 fail:
20634 return NULL;
20635 }
20636
20637
20638 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20639 PyObject *resultobj = 0;
20640 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20641 int result;
20642 void *argp1 = 0 ;
20643 int res1 = 0 ;
20644 PyObject *swig_obj[1] ;
20645
20646 if (!args) SWIG_fail;
20647 swig_obj[0] = args;
20648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20649 if (!SWIG_IsOK(res1)) {
20650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20651 }
20652 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20653 {
20654 PyThreadState* __tstate = wxPyBeginAllowThreads();
20655 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20656 wxPyEndAllowThreads(__tstate);
20657 if (PyErr_Occurred()) SWIG_fail;
20658 }
20659 resultobj = SWIG_From_int(static_cast< int >(result));
20660 return resultobj;
20661 fail:
20662 return NULL;
20663 }
20664
20665
20666 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20667 PyObject *resultobj = 0;
20668 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20669 int arg2 ;
20670 void *argp1 = 0 ;
20671 int res1 = 0 ;
20672 int val2 ;
20673 int ecode2 = 0 ;
20674 PyObject * obj0 = 0 ;
20675 PyObject * obj1 = 0 ;
20676 char * kwnames[] = {
20677 (char *) "self",(char *) "nOldSel", NULL
20678 };
20679
20680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20682 if (!SWIG_IsOK(res1)) {
20683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20684 }
20685 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20686 ecode2 = SWIG_AsVal_int(obj1, &val2);
20687 if (!SWIG_IsOK(ecode2)) {
20688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20689 }
20690 arg2 = static_cast< int >(val2);
20691 {
20692 PyThreadState* __tstate = wxPyBeginAllowThreads();
20693 (arg1)->SetOldSelection(arg2);
20694 wxPyEndAllowThreads(__tstate);
20695 if (PyErr_Occurred()) SWIG_fail;
20696 }
20697 resultobj = SWIG_Py_Void();
20698 return resultobj;
20699 fail:
20700 return NULL;
20701 }
20702
20703
20704 SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20705 PyObject *obj;
20706 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20707 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20708 return SWIG_Py_Void();
20709 }
20710
20711 SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20712 return SWIG_Python_InitShadowInstance(args);
20713 }
20714
20715 SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20716 PyObject *resultobj = 0;
20717 wxWindow *arg1 = (wxWindow *) 0 ;
20718 int arg2 = (int) -1 ;
20719 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20720 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20721 wxSize const &arg4_defvalue = wxDefaultSize ;
20722 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20723 long arg5 = (long) 0 ;
20724 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20725 wxString *arg6 = (wxString *) &arg6_defvalue ;
20726 wxNotebook *result = 0 ;
20727 void *argp1 = 0 ;
20728 int res1 = 0 ;
20729 int val2 ;
20730 int ecode2 = 0 ;
20731 wxPoint temp3 ;
20732 wxSize temp4 ;
20733 long val5 ;
20734 int ecode5 = 0 ;
20735 bool temp6 = false ;
20736 PyObject * obj0 = 0 ;
20737 PyObject * obj1 = 0 ;
20738 PyObject * obj2 = 0 ;
20739 PyObject * obj3 = 0 ;
20740 PyObject * obj4 = 0 ;
20741 PyObject * obj5 = 0 ;
20742 char * kwnames[] = {
20743 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20744 };
20745
20746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20748 if (!SWIG_IsOK(res1)) {
20749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20750 }
20751 arg1 = reinterpret_cast< wxWindow * >(argp1);
20752 if (obj1) {
20753 ecode2 = SWIG_AsVal_int(obj1, &val2);
20754 if (!SWIG_IsOK(ecode2)) {
20755 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20756 }
20757 arg2 = static_cast< int >(val2);
20758 }
20759 if (obj2) {
20760 {
20761 arg3 = &temp3;
20762 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20763 }
20764 }
20765 if (obj3) {
20766 {
20767 arg4 = &temp4;
20768 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20769 }
20770 }
20771 if (obj4) {
20772 ecode5 = SWIG_AsVal_long(obj4, &val5);
20773 if (!SWIG_IsOK(ecode5)) {
20774 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20775 }
20776 arg5 = static_cast< long >(val5);
20777 }
20778 if (obj5) {
20779 {
20780 arg6 = wxString_in_helper(obj5);
20781 if (arg6 == NULL) SWIG_fail;
20782 temp6 = true;
20783 }
20784 }
20785 {
20786 if (!wxPyCheckForApp()) SWIG_fail;
20787 PyThreadState* __tstate = wxPyBeginAllowThreads();
20788 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20789 wxPyEndAllowThreads(__tstate);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
20792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20793 {
20794 if (temp6)
20795 delete arg6;
20796 }
20797 return resultobj;
20798 fail:
20799 {
20800 if (temp6)
20801 delete arg6;
20802 }
20803 return NULL;
20804 }
20805
20806
20807 SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20808 PyObject *resultobj = 0;
20809 wxNotebook *result = 0 ;
20810
20811 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20812 {
20813 if (!wxPyCheckForApp()) SWIG_fail;
20814 PyThreadState* __tstate = wxPyBeginAllowThreads();
20815 result = (wxNotebook *)new wxNotebook();
20816 wxPyEndAllowThreads(__tstate);
20817 if (PyErr_Occurred()) SWIG_fail;
20818 }
20819 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20820 return resultobj;
20821 fail:
20822 return NULL;
20823 }
20824
20825
20826 SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20827 PyObject *resultobj = 0;
20828 wxNotebook *arg1 = (wxNotebook *) 0 ;
20829 wxWindow *arg2 = (wxWindow *) 0 ;
20830 int arg3 = (int) -1 ;
20831 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20832 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20833 wxSize const &arg5_defvalue = wxDefaultSize ;
20834 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20835 long arg6 = (long) 0 ;
20836 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20837 wxString *arg7 = (wxString *) &arg7_defvalue ;
20838 bool result;
20839 void *argp1 = 0 ;
20840 int res1 = 0 ;
20841 void *argp2 = 0 ;
20842 int res2 = 0 ;
20843 int val3 ;
20844 int ecode3 = 0 ;
20845 wxPoint temp4 ;
20846 wxSize temp5 ;
20847 long val6 ;
20848 int ecode6 = 0 ;
20849 bool temp7 = false ;
20850 PyObject * obj0 = 0 ;
20851 PyObject * obj1 = 0 ;
20852 PyObject * obj2 = 0 ;
20853 PyObject * obj3 = 0 ;
20854 PyObject * obj4 = 0 ;
20855 PyObject * obj5 = 0 ;
20856 PyObject * obj6 = 0 ;
20857 char * kwnames[] = {
20858 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20859 };
20860
20861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20863 if (!SWIG_IsOK(res1)) {
20864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20865 }
20866 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20867 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20868 if (!SWIG_IsOK(res2)) {
20869 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20870 }
20871 arg2 = reinterpret_cast< wxWindow * >(argp2);
20872 if (obj2) {
20873 ecode3 = SWIG_AsVal_int(obj2, &val3);
20874 if (!SWIG_IsOK(ecode3)) {
20875 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20876 }
20877 arg3 = static_cast< int >(val3);
20878 }
20879 if (obj3) {
20880 {
20881 arg4 = &temp4;
20882 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20883 }
20884 }
20885 if (obj4) {
20886 {
20887 arg5 = &temp5;
20888 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20889 }
20890 }
20891 if (obj5) {
20892 ecode6 = SWIG_AsVal_long(obj5, &val6);
20893 if (!SWIG_IsOK(ecode6)) {
20894 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20895 }
20896 arg6 = static_cast< long >(val6);
20897 }
20898 if (obj6) {
20899 {
20900 arg7 = wxString_in_helper(obj6);
20901 if (arg7 == NULL) SWIG_fail;
20902 temp7 = true;
20903 }
20904 }
20905 {
20906 PyThreadState* __tstate = wxPyBeginAllowThreads();
20907 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20908 wxPyEndAllowThreads(__tstate);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
20911 {
20912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20913 }
20914 {
20915 if (temp7)
20916 delete arg7;
20917 }
20918 return resultobj;
20919 fail:
20920 {
20921 if (temp7)
20922 delete arg7;
20923 }
20924 return NULL;
20925 }
20926
20927
20928 SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20929 PyObject *resultobj = 0;
20930 wxNotebook *arg1 = (wxNotebook *) 0 ;
20931 int result;
20932 void *argp1 = 0 ;
20933 int res1 = 0 ;
20934 PyObject *swig_obj[1] ;
20935
20936 if (!args) SWIG_fail;
20937 swig_obj[0] = args;
20938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20939 if (!SWIG_IsOK(res1)) {
20940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20941 }
20942 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20943 {
20944 PyThreadState* __tstate = wxPyBeginAllowThreads();
20945 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20946 wxPyEndAllowThreads(__tstate);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 }
20949 resultobj = SWIG_From_int(static_cast< int >(result));
20950 return resultobj;
20951 fail:
20952 return NULL;
20953 }
20954
20955
20956 SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20957 PyObject *resultobj = 0;
20958 wxNotebook *arg1 = (wxNotebook *) 0 ;
20959 wxSize *arg2 = 0 ;
20960 void *argp1 = 0 ;
20961 int res1 = 0 ;
20962 wxSize temp2 ;
20963 PyObject * obj0 = 0 ;
20964 PyObject * obj1 = 0 ;
20965 char * kwnames[] = {
20966 (char *) "self",(char *) "padding", NULL
20967 };
20968
20969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20971 if (!SWIG_IsOK(res1)) {
20972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20973 }
20974 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20975 {
20976 arg2 = &temp2;
20977 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20978 }
20979 {
20980 PyThreadState* __tstate = wxPyBeginAllowThreads();
20981 (arg1)->SetPadding((wxSize const &)*arg2);
20982 wxPyEndAllowThreads(__tstate);
20983 if (PyErr_Occurred()) SWIG_fail;
20984 }
20985 resultobj = SWIG_Py_Void();
20986 return resultobj;
20987 fail:
20988 return NULL;
20989 }
20990
20991
20992 SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20993 PyObject *resultobj = 0;
20994 wxNotebook *arg1 = (wxNotebook *) 0 ;
20995 wxSize *arg2 = 0 ;
20996 void *argp1 = 0 ;
20997 int res1 = 0 ;
20998 wxSize temp2 ;
20999 PyObject * obj0 = 0 ;
21000 PyObject * obj1 = 0 ;
21001 char * kwnames[] = {
21002 (char *) "self",(char *) "sz", NULL
21003 };
21004
21005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
21006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21007 if (!SWIG_IsOK(res1)) {
21008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
21009 }
21010 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21011 {
21012 arg2 = &temp2;
21013 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21014 }
21015 {
21016 PyThreadState* __tstate = wxPyBeginAllowThreads();
21017 (arg1)->SetTabSize((wxSize const &)*arg2);
21018 wxPyEndAllowThreads(__tstate);
21019 if (PyErr_Occurred()) SWIG_fail;
21020 }
21021 resultobj = SWIG_Py_Void();
21022 return resultobj;
21023 fail:
21024 return NULL;
21025 }
21026
21027
21028 SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21029 PyObject *resultobj = 0;
21030 wxNotebook *arg1 = (wxNotebook *) 0 ;
21031 wxColour result;
21032 void *argp1 = 0 ;
21033 int res1 = 0 ;
21034 PyObject *swig_obj[1] ;
21035
21036 if (!args) SWIG_fail;
21037 swig_obj[0] = args;
21038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21039 if (!SWIG_IsOK(res1)) {
21040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21041 }
21042 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21043 {
21044 PyThreadState* __tstate = wxPyBeginAllowThreads();
21045 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
21046 wxPyEndAllowThreads(__tstate);
21047 if (PyErr_Occurred()) SWIG_fail;
21048 }
21049 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21050 return resultobj;
21051 fail:
21052 return NULL;
21053 }
21054
21055
21056 SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21057 PyObject *resultobj = 0;
21058 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21059 SwigValueWrapper<wxVisualAttributes > result;
21060 int val1 ;
21061 int ecode1 = 0 ;
21062 PyObject * obj0 = 0 ;
21063 char * kwnames[] = {
21064 (char *) "variant", NULL
21065 };
21066
21067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
21068 if (obj0) {
21069 ecode1 = SWIG_AsVal_int(obj0, &val1);
21070 if (!SWIG_IsOK(ecode1)) {
21071 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21072 }
21073 arg1 = static_cast< wxWindowVariant >(val1);
21074 }
21075 {
21076 if (!wxPyCheckForApp()) SWIG_fail;
21077 PyThreadState* __tstate = wxPyBeginAllowThreads();
21078 result = wxNotebook::GetClassDefaultAttributes(arg1);
21079 wxPyEndAllowThreads(__tstate);
21080 if (PyErr_Occurred()) SWIG_fail;
21081 }
21082 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21083 return resultobj;
21084 fail:
21085 return NULL;
21086 }
21087
21088
21089 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj = 0;
21091 wxNotebook *arg1 = (wxNotebook *) 0 ;
21092 int arg2 ;
21093 bool result;
21094 void *argp1 = 0 ;
21095 int res1 = 0 ;
21096 int val2 ;
21097 int ecode2 = 0 ;
21098 PyObject * obj0 = 0 ;
21099 PyObject * obj1 = 0 ;
21100 char * kwnames[] = {
21101 (char *) "self",(char *) "nPage", NULL
21102 };
21103
21104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail;
21105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21106 if (!SWIG_IsOK(res1)) {
21107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21108 }
21109 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21110 ecode2 = SWIG_AsVal_int(obj1, &val2);
21111 if (!SWIG_IsOK(ecode2)) {
21112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21113 }
21114 arg2 = static_cast< int >(val2);
21115 {
21116 PyThreadState* __tstate = wxPyBeginAllowThreads();
21117 result = (bool)(arg1)->SendPageChangingEvent(arg2);
21118 wxPyEndAllowThreads(__tstate);
21119 if (PyErr_Occurred()) SWIG_fail;
21120 }
21121 {
21122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21123 }
21124 return resultobj;
21125 fail:
21126 return NULL;
21127 }
21128
21129
21130 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21131 PyObject *resultobj = 0;
21132 wxNotebook *arg1 = (wxNotebook *) 0 ;
21133 int arg2 ;
21134 int arg3 = (int) -1 ;
21135 void *argp1 = 0 ;
21136 int res1 = 0 ;
21137 int val2 ;
21138 int ecode2 = 0 ;
21139 int val3 ;
21140 int ecode3 = 0 ;
21141 PyObject * obj0 = 0 ;
21142 PyObject * obj1 = 0 ;
21143 PyObject * obj2 = 0 ;
21144 char * kwnames[] = {
21145 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21146 };
21147
21148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21150 if (!SWIG_IsOK(res1)) {
21151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21152 }
21153 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21154 ecode2 = SWIG_AsVal_int(obj1, &val2);
21155 if (!SWIG_IsOK(ecode2)) {
21156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21157 }
21158 arg2 = static_cast< int >(val2);
21159 if (obj2) {
21160 ecode3 = SWIG_AsVal_int(obj2, &val3);
21161 if (!SWIG_IsOK(ecode3)) {
21162 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21163 }
21164 arg3 = static_cast< int >(val3);
21165 }
21166 {
21167 PyThreadState* __tstate = wxPyBeginAllowThreads();
21168 (arg1)->SendPageChangedEvent(arg2,arg3);
21169 wxPyEndAllowThreads(__tstate);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 }
21172 resultobj = SWIG_Py_Void();
21173 return resultobj;
21174 fail:
21175 return NULL;
21176 }
21177
21178
21179 SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21180 PyObject *obj;
21181 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21182 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
21183 return SWIG_Py_Void();
21184 }
21185
21186 SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21187 return SWIG_Python_InitShadowInstance(args);
21188 }
21189
21190 SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21191 PyObject *resultobj = 0;
21192 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21193 int arg2 = (int) 0 ;
21194 int arg3 = (int) -1 ;
21195 int arg4 = (int) -1 ;
21196 wxNotebookEvent *result = 0 ;
21197 int val1 ;
21198 int ecode1 = 0 ;
21199 int val2 ;
21200 int ecode2 = 0 ;
21201 int val3 ;
21202 int ecode3 = 0 ;
21203 int val4 ;
21204 int ecode4 = 0 ;
21205 PyObject * obj0 = 0 ;
21206 PyObject * obj1 = 0 ;
21207 PyObject * obj2 = 0 ;
21208 PyObject * obj3 = 0 ;
21209 char * kwnames[] = {
21210 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21211 };
21212
21213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21214 if (obj0) {
21215 ecode1 = SWIG_AsVal_int(obj0, &val1);
21216 if (!SWIG_IsOK(ecode1)) {
21217 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21218 }
21219 arg1 = static_cast< wxEventType >(val1);
21220 }
21221 if (obj1) {
21222 ecode2 = SWIG_AsVal_int(obj1, &val2);
21223 if (!SWIG_IsOK(ecode2)) {
21224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21225 }
21226 arg2 = static_cast< int >(val2);
21227 }
21228 if (obj2) {
21229 ecode3 = SWIG_AsVal_int(obj2, &val3);
21230 if (!SWIG_IsOK(ecode3)) {
21231 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21232 }
21233 arg3 = static_cast< int >(val3);
21234 }
21235 if (obj3) {
21236 ecode4 = SWIG_AsVal_int(obj3, &val4);
21237 if (!SWIG_IsOK(ecode4)) {
21238 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21239 }
21240 arg4 = static_cast< int >(val4);
21241 }
21242 {
21243 PyThreadState* __tstate = wxPyBeginAllowThreads();
21244 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21245 wxPyEndAllowThreads(__tstate);
21246 if (PyErr_Occurred()) SWIG_fail;
21247 }
21248 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21249 return resultobj;
21250 fail:
21251 return NULL;
21252 }
21253
21254
21255 SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21256 PyObject *obj;
21257 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21258 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
21259 return SWIG_Py_Void();
21260 }
21261
21262 SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21263 return SWIG_Python_InitShadowInstance(args);
21264 }
21265
21266 SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21267 PyObject *resultobj = 0;
21268 wxWindow *arg1 = (wxWindow *) 0 ;
21269 int arg2 = (int) -1 ;
21270 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21271 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21272 wxSize const &arg4_defvalue = wxDefaultSize ;
21273 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21274 long arg5 = (long) 0 ;
21275 wxString const &arg6_defvalue = wxPyEmptyString ;
21276 wxString *arg6 = (wxString *) &arg6_defvalue ;
21277 wxListbook *result = 0 ;
21278 void *argp1 = 0 ;
21279 int res1 = 0 ;
21280 int val2 ;
21281 int ecode2 = 0 ;
21282 wxPoint temp3 ;
21283 wxSize temp4 ;
21284 long val5 ;
21285 int ecode5 = 0 ;
21286 bool temp6 = false ;
21287 PyObject * obj0 = 0 ;
21288 PyObject * obj1 = 0 ;
21289 PyObject * obj2 = 0 ;
21290 PyObject * obj3 = 0 ;
21291 PyObject * obj4 = 0 ;
21292 PyObject * obj5 = 0 ;
21293 char * kwnames[] = {
21294 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21295 };
21296
21297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21299 if (!SWIG_IsOK(res1)) {
21300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21301 }
21302 arg1 = reinterpret_cast< wxWindow * >(argp1);
21303 if (obj1) {
21304 ecode2 = SWIG_AsVal_int(obj1, &val2);
21305 if (!SWIG_IsOK(ecode2)) {
21306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21307 }
21308 arg2 = static_cast< int >(val2);
21309 }
21310 if (obj2) {
21311 {
21312 arg3 = &temp3;
21313 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21314 }
21315 }
21316 if (obj3) {
21317 {
21318 arg4 = &temp4;
21319 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21320 }
21321 }
21322 if (obj4) {
21323 ecode5 = SWIG_AsVal_long(obj4, &val5);
21324 if (!SWIG_IsOK(ecode5)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21326 }
21327 arg5 = static_cast< long >(val5);
21328 }
21329 if (obj5) {
21330 {
21331 arg6 = wxString_in_helper(obj5);
21332 if (arg6 == NULL) SWIG_fail;
21333 temp6 = true;
21334 }
21335 }
21336 {
21337 if (!wxPyCheckForApp()) SWIG_fail;
21338 PyThreadState* __tstate = wxPyBeginAllowThreads();
21339 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21340 wxPyEndAllowThreads(__tstate);
21341 if (PyErr_Occurred()) SWIG_fail;
21342 }
21343 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21344 {
21345 if (temp6)
21346 delete arg6;
21347 }
21348 return resultobj;
21349 fail:
21350 {
21351 if (temp6)
21352 delete arg6;
21353 }
21354 return NULL;
21355 }
21356
21357
21358 SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21359 PyObject *resultobj = 0;
21360 wxListbook *result = 0 ;
21361
21362 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21363 {
21364 if (!wxPyCheckForApp()) SWIG_fail;
21365 PyThreadState* __tstate = wxPyBeginAllowThreads();
21366 result = (wxListbook *)new wxListbook();
21367 wxPyEndAllowThreads(__tstate);
21368 if (PyErr_Occurred()) SWIG_fail;
21369 }
21370 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21371 return resultobj;
21372 fail:
21373 return NULL;
21374 }
21375
21376
21377 SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21378 PyObject *resultobj = 0;
21379 wxListbook *arg1 = (wxListbook *) 0 ;
21380 wxWindow *arg2 = (wxWindow *) 0 ;
21381 int arg3 = (int) -1 ;
21382 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21383 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21384 wxSize const &arg5_defvalue = wxDefaultSize ;
21385 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21386 long arg6 = (long) 0 ;
21387 wxString const &arg7_defvalue = wxPyEmptyString ;
21388 wxString *arg7 = (wxString *) &arg7_defvalue ;
21389 bool result;
21390 void *argp1 = 0 ;
21391 int res1 = 0 ;
21392 void *argp2 = 0 ;
21393 int res2 = 0 ;
21394 int val3 ;
21395 int ecode3 = 0 ;
21396 wxPoint temp4 ;
21397 wxSize temp5 ;
21398 long val6 ;
21399 int ecode6 = 0 ;
21400 bool temp7 = false ;
21401 PyObject * obj0 = 0 ;
21402 PyObject * obj1 = 0 ;
21403 PyObject * obj2 = 0 ;
21404 PyObject * obj3 = 0 ;
21405 PyObject * obj4 = 0 ;
21406 PyObject * obj5 = 0 ;
21407 PyObject * obj6 = 0 ;
21408 char * kwnames[] = {
21409 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21410 };
21411
21412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21414 if (!SWIG_IsOK(res1)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21416 }
21417 arg1 = reinterpret_cast< wxListbook * >(argp1);
21418 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21419 if (!SWIG_IsOK(res2)) {
21420 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21421 }
21422 arg2 = reinterpret_cast< wxWindow * >(argp2);
21423 if (obj2) {
21424 ecode3 = SWIG_AsVal_int(obj2, &val3);
21425 if (!SWIG_IsOK(ecode3)) {
21426 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21427 }
21428 arg3 = static_cast< int >(val3);
21429 }
21430 if (obj3) {
21431 {
21432 arg4 = &temp4;
21433 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21434 }
21435 }
21436 if (obj4) {
21437 {
21438 arg5 = &temp5;
21439 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21440 }
21441 }
21442 if (obj5) {
21443 ecode6 = SWIG_AsVal_long(obj5, &val6);
21444 if (!SWIG_IsOK(ecode6)) {
21445 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21446 }
21447 arg6 = static_cast< long >(val6);
21448 }
21449 if (obj6) {
21450 {
21451 arg7 = wxString_in_helper(obj6);
21452 if (arg7 == NULL) SWIG_fail;
21453 temp7 = true;
21454 }
21455 }
21456 {
21457 PyThreadState* __tstate = wxPyBeginAllowThreads();
21458 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21459 wxPyEndAllowThreads(__tstate);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
21462 {
21463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21464 }
21465 {
21466 if (temp7)
21467 delete arg7;
21468 }
21469 return resultobj;
21470 fail:
21471 {
21472 if (temp7)
21473 delete arg7;
21474 }
21475 return NULL;
21476 }
21477
21478
21479 SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21480 PyObject *resultobj = 0;
21481 wxListbook *arg1 = (wxListbook *) 0 ;
21482 wxListView *result = 0 ;
21483 void *argp1 = 0 ;
21484 int res1 = 0 ;
21485 PyObject *swig_obj[1] ;
21486
21487 if (!args) SWIG_fail;
21488 swig_obj[0] = args;
21489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21490 if (!SWIG_IsOK(res1)) {
21491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21492 }
21493 arg1 = reinterpret_cast< wxListbook * >(argp1);
21494 {
21495 PyThreadState* __tstate = wxPyBeginAllowThreads();
21496 result = (wxListView *)(arg1)->GetListView();
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21501 return resultobj;
21502 fail:
21503 return NULL;
21504 }
21505
21506
21507 SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21508 PyObject *obj;
21509 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21510 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21511 return SWIG_Py_Void();
21512 }
21513
21514 SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21515 return SWIG_Python_InitShadowInstance(args);
21516 }
21517
21518 SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21519 PyObject *resultobj = 0;
21520 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21521 int arg2 = (int) 0 ;
21522 int arg3 = (int) -1 ;
21523 int arg4 = (int) -1 ;
21524 wxListbookEvent *result = 0 ;
21525 int val1 ;
21526 int ecode1 = 0 ;
21527 int val2 ;
21528 int ecode2 = 0 ;
21529 int val3 ;
21530 int ecode3 = 0 ;
21531 int val4 ;
21532 int ecode4 = 0 ;
21533 PyObject * obj0 = 0 ;
21534 PyObject * obj1 = 0 ;
21535 PyObject * obj2 = 0 ;
21536 PyObject * obj3 = 0 ;
21537 char * kwnames[] = {
21538 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21539 };
21540
21541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21542 if (obj0) {
21543 ecode1 = SWIG_AsVal_int(obj0, &val1);
21544 if (!SWIG_IsOK(ecode1)) {
21545 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21546 }
21547 arg1 = static_cast< wxEventType >(val1);
21548 }
21549 if (obj1) {
21550 ecode2 = SWIG_AsVal_int(obj1, &val2);
21551 if (!SWIG_IsOK(ecode2)) {
21552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21553 }
21554 arg2 = static_cast< int >(val2);
21555 }
21556 if (obj2) {
21557 ecode3 = SWIG_AsVal_int(obj2, &val3);
21558 if (!SWIG_IsOK(ecode3)) {
21559 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21560 }
21561 arg3 = static_cast< int >(val3);
21562 }
21563 if (obj3) {
21564 ecode4 = SWIG_AsVal_int(obj3, &val4);
21565 if (!SWIG_IsOK(ecode4)) {
21566 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21567 }
21568 arg4 = static_cast< int >(val4);
21569 }
21570 {
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21573 wxPyEndAllowThreads(__tstate);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 }
21576 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21577 return resultobj;
21578 fail:
21579 return NULL;
21580 }
21581
21582
21583 SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21584 PyObject *obj;
21585 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21586 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21587 return SWIG_Py_Void();
21588 }
21589
21590 SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21591 return SWIG_Python_InitShadowInstance(args);
21592 }
21593
21594 SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21595 PyObject *resultobj = 0;
21596 wxWindow *arg1 = (wxWindow *) 0 ;
21597 int arg2 ;
21598 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21599 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21600 wxSize const &arg4_defvalue = wxDefaultSize ;
21601 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21602 long arg5 = (long) 0 ;
21603 wxString const &arg6_defvalue = wxPyEmptyString ;
21604 wxString *arg6 = (wxString *) &arg6_defvalue ;
21605 wxChoicebook *result = 0 ;
21606 void *argp1 = 0 ;
21607 int res1 = 0 ;
21608 int val2 ;
21609 int ecode2 = 0 ;
21610 wxPoint temp3 ;
21611 wxSize temp4 ;
21612 long val5 ;
21613 int ecode5 = 0 ;
21614 bool temp6 = false ;
21615 PyObject * obj0 = 0 ;
21616 PyObject * obj1 = 0 ;
21617 PyObject * obj2 = 0 ;
21618 PyObject * obj3 = 0 ;
21619 PyObject * obj4 = 0 ;
21620 PyObject * obj5 = 0 ;
21621 char * kwnames[] = {
21622 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21623 };
21624
21625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21627 if (!SWIG_IsOK(res1)) {
21628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21629 }
21630 arg1 = reinterpret_cast< wxWindow * >(argp1);
21631 ecode2 = SWIG_AsVal_int(obj1, &val2);
21632 if (!SWIG_IsOK(ecode2)) {
21633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21634 }
21635 arg2 = static_cast< int >(val2);
21636 if (obj2) {
21637 {
21638 arg3 = &temp3;
21639 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21640 }
21641 }
21642 if (obj3) {
21643 {
21644 arg4 = &temp4;
21645 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21646 }
21647 }
21648 if (obj4) {
21649 ecode5 = SWIG_AsVal_long(obj4, &val5);
21650 if (!SWIG_IsOK(ecode5)) {
21651 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21652 }
21653 arg5 = static_cast< long >(val5);
21654 }
21655 if (obj5) {
21656 {
21657 arg6 = wxString_in_helper(obj5);
21658 if (arg6 == NULL) SWIG_fail;
21659 temp6 = true;
21660 }
21661 }
21662 {
21663 if (!wxPyCheckForApp()) SWIG_fail;
21664 PyThreadState* __tstate = wxPyBeginAllowThreads();
21665 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21666 wxPyEndAllowThreads(__tstate);
21667 if (PyErr_Occurred()) SWIG_fail;
21668 }
21669 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21670 {
21671 if (temp6)
21672 delete arg6;
21673 }
21674 return resultobj;
21675 fail:
21676 {
21677 if (temp6)
21678 delete arg6;
21679 }
21680 return NULL;
21681 }
21682
21683
21684 SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21685 PyObject *resultobj = 0;
21686 wxChoicebook *result = 0 ;
21687
21688 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21689 {
21690 if (!wxPyCheckForApp()) SWIG_fail;
21691 PyThreadState* __tstate = wxPyBeginAllowThreads();
21692 result = (wxChoicebook *)new wxChoicebook();
21693 wxPyEndAllowThreads(__tstate);
21694 if (PyErr_Occurred()) SWIG_fail;
21695 }
21696 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21697 return resultobj;
21698 fail:
21699 return NULL;
21700 }
21701
21702
21703 SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21704 PyObject *resultobj = 0;
21705 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21706 wxWindow *arg2 = (wxWindow *) 0 ;
21707 int arg3 ;
21708 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21709 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21710 wxSize const &arg5_defvalue = wxDefaultSize ;
21711 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21712 long arg6 = (long) 0 ;
21713 wxString const &arg7_defvalue = wxPyEmptyString ;
21714 wxString *arg7 = (wxString *) &arg7_defvalue ;
21715 bool result;
21716 void *argp1 = 0 ;
21717 int res1 = 0 ;
21718 void *argp2 = 0 ;
21719 int res2 = 0 ;
21720 int val3 ;
21721 int ecode3 = 0 ;
21722 wxPoint temp4 ;
21723 wxSize temp5 ;
21724 long val6 ;
21725 int ecode6 = 0 ;
21726 bool temp7 = false ;
21727 PyObject * obj0 = 0 ;
21728 PyObject * obj1 = 0 ;
21729 PyObject * obj2 = 0 ;
21730 PyObject * obj3 = 0 ;
21731 PyObject * obj4 = 0 ;
21732 PyObject * obj5 = 0 ;
21733 PyObject * obj6 = 0 ;
21734 char * kwnames[] = {
21735 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21736 };
21737
21738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21740 if (!SWIG_IsOK(res1)) {
21741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21742 }
21743 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21744 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21745 if (!SWIG_IsOK(res2)) {
21746 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21747 }
21748 arg2 = reinterpret_cast< wxWindow * >(argp2);
21749 ecode3 = SWIG_AsVal_int(obj2, &val3);
21750 if (!SWIG_IsOK(ecode3)) {
21751 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21752 }
21753 arg3 = static_cast< int >(val3);
21754 if (obj3) {
21755 {
21756 arg4 = &temp4;
21757 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21758 }
21759 }
21760 if (obj4) {
21761 {
21762 arg5 = &temp5;
21763 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21764 }
21765 }
21766 if (obj5) {
21767 ecode6 = SWIG_AsVal_long(obj5, &val6);
21768 if (!SWIG_IsOK(ecode6)) {
21769 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21770 }
21771 arg6 = static_cast< long >(val6);
21772 }
21773 if (obj6) {
21774 {
21775 arg7 = wxString_in_helper(obj6);
21776 if (arg7 == NULL) SWIG_fail;
21777 temp7 = true;
21778 }
21779 }
21780 {
21781 PyThreadState* __tstate = wxPyBeginAllowThreads();
21782 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21783 wxPyEndAllowThreads(__tstate);
21784 if (PyErr_Occurred()) SWIG_fail;
21785 }
21786 {
21787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21788 }
21789 {
21790 if (temp7)
21791 delete arg7;
21792 }
21793 return resultobj;
21794 fail:
21795 {
21796 if (temp7)
21797 delete arg7;
21798 }
21799 return NULL;
21800 }
21801
21802
21803 SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21804 PyObject *resultobj = 0;
21805 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21806 wxChoice *result = 0 ;
21807 void *argp1 = 0 ;
21808 int res1 = 0 ;
21809 PyObject *swig_obj[1] ;
21810
21811 if (!args) SWIG_fail;
21812 swig_obj[0] = args;
21813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21814 if (!SWIG_IsOK(res1)) {
21815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21816 }
21817 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21818 {
21819 PyThreadState* __tstate = wxPyBeginAllowThreads();
21820 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21821 wxPyEndAllowThreads(__tstate);
21822 if (PyErr_Occurred()) SWIG_fail;
21823 }
21824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21825 return resultobj;
21826 fail:
21827 return NULL;
21828 }
21829
21830
21831 SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21832 PyObject *obj;
21833 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21834 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21835 return SWIG_Py_Void();
21836 }
21837
21838 SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21839 return SWIG_Python_InitShadowInstance(args);
21840 }
21841
21842 SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj = 0;
21844 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21845 int arg2 = (int) 0 ;
21846 int arg3 = (int) -1 ;
21847 int arg4 = (int) -1 ;
21848 wxChoicebookEvent *result = 0 ;
21849 int val1 ;
21850 int ecode1 = 0 ;
21851 int val2 ;
21852 int ecode2 = 0 ;
21853 int val3 ;
21854 int ecode3 = 0 ;
21855 int val4 ;
21856 int ecode4 = 0 ;
21857 PyObject * obj0 = 0 ;
21858 PyObject * obj1 = 0 ;
21859 PyObject * obj2 = 0 ;
21860 PyObject * obj3 = 0 ;
21861 char * kwnames[] = {
21862 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21863 };
21864
21865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21866 if (obj0) {
21867 ecode1 = SWIG_AsVal_int(obj0, &val1);
21868 if (!SWIG_IsOK(ecode1)) {
21869 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21870 }
21871 arg1 = static_cast< wxEventType >(val1);
21872 }
21873 if (obj1) {
21874 ecode2 = SWIG_AsVal_int(obj1, &val2);
21875 if (!SWIG_IsOK(ecode2)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21877 }
21878 arg2 = static_cast< int >(val2);
21879 }
21880 if (obj2) {
21881 ecode3 = SWIG_AsVal_int(obj2, &val3);
21882 if (!SWIG_IsOK(ecode3)) {
21883 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21884 }
21885 arg3 = static_cast< int >(val3);
21886 }
21887 if (obj3) {
21888 ecode4 = SWIG_AsVal_int(obj3, &val4);
21889 if (!SWIG_IsOK(ecode4)) {
21890 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21891 }
21892 arg4 = static_cast< int >(val4);
21893 }
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21897 wxPyEndAllowThreads(__tstate);
21898 if (PyErr_Occurred()) SWIG_fail;
21899 }
21900 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21901 return resultobj;
21902 fail:
21903 return NULL;
21904 }
21905
21906
21907 SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21908 PyObject *obj;
21909 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21910 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21911 return SWIG_Py_Void();
21912 }
21913
21914 SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21915 return SWIG_Python_InitShadowInstance(args);
21916 }
21917
21918 SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21919 PyObject *resultobj = 0;
21920 wxWindow *arg1 = (wxWindow *) 0 ;
21921 int arg2 ;
21922 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21923 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21924 wxSize const &arg4_defvalue = wxDefaultSize ;
21925 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21926 long arg5 = (long) wxBK_DEFAULT ;
21927 wxString const &arg6_defvalue = wxPyEmptyString ;
21928 wxString *arg6 = (wxString *) &arg6_defvalue ;
21929 wxTreebook *result = 0 ;
21930 void *argp1 = 0 ;
21931 int res1 = 0 ;
21932 int val2 ;
21933 int ecode2 = 0 ;
21934 wxPoint temp3 ;
21935 wxSize temp4 ;
21936 long val5 ;
21937 int ecode5 = 0 ;
21938 bool temp6 = false ;
21939 PyObject * obj0 = 0 ;
21940 PyObject * obj1 = 0 ;
21941 PyObject * obj2 = 0 ;
21942 PyObject * obj3 = 0 ;
21943 PyObject * obj4 = 0 ;
21944 PyObject * obj5 = 0 ;
21945 char * kwnames[] = {
21946 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21947 };
21948
21949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21951 if (!SWIG_IsOK(res1)) {
21952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21953 }
21954 arg1 = reinterpret_cast< wxWindow * >(argp1);
21955 ecode2 = SWIG_AsVal_int(obj1, &val2);
21956 if (!SWIG_IsOK(ecode2)) {
21957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21958 }
21959 arg2 = static_cast< int >(val2);
21960 if (obj2) {
21961 {
21962 arg3 = &temp3;
21963 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21964 }
21965 }
21966 if (obj3) {
21967 {
21968 arg4 = &temp4;
21969 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21970 }
21971 }
21972 if (obj4) {
21973 ecode5 = SWIG_AsVal_long(obj4, &val5);
21974 if (!SWIG_IsOK(ecode5)) {
21975 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21976 }
21977 arg5 = static_cast< long >(val5);
21978 }
21979 if (obj5) {
21980 {
21981 arg6 = wxString_in_helper(obj5);
21982 if (arg6 == NULL) SWIG_fail;
21983 temp6 = true;
21984 }
21985 }
21986 {
21987 if (!wxPyCheckForApp()) SWIG_fail;
21988 PyThreadState* __tstate = wxPyBeginAllowThreads();
21989 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21990 wxPyEndAllowThreads(__tstate);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 }
21993 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21994 {
21995 if (temp6)
21996 delete arg6;
21997 }
21998 return resultobj;
21999 fail:
22000 {
22001 if (temp6)
22002 delete arg6;
22003 }
22004 return NULL;
22005 }
22006
22007
22008 SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22009 PyObject *resultobj = 0;
22010 wxTreebook *result = 0 ;
22011
22012 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
22013 {
22014 if (!wxPyCheckForApp()) SWIG_fail;
22015 PyThreadState* __tstate = wxPyBeginAllowThreads();
22016 result = (wxTreebook *)new wxTreebook();
22017 wxPyEndAllowThreads(__tstate);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
22020 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
22021 return resultobj;
22022 fail:
22023 return NULL;
22024 }
22025
22026
22027 SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22028 PyObject *resultobj = 0;
22029 wxTreebook *arg1 = (wxTreebook *) 0 ;
22030 wxWindow *arg2 = (wxWindow *) 0 ;
22031 int arg3 ;
22032 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22033 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22034 wxSize const &arg5_defvalue = wxDefaultSize ;
22035 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22036 long arg6 = (long) wxBK_DEFAULT ;
22037 wxString const &arg7_defvalue = wxPyEmptyString ;
22038 wxString *arg7 = (wxString *) &arg7_defvalue ;
22039 bool result;
22040 void *argp1 = 0 ;
22041 int res1 = 0 ;
22042 void *argp2 = 0 ;
22043 int res2 = 0 ;
22044 int val3 ;
22045 int ecode3 = 0 ;
22046 wxPoint temp4 ;
22047 wxSize temp5 ;
22048 long val6 ;
22049 int ecode6 = 0 ;
22050 bool temp7 = false ;
22051 PyObject * obj0 = 0 ;
22052 PyObject * obj1 = 0 ;
22053 PyObject * obj2 = 0 ;
22054 PyObject * obj3 = 0 ;
22055 PyObject * obj4 = 0 ;
22056 PyObject * obj5 = 0 ;
22057 PyObject * obj6 = 0 ;
22058 char * kwnames[] = {
22059 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22060 };
22061
22062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22064 if (!SWIG_IsOK(res1)) {
22065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22066 }
22067 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22068 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22069 if (!SWIG_IsOK(res2)) {
22070 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22071 }
22072 arg2 = reinterpret_cast< wxWindow * >(argp2);
22073 ecode3 = SWIG_AsVal_int(obj2, &val3);
22074 if (!SWIG_IsOK(ecode3)) {
22075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22076 }
22077 arg3 = static_cast< int >(val3);
22078 if (obj3) {
22079 {
22080 arg4 = &temp4;
22081 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22082 }
22083 }
22084 if (obj4) {
22085 {
22086 arg5 = &temp5;
22087 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22088 }
22089 }
22090 if (obj5) {
22091 ecode6 = SWIG_AsVal_long(obj5, &val6);
22092 if (!SWIG_IsOK(ecode6)) {
22093 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22094 }
22095 arg6 = static_cast< long >(val6);
22096 }
22097 if (obj6) {
22098 {
22099 arg7 = wxString_in_helper(obj6);
22100 if (arg7 == NULL) SWIG_fail;
22101 temp7 = true;
22102 }
22103 }
22104 {
22105 PyThreadState* __tstate = wxPyBeginAllowThreads();
22106 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22107 wxPyEndAllowThreads(__tstate);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 }
22110 {
22111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22112 }
22113 {
22114 if (temp7)
22115 delete arg7;
22116 }
22117 return resultobj;
22118 fail:
22119 {
22120 if (temp7)
22121 delete arg7;
22122 }
22123 return NULL;
22124 }
22125
22126
22127 SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22128 PyObject *resultobj = 0;
22129 wxTreebook *arg1 = (wxTreebook *) 0 ;
22130 size_t arg2 ;
22131 wxWindow *arg3 = (wxWindow *) 0 ;
22132 wxString *arg4 = 0 ;
22133 bool arg5 = (bool) false ;
22134 int arg6 = (int) wxNOT_FOUND ;
22135 bool result;
22136 void *argp1 = 0 ;
22137 int res1 = 0 ;
22138 size_t val2 ;
22139 int ecode2 = 0 ;
22140 void *argp3 = 0 ;
22141 int res3 = 0 ;
22142 bool temp4 = false ;
22143 bool val5 ;
22144 int ecode5 = 0 ;
22145 int val6 ;
22146 int ecode6 = 0 ;
22147 PyObject * obj0 = 0 ;
22148 PyObject * obj1 = 0 ;
22149 PyObject * obj2 = 0 ;
22150 PyObject * obj3 = 0 ;
22151 PyObject * obj4 = 0 ;
22152 PyObject * obj5 = 0 ;
22153 char * kwnames[] = {
22154 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22155 };
22156
22157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22159 if (!SWIG_IsOK(res1)) {
22160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22161 }
22162 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22163 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22164 if (!SWIG_IsOK(ecode2)) {
22165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22166 }
22167 arg2 = static_cast< size_t >(val2);
22168 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
22169 if (!SWIG_IsOK(res3)) {
22170 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22171 }
22172 arg3 = reinterpret_cast< wxWindow * >(argp3);
22173 {
22174 arg4 = wxString_in_helper(obj3);
22175 if (arg4 == NULL) SWIG_fail;
22176 temp4 = true;
22177 }
22178 if (obj4) {
22179 ecode5 = SWIG_AsVal_bool(obj4, &val5);
22180 if (!SWIG_IsOK(ecode5)) {
22181 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22182 }
22183 arg5 = static_cast< bool >(val5);
22184 }
22185 if (obj5) {
22186 ecode6 = SWIG_AsVal_int(obj5, &val6);
22187 if (!SWIG_IsOK(ecode6)) {
22188 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22189 }
22190 arg6 = static_cast< int >(val6);
22191 }
22192 {
22193 PyThreadState* __tstate = wxPyBeginAllowThreads();
22194 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
22195 wxPyEndAllowThreads(__tstate);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
22198 {
22199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22200 }
22201 {
22202 if (temp4)
22203 delete arg4;
22204 }
22205 return resultobj;
22206 fail:
22207 {
22208 if (temp4)
22209 delete arg4;
22210 }
22211 return NULL;
22212 }
22213
22214
22215 SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22216 PyObject *resultobj = 0;
22217 wxTreebook *arg1 = (wxTreebook *) 0 ;
22218 wxWindow *arg2 = (wxWindow *) 0 ;
22219 wxString *arg3 = 0 ;
22220 bool arg4 = (bool) false ;
22221 int arg5 = (int) wxNOT_FOUND ;
22222 bool result;
22223 void *argp1 = 0 ;
22224 int res1 = 0 ;
22225 void *argp2 = 0 ;
22226 int res2 = 0 ;
22227 bool temp3 = false ;
22228 bool val4 ;
22229 int ecode4 = 0 ;
22230 int val5 ;
22231 int ecode5 = 0 ;
22232 PyObject * obj0 = 0 ;
22233 PyObject * obj1 = 0 ;
22234 PyObject * obj2 = 0 ;
22235 PyObject * obj3 = 0 ;
22236 PyObject * obj4 = 0 ;
22237 char * kwnames[] = {
22238 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22239 };
22240
22241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22243 if (!SWIG_IsOK(res1)) {
22244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22245 }
22246 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22247 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22248 if (!SWIG_IsOK(res2)) {
22249 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22250 }
22251 arg2 = reinterpret_cast< wxWindow * >(argp2);
22252 {
22253 arg3 = wxString_in_helper(obj2);
22254 if (arg3 == NULL) SWIG_fail;
22255 temp3 = true;
22256 }
22257 if (obj3) {
22258 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22259 if (!SWIG_IsOK(ecode4)) {
22260 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22261 }
22262 arg4 = static_cast< bool >(val4);
22263 }
22264 if (obj4) {
22265 ecode5 = SWIG_AsVal_int(obj4, &val5);
22266 if (!SWIG_IsOK(ecode5)) {
22267 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22268 }
22269 arg5 = static_cast< int >(val5);
22270 }
22271 {
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 {
22278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22279 }
22280 {
22281 if (temp3)
22282 delete arg3;
22283 }
22284 return resultobj;
22285 fail:
22286 {
22287 if (temp3)
22288 delete arg3;
22289 }
22290 return NULL;
22291 }
22292
22293
22294 SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22295 PyObject *resultobj = 0;
22296 wxTreebook *arg1 = (wxTreebook *) 0 ;
22297 size_t arg2 ;
22298 bool result;
22299 void *argp1 = 0 ;
22300 int res1 = 0 ;
22301 size_t val2 ;
22302 int ecode2 = 0 ;
22303 PyObject * obj0 = 0 ;
22304 PyObject * obj1 = 0 ;
22305 char * kwnames[] = {
22306 (char *) "self",(char *) "pos", NULL
22307 };
22308
22309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22311 if (!SWIG_IsOK(res1)) {
22312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22313 }
22314 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22315 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22316 if (!SWIG_IsOK(ecode2)) {
22317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22318 }
22319 arg2 = static_cast< size_t >(val2);
22320 {
22321 PyThreadState* __tstate = wxPyBeginAllowThreads();
22322 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22323 wxPyEndAllowThreads(__tstate);
22324 if (PyErr_Occurred()) SWIG_fail;
22325 }
22326 {
22327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22328 }
22329 return resultobj;
22330 fail:
22331 return NULL;
22332 }
22333
22334
22335 SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22336 PyObject *resultobj = 0;
22337 wxTreebook *arg1 = (wxTreebook *) 0 ;
22338 size_t arg2 ;
22339 bool arg3 = (bool) true ;
22340 bool result;
22341 void *argp1 = 0 ;
22342 int res1 = 0 ;
22343 size_t val2 ;
22344 int ecode2 = 0 ;
22345 bool val3 ;
22346 int ecode3 = 0 ;
22347 PyObject * obj0 = 0 ;
22348 PyObject * obj1 = 0 ;
22349 PyObject * obj2 = 0 ;
22350 char * kwnames[] = {
22351 (char *) "self",(char *) "pos",(char *) "expand", NULL
22352 };
22353
22354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22356 if (!SWIG_IsOK(res1)) {
22357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22358 }
22359 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22360 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22361 if (!SWIG_IsOK(ecode2)) {
22362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22363 }
22364 arg2 = static_cast< size_t >(val2);
22365 if (obj2) {
22366 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22367 if (!SWIG_IsOK(ecode3)) {
22368 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22369 }
22370 arg3 = static_cast< bool >(val3);
22371 }
22372 {
22373 PyThreadState* __tstate = wxPyBeginAllowThreads();
22374 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22375 wxPyEndAllowThreads(__tstate);
22376 if (PyErr_Occurred()) SWIG_fail;
22377 }
22378 {
22379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22380 }
22381 return resultobj;
22382 fail:
22383 return NULL;
22384 }
22385
22386
22387 SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22388 PyObject *resultobj = 0;
22389 wxTreebook *arg1 = (wxTreebook *) 0 ;
22390 size_t arg2 ;
22391 bool result;
22392 void *argp1 = 0 ;
22393 int res1 = 0 ;
22394 size_t val2 ;
22395 int ecode2 = 0 ;
22396 PyObject * obj0 = 0 ;
22397 PyObject * obj1 = 0 ;
22398 char * kwnames[] = {
22399 (char *) "self",(char *) "pos", NULL
22400 };
22401
22402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22404 if (!SWIG_IsOK(res1)) {
22405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22406 }
22407 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22408 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22409 if (!SWIG_IsOK(ecode2)) {
22410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22411 }
22412 arg2 = static_cast< size_t >(val2);
22413 {
22414 PyThreadState* __tstate = wxPyBeginAllowThreads();
22415 result = (bool)(arg1)->CollapseNode(arg2);
22416 wxPyEndAllowThreads(__tstate);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 }
22419 {
22420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22421 }
22422 return resultobj;
22423 fail:
22424 return NULL;
22425 }
22426
22427
22428 SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22429 PyObject *resultobj = 0;
22430 wxTreebook *arg1 = (wxTreebook *) 0 ;
22431 size_t arg2 ;
22432 int result;
22433 void *argp1 = 0 ;
22434 int res1 = 0 ;
22435 size_t val2 ;
22436 int ecode2 = 0 ;
22437 PyObject * obj0 = 0 ;
22438 PyObject * obj1 = 0 ;
22439 char * kwnames[] = {
22440 (char *) "self",(char *) "pos", NULL
22441 };
22442
22443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22445 if (!SWIG_IsOK(res1)) {
22446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22447 }
22448 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22449 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22450 if (!SWIG_IsOK(ecode2)) {
22451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22452 }
22453 arg2 = static_cast< size_t >(val2);
22454 {
22455 PyThreadState* __tstate = wxPyBeginAllowThreads();
22456 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22457 wxPyEndAllowThreads(__tstate);
22458 if (PyErr_Occurred()) SWIG_fail;
22459 }
22460 resultobj = SWIG_From_int(static_cast< int >(result));
22461 return resultobj;
22462 fail:
22463 return NULL;
22464 }
22465
22466
22467 SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22468 PyObject *resultobj = 0;
22469 wxTreebook *arg1 = (wxTreebook *) 0 ;
22470 wxPyTreeCtrl *result = 0 ;
22471 void *argp1 = 0 ;
22472 int res1 = 0 ;
22473 PyObject *swig_obj[1] ;
22474
22475 if (!args) SWIG_fail;
22476 swig_obj[0] = args;
22477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22478 if (!SWIG_IsOK(res1)) {
22479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22480 }
22481 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22482 {
22483 PyThreadState* __tstate = wxPyBeginAllowThreads();
22484 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 {
22489 resultobj = wxPyMake_wxObject(result, (bool)0);
22490 }
22491 return resultobj;
22492 fail:
22493 return NULL;
22494 }
22495
22496
22497 SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22498 PyObject *obj;
22499 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22500 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22501 return SWIG_Py_Void();
22502 }
22503
22504 SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22505 return SWIG_Python_InitShadowInstance(args);
22506 }
22507
22508 SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22509 PyObject *resultobj = 0;
22510 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22511 int arg2 = (int) 0 ;
22512 int arg3 = (int) wxNOT_FOUND ;
22513 int arg4 = (int) wxNOT_FOUND ;
22514 wxTreebookEvent *result = 0 ;
22515 int val1 ;
22516 int ecode1 = 0 ;
22517 int val2 ;
22518 int ecode2 = 0 ;
22519 int val3 ;
22520 int ecode3 = 0 ;
22521 int val4 ;
22522 int ecode4 = 0 ;
22523 PyObject * obj0 = 0 ;
22524 PyObject * obj1 = 0 ;
22525 PyObject * obj2 = 0 ;
22526 PyObject * obj3 = 0 ;
22527 char * kwnames[] = {
22528 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22529 };
22530
22531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22532 if (obj0) {
22533 ecode1 = SWIG_AsVal_int(obj0, &val1);
22534 if (!SWIG_IsOK(ecode1)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22536 }
22537 arg1 = static_cast< wxEventType >(val1);
22538 }
22539 if (obj1) {
22540 ecode2 = SWIG_AsVal_int(obj1, &val2);
22541 if (!SWIG_IsOK(ecode2)) {
22542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22543 }
22544 arg2 = static_cast< int >(val2);
22545 }
22546 if (obj2) {
22547 ecode3 = SWIG_AsVal_int(obj2, &val3);
22548 if (!SWIG_IsOK(ecode3)) {
22549 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22550 }
22551 arg3 = static_cast< int >(val3);
22552 }
22553 if (obj3) {
22554 ecode4 = SWIG_AsVal_int(obj3, &val4);
22555 if (!SWIG_IsOK(ecode4)) {
22556 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22557 }
22558 arg4 = static_cast< int >(val4);
22559 }
22560 {
22561 PyThreadState* __tstate = wxPyBeginAllowThreads();
22562 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22563 wxPyEndAllowThreads(__tstate);
22564 if (PyErr_Occurred()) SWIG_fail;
22565 }
22566 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22567 return resultobj;
22568 fail:
22569 return NULL;
22570 }
22571
22572
22573 SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22574 PyObject *obj;
22575 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22576 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22577 return SWIG_Py_Void();
22578 }
22579
22580 SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22581 return SWIG_Python_InitShadowInstance(args);
22582 }
22583
22584 SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22585 PyObject *resultobj = 0;
22586 wxWindow *arg1 = (wxWindow *) 0 ;
22587 int arg2 ;
22588 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22589 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22590 wxSize const &arg4_defvalue = wxDefaultSize ;
22591 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22592 long arg5 = (long) wxBK_DEFAULT ;
22593 wxString const &arg6_defvalue = wxPyEmptyString ;
22594 wxString *arg6 = (wxString *) &arg6_defvalue ;
22595 wxToolbook *result = 0 ;
22596 void *argp1 = 0 ;
22597 int res1 = 0 ;
22598 int val2 ;
22599 int ecode2 = 0 ;
22600 wxPoint temp3 ;
22601 wxSize temp4 ;
22602 long val5 ;
22603 int ecode5 = 0 ;
22604 bool temp6 = false ;
22605 PyObject * obj0 = 0 ;
22606 PyObject * obj1 = 0 ;
22607 PyObject * obj2 = 0 ;
22608 PyObject * obj3 = 0 ;
22609 PyObject * obj4 = 0 ;
22610 PyObject * obj5 = 0 ;
22611 char * kwnames[] = {
22612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22613 };
22614
22615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22617 if (!SWIG_IsOK(res1)) {
22618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22619 }
22620 arg1 = reinterpret_cast< wxWindow * >(argp1);
22621 ecode2 = SWIG_AsVal_int(obj1, &val2);
22622 if (!SWIG_IsOK(ecode2)) {
22623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22624 }
22625 arg2 = static_cast< int >(val2);
22626 if (obj2) {
22627 {
22628 arg3 = &temp3;
22629 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22630 }
22631 }
22632 if (obj3) {
22633 {
22634 arg4 = &temp4;
22635 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22636 }
22637 }
22638 if (obj4) {
22639 ecode5 = SWIG_AsVal_long(obj4, &val5);
22640 if (!SWIG_IsOK(ecode5)) {
22641 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22642 }
22643 arg5 = static_cast< long >(val5);
22644 }
22645 if (obj5) {
22646 {
22647 arg6 = wxString_in_helper(obj5);
22648 if (arg6 == NULL) SWIG_fail;
22649 temp6 = true;
22650 }
22651 }
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22655 wxPyEndAllowThreads(__tstate);
22656 if (PyErr_Occurred()) SWIG_fail;
22657 }
22658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22659 {
22660 if (temp6)
22661 delete arg6;
22662 }
22663 return resultobj;
22664 fail:
22665 {
22666 if (temp6)
22667 delete arg6;
22668 }
22669 return NULL;
22670 }
22671
22672
22673 SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22674 PyObject *resultobj = 0;
22675 wxToolbook *result = 0 ;
22676
22677 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22678 {
22679 PyThreadState* __tstate = wxPyBeginAllowThreads();
22680 result = (wxToolbook *)new wxToolbook();
22681 wxPyEndAllowThreads(__tstate);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 }
22684 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22685 return resultobj;
22686 fail:
22687 return NULL;
22688 }
22689
22690
22691 SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22692 PyObject *resultobj = 0;
22693 wxToolbook *arg1 = (wxToolbook *) 0 ;
22694 wxWindow *arg2 = (wxWindow *) 0 ;
22695 int arg3 ;
22696 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22697 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22698 wxSize const &arg5_defvalue = wxDefaultSize ;
22699 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22700 long arg6 = (long) 0 ;
22701 wxString const &arg7_defvalue = wxEmptyString ;
22702 wxString *arg7 = (wxString *) &arg7_defvalue ;
22703 bool result;
22704 void *argp1 = 0 ;
22705 int res1 = 0 ;
22706 void *argp2 = 0 ;
22707 int res2 = 0 ;
22708 int val3 ;
22709 int ecode3 = 0 ;
22710 wxPoint temp4 ;
22711 wxSize temp5 ;
22712 long val6 ;
22713 int ecode6 = 0 ;
22714 bool temp7 = false ;
22715 PyObject * obj0 = 0 ;
22716 PyObject * obj1 = 0 ;
22717 PyObject * obj2 = 0 ;
22718 PyObject * obj3 = 0 ;
22719 PyObject * obj4 = 0 ;
22720 PyObject * obj5 = 0 ;
22721 PyObject * obj6 = 0 ;
22722 char * kwnames[] = {
22723 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22724 };
22725
22726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22728 if (!SWIG_IsOK(res1)) {
22729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22730 }
22731 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22732 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22733 if (!SWIG_IsOK(res2)) {
22734 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22735 }
22736 arg2 = reinterpret_cast< wxWindow * >(argp2);
22737 ecode3 = SWIG_AsVal_int(obj2, &val3);
22738 if (!SWIG_IsOK(ecode3)) {
22739 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22740 }
22741 arg3 = static_cast< int >(val3);
22742 if (obj3) {
22743 {
22744 arg4 = &temp4;
22745 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22746 }
22747 }
22748 if (obj4) {
22749 {
22750 arg5 = &temp5;
22751 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22752 }
22753 }
22754 if (obj5) {
22755 ecode6 = SWIG_AsVal_long(obj5, &val6);
22756 if (!SWIG_IsOK(ecode6)) {
22757 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22758 }
22759 arg6 = static_cast< long >(val6);
22760 }
22761 if (obj6) {
22762 {
22763 arg7 = wxString_in_helper(obj6);
22764 if (arg7 == NULL) SWIG_fail;
22765 temp7 = true;
22766 }
22767 }
22768 {
22769 PyThreadState* __tstate = wxPyBeginAllowThreads();
22770 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22771 wxPyEndAllowThreads(__tstate);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
22774 {
22775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22776 }
22777 {
22778 if (temp7)
22779 delete arg7;
22780 }
22781 return resultobj;
22782 fail:
22783 {
22784 if (temp7)
22785 delete arg7;
22786 }
22787 return NULL;
22788 }
22789
22790
22791 SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22792 PyObject *resultobj = 0;
22793 wxToolbook *arg1 = (wxToolbook *) 0 ;
22794 wxToolBarBase *result = 0 ;
22795 void *argp1 = 0 ;
22796 int res1 = 0 ;
22797 PyObject *swig_obj[1] ;
22798
22799 if (!args) SWIG_fail;
22800 swig_obj[0] = args;
22801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22802 if (!SWIG_IsOK(res1)) {
22803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22804 }
22805 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22806 {
22807 PyThreadState* __tstate = wxPyBeginAllowThreads();
22808 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22809 wxPyEndAllowThreads(__tstate);
22810 if (PyErr_Occurred()) SWIG_fail;
22811 }
22812 {
22813 resultobj = wxPyMake_wxObject(result, (bool)0);
22814 }
22815 return resultobj;
22816 fail:
22817 return NULL;
22818 }
22819
22820
22821 SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22822 PyObject *resultobj = 0;
22823 wxToolbook *arg1 = (wxToolbook *) 0 ;
22824 void *argp1 = 0 ;
22825 int res1 = 0 ;
22826 PyObject *swig_obj[1] ;
22827
22828 if (!args) SWIG_fail;
22829 swig_obj[0] = args;
22830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22831 if (!SWIG_IsOK(res1)) {
22832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22833 }
22834 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22835 {
22836 PyThreadState* __tstate = wxPyBeginAllowThreads();
22837 (arg1)->Realize();
22838 wxPyEndAllowThreads(__tstate);
22839 if (PyErr_Occurred()) SWIG_fail;
22840 }
22841 resultobj = SWIG_Py_Void();
22842 return resultobj;
22843 fail:
22844 return NULL;
22845 }
22846
22847
22848 SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22849 PyObject *obj;
22850 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22851 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22852 return SWIG_Py_Void();
22853 }
22854
22855 SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22856 return SWIG_Python_InitShadowInstance(args);
22857 }
22858
22859 SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22860 PyObject *resultobj = 0;
22861 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22862 int arg2 = (int) 0 ;
22863 int arg3 = (int) wxNOT_FOUND ;
22864 int arg4 = (int) wxNOT_FOUND ;
22865 wxToolbookEvent *result = 0 ;
22866 int val1 ;
22867 int ecode1 = 0 ;
22868 int val2 ;
22869 int ecode2 = 0 ;
22870 int val3 ;
22871 int ecode3 = 0 ;
22872 int val4 ;
22873 int ecode4 = 0 ;
22874 PyObject * obj0 = 0 ;
22875 PyObject * obj1 = 0 ;
22876 PyObject * obj2 = 0 ;
22877 PyObject * obj3 = 0 ;
22878 char * kwnames[] = {
22879 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22880 };
22881
22882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22883 if (obj0) {
22884 ecode1 = SWIG_AsVal_int(obj0, &val1);
22885 if (!SWIG_IsOK(ecode1)) {
22886 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22887 }
22888 arg1 = static_cast< wxEventType >(val1);
22889 }
22890 if (obj1) {
22891 ecode2 = SWIG_AsVal_int(obj1, &val2);
22892 if (!SWIG_IsOK(ecode2)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22894 }
22895 arg2 = static_cast< int >(val2);
22896 }
22897 if (obj2) {
22898 ecode3 = SWIG_AsVal_int(obj2, &val3);
22899 if (!SWIG_IsOK(ecode3)) {
22900 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22901 }
22902 arg3 = static_cast< int >(val3);
22903 }
22904 if (obj3) {
22905 ecode4 = SWIG_AsVal_int(obj3, &val4);
22906 if (!SWIG_IsOK(ecode4)) {
22907 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22908 }
22909 arg4 = static_cast< int >(val4);
22910 }
22911 {
22912 PyThreadState* __tstate = wxPyBeginAllowThreads();
22913 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22914 wxPyEndAllowThreads(__tstate);
22915 if (PyErr_Occurred()) SWIG_fail;
22916 }
22917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22918 return resultobj;
22919 fail:
22920 return NULL;
22921 }
22922
22923
22924 SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22925 PyObject *obj;
22926 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22927 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22928 return SWIG_Py_Void();
22929 }
22930
22931 SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22932 return SWIG_Python_InitShadowInstance(args);
22933 }
22934
22935 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22936 PyObject *resultobj = 0;
22937 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22938 int result;
22939 void *argp1 = 0 ;
22940 int res1 = 0 ;
22941 PyObject *swig_obj[1] ;
22942
22943 if (!args) SWIG_fail;
22944 swig_obj[0] = args;
22945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22946 if (!SWIG_IsOK(res1)) {
22947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22948 }
22949 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22950 {
22951 PyThreadState* __tstate = wxPyBeginAllowThreads();
22952 result = (int)(arg1)->GetId();
22953 wxPyEndAllowThreads(__tstate);
22954 if (PyErr_Occurred()) SWIG_fail;
22955 }
22956 resultobj = SWIG_From_int(static_cast< int >(result));
22957 return resultobj;
22958 fail:
22959 return NULL;
22960 }
22961
22962
22963 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22964 PyObject *resultobj = 0;
22965 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22966 wxControl *result = 0 ;
22967 void *argp1 = 0 ;
22968 int res1 = 0 ;
22969 PyObject *swig_obj[1] ;
22970
22971 if (!args) SWIG_fail;
22972 swig_obj[0] = args;
22973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22974 if (!SWIG_IsOK(res1)) {
22975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22976 }
22977 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22978 {
22979 PyThreadState* __tstate = wxPyBeginAllowThreads();
22980 result = (wxControl *)(arg1)->GetControl();
22981 wxPyEndAllowThreads(__tstate);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 }
22984 {
22985 resultobj = wxPyMake_wxObject(result, 0);
22986 }
22987 return resultobj;
22988 fail:
22989 return NULL;
22990 }
22991
22992
22993 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22994 PyObject *resultobj = 0;
22995 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22996 wxToolBarBase *result = 0 ;
22997 void *argp1 = 0 ;
22998 int res1 = 0 ;
22999 PyObject *swig_obj[1] ;
23000
23001 if (!args) SWIG_fail;
23002 swig_obj[0] = args;
23003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23004 if (!SWIG_IsOK(res1)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23006 }
23007 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23008 {
23009 PyThreadState* __tstate = wxPyBeginAllowThreads();
23010 result = (wxToolBarBase *)(arg1)->GetToolBar();
23011 wxPyEndAllowThreads(__tstate);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 }
23014 {
23015 resultobj = wxPyMake_wxObject(result, (bool)0);
23016 }
23017 return resultobj;
23018 fail:
23019 return NULL;
23020 }
23021
23022
23023 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23024 PyObject *resultobj = 0;
23025 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23026 int result;
23027 void *argp1 = 0 ;
23028 int res1 = 0 ;
23029 PyObject *swig_obj[1] ;
23030
23031 if (!args) SWIG_fail;
23032 swig_obj[0] = args;
23033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23034 if (!SWIG_IsOK(res1)) {
23035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23036 }
23037 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 result = (int)(arg1)->IsButton();
23041 wxPyEndAllowThreads(__tstate);
23042 if (PyErr_Occurred()) SWIG_fail;
23043 }
23044 resultobj = SWIG_From_int(static_cast< int >(result));
23045 return resultobj;
23046 fail:
23047 return NULL;
23048 }
23049
23050
23051 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23052 PyObject *resultobj = 0;
23053 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23054 int result;
23055 void *argp1 = 0 ;
23056 int res1 = 0 ;
23057 PyObject *swig_obj[1] ;
23058
23059 if (!args) SWIG_fail;
23060 swig_obj[0] = args;
23061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23062 if (!SWIG_IsOK(res1)) {
23063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23064 }
23065 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 result = (int)(arg1)->IsControl();
23069 wxPyEndAllowThreads(__tstate);
23070 if (PyErr_Occurred()) SWIG_fail;
23071 }
23072 resultobj = SWIG_From_int(static_cast< int >(result));
23073 return resultobj;
23074 fail:
23075 return NULL;
23076 }
23077
23078
23079 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23080 PyObject *resultobj = 0;
23081 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23082 int result;
23083 void *argp1 = 0 ;
23084 int res1 = 0 ;
23085 PyObject *swig_obj[1] ;
23086
23087 if (!args) SWIG_fail;
23088 swig_obj[0] = args;
23089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23090 if (!SWIG_IsOK(res1)) {
23091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23092 }
23093 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 result = (int)(arg1)->IsSeparator();
23097 wxPyEndAllowThreads(__tstate);
23098 if (PyErr_Occurred()) SWIG_fail;
23099 }
23100 resultobj = SWIG_From_int(static_cast< int >(result));
23101 return resultobj;
23102 fail:
23103 return NULL;
23104 }
23105
23106
23107 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23108 PyObject *resultobj = 0;
23109 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23110 int result;
23111 void *argp1 = 0 ;
23112 int res1 = 0 ;
23113 PyObject *swig_obj[1] ;
23114
23115 if (!args) SWIG_fail;
23116 swig_obj[0] = args;
23117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23118 if (!SWIG_IsOK(res1)) {
23119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23120 }
23121 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23122 {
23123 PyThreadState* __tstate = wxPyBeginAllowThreads();
23124 result = (int)(arg1)->GetStyle();
23125 wxPyEndAllowThreads(__tstate);
23126 if (PyErr_Occurred()) SWIG_fail;
23127 }
23128 resultobj = SWIG_From_int(static_cast< int >(result));
23129 return resultobj;
23130 fail:
23131 return NULL;
23132 }
23133
23134
23135 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23136 PyObject *resultobj = 0;
23137 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23138 wxItemKind result;
23139 void *argp1 = 0 ;
23140 int res1 = 0 ;
23141 PyObject *swig_obj[1] ;
23142
23143 if (!args) SWIG_fail;
23144 swig_obj[0] = args;
23145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23146 if (!SWIG_IsOK(res1)) {
23147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23148 }
23149 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 result = (wxItemKind)(arg1)->GetKind();
23153 wxPyEndAllowThreads(__tstate);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 resultobj = SWIG_From_int(static_cast< int >(result));
23157 return resultobj;
23158 fail:
23159 return NULL;
23160 }
23161
23162
23163 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23164 PyObject *resultobj = 0;
23165 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23166 bool result;
23167 void *argp1 = 0 ;
23168 int res1 = 0 ;
23169 PyObject *swig_obj[1] ;
23170
23171 if (!args) SWIG_fail;
23172 swig_obj[0] = args;
23173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23174 if (!SWIG_IsOK(res1)) {
23175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23176 }
23177 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23178 {
23179 PyThreadState* __tstate = wxPyBeginAllowThreads();
23180 result = (bool)(arg1)->IsEnabled();
23181 wxPyEndAllowThreads(__tstate);
23182 if (PyErr_Occurred()) SWIG_fail;
23183 }
23184 {
23185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23186 }
23187 return resultobj;
23188 fail:
23189 return NULL;
23190 }
23191
23192
23193 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23194 PyObject *resultobj = 0;
23195 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23196 bool result;
23197 void *argp1 = 0 ;
23198 int res1 = 0 ;
23199 PyObject *swig_obj[1] ;
23200
23201 if (!args) SWIG_fail;
23202 swig_obj[0] = args;
23203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23204 if (!SWIG_IsOK(res1)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23206 }
23207 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23208 {
23209 PyThreadState* __tstate = wxPyBeginAllowThreads();
23210 result = (bool)(arg1)->IsToggled();
23211 wxPyEndAllowThreads(__tstate);
23212 if (PyErr_Occurred()) SWIG_fail;
23213 }
23214 {
23215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23216 }
23217 return resultobj;
23218 fail:
23219 return NULL;
23220 }
23221
23222
23223 SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23224 PyObject *resultobj = 0;
23225 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23226 bool result;
23227 void *argp1 = 0 ;
23228 int res1 = 0 ;
23229 PyObject *swig_obj[1] ;
23230
23231 if (!args) SWIG_fail;
23232 swig_obj[0] = args;
23233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23234 if (!SWIG_IsOK(res1)) {
23235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23236 }
23237 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23238 {
23239 PyThreadState* __tstate = wxPyBeginAllowThreads();
23240 result = (bool)(arg1)->CanBeToggled();
23241 wxPyEndAllowThreads(__tstate);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 }
23244 {
23245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23246 }
23247 return resultobj;
23248 fail:
23249 return NULL;
23250 }
23251
23252
23253 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23254 PyObject *resultobj = 0;
23255 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23256 wxBitmap *result = 0 ;
23257 void *argp1 = 0 ;
23258 int res1 = 0 ;
23259 PyObject *swig_obj[1] ;
23260
23261 if (!args) SWIG_fail;
23262 swig_obj[0] = args;
23263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23264 if (!SWIG_IsOK(res1)) {
23265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23266 }
23267 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23268 {
23269 PyThreadState* __tstate = wxPyBeginAllowThreads();
23270 {
23271 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23272 result = (wxBitmap *) &_result_ref;
23273 }
23274 wxPyEndAllowThreads(__tstate);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 }
23277 {
23278 wxBitmap* resultptr = new wxBitmap(*result);
23279 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23280 }
23281 return resultobj;
23282 fail:
23283 return NULL;
23284 }
23285
23286
23287 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23288 PyObject *resultobj = 0;
23289 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23290 wxBitmap *result = 0 ;
23291 void *argp1 = 0 ;
23292 int res1 = 0 ;
23293 PyObject *swig_obj[1] ;
23294
23295 if (!args) SWIG_fail;
23296 swig_obj[0] = args;
23297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23298 if (!SWIG_IsOK(res1)) {
23299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23300 }
23301 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23302 {
23303 PyThreadState* __tstate = wxPyBeginAllowThreads();
23304 {
23305 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23306 result = (wxBitmap *) &_result_ref;
23307 }
23308 wxPyEndAllowThreads(__tstate);
23309 if (PyErr_Occurred()) SWIG_fail;
23310 }
23311 {
23312 wxBitmap* resultptr = new wxBitmap(*result);
23313 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23314 }
23315 return resultobj;
23316 fail:
23317 return NULL;
23318 }
23319
23320
23321 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23322 PyObject *resultobj = 0;
23323 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23324 wxBitmap result;
23325 void *argp1 = 0 ;
23326 int res1 = 0 ;
23327 PyObject *swig_obj[1] ;
23328
23329 if (!args) SWIG_fail;
23330 swig_obj[0] = args;
23331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23332 if (!SWIG_IsOK(res1)) {
23333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23334 }
23335 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23336 {
23337 PyThreadState* __tstate = wxPyBeginAllowThreads();
23338 result = (arg1)->GetBitmap();
23339 wxPyEndAllowThreads(__tstate);
23340 if (PyErr_Occurred()) SWIG_fail;
23341 }
23342 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23343 return resultobj;
23344 fail:
23345 return NULL;
23346 }
23347
23348
23349 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23350 PyObject *resultobj = 0;
23351 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23352 wxString result;
23353 void *argp1 = 0 ;
23354 int res1 = 0 ;
23355 PyObject *swig_obj[1] ;
23356
23357 if (!args) SWIG_fail;
23358 swig_obj[0] = args;
23359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23360 if (!SWIG_IsOK(res1)) {
23361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23362 }
23363 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23364 {
23365 PyThreadState* __tstate = wxPyBeginAllowThreads();
23366 result = (arg1)->GetLabel();
23367 wxPyEndAllowThreads(__tstate);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 }
23370 {
23371 #if wxUSE_UNICODE
23372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23373 #else
23374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23375 #endif
23376 }
23377 return resultobj;
23378 fail:
23379 return NULL;
23380 }
23381
23382
23383 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23384 PyObject *resultobj = 0;
23385 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23386 wxString result;
23387 void *argp1 = 0 ;
23388 int res1 = 0 ;
23389 PyObject *swig_obj[1] ;
23390
23391 if (!args) SWIG_fail;
23392 swig_obj[0] = args;
23393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23394 if (!SWIG_IsOK(res1)) {
23395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23396 }
23397 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23398 {
23399 PyThreadState* __tstate = wxPyBeginAllowThreads();
23400 result = (arg1)->GetShortHelp();
23401 wxPyEndAllowThreads(__tstate);
23402 if (PyErr_Occurred()) SWIG_fail;
23403 }
23404 {
23405 #if wxUSE_UNICODE
23406 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23407 #else
23408 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23409 #endif
23410 }
23411 return resultobj;
23412 fail:
23413 return NULL;
23414 }
23415
23416
23417 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23418 PyObject *resultobj = 0;
23419 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23420 wxString result;
23421 void *argp1 = 0 ;
23422 int res1 = 0 ;
23423 PyObject *swig_obj[1] ;
23424
23425 if (!args) SWIG_fail;
23426 swig_obj[0] = args;
23427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23428 if (!SWIG_IsOK(res1)) {
23429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23430 }
23431 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 result = (arg1)->GetLongHelp();
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 {
23439 #if wxUSE_UNICODE
23440 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23441 #else
23442 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23443 #endif
23444 }
23445 return resultobj;
23446 fail:
23447 return NULL;
23448 }
23449
23450
23451 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23452 PyObject *resultobj = 0;
23453 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23454 bool arg2 ;
23455 bool result;
23456 void *argp1 = 0 ;
23457 int res1 = 0 ;
23458 bool val2 ;
23459 int ecode2 = 0 ;
23460 PyObject * obj0 = 0 ;
23461 PyObject * obj1 = 0 ;
23462 char * kwnames[] = {
23463 (char *) "self",(char *) "enable", NULL
23464 };
23465
23466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23468 if (!SWIG_IsOK(res1)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23470 }
23471 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23472 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23473 if (!SWIG_IsOK(ecode2)) {
23474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23475 }
23476 arg2 = static_cast< bool >(val2);
23477 {
23478 PyThreadState* __tstate = wxPyBeginAllowThreads();
23479 result = (bool)(arg1)->Enable(arg2);
23480 wxPyEndAllowThreads(__tstate);
23481 if (PyErr_Occurred()) SWIG_fail;
23482 }
23483 {
23484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23485 }
23486 return resultobj;
23487 fail:
23488 return NULL;
23489 }
23490
23491
23492 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23493 PyObject *resultobj = 0;
23494 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23495 void *argp1 = 0 ;
23496 int res1 = 0 ;
23497 PyObject *swig_obj[1] ;
23498
23499 if (!args) SWIG_fail;
23500 swig_obj[0] = args;
23501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23502 if (!SWIG_IsOK(res1)) {
23503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23504 }
23505 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 (arg1)->Toggle();
23509 wxPyEndAllowThreads(__tstate);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
23512 resultobj = SWIG_Py_Void();
23513 return resultobj;
23514 fail:
23515 return NULL;
23516 }
23517
23518
23519 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23520 PyObject *resultobj = 0;
23521 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23522 bool arg2 ;
23523 bool result;
23524 void *argp1 = 0 ;
23525 int res1 = 0 ;
23526 bool val2 ;
23527 int ecode2 = 0 ;
23528 PyObject * obj0 = 0 ;
23529 PyObject * obj1 = 0 ;
23530 char * kwnames[] = {
23531 (char *) "self",(char *) "toggle", NULL
23532 };
23533
23534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23536 if (!SWIG_IsOK(res1)) {
23537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23538 }
23539 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23540 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23541 if (!SWIG_IsOK(ecode2)) {
23542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23543 }
23544 arg2 = static_cast< bool >(val2);
23545 {
23546 PyThreadState* __tstate = wxPyBeginAllowThreads();
23547 result = (bool)(arg1)->SetToggle(arg2);
23548 wxPyEndAllowThreads(__tstate);
23549 if (PyErr_Occurred()) SWIG_fail;
23550 }
23551 {
23552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23553 }
23554 return resultobj;
23555 fail:
23556 return NULL;
23557 }
23558
23559
23560 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23561 PyObject *resultobj = 0;
23562 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23563 wxString *arg2 = 0 ;
23564 bool result;
23565 void *argp1 = 0 ;
23566 int res1 = 0 ;
23567 bool temp2 = false ;
23568 PyObject * obj0 = 0 ;
23569 PyObject * obj1 = 0 ;
23570 char * kwnames[] = {
23571 (char *) "self",(char *) "help", NULL
23572 };
23573
23574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23576 if (!SWIG_IsOK(res1)) {
23577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23578 }
23579 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23580 {
23581 arg2 = wxString_in_helper(obj1);
23582 if (arg2 == NULL) SWIG_fail;
23583 temp2 = true;
23584 }
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23588 wxPyEndAllowThreads(__tstate);
23589 if (PyErr_Occurred()) SWIG_fail;
23590 }
23591 {
23592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23593 }
23594 {
23595 if (temp2)
23596 delete arg2;
23597 }
23598 return resultobj;
23599 fail:
23600 {
23601 if (temp2)
23602 delete arg2;
23603 }
23604 return NULL;
23605 }
23606
23607
23608 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23609 PyObject *resultobj = 0;
23610 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23611 wxString *arg2 = 0 ;
23612 bool result;
23613 void *argp1 = 0 ;
23614 int res1 = 0 ;
23615 bool temp2 = false ;
23616 PyObject * obj0 = 0 ;
23617 PyObject * obj1 = 0 ;
23618 char * kwnames[] = {
23619 (char *) "self",(char *) "help", NULL
23620 };
23621
23622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23624 if (!SWIG_IsOK(res1)) {
23625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23626 }
23627 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23628 {
23629 arg2 = wxString_in_helper(obj1);
23630 if (arg2 == NULL) SWIG_fail;
23631 temp2 = true;
23632 }
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23636 wxPyEndAllowThreads(__tstate);
23637 if (PyErr_Occurred()) SWIG_fail;
23638 }
23639 {
23640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23641 }
23642 {
23643 if (temp2)
23644 delete arg2;
23645 }
23646 return resultobj;
23647 fail:
23648 {
23649 if (temp2)
23650 delete arg2;
23651 }
23652 return NULL;
23653 }
23654
23655
23656 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23657 PyObject *resultobj = 0;
23658 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23659 wxBitmap *arg2 = 0 ;
23660 void *argp1 = 0 ;
23661 int res1 = 0 ;
23662 void *argp2 = 0 ;
23663 int res2 = 0 ;
23664 PyObject * obj0 = 0 ;
23665 PyObject * obj1 = 0 ;
23666 char * kwnames[] = {
23667 (char *) "self",(char *) "bmp", NULL
23668 };
23669
23670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23672 if (!SWIG_IsOK(res1)) {
23673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23674 }
23675 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23676 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23677 if (!SWIG_IsOK(res2)) {
23678 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23679 }
23680 if (!argp2) {
23681 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23682 }
23683 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23684 {
23685 PyThreadState* __tstate = wxPyBeginAllowThreads();
23686 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23687 wxPyEndAllowThreads(__tstate);
23688 if (PyErr_Occurred()) SWIG_fail;
23689 }
23690 resultobj = SWIG_Py_Void();
23691 return resultobj;
23692 fail:
23693 return NULL;
23694 }
23695
23696
23697 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23698 PyObject *resultobj = 0;
23699 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23700 wxBitmap *arg2 = 0 ;
23701 void *argp1 = 0 ;
23702 int res1 = 0 ;
23703 void *argp2 = 0 ;
23704 int res2 = 0 ;
23705 PyObject * obj0 = 0 ;
23706 PyObject * obj1 = 0 ;
23707 char * kwnames[] = {
23708 (char *) "self",(char *) "bmp", NULL
23709 };
23710
23711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23713 if (!SWIG_IsOK(res1)) {
23714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23715 }
23716 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23717 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23718 if (!SWIG_IsOK(res2)) {
23719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23720 }
23721 if (!argp2) {
23722 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23723 }
23724 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23725 {
23726 PyThreadState* __tstate = wxPyBeginAllowThreads();
23727 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23728 wxPyEndAllowThreads(__tstate);
23729 if (PyErr_Occurred()) SWIG_fail;
23730 }
23731 resultobj = SWIG_Py_Void();
23732 return resultobj;
23733 fail:
23734 return NULL;
23735 }
23736
23737
23738 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23739 PyObject *resultobj = 0;
23740 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23741 wxString *arg2 = 0 ;
23742 void *argp1 = 0 ;
23743 int res1 = 0 ;
23744 bool temp2 = false ;
23745 PyObject * obj0 = 0 ;
23746 PyObject * obj1 = 0 ;
23747 char * kwnames[] = {
23748 (char *) "self",(char *) "label", NULL
23749 };
23750
23751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23753 if (!SWIG_IsOK(res1)) {
23754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23755 }
23756 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23757 {
23758 arg2 = wxString_in_helper(obj1);
23759 if (arg2 == NULL) SWIG_fail;
23760 temp2 = true;
23761 }
23762 {
23763 PyThreadState* __tstate = wxPyBeginAllowThreads();
23764 (arg1)->SetLabel((wxString const &)*arg2);
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 resultobj = SWIG_Py_Void();
23769 {
23770 if (temp2)
23771 delete arg2;
23772 }
23773 return resultobj;
23774 fail:
23775 {
23776 if (temp2)
23777 delete arg2;
23778 }
23779 return NULL;
23780 }
23781
23782
23783 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23784 PyObject *resultobj = 0;
23785 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23786 void *argp1 = 0 ;
23787 int res1 = 0 ;
23788 PyObject *swig_obj[1] ;
23789
23790 if (!args) SWIG_fail;
23791 swig_obj[0] = args;
23792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23793 if (!SWIG_IsOK(res1)) {
23794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23795 }
23796 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23797 {
23798 PyThreadState* __tstate = wxPyBeginAllowThreads();
23799 (arg1)->Detach();
23800 wxPyEndAllowThreads(__tstate);
23801 if (PyErr_Occurred()) SWIG_fail;
23802 }
23803 resultobj = SWIG_Py_Void();
23804 return resultobj;
23805 fail:
23806 return NULL;
23807 }
23808
23809
23810 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23811 PyObject *resultobj = 0;
23812 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23813 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23814 void *argp1 = 0 ;
23815 int res1 = 0 ;
23816 void *argp2 = 0 ;
23817 int res2 = 0 ;
23818 PyObject * obj0 = 0 ;
23819 PyObject * obj1 = 0 ;
23820 char * kwnames[] = {
23821 (char *) "self",(char *) "tbar", NULL
23822 };
23823
23824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23826 if (!SWIG_IsOK(res1)) {
23827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23828 }
23829 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23830 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23831 if (!SWIG_IsOK(res2)) {
23832 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23833 }
23834 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23835 {
23836 PyThreadState* __tstate = wxPyBeginAllowThreads();
23837 (arg1)->Attach(arg2);
23838 wxPyEndAllowThreads(__tstate);
23839 if (PyErr_Occurred()) SWIG_fail;
23840 }
23841 resultobj = SWIG_Py_Void();
23842 return resultobj;
23843 fail:
23844 return NULL;
23845 }
23846
23847
23848 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23849 PyObject *resultobj = 0;
23850 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23851 PyObject *result = 0 ;
23852 void *argp1 = 0 ;
23853 int res1 = 0 ;
23854 PyObject *swig_obj[1] ;
23855
23856 if (!args) SWIG_fail;
23857 swig_obj[0] = args;
23858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23859 if (!SWIG_IsOK(res1)) {
23860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23861 }
23862 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23863 {
23864 PyThreadState* __tstate = wxPyBeginAllowThreads();
23865 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23866 wxPyEndAllowThreads(__tstate);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 resultobj = result;
23870 return resultobj;
23871 fail:
23872 return NULL;
23873 }
23874
23875
23876 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23877 PyObject *resultobj = 0;
23878 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23879 PyObject *arg2 = (PyObject *) 0 ;
23880 void *argp1 = 0 ;
23881 int res1 = 0 ;
23882 PyObject * obj0 = 0 ;
23883 PyObject * obj1 = 0 ;
23884 char * kwnames[] = {
23885 (char *) "self",(char *) "clientData", NULL
23886 };
23887
23888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23890 if (!SWIG_IsOK(res1)) {
23891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23892 }
23893 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23894 arg2 = obj1;
23895 {
23896 PyThreadState* __tstate = wxPyBeginAllowThreads();
23897 wxToolBarToolBase_SetClientData(arg1,arg2);
23898 wxPyEndAllowThreads(__tstate);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 }
23901 resultobj = SWIG_Py_Void();
23902 return resultobj;
23903 fail:
23904 return NULL;
23905 }
23906
23907
23908 SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23909 PyObject *obj;
23910 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23911 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23912 return SWIG_Py_Void();
23913 }
23914
23915 SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23916 PyObject *resultobj = 0;
23917 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23918 int arg2 ;
23919 wxString *arg3 = 0 ;
23920 wxBitmap *arg4 = 0 ;
23921 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23922 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23923 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23924 wxString const &arg7_defvalue = wxPyEmptyString ;
23925 wxString *arg7 = (wxString *) &arg7_defvalue ;
23926 wxString const &arg8_defvalue = wxPyEmptyString ;
23927 wxString *arg8 = (wxString *) &arg8_defvalue ;
23928 PyObject *arg9 = (PyObject *) NULL ;
23929 wxToolBarToolBase *result = 0 ;
23930 void *argp1 = 0 ;
23931 int res1 = 0 ;
23932 int val2 ;
23933 int ecode2 = 0 ;
23934 bool temp3 = false ;
23935 void *argp4 = 0 ;
23936 int res4 = 0 ;
23937 void *argp5 = 0 ;
23938 int res5 = 0 ;
23939 int val6 ;
23940 int ecode6 = 0 ;
23941 bool temp7 = false ;
23942 bool temp8 = false ;
23943 PyObject * obj0 = 0 ;
23944 PyObject * obj1 = 0 ;
23945 PyObject * obj2 = 0 ;
23946 PyObject * obj3 = 0 ;
23947 PyObject * obj4 = 0 ;
23948 PyObject * obj5 = 0 ;
23949 PyObject * obj6 = 0 ;
23950 PyObject * obj7 = 0 ;
23951 PyObject * obj8 = 0 ;
23952 char * kwnames[] = {
23953 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23954 };
23955
23956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23958 if (!SWIG_IsOK(res1)) {
23959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23960 }
23961 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23962 ecode2 = SWIG_AsVal_int(obj1, &val2);
23963 if (!SWIG_IsOK(ecode2)) {
23964 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23965 }
23966 arg2 = static_cast< int >(val2);
23967 {
23968 arg3 = wxString_in_helper(obj2);
23969 if (arg3 == NULL) SWIG_fail;
23970 temp3 = true;
23971 }
23972 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23973 if (!SWIG_IsOK(res4)) {
23974 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23975 }
23976 if (!argp4) {
23977 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23978 }
23979 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23980 if (obj4) {
23981 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23982 if (!SWIG_IsOK(res5)) {
23983 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23984 }
23985 if (!argp5) {
23986 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23987 }
23988 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23989 }
23990 if (obj5) {
23991 ecode6 = SWIG_AsVal_int(obj5, &val6);
23992 if (!SWIG_IsOK(ecode6)) {
23993 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23994 }
23995 arg6 = static_cast< wxItemKind >(val6);
23996 }
23997 if (obj6) {
23998 {
23999 arg7 = wxString_in_helper(obj6);
24000 if (arg7 == NULL) SWIG_fail;
24001 temp7 = true;
24002 }
24003 }
24004 if (obj7) {
24005 {
24006 arg8 = wxString_in_helper(obj7);
24007 if (arg8 == NULL) SWIG_fail;
24008 temp8 = true;
24009 }
24010 }
24011 if (obj8) {
24012 arg9 = obj8;
24013 }
24014 {
24015 PyThreadState* __tstate = wxPyBeginAllowThreads();
24016 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
24017 wxPyEndAllowThreads(__tstate);
24018 if (PyErr_Occurred()) SWIG_fail;
24019 }
24020 {
24021 resultobj = wxPyMake_wxObject(result, (bool)0);
24022 }
24023 {
24024 if (temp3)
24025 delete arg3;
24026 }
24027 {
24028 if (temp7)
24029 delete arg7;
24030 }
24031 {
24032 if (temp8)
24033 delete arg8;
24034 }
24035 return resultobj;
24036 fail:
24037 {
24038 if (temp3)
24039 delete arg3;
24040 }
24041 {
24042 if (temp7)
24043 delete arg7;
24044 }
24045 {
24046 if (temp8)
24047 delete arg8;
24048 }
24049 return NULL;
24050 }
24051
24052
24053 SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24054 PyObject *resultobj = 0;
24055 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24056 size_t arg2 ;
24057 int arg3 ;
24058 wxString *arg4 = 0 ;
24059 wxBitmap *arg5 = 0 ;
24060 wxBitmap const &arg6_defvalue = wxNullBitmap ;
24061 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
24062 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
24063 wxString const &arg8_defvalue = wxPyEmptyString ;
24064 wxString *arg8 = (wxString *) &arg8_defvalue ;
24065 wxString const &arg9_defvalue = wxPyEmptyString ;
24066 wxString *arg9 = (wxString *) &arg9_defvalue ;
24067 PyObject *arg10 = (PyObject *) NULL ;
24068 wxToolBarToolBase *result = 0 ;
24069 void *argp1 = 0 ;
24070 int res1 = 0 ;
24071 size_t val2 ;
24072 int ecode2 = 0 ;
24073 int val3 ;
24074 int ecode3 = 0 ;
24075 bool temp4 = false ;
24076 void *argp5 = 0 ;
24077 int res5 = 0 ;
24078 void *argp6 = 0 ;
24079 int res6 = 0 ;
24080 int val7 ;
24081 int ecode7 = 0 ;
24082 bool temp8 = false ;
24083 bool temp9 = false ;
24084 PyObject * obj0 = 0 ;
24085 PyObject * obj1 = 0 ;
24086 PyObject * obj2 = 0 ;
24087 PyObject * obj3 = 0 ;
24088 PyObject * obj4 = 0 ;
24089 PyObject * obj5 = 0 ;
24090 PyObject * obj6 = 0 ;
24091 PyObject * obj7 = 0 ;
24092 PyObject * obj8 = 0 ;
24093 PyObject * obj9 = 0 ;
24094 char * kwnames[] = {
24095 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24096 };
24097
24098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
24099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24100 if (!SWIG_IsOK(res1)) {
24101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24102 }
24103 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24104 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24105 if (!SWIG_IsOK(ecode2)) {
24106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24107 }
24108 arg2 = static_cast< size_t >(val2);
24109 ecode3 = SWIG_AsVal_int(obj2, &val3);
24110 if (!SWIG_IsOK(ecode3)) {
24111 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24112 }
24113 arg3 = static_cast< int >(val3);
24114 {
24115 arg4 = wxString_in_helper(obj3);
24116 if (arg4 == NULL) SWIG_fail;
24117 temp4 = true;
24118 }
24119 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
24120 if (!SWIG_IsOK(res5)) {
24121 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24122 }
24123 if (!argp5) {
24124 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24125 }
24126 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24127 if (obj5) {
24128 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
24129 if (!SWIG_IsOK(res6)) {
24130 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24131 }
24132 if (!argp6) {
24133 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24134 }
24135 arg6 = reinterpret_cast< wxBitmap * >(argp6);
24136 }
24137 if (obj6) {
24138 ecode7 = SWIG_AsVal_int(obj6, &val7);
24139 if (!SWIG_IsOK(ecode7)) {
24140 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24141 }
24142 arg7 = static_cast< wxItemKind >(val7);
24143 }
24144 if (obj7) {
24145 {
24146 arg8 = wxString_in_helper(obj7);
24147 if (arg8 == NULL) SWIG_fail;
24148 temp8 = true;
24149 }
24150 }
24151 if (obj8) {
24152 {
24153 arg9 = wxString_in_helper(obj8);
24154 if (arg9 == NULL) SWIG_fail;
24155 temp9 = true;
24156 }
24157 }
24158 if (obj9) {
24159 arg10 = obj9;
24160 }
24161 {
24162 PyThreadState* __tstate = wxPyBeginAllowThreads();
24163 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
24164 wxPyEndAllowThreads(__tstate);
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
24167 {
24168 resultobj = wxPyMake_wxObject(result, (bool)0);
24169 }
24170 {
24171 if (temp4)
24172 delete arg4;
24173 }
24174 {
24175 if (temp8)
24176 delete arg8;
24177 }
24178 {
24179 if (temp9)
24180 delete arg9;
24181 }
24182 return resultobj;
24183 fail:
24184 {
24185 if (temp4)
24186 delete arg4;
24187 }
24188 {
24189 if (temp8)
24190 delete arg8;
24191 }
24192 {
24193 if (temp9)
24194 delete arg9;
24195 }
24196 return NULL;
24197 }
24198
24199
24200 SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24201 PyObject *resultobj = 0;
24202 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24203 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
24204 wxToolBarToolBase *result = 0 ;
24205 void *argp1 = 0 ;
24206 int res1 = 0 ;
24207 void *argp2 = 0 ;
24208 int res2 = 0 ;
24209 PyObject * obj0 = 0 ;
24210 PyObject * obj1 = 0 ;
24211 char * kwnames[] = {
24212 (char *) "self",(char *) "tool", NULL
24213 };
24214
24215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
24216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24217 if (!SWIG_IsOK(res1)) {
24218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24219 }
24220 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24221 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24222 if (!SWIG_IsOK(res2)) {
24223 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24224 }
24225 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
24226 {
24227 PyThreadState* __tstate = wxPyBeginAllowThreads();
24228 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
24229 wxPyEndAllowThreads(__tstate);
24230 if (PyErr_Occurred()) SWIG_fail;
24231 }
24232 {
24233 resultobj = wxPyMake_wxObject(result, (bool)0);
24234 }
24235 return resultobj;
24236 fail:
24237 return NULL;
24238 }
24239
24240
24241 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24242 PyObject *resultobj = 0;
24243 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24244 size_t arg2 ;
24245 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24246 wxToolBarToolBase *result = 0 ;
24247 void *argp1 = 0 ;
24248 int res1 = 0 ;
24249 size_t val2 ;
24250 int ecode2 = 0 ;
24251 void *argp3 = 0 ;
24252 int res3 = 0 ;
24253 PyObject * obj0 = 0 ;
24254 PyObject * obj1 = 0 ;
24255 PyObject * obj2 = 0 ;
24256 char * kwnames[] = {
24257 (char *) "self",(char *) "pos",(char *) "tool", NULL
24258 };
24259
24260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24262 if (!SWIG_IsOK(res1)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24264 }
24265 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24266 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24267 if (!SWIG_IsOK(ecode2)) {
24268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24269 }
24270 arg2 = static_cast< size_t >(val2);
24271 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24272 if (!SWIG_IsOK(res3)) {
24273 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24274 }
24275 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24276 {
24277 PyThreadState* __tstate = wxPyBeginAllowThreads();
24278 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
24279 wxPyEndAllowThreads(__tstate);
24280 if (PyErr_Occurred()) SWIG_fail;
24281 }
24282 {
24283 resultobj = wxPyMake_wxObject(result, (bool)0);
24284 }
24285 return resultobj;
24286 fail:
24287 return NULL;
24288 }
24289
24290
24291 SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24292 PyObject *resultobj = 0;
24293 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24294 wxControl *arg2 = (wxControl *) 0 ;
24295 wxToolBarToolBase *result = 0 ;
24296 void *argp1 = 0 ;
24297 int res1 = 0 ;
24298 void *argp2 = 0 ;
24299 int res2 = 0 ;
24300 PyObject * obj0 = 0 ;
24301 PyObject * obj1 = 0 ;
24302 char * kwnames[] = {
24303 (char *) "self",(char *) "control", NULL
24304 };
24305
24306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
24307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24308 if (!SWIG_IsOK(res1)) {
24309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24310 }
24311 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24312 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24313 if (!SWIG_IsOK(res2)) {
24314 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24315 }
24316 arg2 = reinterpret_cast< wxControl * >(argp2);
24317 {
24318 PyThreadState* __tstate = wxPyBeginAllowThreads();
24319 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
24320 wxPyEndAllowThreads(__tstate);
24321 if (PyErr_Occurred()) SWIG_fail;
24322 }
24323 {
24324 resultobj = wxPyMake_wxObject(result, (bool)0);
24325 }
24326 return resultobj;
24327 fail:
24328 return NULL;
24329 }
24330
24331
24332 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24333 PyObject *resultobj = 0;
24334 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24335 size_t arg2 ;
24336 wxControl *arg3 = (wxControl *) 0 ;
24337 wxToolBarToolBase *result = 0 ;
24338 void *argp1 = 0 ;
24339 int res1 = 0 ;
24340 size_t val2 ;
24341 int ecode2 = 0 ;
24342 void *argp3 = 0 ;
24343 int res3 = 0 ;
24344 PyObject * obj0 = 0 ;
24345 PyObject * obj1 = 0 ;
24346 PyObject * obj2 = 0 ;
24347 char * kwnames[] = {
24348 (char *) "self",(char *) "pos",(char *) "control", NULL
24349 };
24350
24351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24353 if (!SWIG_IsOK(res1)) {
24354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24355 }
24356 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24357 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24358 if (!SWIG_IsOK(ecode2)) {
24359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24360 }
24361 arg2 = static_cast< size_t >(val2);
24362 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24363 if (!SWIG_IsOK(res3)) {
24364 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24365 }
24366 arg3 = reinterpret_cast< wxControl * >(argp3);
24367 {
24368 PyThreadState* __tstate = wxPyBeginAllowThreads();
24369 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
24370 wxPyEndAllowThreads(__tstate);
24371 if (PyErr_Occurred()) SWIG_fail;
24372 }
24373 {
24374 resultobj = wxPyMake_wxObject(result, (bool)0);
24375 }
24376 return resultobj;
24377 fail:
24378 return NULL;
24379 }
24380
24381
24382 SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24383 PyObject *resultobj = 0;
24384 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24385 int arg2 ;
24386 wxControl *result = 0 ;
24387 void *argp1 = 0 ;
24388 int res1 = 0 ;
24389 int val2 ;
24390 int ecode2 = 0 ;
24391 PyObject * obj0 = 0 ;
24392 PyObject * obj1 = 0 ;
24393 char * kwnames[] = {
24394 (char *) "self",(char *) "id", NULL
24395 };
24396
24397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24399 if (!SWIG_IsOK(res1)) {
24400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24401 }
24402 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24403 ecode2 = SWIG_AsVal_int(obj1, &val2);
24404 if (!SWIG_IsOK(ecode2)) {
24405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24406 }
24407 arg2 = static_cast< int >(val2);
24408 {
24409 PyThreadState* __tstate = wxPyBeginAllowThreads();
24410 result = (wxControl *)(arg1)->FindControl(arg2);
24411 wxPyEndAllowThreads(__tstate);
24412 if (PyErr_Occurred()) SWIG_fail;
24413 }
24414 {
24415 resultobj = wxPyMake_wxObject(result, 0);
24416 }
24417 return resultobj;
24418 fail:
24419 return NULL;
24420 }
24421
24422
24423 SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24424 PyObject *resultobj = 0;
24425 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24426 wxToolBarToolBase *result = 0 ;
24427 void *argp1 = 0 ;
24428 int res1 = 0 ;
24429 PyObject *swig_obj[1] ;
24430
24431 if (!args) SWIG_fail;
24432 swig_obj[0] = args;
24433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24434 if (!SWIG_IsOK(res1)) {
24435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24436 }
24437 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24438 {
24439 PyThreadState* __tstate = wxPyBeginAllowThreads();
24440 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24441 wxPyEndAllowThreads(__tstate);
24442 if (PyErr_Occurred()) SWIG_fail;
24443 }
24444 {
24445 resultobj = wxPyMake_wxObject(result, (bool)0);
24446 }
24447 return resultobj;
24448 fail:
24449 return NULL;
24450 }
24451
24452
24453 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24454 PyObject *resultobj = 0;
24455 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24456 size_t arg2 ;
24457 wxToolBarToolBase *result = 0 ;
24458 void *argp1 = 0 ;
24459 int res1 = 0 ;
24460 size_t val2 ;
24461 int ecode2 = 0 ;
24462 PyObject * obj0 = 0 ;
24463 PyObject * obj1 = 0 ;
24464 char * kwnames[] = {
24465 (char *) "self",(char *) "pos", NULL
24466 };
24467
24468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24470 if (!SWIG_IsOK(res1)) {
24471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24472 }
24473 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24474 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24475 if (!SWIG_IsOK(ecode2)) {
24476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24477 }
24478 arg2 = static_cast< size_t >(val2);
24479 {
24480 PyThreadState* __tstate = wxPyBeginAllowThreads();
24481 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24482 wxPyEndAllowThreads(__tstate);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 {
24486 resultobj = wxPyMake_wxObject(result, (bool)0);
24487 }
24488 return resultobj;
24489 fail:
24490 return NULL;
24491 }
24492
24493
24494 SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24495 PyObject *resultobj = 0;
24496 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24497 int arg2 ;
24498 wxToolBarToolBase *result = 0 ;
24499 void *argp1 = 0 ;
24500 int res1 = 0 ;
24501 int val2 ;
24502 int ecode2 = 0 ;
24503 PyObject * obj0 = 0 ;
24504 PyObject * obj1 = 0 ;
24505 char * kwnames[] = {
24506 (char *) "self",(char *) "id", NULL
24507 };
24508
24509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24511 if (!SWIG_IsOK(res1)) {
24512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24513 }
24514 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24515 ecode2 = SWIG_AsVal_int(obj1, &val2);
24516 if (!SWIG_IsOK(ecode2)) {
24517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24518 }
24519 arg2 = static_cast< int >(val2);
24520 {
24521 PyThreadState* __tstate = wxPyBeginAllowThreads();
24522 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24523 wxPyEndAllowThreads(__tstate);
24524 if (PyErr_Occurred()) SWIG_fail;
24525 }
24526 {
24527 resultobj = wxPyMake_wxObject(result, (bool)0);
24528 }
24529 return resultobj;
24530 fail:
24531 return NULL;
24532 }
24533
24534
24535 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24536 PyObject *resultobj = 0;
24537 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24538 size_t arg2 ;
24539 bool result;
24540 void *argp1 = 0 ;
24541 int res1 = 0 ;
24542 size_t val2 ;
24543 int ecode2 = 0 ;
24544 PyObject * obj0 = 0 ;
24545 PyObject * obj1 = 0 ;
24546 char * kwnames[] = {
24547 (char *) "self",(char *) "pos", NULL
24548 };
24549
24550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24552 if (!SWIG_IsOK(res1)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24554 }
24555 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24556 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24557 if (!SWIG_IsOK(ecode2)) {
24558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24559 }
24560 arg2 = static_cast< size_t >(val2);
24561 {
24562 PyThreadState* __tstate = wxPyBeginAllowThreads();
24563 result = (bool)(arg1)->DeleteToolByPos(arg2);
24564 wxPyEndAllowThreads(__tstate);
24565 if (PyErr_Occurred()) SWIG_fail;
24566 }
24567 {
24568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24569 }
24570 return resultobj;
24571 fail:
24572 return NULL;
24573 }
24574
24575
24576 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24577 PyObject *resultobj = 0;
24578 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24579 int arg2 ;
24580 bool result;
24581 void *argp1 = 0 ;
24582 int res1 = 0 ;
24583 int val2 ;
24584 int ecode2 = 0 ;
24585 PyObject * obj0 = 0 ;
24586 PyObject * obj1 = 0 ;
24587 char * kwnames[] = {
24588 (char *) "self",(char *) "id", NULL
24589 };
24590
24591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24593 if (!SWIG_IsOK(res1)) {
24594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24595 }
24596 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24597 ecode2 = SWIG_AsVal_int(obj1, &val2);
24598 if (!SWIG_IsOK(ecode2)) {
24599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24600 }
24601 arg2 = static_cast< int >(val2);
24602 {
24603 PyThreadState* __tstate = wxPyBeginAllowThreads();
24604 result = (bool)(arg1)->DeleteTool(arg2);
24605 wxPyEndAllowThreads(__tstate);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
24608 {
24609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24610 }
24611 return resultobj;
24612 fail:
24613 return NULL;
24614 }
24615
24616
24617 SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24618 PyObject *resultobj = 0;
24619 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24620 void *argp1 = 0 ;
24621 int res1 = 0 ;
24622 PyObject *swig_obj[1] ;
24623
24624 if (!args) SWIG_fail;
24625 swig_obj[0] = args;
24626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24627 if (!SWIG_IsOK(res1)) {
24628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24629 }
24630 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24631 {
24632 PyThreadState* __tstate = wxPyBeginAllowThreads();
24633 (arg1)->ClearTools();
24634 wxPyEndAllowThreads(__tstate);
24635 if (PyErr_Occurred()) SWIG_fail;
24636 }
24637 resultobj = SWIG_Py_Void();
24638 return resultobj;
24639 fail:
24640 return NULL;
24641 }
24642
24643
24644 SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24645 PyObject *resultobj = 0;
24646 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24647 bool result;
24648 void *argp1 = 0 ;
24649 int res1 = 0 ;
24650 PyObject *swig_obj[1] ;
24651
24652 if (!args) SWIG_fail;
24653 swig_obj[0] = args;
24654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24655 if (!SWIG_IsOK(res1)) {
24656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24657 }
24658 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24659 {
24660 PyThreadState* __tstate = wxPyBeginAllowThreads();
24661 result = (bool)(arg1)->Realize();
24662 wxPyEndAllowThreads(__tstate);
24663 if (PyErr_Occurred()) SWIG_fail;
24664 }
24665 {
24666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24667 }
24668 return resultobj;
24669 fail:
24670 return NULL;
24671 }
24672
24673
24674 SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24675 PyObject *resultobj = 0;
24676 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24677 int arg2 ;
24678 bool arg3 ;
24679 void *argp1 = 0 ;
24680 int res1 = 0 ;
24681 int val2 ;
24682 int ecode2 = 0 ;
24683 bool val3 ;
24684 int ecode3 = 0 ;
24685 PyObject * obj0 = 0 ;
24686 PyObject * obj1 = 0 ;
24687 PyObject * obj2 = 0 ;
24688 char * kwnames[] = {
24689 (char *) "self",(char *) "id",(char *) "enable", NULL
24690 };
24691
24692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24694 if (!SWIG_IsOK(res1)) {
24695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24696 }
24697 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24698 ecode2 = SWIG_AsVal_int(obj1, &val2);
24699 if (!SWIG_IsOK(ecode2)) {
24700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24701 }
24702 arg2 = static_cast< int >(val2);
24703 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24704 if (!SWIG_IsOK(ecode3)) {
24705 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24706 }
24707 arg3 = static_cast< bool >(val3);
24708 {
24709 PyThreadState* __tstate = wxPyBeginAllowThreads();
24710 (arg1)->EnableTool(arg2,arg3);
24711 wxPyEndAllowThreads(__tstate);
24712 if (PyErr_Occurred()) SWIG_fail;
24713 }
24714 resultobj = SWIG_Py_Void();
24715 return resultobj;
24716 fail:
24717 return NULL;
24718 }
24719
24720
24721 SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24722 PyObject *resultobj = 0;
24723 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24724 int arg2 ;
24725 bool arg3 ;
24726 void *argp1 = 0 ;
24727 int res1 = 0 ;
24728 int val2 ;
24729 int ecode2 = 0 ;
24730 bool val3 ;
24731 int ecode3 = 0 ;
24732 PyObject * obj0 = 0 ;
24733 PyObject * obj1 = 0 ;
24734 PyObject * obj2 = 0 ;
24735 char * kwnames[] = {
24736 (char *) "self",(char *) "id",(char *) "toggle", NULL
24737 };
24738
24739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24741 if (!SWIG_IsOK(res1)) {
24742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24743 }
24744 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24745 ecode2 = SWIG_AsVal_int(obj1, &val2);
24746 if (!SWIG_IsOK(ecode2)) {
24747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24748 }
24749 arg2 = static_cast< int >(val2);
24750 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24751 if (!SWIG_IsOK(ecode3)) {
24752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24753 }
24754 arg3 = static_cast< bool >(val3);
24755 {
24756 PyThreadState* __tstate = wxPyBeginAllowThreads();
24757 (arg1)->ToggleTool(arg2,arg3);
24758 wxPyEndAllowThreads(__tstate);
24759 if (PyErr_Occurred()) SWIG_fail;
24760 }
24761 resultobj = SWIG_Py_Void();
24762 return resultobj;
24763 fail:
24764 return NULL;
24765 }
24766
24767
24768 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24769 PyObject *resultobj = 0;
24770 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24771 int arg2 ;
24772 bool arg3 ;
24773 void *argp1 = 0 ;
24774 int res1 = 0 ;
24775 int val2 ;
24776 int ecode2 = 0 ;
24777 bool val3 ;
24778 int ecode3 = 0 ;
24779 PyObject * obj0 = 0 ;
24780 PyObject * obj1 = 0 ;
24781 PyObject * obj2 = 0 ;
24782 char * kwnames[] = {
24783 (char *) "self",(char *) "id",(char *) "toggle", NULL
24784 };
24785
24786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24788 if (!SWIG_IsOK(res1)) {
24789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24790 }
24791 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24792 ecode2 = SWIG_AsVal_int(obj1, &val2);
24793 if (!SWIG_IsOK(ecode2)) {
24794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24795 }
24796 arg2 = static_cast< int >(val2);
24797 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24798 if (!SWIG_IsOK(ecode3)) {
24799 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24800 }
24801 arg3 = static_cast< bool >(val3);
24802 {
24803 PyThreadState* __tstate = wxPyBeginAllowThreads();
24804 (arg1)->SetToggle(arg2,arg3);
24805 wxPyEndAllowThreads(__tstate);
24806 if (PyErr_Occurred()) SWIG_fail;
24807 }
24808 resultobj = SWIG_Py_Void();
24809 return resultobj;
24810 fail:
24811 return NULL;
24812 }
24813
24814
24815 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24816 PyObject *resultobj = 0;
24817 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24818 int arg2 ;
24819 PyObject *result = 0 ;
24820 void *argp1 = 0 ;
24821 int res1 = 0 ;
24822 int val2 ;
24823 int ecode2 = 0 ;
24824 PyObject * obj0 = 0 ;
24825 PyObject * obj1 = 0 ;
24826 char * kwnames[] = {
24827 (char *) "self",(char *) "id", NULL
24828 };
24829
24830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24832 if (!SWIG_IsOK(res1)) {
24833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24834 }
24835 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24836 ecode2 = SWIG_AsVal_int(obj1, &val2);
24837 if (!SWIG_IsOK(ecode2)) {
24838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24839 }
24840 arg2 = static_cast< int >(val2);
24841 {
24842 PyThreadState* __tstate = wxPyBeginAllowThreads();
24843 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24844 wxPyEndAllowThreads(__tstate);
24845 if (PyErr_Occurred()) SWIG_fail;
24846 }
24847 resultobj = result;
24848 return resultobj;
24849 fail:
24850 return NULL;
24851 }
24852
24853
24854 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24855 PyObject *resultobj = 0;
24856 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24857 int arg2 ;
24858 PyObject *arg3 = (PyObject *) 0 ;
24859 void *argp1 = 0 ;
24860 int res1 = 0 ;
24861 int val2 ;
24862 int ecode2 = 0 ;
24863 PyObject * obj0 = 0 ;
24864 PyObject * obj1 = 0 ;
24865 PyObject * obj2 = 0 ;
24866 char * kwnames[] = {
24867 (char *) "self",(char *) "id",(char *) "clientData", NULL
24868 };
24869
24870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24872 if (!SWIG_IsOK(res1)) {
24873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24874 }
24875 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24876 ecode2 = SWIG_AsVal_int(obj1, &val2);
24877 if (!SWIG_IsOK(ecode2)) {
24878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24879 }
24880 arg2 = static_cast< int >(val2);
24881 arg3 = obj2;
24882 {
24883 PyThreadState* __tstate = wxPyBeginAllowThreads();
24884 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24885 wxPyEndAllowThreads(__tstate);
24886 if (PyErr_Occurred()) SWIG_fail;
24887 }
24888 resultobj = SWIG_Py_Void();
24889 return resultobj;
24890 fail:
24891 return NULL;
24892 }
24893
24894
24895 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24896 PyObject *resultobj = 0;
24897 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24898 int arg2 ;
24899 int result;
24900 void *argp1 = 0 ;
24901 int res1 = 0 ;
24902 int val2 ;
24903 int ecode2 = 0 ;
24904 PyObject * obj0 = 0 ;
24905 PyObject * obj1 = 0 ;
24906 char * kwnames[] = {
24907 (char *) "self",(char *) "id", NULL
24908 };
24909
24910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24912 if (!SWIG_IsOK(res1)) {
24913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24914 }
24915 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24916 ecode2 = SWIG_AsVal_int(obj1, &val2);
24917 if (!SWIG_IsOK(ecode2)) {
24918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24919 }
24920 arg2 = static_cast< int >(val2);
24921 {
24922 PyThreadState* __tstate = wxPyBeginAllowThreads();
24923 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24924 wxPyEndAllowThreads(__tstate);
24925 if (PyErr_Occurred()) SWIG_fail;
24926 }
24927 resultobj = SWIG_From_int(static_cast< int >(result));
24928 return resultobj;
24929 fail:
24930 return NULL;
24931 }
24932
24933
24934 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24935 PyObject *resultobj = 0;
24936 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24937 int arg2 ;
24938 bool result;
24939 void *argp1 = 0 ;
24940 int res1 = 0 ;
24941 int val2 ;
24942 int ecode2 = 0 ;
24943 PyObject * obj0 = 0 ;
24944 PyObject * obj1 = 0 ;
24945 char * kwnames[] = {
24946 (char *) "self",(char *) "id", NULL
24947 };
24948
24949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24951 if (!SWIG_IsOK(res1)) {
24952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24953 }
24954 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24955 ecode2 = SWIG_AsVal_int(obj1, &val2);
24956 if (!SWIG_IsOK(ecode2)) {
24957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24958 }
24959 arg2 = static_cast< int >(val2);
24960 {
24961 PyThreadState* __tstate = wxPyBeginAllowThreads();
24962 result = (bool)(arg1)->GetToolState(arg2);
24963 wxPyEndAllowThreads(__tstate);
24964 if (PyErr_Occurred()) SWIG_fail;
24965 }
24966 {
24967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24968 }
24969 return resultobj;
24970 fail:
24971 return NULL;
24972 }
24973
24974
24975 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24976 PyObject *resultobj = 0;
24977 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24978 int arg2 ;
24979 bool result;
24980 void *argp1 = 0 ;
24981 int res1 = 0 ;
24982 int val2 ;
24983 int ecode2 = 0 ;
24984 PyObject * obj0 = 0 ;
24985 PyObject * obj1 = 0 ;
24986 char * kwnames[] = {
24987 (char *) "self",(char *) "id", NULL
24988 };
24989
24990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24992 if (!SWIG_IsOK(res1)) {
24993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24994 }
24995 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24996 ecode2 = SWIG_AsVal_int(obj1, &val2);
24997 if (!SWIG_IsOK(ecode2)) {
24998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24999 }
25000 arg2 = static_cast< int >(val2);
25001 {
25002 PyThreadState* __tstate = wxPyBeginAllowThreads();
25003 result = (bool)(arg1)->GetToolEnabled(arg2);
25004 wxPyEndAllowThreads(__tstate);
25005 if (PyErr_Occurred()) SWIG_fail;
25006 }
25007 {
25008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25009 }
25010 return resultobj;
25011 fail:
25012 return NULL;
25013 }
25014
25015
25016 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25017 PyObject *resultobj = 0;
25018 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25019 int arg2 ;
25020 wxString *arg3 = 0 ;
25021 void *argp1 = 0 ;
25022 int res1 = 0 ;
25023 int val2 ;
25024 int ecode2 = 0 ;
25025 bool temp3 = false ;
25026 PyObject * obj0 = 0 ;
25027 PyObject * obj1 = 0 ;
25028 PyObject * obj2 = 0 ;
25029 char * kwnames[] = {
25030 (char *) "self",(char *) "id",(char *) "helpString", NULL
25031 };
25032
25033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25035 if (!SWIG_IsOK(res1)) {
25036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25037 }
25038 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25039 ecode2 = SWIG_AsVal_int(obj1, &val2);
25040 if (!SWIG_IsOK(ecode2)) {
25041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25042 }
25043 arg2 = static_cast< int >(val2);
25044 {
25045 arg3 = wxString_in_helper(obj2);
25046 if (arg3 == NULL) SWIG_fail;
25047 temp3 = true;
25048 }
25049 {
25050 PyThreadState* __tstate = wxPyBeginAllowThreads();
25051 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
25052 wxPyEndAllowThreads(__tstate);
25053 if (PyErr_Occurred()) SWIG_fail;
25054 }
25055 resultobj = SWIG_Py_Void();
25056 {
25057 if (temp3)
25058 delete arg3;
25059 }
25060 return resultobj;
25061 fail:
25062 {
25063 if (temp3)
25064 delete arg3;
25065 }
25066 return NULL;
25067 }
25068
25069
25070 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25071 PyObject *resultobj = 0;
25072 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25073 int arg2 ;
25074 wxString result;
25075 void *argp1 = 0 ;
25076 int res1 = 0 ;
25077 int val2 ;
25078 int ecode2 = 0 ;
25079 PyObject * obj0 = 0 ;
25080 PyObject * obj1 = 0 ;
25081 char * kwnames[] = {
25082 (char *) "self",(char *) "id", NULL
25083 };
25084
25085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25087 if (!SWIG_IsOK(res1)) {
25088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25089 }
25090 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25091 ecode2 = SWIG_AsVal_int(obj1, &val2);
25092 if (!SWIG_IsOK(ecode2)) {
25093 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25094 }
25095 arg2 = static_cast< int >(val2);
25096 {
25097 PyThreadState* __tstate = wxPyBeginAllowThreads();
25098 result = (arg1)->GetToolShortHelp(arg2);
25099 wxPyEndAllowThreads(__tstate);
25100 if (PyErr_Occurred()) SWIG_fail;
25101 }
25102 {
25103 #if wxUSE_UNICODE
25104 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25105 #else
25106 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25107 #endif
25108 }
25109 return resultobj;
25110 fail:
25111 return NULL;
25112 }
25113
25114
25115 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25116 PyObject *resultobj = 0;
25117 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25118 int arg2 ;
25119 wxString *arg3 = 0 ;
25120 void *argp1 = 0 ;
25121 int res1 = 0 ;
25122 int val2 ;
25123 int ecode2 = 0 ;
25124 bool temp3 = false ;
25125 PyObject * obj0 = 0 ;
25126 PyObject * obj1 = 0 ;
25127 PyObject * obj2 = 0 ;
25128 char * kwnames[] = {
25129 (char *) "self",(char *) "id",(char *) "helpString", NULL
25130 };
25131
25132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25134 if (!SWIG_IsOK(res1)) {
25135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25136 }
25137 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25138 ecode2 = SWIG_AsVal_int(obj1, &val2);
25139 if (!SWIG_IsOK(ecode2)) {
25140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25141 }
25142 arg2 = static_cast< int >(val2);
25143 {
25144 arg3 = wxString_in_helper(obj2);
25145 if (arg3 == NULL) SWIG_fail;
25146 temp3 = true;
25147 }
25148 {
25149 PyThreadState* __tstate = wxPyBeginAllowThreads();
25150 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
25151 wxPyEndAllowThreads(__tstate);
25152 if (PyErr_Occurred()) SWIG_fail;
25153 }
25154 resultobj = SWIG_Py_Void();
25155 {
25156 if (temp3)
25157 delete arg3;
25158 }
25159 return resultobj;
25160 fail:
25161 {
25162 if (temp3)
25163 delete arg3;
25164 }
25165 return NULL;
25166 }
25167
25168
25169 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25170 PyObject *resultobj = 0;
25171 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25172 int arg2 ;
25173 wxString result;
25174 void *argp1 = 0 ;
25175 int res1 = 0 ;
25176 int val2 ;
25177 int ecode2 = 0 ;
25178 PyObject * obj0 = 0 ;
25179 PyObject * obj1 = 0 ;
25180 char * kwnames[] = {
25181 (char *) "self",(char *) "id", NULL
25182 };
25183
25184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25186 if (!SWIG_IsOK(res1)) {
25187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25188 }
25189 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25190 ecode2 = SWIG_AsVal_int(obj1, &val2);
25191 if (!SWIG_IsOK(ecode2)) {
25192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25193 }
25194 arg2 = static_cast< int >(val2);
25195 {
25196 PyThreadState* __tstate = wxPyBeginAllowThreads();
25197 result = (arg1)->GetToolLongHelp(arg2);
25198 wxPyEndAllowThreads(__tstate);
25199 if (PyErr_Occurred()) SWIG_fail;
25200 }
25201 {
25202 #if wxUSE_UNICODE
25203 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25204 #else
25205 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25206 #endif
25207 }
25208 return resultobj;
25209 fail:
25210 return NULL;
25211 }
25212
25213
25214 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25215 PyObject *resultobj = 0;
25216 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25217 int arg2 ;
25218 int arg3 ;
25219 void *argp1 = 0 ;
25220 int res1 = 0 ;
25221 int val2 ;
25222 int ecode2 = 0 ;
25223 int val3 ;
25224 int ecode3 = 0 ;
25225 PyObject * obj0 = 0 ;
25226 PyObject * obj1 = 0 ;
25227 PyObject * obj2 = 0 ;
25228 char * kwnames[] = {
25229 (char *) "self",(char *) "x",(char *) "y", NULL
25230 };
25231
25232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25234 if (!SWIG_IsOK(res1)) {
25235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25236 }
25237 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25238 ecode2 = SWIG_AsVal_int(obj1, &val2);
25239 if (!SWIG_IsOK(ecode2)) {
25240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25241 }
25242 arg2 = static_cast< int >(val2);
25243 ecode3 = SWIG_AsVal_int(obj2, &val3);
25244 if (!SWIG_IsOK(ecode3)) {
25245 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25246 }
25247 arg3 = static_cast< int >(val3);
25248 {
25249 PyThreadState* __tstate = wxPyBeginAllowThreads();
25250 (arg1)->SetMargins(arg2,arg3);
25251 wxPyEndAllowThreads(__tstate);
25252 if (PyErr_Occurred()) SWIG_fail;
25253 }
25254 resultobj = SWIG_Py_Void();
25255 return resultobj;
25256 fail:
25257 return NULL;
25258 }
25259
25260
25261 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25262 PyObject *resultobj = 0;
25263 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25264 wxSize *arg2 = 0 ;
25265 void *argp1 = 0 ;
25266 int res1 = 0 ;
25267 wxSize temp2 ;
25268 PyObject * obj0 = 0 ;
25269 PyObject * obj1 = 0 ;
25270 char * kwnames[] = {
25271 (char *) "self",(char *) "size", NULL
25272 };
25273
25274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25276 if (!SWIG_IsOK(res1)) {
25277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25278 }
25279 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25280 {
25281 arg2 = &temp2;
25282 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25283 }
25284 {
25285 PyThreadState* __tstate = wxPyBeginAllowThreads();
25286 (arg1)->SetMargins((wxSize const &)*arg2);
25287 wxPyEndAllowThreads(__tstate);
25288 if (PyErr_Occurred()) SWIG_fail;
25289 }
25290 resultobj = SWIG_Py_Void();
25291 return resultobj;
25292 fail:
25293 return NULL;
25294 }
25295
25296
25297 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25298 PyObject *resultobj = 0;
25299 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25300 int arg2 ;
25301 void *argp1 = 0 ;
25302 int res1 = 0 ;
25303 int val2 ;
25304 int ecode2 = 0 ;
25305 PyObject * obj0 = 0 ;
25306 PyObject * obj1 = 0 ;
25307 char * kwnames[] = {
25308 (char *) "self",(char *) "packing", NULL
25309 };
25310
25311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25313 if (!SWIG_IsOK(res1)) {
25314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25315 }
25316 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25317 ecode2 = SWIG_AsVal_int(obj1, &val2);
25318 if (!SWIG_IsOK(ecode2)) {
25319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25320 }
25321 arg2 = static_cast< int >(val2);
25322 {
25323 PyThreadState* __tstate = wxPyBeginAllowThreads();
25324 (arg1)->SetToolPacking(arg2);
25325 wxPyEndAllowThreads(__tstate);
25326 if (PyErr_Occurred()) SWIG_fail;
25327 }
25328 resultobj = SWIG_Py_Void();
25329 return resultobj;
25330 fail:
25331 return NULL;
25332 }
25333
25334
25335 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25336 PyObject *resultobj = 0;
25337 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25338 int arg2 ;
25339 void *argp1 = 0 ;
25340 int res1 = 0 ;
25341 int val2 ;
25342 int ecode2 = 0 ;
25343 PyObject * obj0 = 0 ;
25344 PyObject * obj1 = 0 ;
25345 char * kwnames[] = {
25346 (char *) "self",(char *) "separation", NULL
25347 };
25348
25349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25351 if (!SWIG_IsOK(res1)) {
25352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25353 }
25354 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25355 ecode2 = SWIG_AsVal_int(obj1, &val2);
25356 if (!SWIG_IsOK(ecode2)) {
25357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25358 }
25359 arg2 = static_cast< int >(val2);
25360 {
25361 PyThreadState* __tstate = wxPyBeginAllowThreads();
25362 (arg1)->SetToolSeparation(arg2);
25363 wxPyEndAllowThreads(__tstate);
25364 if (PyErr_Occurred()) SWIG_fail;
25365 }
25366 resultobj = SWIG_Py_Void();
25367 return resultobj;
25368 fail:
25369 return NULL;
25370 }
25371
25372
25373 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25374 PyObject *resultobj = 0;
25375 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25376 wxSize result;
25377 void *argp1 = 0 ;
25378 int res1 = 0 ;
25379 PyObject *swig_obj[1] ;
25380
25381 if (!args) SWIG_fail;
25382 swig_obj[0] = args;
25383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25384 if (!SWIG_IsOK(res1)) {
25385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25386 }
25387 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25388 {
25389 PyThreadState* __tstate = wxPyBeginAllowThreads();
25390 result = (arg1)->GetToolMargins();
25391 wxPyEndAllowThreads(__tstate);
25392 if (PyErr_Occurred()) SWIG_fail;
25393 }
25394 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25395 return resultobj;
25396 fail:
25397 return NULL;
25398 }
25399
25400
25401 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25402 PyObject *resultobj = 0;
25403 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25404 wxSize result;
25405 void *argp1 = 0 ;
25406 int res1 = 0 ;
25407 PyObject *swig_obj[1] ;
25408
25409 if (!args) SWIG_fail;
25410 swig_obj[0] = args;
25411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25412 if (!SWIG_IsOK(res1)) {
25413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25414 }
25415 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25416 {
25417 PyThreadState* __tstate = wxPyBeginAllowThreads();
25418 result = (arg1)->GetMargins();
25419 wxPyEndAllowThreads(__tstate);
25420 if (PyErr_Occurred()) SWIG_fail;
25421 }
25422 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25423 return resultobj;
25424 fail:
25425 return NULL;
25426 }
25427
25428
25429 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25430 PyObject *resultobj = 0;
25431 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25432 int result;
25433 void *argp1 = 0 ;
25434 int res1 = 0 ;
25435 PyObject *swig_obj[1] ;
25436
25437 if (!args) SWIG_fail;
25438 swig_obj[0] = args;
25439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25440 if (!SWIG_IsOK(res1)) {
25441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25442 }
25443 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25444 {
25445 PyThreadState* __tstate = wxPyBeginAllowThreads();
25446 result = (int)(arg1)->GetToolPacking();
25447 wxPyEndAllowThreads(__tstate);
25448 if (PyErr_Occurred()) SWIG_fail;
25449 }
25450 resultobj = SWIG_From_int(static_cast< int >(result));
25451 return resultobj;
25452 fail:
25453 return NULL;
25454 }
25455
25456
25457 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25458 PyObject *resultobj = 0;
25459 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25460 int result;
25461 void *argp1 = 0 ;
25462 int res1 = 0 ;
25463 PyObject *swig_obj[1] ;
25464
25465 if (!args) SWIG_fail;
25466 swig_obj[0] = args;
25467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25468 if (!SWIG_IsOK(res1)) {
25469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25470 }
25471 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25472 {
25473 PyThreadState* __tstate = wxPyBeginAllowThreads();
25474 result = (int)(arg1)->GetToolSeparation();
25475 wxPyEndAllowThreads(__tstate);
25476 if (PyErr_Occurred()) SWIG_fail;
25477 }
25478 resultobj = SWIG_From_int(static_cast< int >(result));
25479 return resultobj;
25480 fail:
25481 return NULL;
25482 }
25483
25484
25485 SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25486 PyObject *resultobj = 0;
25487 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25488 int arg2 ;
25489 void *argp1 = 0 ;
25490 int res1 = 0 ;
25491 int val2 ;
25492 int ecode2 = 0 ;
25493 PyObject * obj0 = 0 ;
25494 PyObject * obj1 = 0 ;
25495 char * kwnames[] = {
25496 (char *) "self",(char *) "nRows", NULL
25497 };
25498
25499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25501 if (!SWIG_IsOK(res1)) {
25502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25503 }
25504 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25505 ecode2 = SWIG_AsVal_int(obj1, &val2);
25506 if (!SWIG_IsOK(ecode2)) {
25507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25508 }
25509 arg2 = static_cast< int >(val2);
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 (arg1)->SetRows(arg2);
25513 wxPyEndAllowThreads(__tstate);
25514 if (PyErr_Occurred()) SWIG_fail;
25515 }
25516 resultobj = SWIG_Py_Void();
25517 return resultobj;
25518 fail:
25519 return NULL;
25520 }
25521
25522
25523 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25524 PyObject *resultobj = 0;
25525 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25526 int arg2 ;
25527 int arg3 ;
25528 void *argp1 = 0 ;
25529 int res1 = 0 ;
25530 int val2 ;
25531 int ecode2 = 0 ;
25532 int val3 ;
25533 int ecode3 = 0 ;
25534 PyObject * obj0 = 0 ;
25535 PyObject * obj1 = 0 ;
25536 PyObject * obj2 = 0 ;
25537 char * kwnames[] = {
25538 (char *) "self",(char *) "rows",(char *) "cols", NULL
25539 };
25540
25541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25543 if (!SWIG_IsOK(res1)) {
25544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25545 }
25546 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25547 ecode2 = SWIG_AsVal_int(obj1, &val2);
25548 if (!SWIG_IsOK(ecode2)) {
25549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25550 }
25551 arg2 = static_cast< int >(val2);
25552 ecode3 = SWIG_AsVal_int(obj2, &val3);
25553 if (!SWIG_IsOK(ecode3)) {
25554 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25555 }
25556 arg3 = static_cast< int >(val3);
25557 {
25558 PyThreadState* __tstate = wxPyBeginAllowThreads();
25559 (arg1)->SetMaxRowsCols(arg2,arg3);
25560 wxPyEndAllowThreads(__tstate);
25561 if (PyErr_Occurred()) SWIG_fail;
25562 }
25563 resultobj = SWIG_Py_Void();
25564 return resultobj;
25565 fail:
25566 return NULL;
25567 }
25568
25569
25570 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25571 PyObject *resultobj = 0;
25572 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25573 int result;
25574 void *argp1 = 0 ;
25575 int res1 = 0 ;
25576 PyObject *swig_obj[1] ;
25577
25578 if (!args) SWIG_fail;
25579 swig_obj[0] = args;
25580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25581 if (!SWIG_IsOK(res1)) {
25582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25583 }
25584 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25585 {
25586 PyThreadState* __tstate = wxPyBeginAllowThreads();
25587 result = (int)(arg1)->GetMaxRows();
25588 wxPyEndAllowThreads(__tstate);
25589 if (PyErr_Occurred()) SWIG_fail;
25590 }
25591 resultobj = SWIG_From_int(static_cast< int >(result));
25592 return resultobj;
25593 fail:
25594 return NULL;
25595 }
25596
25597
25598 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25599 PyObject *resultobj = 0;
25600 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25601 int result;
25602 void *argp1 = 0 ;
25603 int res1 = 0 ;
25604 PyObject *swig_obj[1] ;
25605
25606 if (!args) SWIG_fail;
25607 swig_obj[0] = args;
25608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25609 if (!SWIG_IsOK(res1)) {
25610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25611 }
25612 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25613 {
25614 PyThreadState* __tstate = wxPyBeginAllowThreads();
25615 result = (int)(arg1)->GetMaxCols();
25616 wxPyEndAllowThreads(__tstate);
25617 if (PyErr_Occurred()) SWIG_fail;
25618 }
25619 resultobj = SWIG_From_int(static_cast< int >(result));
25620 return resultobj;
25621 fail:
25622 return NULL;
25623 }
25624
25625
25626 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25627 PyObject *resultobj = 0;
25628 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25629 wxSize *arg2 = 0 ;
25630 void *argp1 = 0 ;
25631 int res1 = 0 ;
25632 wxSize temp2 ;
25633 PyObject * obj0 = 0 ;
25634 PyObject * obj1 = 0 ;
25635 char * kwnames[] = {
25636 (char *) "self",(char *) "size", NULL
25637 };
25638
25639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25641 if (!SWIG_IsOK(res1)) {
25642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25643 }
25644 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25645 {
25646 arg2 = &temp2;
25647 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25648 }
25649 {
25650 PyThreadState* __tstate = wxPyBeginAllowThreads();
25651 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25652 wxPyEndAllowThreads(__tstate);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
25655 resultobj = SWIG_Py_Void();
25656 return resultobj;
25657 fail:
25658 return NULL;
25659 }
25660
25661
25662 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25663 PyObject *resultobj = 0;
25664 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25665 wxSize result;
25666 void *argp1 = 0 ;
25667 int res1 = 0 ;
25668 PyObject *swig_obj[1] ;
25669
25670 if (!args) SWIG_fail;
25671 swig_obj[0] = args;
25672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25673 if (!SWIG_IsOK(res1)) {
25674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25675 }
25676 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25677 {
25678 PyThreadState* __tstate = wxPyBeginAllowThreads();
25679 result = (arg1)->GetToolBitmapSize();
25680 wxPyEndAllowThreads(__tstate);
25681 if (PyErr_Occurred()) SWIG_fail;
25682 }
25683 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25684 return resultobj;
25685 fail:
25686 return NULL;
25687 }
25688
25689
25690 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25691 PyObject *resultobj = 0;
25692 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25693 wxSize result;
25694 void *argp1 = 0 ;
25695 int res1 = 0 ;
25696 PyObject *swig_obj[1] ;
25697
25698 if (!args) SWIG_fail;
25699 swig_obj[0] = args;
25700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25701 if (!SWIG_IsOK(res1)) {
25702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25703 }
25704 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25705 {
25706 PyThreadState* __tstate = wxPyBeginAllowThreads();
25707 result = (arg1)->GetToolSize();
25708 wxPyEndAllowThreads(__tstate);
25709 if (PyErr_Occurred()) SWIG_fail;
25710 }
25711 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25712 return resultobj;
25713 fail:
25714 return NULL;
25715 }
25716
25717
25718 SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25719 PyObject *resultobj = 0;
25720 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25721 int arg2 ;
25722 int arg3 ;
25723 wxToolBarToolBase *result = 0 ;
25724 void *argp1 = 0 ;
25725 int res1 = 0 ;
25726 int val2 ;
25727 int ecode2 = 0 ;
25728 int val3 ;
25729 int ecode3 = 0 ;
25730 PyObject * obj0 = 0 ;
25731 PyObject * obj1 = 0 ;
25732 PyObject * obj2 = 0 ;
25733 char * kwnames[] = {
25734 (char *) "self",(char *) "x",(char *) "y", NULL
25735 };
25736
25737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25739 if (!SWIG_IsOK(res1)) {
25740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25741 }
25742 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25743 ecode2 = SWIG_AsVal_int(obj1, &val2);
25744 if (!SWIG_IsOK(ecode2)) {
25745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25746 }
25747 arg2 = static_cast< int >(val2);
25748 ecode3 = SWIG_AsVal_int(obj2, &val3);
25749 if (!SWIG_IsOK(ecode3)) {
25750 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25751 }
25752 arg3 = static_cast< int >(val3);
25753 {
25754 PyThreadState* __tstate = wxPyBeginAllowThreads();
25755 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25756 wxPyEndAllowThreads(__tstate);
25757 if (PyErr_Occurred()) SWIG_fail;
25758 }
25759 {
25760 resultobj = wxPyMake_wxObject(result, (bool)0);
25761 }
25762 return resultobj;
25763 fail:
25764 return NULL;
25765 }
25766
25767
25768 SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25769 PyObject *resultobj = 0;
25770 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25771 int arg2 ;
25772 wxToolBarToolBase *result = 0 ;
25773 void *argp1 = 0 ;
25774 int res1 = 0 ;
25775 int val2 ;
25776 int ecode2 = 0 ;
25777 PyObject * obj0 = 0 ;
25778 PyObject * obj1 = 0 ;
25779 char * kwnames[] = {
25780 (char *) "self",(char *) "toolid", NULL
25781 };
25782
25783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25785 if (!SWIG_IsOK(res1)) {
25786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25787 }
25788 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25789 ecode2 = SWIG_AsVal_int(obj1, &val2);
25790 if (!SWIG_IsOK(ecode2)) {
25791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25792 }
25793 arg2 = static_cast< int >(val2);
25794 {
25795 PyThreadState* __tstate = wxPyBeginAllowThreads();
25796 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25797 wxPyEndAllowThreads(__tstate);
25798 if (PyErr_Occurred()) SWIG_fail;
25799 }
25800 {
25801 resultobj = wxPyMake_wxObject(result, (bool)0);
25802 }
25803 return resultobj;
25804 fail:
25805 return NULL;
25806 }
25807
25808
25809 SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25810 PyObject *resultobj = 0;
25811 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25812 bool result;
25813 void *argp1 = 0 ;
25814 int res1 = 0 ;
25815 PyObject *swig_obj[1] ;
25816
25817 if (!args) SWIG_fail;
25818 swig_obj[0] = args;
25819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25820 if (!SWIG_IsOK(res1)) {
25821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25822 }
25823 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25824 {
25825 PyThreadState* __tstate = wxPyBeginAllowThreads();
25826 result = (bool)(arg1)->IsVertical();
25827 wxPyEndAllowThreads(__tstate);
25828 if (PyErr_Occurred()) SWIG_fail;
25829 }
25830 {
25831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25832 }
25833 return resultobj;
25834 fail:
25835 return NULL;
25836 }
25837
25838
25839 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25840 PyObject *resultobj = 0;
25841 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25842 size_t result;
25843 void *argp1 = 0 ;
25844 int res1 = 0 ;
25845 PyObject *swig_obj[1] ;
25846
25847 if (!args) SWIG_fail;
25848 swig_obj[0] = args;
25849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25850 if (!SWIG_IsOK(res1)) {
25851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25852 }
25853 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25854 {
25855 PyThreadState* __tstate = wxPyBeginAllowThreads();
25856 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25857 wxPyEndAllowThreads(__tstate);
25858 if (PyErr_Occurred()) SWIG_fail;
25859 }
25860 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25861 return resultobj;
25862 fail:
25863 return NULL;
25864 }
25865
25866
25867 SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25868 PyObject *obj;
25869 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25870 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25871 return SWIG_Py_Void();
25872 }
25873
25874 SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25875 PyObject *resultobj = 0;
25876 wxWindow *arg1 = (wxWindow *) 0 ;
25877 int arg2 = (int) -1 ;
25878 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25879 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25880 wxSize const &arg4_defvalue = wxDefaultSize ;
25881 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25882 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25883 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25884 wxString *arg6 = (wxString *) &arg6_defvalue ;
25885 wxToolBar *result = 0 ;
25886 void *argp1 = 0 ;
25887 int res1 = 0 ;
25888 int val2 ;
25889 int ecode2 = 0 ;
25890 wxPoint temp3 ;
25891 wxSize temp4 ;
25892 long val5 ;
25893 int ecode5 = 0 ;
25894 bool temp6 = false ;
25895 PyObject * obj0 = 0 ;
25896 PyObject * obj1 = 0 ;
25897 PyObject * obj2 = 0 ;
25898 PyObject * obj3 = 0 ;
25899 PyObject * obj4 = 0 ;
25900 PyObject * obj5 = 0 ;
25901 char * kwnames[] = {
25902 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25903 };
25904
25905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25907 if (!SWIG_IsOK(res1)) {
25908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25909 }
25910 arg1 = reinterpret_cast< wxWindow * >(argp1);
25911 if (obj1) {
25912 ecode2 = SWIG_AsVal_int(obj1, &val2);
25913 if (!SWIG_IsOK(ecode2)) {
25914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25915 }
25916 arg2 = static_cast< int >(val2);
25917 }
25918 if (obj2) {
25919 {
25920 arg3 = &temp3;
25921 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25922 }
25923 }
25924 if (obj3) {
25925 {
25926 arg4 = &temp4;
25927 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25928 }
25929 }
25930 if (obj4) {
25931 ecode5 = SWIG_AsVal_long(obj4, &val5);
25932 if (!SWIG_IsOK(ecode5)) {
25933 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25934 }
25935 arg5 = static_cast< long >(val5);
25936 }
25937 if (obj5) {
25938 {
25939 arg6 = wxString_in_helper(obj5);
25940 if (arg6 == NULL) SWIG_fail;
25941 temp6 = true;
25942 }
25943 }
25944 {
25945 if (!wxPyCheckForApp()) SWIG_fail;
25946 PyThreadState* __tstate = wxPyBeginAllowThreads();
25947 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25948 wxPyEndAllowThreads(__tstate);
25949 if (PyErr_Occurred()) SWIG_fail;
25950 }
25951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25952 {
25953 if (temp6)
25954 delete arg6;
25955 }
25956 return resultobj;
25957 fail:
25958 {
25959 if (temp6)
25960 delete arg6;
25961 }
25962 return NULL;
25963 }
25964
25965
25966 SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25967 PyObject *resultobj = 0;
25968 wxToolBar *result = 0 ;
25969
25970 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25971 {
25972 if (!wxPyCheckForApp()) SWIG_fail;
25973 PyThreadState* __tstate = wxPyBeginAllowThreads();
25974 result = (wxToolBar *)new wxToolBar();
25975 wxPyEndAllowThreads(__tstate);
25976 if (PyErr_Occurred()) SWIG_fail;
25977 }
25978 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25979 return resultobj;
25980 fail:
25981 return NULL;
25982 }
25983
25984
25985 SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25986 PyObject *resultobj = 0;
25987 wxToolBar *arg1 = (wxToolBar *) 0 ;
25988 wxWindow *arg2 = (wxWindow *) 0 ;
25989 int arg3 = (int) -1 ;
25990 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25991 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25992 wxSize const &arg5_defvalue = wxDefaultSize ;
25993 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25994 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25995 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25996 wxString *arg7 = (wxString *) &arg7_defvalue ;
25997 bool result;
25998 void *argp1 = 0 ;
25999 int res1 = 0 ;
26000 void *argp2 = 0 ;
26001 int res2 = 0 ;
26002 int val3 ;
26003 int ecode3 = 0 ;
26004 wxPoint temp4 ;
26005 wxSize temp5 ;
26006 long val6 ;
26007 int ecode6 = 0 ;
26008 bool temp7 = false ;
26009 PyObject * obj0 = 0 ;
26010 PyObject * obj1 = 0 ;
26011 PyObject * obj2 = 0 ;
26012 PyObject * obj3 = 0 ;
26013 PyObject * obj4 = 0 ;
26014 PyObject * obj5 = 0 ;
26015 PyObject * obj6 = 0 ;
26016 char * kwnames[] = {
26017 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26018 };
26019
26020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
26021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
26022 if (!SWIG_IsOK(res1)) {
26023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26024 }
26025 arg1 = reinterpret_cast< wxToolBar * >(argp1);
26026 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26027 if (!SWIG_IsOK(res2)) {
26028 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26029 }
26030 arg2 = reinterpret_cast< wxWindow * >(argp2);
26031 if (obj2) {
26032 ecode3 = SWIG_AsVal_int(obj2, &val3);
26033 if (!SWIG_IsOK(ecode3)) {
26034 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26035 }
26036 arg3 = static_cast< int >(val3);
26037 }
26038 if (obj3) {
26039 {
26040 arg4 = &temp4;
26041 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26042 }
26043 }
26044 if (obj4) {
26045 {
26046 arg5 = &temp5;
26047 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26048 }
26049 }
26050 if (obj5) {
26051 ecode6 = SWIG_AsVal_long(obj5, &val6);
26052 if (!SWIG_IsOK(ecode6)) {
26053 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26054 }
26055 arg6 = static_cast< long >(val6);
26056 }
26057 if (obj6) {
26058 {
26059 arg7 = wxString_in_helper(obj6);
26060 if (arg7 == NULL) SWIG_fail;
26061 temp7 = true;
26062 }
26063 }
26064 {
26065 PyThreadState* __tstate = wxPyBeginAllowThreads();
26066 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26067 wxPyEndAllowThreads(__tstate);
26068 if (PyErr_Occurred()) SWIG_fail;
26069 }
26070 {
26071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26072 }
26073 {
26074 if (temp7)
26075 delete arg7;
26076 }
26077 return resultobj;
26078 fail:
26079 {
26080 if (temp7)
26081 delete arg7;
26082 }
26083 return NULL;
26084 }
26085
26086
26087 SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26088 PyObject *resultobj = 0;
26089 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26090 SwigValueWrapper<wxVisualAttributes > result;
26091 int val1 ;
26092 int ecode1 = 0 ;
26093 PyObject * obj0 = 0 ;
26094 char * kwnames[] = {
26095 (char *) "variant", NULL
26096 };
26097
26098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
26099 if (obj0) {
26100 ecode1 = SWIG_AsVal_int(obj0, &val1);
26101 if (!SWIG_IsOK(ecode1)) {
26102 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26103 }
26104 arg1 = static_cast< wxWindowVariant >(val1);
26105 }
26106 {
26107 if (!wxPyCheckForApp()) SWIG_fail;
26108 PyThreadState* __tstate = wxPyBeginAllowThreads();
26109 result = wxToolBar::GetClassDefaultAttributes(arg1);
26110 wxPyEndAllowThreads(__tstate);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 }
26113 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
26114 return resultobj;
26115 fail:
26116 return NULL;
26117 }
26118
26119
26120 SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26121 PyObject *obj;
26122 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26123 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
26124 return SWIG_Py_Void();
26125 }
26126
26127 SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26128 return SWIG_Python_InitShadowInstance(args);
26129 }
26130
26131 SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
26132 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
26133 return 1;
26134 }
26135
26136
26137 SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
26138 PyObject *pyobj = 0;
26139
26140 {
26141 #if wxUSE_UNICODE
26142 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26143 #else
26144 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26145 #endif
26146 }
26147 return pyobj;
26148 }
26149
26150
26151 SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26152 PyObject *resultobj = 0;
26153 wxColour const &arg1_defvalue = wxNullColour ;
26154 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
26155 wxColour const &arg2_defvalue = wxNullColour ;
26156 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
26157 wxFont const &arg3_defvalue = wxNullFont ;
26158 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
26159 wxListItemAttr *result = 0 ;
26160 wxColour temp1 ;
26161 wxColour temp2 ;
26162 void *argp3 = 0 ;
26163 int res3 = 0 ;
26164 PyObject * obj0 = 0 ;
26165 PyObject * obj1 = 0 ;
26166 PyObject * obj2 = 0 ;
26167 char * kwnames[] = {
26168 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26169 };
26170
26171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26172 if (obj0) {
26173 {
26174 arg1 = &temp1;
26175 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
26176 }
26177 }
26178 if (obj1) {
26179 {
26180 arg2 = &temp2;
26181 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26182 }
26183 }
26184 if (obj2) {
26185 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
26186 if (!SWIG_IsOK(res3)) {
26187 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26188 }
26189 if (!argp3) {
26190 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26191 }
26192 arg3 = reinterpret_cast< wxFont * >(argp3);
26193 }
26194 {
26195 PyThreadState* __tstate = wxPyBeginAllowThreads();
26196 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
26197 wxPyEndAllowThreads(__tstate);
26198 if (PyErr_Occurred()) SWIG_fail;
26199 }
26200 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
26201 return resultobj;
26202 fail:
26203 return NULL;
26204 }
26205
26206
26207 SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26208 PyObject *resultobj = 0;
26209 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26210 void *argp1 = 0 ;
26211 int res1 = 0 ;
26212 PyObject *swig_obj[1] ;
26213
26214 if (!args) SWIG_fail;
26215 swig_obj[0] = args;
26216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
26217 if (!SWIG_IsOK(res1)) {
26218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26219 }
26220 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26221 {
26222 PyThreadState* __tstate = wxPyBeginAllowThreads();
26223 delete arg1;
26224
26225 wxPyEndAllowThreads(__tstate);
26226 if (PyErr_Occurred()) SWIG_fail;
26227 }
26228 resultobj = SWIG_Py_Void();
26229 return resultobj;
26230 fail:
26231 return NULL;
26232 }
26233
26234
26235 SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26236 PyObject *resultobj = 0;
26237 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26238 wxColour *arg2 = 0 ;
26239 void *argp1 = 0 ;
26240 int res1 = 0 ;
26241 wxColour temp2 ;
26242 PyObject * obj0 = 0 ;
26243 PyObject * obj1 = 0 ;
26244 char * kwnames[] = {
26245 (char *) "self",(char *) "colText", NULL
26246 };
26247
26248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26250 if (!SWIG_IsOK(res1)) {
26251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26252 }
26253 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26254 {
26255 arg2 = &temp2;
26256 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26257 }
26258 {
26259 PyThreadState* __tstate = wxPyBeginAllowThreads();
26260 (arg1)->SetTextColour((wxColour const &)*arg2);
26261 wxPyEndAllowThreads(__tstate);
26262 if (PyErr_Occurred()) SWIG_fail;
26263 }
26264 resultobj = SWIG_Py_Void();
26265 return resultobj;
26266 fail:
26267 return NULL;
26268 }
26269
26270
26271 SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26272 PyObject *resultobj = 0;
26273 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26274 wxColour *arg2 = 0 ;
26275 void *argp1 = 0 ;
26276 int res1 = 0 ;
26277 wxColour temp2 ;
26278 PyObject * obj0 = 0 ;
26279 PyObject * obj1 = 0 ;
26280 char * kwnames[] = {
26281 (char *) "self",(char *) "colBack", NULL
26282 };
26283
26284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26286 if (!SWIG_IsOK(res1)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26288 }
26289 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26290 {
26291 arg2 = &temp2;
26292 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26293 }
26294 {
26295 PyThreadState* __tstate = wxPyBeginAllowThreads();
26296 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26297 wxPyEndAllowThreads(__tstate);
26298 if (PyErr_Occurred()) SWIG_fail;
26299 }
26300 resultobj = SWIG_Py_Void();
26301 return resultobj;
26302 fail:
26303 return NULL;
26304 }
26305
26306
26307 SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26308 PyObject *resultobj = 0;
26309 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26310 wxFont *arg2 = 0 ;
26311 void *argp1 = 0 ;
26312 int res1 = 0 ;
26313 void *argp2 = 0 ;
26314 int res2 = 0 ;
26315 PyObject * obj0 = 0 ;
26316 PyObject * obj1 = 0 ;
26317 char * kwnames[] = {
26318 (char *) "self",(char *) "font", NULL
26319 };
26320
26321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26323 if (!SWIG_IsOK(res1)) {
26324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26325 }
26326 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26327 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26328 if (!SWIG_IsOK(res2)) {
26329 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26330 }
26331 if (!argp2) {
26332 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26333 }
26334 arg2 = reinterpret_cast< wxFont * >(argp2);
26335 {
26336 PyThreadState* __tstate = wxPyBeginAllowThreads();
26337 (arg1)->SetFont((wxFont const &)*arg2);
26338 wxPyEndAllowThreads(__tstate);
26339 if (PyErr_Occurred()) SWIG_fail;
26340 }
26341 resultobj = SWIG_Py_Void();
26342 return resultobj;
26343 fail:
26344 return NULL;
26345 }
26346
26347
26348 SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26349 PyObject *resultobj = 0;
26350 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26351 bool result;
26352 void *argp1 = 0 ;
26353 int res1 = 0 ;
26354 PyObject *swig_obj[1] ;
26355
26356 if (!args) SWIG_fail;
26357 swig_obj[0] = args;
26358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26359 if (!SWIG_IsOK(res1)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26361 }
26362 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26363 {
26364 PyThreadState* __tstate = wxPyBeginAllowThreads();
26365 result = (bool)(arg1)->HasTextColour();
26366 wxPyEndAllowThreads(__tstate);
26367 if (PyErr_Occurred()) SWIG_fail;
26368 }
26369 {
26370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26371 }
26372 return resultobj;
26373 fail:
26374 return NULL;
26375 }
26376
26377
26378 SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26379 PyObject *resultobj = 0;
26380 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26381 bool result;
26382 void *argp1 = 0 ;
26383 int res1 = 0 ;
26384 PyObject *swig_obj[1] ;
26385
26386 if (!args) SWIG_fail;
26387 swig_obj[0] = args;
26388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26389 if (!SWIG_IsOK(res1)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26391 }
26392 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26393 {
26394 PyThreadState* __tstate = wxPyBeginAllowThreads();
26395 result = (bool)(arg1)->HasBackgroundColour();
26396 wxPyEndAllowThreads(__tstate);
26397 if (PyErr_Occurred()) SWIG_fail;
26398 }
26399 {
26400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26401 }
26402 return resultobj;
26403 fail:
26404 return NULL;
26405 }
26406
26407
26408 SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26409 PyObject *resultobj = 0;
26410 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26411 bool result;
26412 void *argp1 = 0 ;
26413 int res1 = 0 ;
26414 PyObject *swig_obj[1] ;
26415
26416 if (!args) SWIG_fail;
26417 swig_obj[0] = args;
26418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26419 if (!SWIG_IsOK(res1)) {
26420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26421 }
26422 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26423 {
26424 PyThreadState* __tstate = wxPyBeginAllowThreads();
26425 result = (bool)(arg1)->HasFont();
26426 wxPyEndAllowThreads(__tstate);
26427 if (PyErr_Occurred()) SWIG_fail;
26428 }
26429 {
26430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26431 }
26432 return resultobj;
26433 fail:
26434 return NULL;
26435 }
26436
26437
26438 SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26439 PyObject *resultobj = 0;
26440 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26441 wxColour result;
26442 void *argp1 = 0 ;
26443 int res1 = 0 ;
26444 PyObject *swig_obj[1] ;
26445
26446 if (!args) SWIG_fail;
26447 swig_obj[0] = args;
26448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26449 if (!SWIG_IsOK(res1)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26451 }
26452 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26453 {
26454 PyThreadState* __tstate = wxPyBeginAllowThreads();
26455 result = (arg1)->GetTextColour();
26456 wxPyEndAllowThreads(__tstate);
26457 if (PyErr_Occurred()) SWIG_fail;
26458 }
26459 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26460 return resultobj;
26461 fail:
26462 return NULL;
26463 }
26464
26465
26466 SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26467 PyObject *resultobj = 0;
26468 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26469 wxColour result;
26470 void *argp1 = 0 ;
26471 int res1 = 0 ;
26472 PyObject *swig_obj[1] ;
26473
26474 if (!args) SWIG_fail;
26475 swig_obj[0] = args;
26476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26477 if (!SWIG_IsOK(res1)) {
26478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26479 }
26480 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26481 {
26482 PyThreadState* __tstate = wxPyBeginAllowThreads();
26483 result = (arg1)->GetBackgroundColour();
26484 wxPyEndAllowThreads(__tstate);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 }
26487 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26488 return resultobj;
26489 fail:
26490 return NULL;
26491 }
26492
26493
26494 SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26495 PyObject *resultobj = 0;
26496 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26497 wxFont result;
26498 void *argp1 = 0 ;
26499 int res1 = 0 ;
26500 PyObject *swig_obj[1] ;
26501
26502 if (!args) SWIG_fail;
26503 swig_obj[0] = args;
26504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26505 if (!SWIG_IsOK(res1)) {
26506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26507 }
26508 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26509 {
26510 PyThreadState* __tstate = wxPyBeginAllowThreads();
26511 result = (arg1)->GetFont();
26512 wxPyEndAllowThreads(__tstate);
26513 if (PyErr_Occurred()) SWIG_fail;
26514 }
26515 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26516 return resultobj;
26517 fail:
26518 return NULL;
26519 }
26520
26521
26522 SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26523 PyObject *resultobj = 0;
26524 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26525 wxListItemAttr *arg2 = 0 ;
26526 void *argp1 = 0 ;
26527 int res1 = 0 ;
26528 void *argp2 = 0 ;
26529 int res2 = 0 ;
26530 PyObject * obj0 = 0 ;
26531 PyObject * obj1 = 0 ;
26532 char * kwnames[] = {
26533 (char *) "self",(char *) "source", NULL
26534 };
26535
26536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26538 if (!SWIG_IsOK(res1)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26540 }
26541 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26542 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26543 if (!SWIG_IsOK(res2)) {
26544 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26545 }
26546 if (!argp2) {
26547 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26548 }
26549 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26550 {
26551 PyThreadState* __tstate = wxPyBeginAllowThreads();
26552 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26553 wxPyEndAllowThreads(__tstate);
26554 if (PyErr_Occurred()) SWIG_fail;
26555 }
26556 resultobj = SWIG_Py_Void();
26557 return resultobj;
26558 fail:
26559 return NULL;
26560 }
26561
26562
26563 SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26564 PyObject *resultobj = 0;
26565 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26566 void *argp1 = 0 ;
26567 int res1 = 0 ;
26568 PyObject *swig_obj[1] ;
26569
26570 if (!args) SWIG_fail;
26571 swig_obj[0] = args;
26572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26573 if (!SWIG_IsOK(res1)) {
26574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26575 }
26576 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26577 {
26578 PyThreadState* __tstate = wxPyBeginAllowThreads();
26579 wxListItemAttr_Destroy(arg1);
26580 wxPyEndAllowThreads(__tstate);
26581 if (PyErr_Occurred()) SWIG_fail;
26582 }
26583 resultobj = SWIG_Py_Void();
26584 return resultobj;
26585 fail:
26586 return NULL;
26587 }
26588
26589
26590 SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26591 PyObject *obj;
26592 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26593 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26594 return SWIG_Py_Void();
26595 }
26596
26597 SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26598 return SWIG_Python_InitShadowInstance(args);
26599 }
26600
26601 SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26602 PyObject *resultobj = 0;
26603 wxListItem *result = 0 ;
26604
26605 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26606 {
26607 PyThreadState* __tstate = wxPyBeginAllowThreads();
26608 result = (wxListItem *)new wxListItem();
26609 wxPyEndAllowThreads(__tstate);
26610 if (PyErr_Occurred()) SWIG_fail;
26611 }
26612 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, SWIG_POINTER_NEW | 0 );
26613 return resultobj;
26614 fail:
26615 return NULL;
26616 }
26617
26618
26619 SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26620 PyObject *resultobj = 0;
26621 wxListItem *arg1 = (wxListItem *) 0 ;
26622 void *argp1 = 0 ;
26623 int res1 = 0 ;
26624 PyObject *swig_obj[1] ;
26625
26626 if (!args) SWIG_fail;
26627 swig_obj[0] = args;
26628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26629 if (!SWIG_IsOK(res1)) {
26630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26631 }
26632 arg1 = reinterpret_cast< wxListItem * >(argp1);
26633 {
26634 PyThreadState* __tstate = wxPyBeginAllowThreads();
26635 delete arg1;
26636
26637 wxPyEndAllowThreads(__tstate);
26638 if (PyErr_Occurred()) SWIG_fail;
26639 }
26640 resultobj = SWIG_Py_Void();
26641 return resultobj;
26642 fail:
26643 return NULL;
26644 }
26645
26646
26647 SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26648 PyObject *resultobj = 0;
26649 wxListItem *arg1 = (wxListItem *) 0 ;
26650 void *argp1 = 0 ;
26651 int res1 = 0 ;
26652 PyObject *swig_obj[1] ;
26653
26654 if (!args) SWIG_fail;
26655 swig_obj[0] = args;
26656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26657 if (!SWIG_IsOK(res1)) {
26658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26659 }
26660 arg1 = reinterpret_cast< wxListItem * >(argp1);
26661 {
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 (arg1)->Clear();
26664 wxPyEndAllowThreads(__tstate);
26665 if (PyErr_Occurred()) SWIG_fail;
26666 }
26667 resultobj = SWIG_Py_Void();
26668 return resultobj;
26669 fail:
26670 return NULL;
26671 }
26672
26673
26674 SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26675 PyObject *resultobj = 0;
26676 wxListItem *arg1 = (wxListItem *) 0 ;
26677 void *argp1 = 0 ;
26678 int res1 = 0 ;
26679 PyObject *swig_obj[1] ;
26680
26681 if (!args) SWIG_fail;
26682 swig_obj[0] = args;
26683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26684 if (!SWIG_IsOK(res1)) {
26685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26686 }
26687 arg1 = reinterpret_cast< wxListItem * >(argp1);
26688 {
26689 PyThreadState* __tstate = wxPyBeginAllowThreads();
26690 (arg1)->ClearAttributes();
26691 wxPyEndAllowThreads(__tstate);
26692 if (PyErr_Occurred()) SWIG_fail;
26693 }
26694 resultobj = SWIG_Py_Void();
26695 return resultobj;
26696 fail:
26697 return NULL;
26698 }
26699
26700
26701 SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26702 PyObject *resultobj = 0;
26703 wxListItem *arg1 = (wxListItem *) 0 ;
26704 long arg2 ;
26705 void *argp1 = 0 ;
26706 int res1 = 0 ;
26707 long val2 ;
26708 int ecode2 = 0 ;
26709 PyObject * obj0 = 0 ;
26710 PyObject * obj1 = 0 ;
26711 char * kwnames[] = {
26712 (char *) "self",(char *) "mask", NULL
26713 };
26714
26715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26717 if (!SWIG_IsOK(res1)) {
26718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26719 }
26720 arg1 = reinterpret_cast< wxListItem * >(argp1);
26721 ecode2 = SWIG_AsVal_long(obj1, &val2);
26722 if (!SWIG_IsOK(ecode2)) {
26723 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26724 }
26725 arg2 = static_cast< long >(val2);
26726 {
26727 PyThreadState* __tstate = wxPyBeginAllowThreads();
26728 (arg1)->SetMask(arg2);
26729 wxPyEndAllowThreads(__tstate);
26730 if (PyErr_Occurred()) SWIG_fail;
26731 }
26732 resultobj = SWIG_Py_Void();
26733 return resultobj;
26734 fail:
26735 return NULL;
26736 }
26737
26738
26739 SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26740 PyObject *resultobj = 0;
26741 wxListItem *arg1 = (wxListItem *) 0 ;
26742 long arg2 ;
26743 void *argp1 = 0 ;
26744 int res1 = 0 ;
26745 long val2 ;
26746 int ecode2 = 0 ;
26747 PyObject * obj0 = 0 ;
26748 PyObject * obj1 = 0 ;
26749 char * kwnames[] = {
26750 (char *) "self",(char *) "id", NULL
26751 };
26752
26753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26755 if (!SWIG_IsOK(res1)) {
26756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26757 }
26758 arg1 = reinterpret_cast< wxListItem * >(argp1);
26759 ecode2 = SWIG_AsVal_long(obj1, &val2);
26760 if (!SWIG_IsOK(ecode2)) {
26761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26762 }
26763 arg2 = static_cast< long >(val2);
26764 {
26765 PyThreadState* __tstate = wxPyBeginAllowThreads();
26766 (arg1)->SetId(arg2);
26767 wxPyEndAllowThreads(__tstate);
26768 if (PyErr_Occurred()) SWIG_fail;
26769 }
26770 resultobj = SWIG_Py_Void();
26771 return resultobj;
26772 fail:
26773 return NULL;
26774 }
26775
26776
26777 SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26778 PyObject *resultobj = 0;
26779 wxListItem *arg1 = (wxListItem *) 0 ;
26780 int arg2 ;
26781 void *argp1 = 0 ;
26782 int res1 = 0 ;
26783 int val2 ;
26784 int ecode2 = 0 ;
26785 PyObject * obj0 = 0 ;
26786 PyObject * obj1 = 0 ;
26787 char * kwnames[] = {
26788 (char *) "self",(char *) "col", NULL
26789 };
26790
26791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26793 if (!SWIG_IsOK(res1)) {
26794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26795 }
26796 arg1 = reinterpret_cast< wxListItem * >(argp1);
26797 ecode2 = SWIG_AsVal_int(obj1, &val2);
26798 if (!SWIG_IsOK(ecode2)) {
26799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26800 }
26801 arg2 = static_cast< int >(val2);
26802 {
26803 PyThreadState* __tstate = wxPyBeginAllowThreads();
26804 (arg1)->SetColumn(arg2);
26805 wxPyEndAllowThreads(__tstate);
26806 if (PyErr_Occurred()) SWIG_fail;
26807 }
26808 resultobj = SWIG_Py_Void();
26809 return resultobj;
26810 fail:
26811 return NULL;
26812 }
26813
26814
26815 SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26816 PyObject *resultobj = 0;
26817 wxListItem *arg1 = (wxListItem *) 0 ;
26818 long arg2 ;
26819 void *argp1 = 0 ;
26820 int res1 = 0 ;
26821 long val2 ;
26822 int ecode2 = 0 ;
26823 PyObject * obj0 = 0 ;
26824 PyObject * obj1 = 0 ;
26825 char * kwnames[] = {
26826 (char *) "self",(char *) "state", NULL
26827 };
26828
26829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26831 if (!SWIG_IsOK(res1)) {
26832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26833 }
26834 arg1 = reinterpret_cast< wxListItem * >(argp1);
26835 ecode2 = SWIG_AsVal_long(obj1, &val2);
26836 if (!SWIG_IsOK(ecode2)) {
26837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26838 }
26839 arg2 = static_cast< long >(val2);
26840 {
26841 PyThreadState* __tstate = wxPyBeginAllowThreads();
26842 (arg1)->SetState(arg2);
26843 wxPyEndAllowThreads(__tstate);
26844 if (PyErr_Occurred()) SWIG_fail;
26845 }
26846 resultobj = SWIG_Py_Void();
26847 return resultobj;
26848 fail:
26849 return NULL;
26850 }
26851
26852
26853 SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26854 PyObject *resultobj = 0;
26855 wxListItem *arg1 = (wxListItem *) 0 ;
26856 long arg2 ;
26857 void *argp1 = 0 ;
26858 int res1 = 0 ;
26859 long val2 ;
26860 int ecode2 = 0 ;
26861 PyObject * obj0 = 0 ;
26862 PyObject * obj1 = 0 ;
26863 char * kwnames[] = {
26864 (char *) "self",(char *) "stateMask", NULL
26865 };
26866
26867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26869 if (!SWIG_IsOK(res1)) {
26870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26871 }
26872 arg1 = reinterpret_cast< wxListItem * >(argp1);
26873 ecode2 = SWIG_AsVal_long(obj1, &val2);
26874 if (!SWIG_IsOK(ecode2)) {
26875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26876 }
26877 arg2 = static_cast< long >(val2);
26878 {
26879 PyThreadState* __tstate = wxPyBeginAllowThreads();
26880 (arg1)->SetStateMask(arg2);
26881 wxPyEndAllowThreads(__tstate);
26882 if (PyErr_Occurred()) SWIG_fail;
26883 }
26884 resultobj = SWIG_Py_Void();
26885 return resultobj;
26886 fail:
26887 return NULL;
26888 }
26889
26890
26891 SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26892 PyObject *resultobj = 0;
26893 wxListItem *arg1 = (wxListItem *) 0 ;
26894 wxString *arg2 = 0 ;
26895 void *argp1 = 0 ;
26896 int res1 = 0 ;
26897 bool temp2 = false ;
26898 PyObject * obj0 = 0 ;
26899 PyObject * obj1 = 0 ;
26900 char * kwnames[] = {
26901 (char *) "self",(char *) "text", NULL
26902 };
26903
26904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26906 if (!SWIG_IsOK(res1)) {
26907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26908 }
26909 arg1 = reinterpret_cast< wxListItem * >(argp1);
26910 {
26911 arg2 = wxString_in_helper(obj1);
26912 if (arg2 == NULL) SWIG_fail;
26913 temp2 = true;
26914 }
26915 {
26916 PyThreadState* __tstate = wxPyBeginAllowThreads();
26917 (arg1)->SetText((wxString const &)*arg2);
26918 wxPyEndAllowThreads(__tstate);
26919 if (PyErr_Occurred()) SWIG_fail;
26920 }
26921 resultobj = SWIG_Py_Void();
26922 {
26923 if (temp2)
26924 delete arg2;
26925 }
26926 return resultobj;
26927 fail:
26928 {
26929 if (temp2)
26930 delete arg2;
26931 }
26932 return NULL;
26933 }
26934
26935
26936 SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26937 PyObject *resultobj = 0;
26938 wxListItem *arg1 = (wxListItem *) 0 ;
26939 int arg2 ;
26940 void *argp1 = 0 ;
26941 int res1 = 0 ;
26942 int val2 ;
26943 int ecode2 = 0 ;
26944 PyObject * obj0 = 0 ;
26945 PyObject * obj1 = 0 ;
26946 char * kwnames[] = {
26947 (char *) "self",(char *) "image", NULL
26948 };
26949
26950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26952 if (!SWIG_IsOK(res1)) {
26953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26954 }
26955 arg1 = reinterpret_cast< wxListItem * >(argp1);
26956 ecode2 = SWIG_AsVal_int(obj1, &val2);
26957 if (!SWIG_IsOK(ecode2)) {
26958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26959 }
26960 arg2 = static_cast< int >(val2);
26961 {
26962 PyThreadState* __tstate = wxPyBeginAllowThreads();
26963 (arg1)->SetImage(arg2);
26964 wxPyEndAllowThreads(__tstate);
26965 if (PyErr_Occurred()) SWIG_fail;
26966 }
26967 resultobj = SWIG_Py_Void();
26968 return resultobj;
26969 fail:
26970 return NULL;
26971 }
26972
26973
26974 SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26975 PyObject *resultobj = 0;
26976 wxListItem *arg1 = (wxListItem *) 0 ;
26977 long arg2 ;
26978 void *argp1 = 0 ;
26979 int res1 = 0 ;
26980 long val2 ;
26981 int ecode2 = 0 ;
26982 PyObject * obj0 = 0 ;
26983 PyObject * obj1 = 0 ;
26984 char * kwnames[] = {
26985 (char *) "self",(char *) "data", NULL
26986 };
26987
26988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26990 if (!SWIG_IsOK(res1)) {
26991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26992 }
26993 arg1 = reinterpret_cast< wxListItem * >(argp1);
26994 ecode2 = SWIG_AsVal_long(obj1, &val2);
26995 if (!SWIG_IsOK(ecode2)) {
26996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26997 }
26998 arg2 = static_cast< long >(val2);
26999 {
27000 PyThreadState* __tstate = wxPyBeginAllowThreads();
27001 (arg1)->SetData(arg2);
27002 wxPyEndAllowThreads(__tstate);
27003 if (PyErr_Occurred()) SWIG_fail;
27004 }
27005 resultobj = SWIG_Py_Void();
27006 return resultobj;
27007 fail:
27008 return NULL;
27009 }
27010
27011
27012 SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27013 PyObject *resultobj = 0;
27014 wxListItem *arg1 = (wxListItem *) 0 ;
27015 int arg2 ;
27016 void *argp1 = 0 ;
27017 int res1 = 0 ;
27018 int val2 ;
27019 int ecode2 = 0 ;
27020 PyObject * obj0 = 0 ;
27021 PyObject * obj1 = 0 ;
27022 char * kwnames[] = {
27023 (char *) "self",(char *) "width", NULL
27024 };
27025
27026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
27027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27028 if (!SWIG_IsOK(res1)) {
27029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27030 }
27031 arg1 = reinterpret_cast< wxListItem * >(argp1);
27032 ecode2 = SWIG_AsVal_int(obj1, &val2);
27033 if (!SWIG_IsOK(ecode2)) {
27034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27035 }
27036 arg2 = static_cast< int >(val2);
27037 {
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 (arg1)->SetWidth(arg2);
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
27043 resultobj = SWIG_Py_Void();
27044 return resultobj;
27045 fail:
27046 return NULL;
27047 }
27048
27049
27050 SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27051 PyObject *resultobj = 0;
27052 wxListItem *arg1 = (wxListItem *) 0 ;
27053 wxListColumnFormat arg2 ;
27054 void *argp1 = 0 ;
27055 int res1 = 0 ;
27056 int val2 ;
27057 int ecode2 = 0 ;
27058 PyObject * obj0 = 0 ;
27059 PyObject * obj1 = 0 ;
27060 char * kwnames[] = {
27061 (char *) "self",(char *) "align", NULL
27062 };
27063
27064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
27065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27066 if (!SWIG_IsOK(res1)) {
27067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27068 }
27069 arg1 = reinterpret_cast< wxListItem * >(argp1);
27070 ecode2 = SWIG_AsVal_int(obj1, &val2);
27071 if (!SWIG_IsOK(ecode2)) {
27072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27073 }
27074 arg2 = static_cast< wxListColumnFormat >(val2);
27075 {
27076 PyThreadState* __tstate = wxPyBeginAllowThreads();
27077 (arg1)->SetAlign(arg2);
27078 wxPyEndAllowThreads(__tstate);
27079 if (PyErr_Occurred()) SWIG_fail;
27080 }
27081 resultobj = SWIG_Py_Void();
27082 return resultobj;
27083 fail:
27084 return NULL;
27085 }
27086
27087
27088 SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27089 PyObject *resultobj = 0;
27090 wxListItem *arg1 = (wxListItem *) 0 ;
27091 wxColour *arg2 = 0 ;
27092 void *argp1 = 0 ;
27093 int res1 = 0 ;
27094 wxColour temp2 ;
27095 PyObject * obj0 = 0 ;
27096 PyObject * obj1 = 0 ;
27097 char * kwnames[] = {
27098 (char *) "self",(char *) "colText", NULL
27099 };
27100
27101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
27102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27103 if (!SWIG_IsOK(res1)) {
27104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27105 }
27106 arg1 = reinterpret_cast< wxListItem * >(argp1);
27107 {
27108 arg2 = &temp2;
27109 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27110 }
27111 {
27112 PyThreadState* __tstate = wxPyBeginAllowThreads();
27113 (arg1)->SetTextColour((wxColour const &)*arg2);
27114 wxPyEndAllowThreads(__tstate);
27115 if (PyErr_Occurred()) SWIG_fail;
27116 }
27117 resultobj = SWIG_Py_Void();
27118 return resultobj;
27119 fail:
27120 return NULL;
27121 }
27122
27123
27124 SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27125 PyObject *resultobj = 0;
27126 wxListItem *arg1 = (wxListItem *) 0 ;
27127 wxColour *arg2 = 0 ;
27128 void *argp1 = 0 ;
27129 int res1 = 0 ;
27130 wxColour temp2 ;
27131 PyObject * obj0 = 0 ;
27132 PyObject * obj1 = 0 ;
27133 char * kwnames[] = {
27134 (char *) "self",(char *) "colBack", NULL
27135 };
27136
27137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
27138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27139 if (!SWIG_IsOK(res1)) {
27140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27141 }
27142 arg1 = reinterpret_cast< wxListItem * >(argp1);
27143 {
27144 arg2 = &temp2;
27145 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27146 }
27147 {
27148 PyThreadState* __tstate = wxPyBeginAllowThreads();
27149 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
27150 wxPyEndAllowThreads(__tstate);
27151 if (PyErr_Occurred()) SWIG_fail;
27152 }
27153 resultobj = SWIG_Py_Void();
27154 return resultobj;
27155 fail:
27156 return NULL;
27157 }
27158
27159
27160 SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27161 PyObject *resultobj = 0;
27162 wxListItem *arg1 = (wxListItem *) 0 ;
27163 wxFont *arg2 = 0 ;
27164 void *argp1 = 0 ;
27165 int res1 = 0 ;
27166 void *argp2 = 0 ;
27167 int res2 = 0 ;
27168 PyObject * obj0 = 0 ;
27169 PyObject * obj1 = 0 ;
27170 char * kwnames[] = {
27171 (char *) "self",(char *) "font", NULL
27172 };
27173
27174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
27175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27176 if (!SWIG_IsOK(res1)) {
27177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27178 }
27179 arg1 = reinterpret_cast< wxListItem * >(argp1);
27180 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
27181 if (!SWIG_IsOK(res2)) {
27182 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27183 }
27184 if (!argp2) {
27185 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27186 }
27187 arg2 = reinterpret_cast< wxFont * >(argp2);
27188 {
27189 PyThreadState* __tstate = wxPyBeginAllowThreads();
27190 (arg1)->SetFont((wxFont const &)*arg2);
27191 wxPyEndAllowThreads(__tstate);
27192 if (PyErr_Occurred()) SWIG_fail;
27193 }
27194 resultobj = SWIG_Py_Void();
27195 return resultobj;
27196 fail:
27197 return NULL;
27198 }
27199
27200
27201 SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27202 PyObject *resultobj = 0;
27203 wxListItem *arg1 = (wxListItem *) 0 ;
27204 long result;
27205 void *argp1 = 0 ;
27206 int res1 = 0 ;
27207 PyObject *swig_obj[1] ;
27208
27209 if (!args) SWIG_fail;
27210 swig_obj[0] = args;
27211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27212 if (!SWIG_IsOK(res1)) {
27213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27214 }
27215 arg1 = reinterpret_cast< wxListItem * >(argp1);
27216 {
27217 PyThreadState* __tstate = wxPyBeginAllowThreads();
27218 result = (long)(arg1)->GetMask();
27219 wxPyEndAllowThreads(__tstate);
27220 if (PyErr_Occurred()) SWIG_fail;
27221 }
27222 resultobj = SWIG_From_long(static_cast< long >(result));
27223 return resultobj;
27224 fail:
27225 return NULL;
27226 }
27227
27228
27229 SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27230 PyObject *resultobj = 0;
27231 wxListItem *arg1 = (wxListItem *) 0 ;
27232 long result;
27233 void *argp1 = 0 ;
27234 int res1 = 0 ;
27235 PyObject *swig_obj[1] ;
27236
27237 if (!args) SWIG_fail;
27238 swig_obj[0] = args;
27239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27240 if (!SWIG_IsOK(res1)) {
27241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27242 }
27243 arg1 = reinterpret_cast< wxListItem * >(argp1);
27244 {
27245 PyThreadState* __tstate = wxPyBeginAllowThreads();
27246 result = (long)(arg1)->GetId();
27247 wxPyEndAllowThreads(__tstate);
27248 if (PyErr_Occurred()) SWIG_fail;
27249 }
27250 resultobj = SWIG_From_long(static_cast< long >(result));
27251 return resultobj;
27252 fail:
27253 return NULL;
27254 }
27255
27256
27257 SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27258 PyObject *resultobj = 0;
27259 wxListItem *arg1 = (wxListItem *) 0 ;
27260 int result;
27261 void *argp1 = 0 ;
27262 int res1 = 0 ;
27263 PyObject *swig_obj[1] ;
27264
27265 if (!args) SWIG_fail;
27266 swig_obj[0] = args;
27267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27268 if (!SWIG_IsOK(res1)) {
27269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27270 }
27271 arg1 = reinterpret_cast< wxListItem * >(argp1);
27272 {
27273 PyThreadState* __tstate = wxPyBeginAllowThreads();
27274 result = (int)(arg1)->GetColumn();
27275 wxPyEndAllowThreads(__tstate);
27276 if (PyErr_Occurred()) SWIG_fail;
27277 }
27278 resultobj = SWIG_From_int(static_cast< int >(result));
27279 return resultobj;
27280 fail:
27281 return NULL;
27282 }
27283
27284
27285 SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27286 PyObject *resultobj = 0;
27287 wxListItem *arg1 = (wxListItem *) 0 ;
27288 long result;
27289 void *argp1 = 0 ;
27290 int res1 = 0 ;
27291 PyObject *swig_obj[1] ;
27292
27293 if (!args) SWIG_fail;
27294 swig_obj[0] = args;
27295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27296 if (!SWIG_IsOK(res1)) {
27297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27298 }
27299 arg1 = reinterpret_cast< wxListItem * >(argp1);
27300 {
27301 PyThreadState* __tstate = wxPyBeginAllowThreads();
27302 result = (long)(arg1)->GetState();
27303 wxPyEndAllowThreads(__tstate);
27304 if (PyErr_Occurred()) SWIG_fail;
27305 }
27306 resultobj = SWIG_From_long(static_cast< long >(result));
27307 return resultobj;
27308 fail:
27309 return NULL;
27310 }
27311
27312
27313 SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27314 PyObject *resultobj = 0;
27315 wxListItem *arg1 = (wxListItem *) 0 ;
27316 wxString *result = 0 ;
27317 void *argp1 = 0 ;
27318 int res1 = 0 ;
27319 PyObject *swig_obj[1] ;
27320
27321 if (!args) SWIG_fail;
27322 swig_obj[0] = args;
27323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27324 if (!SWIG_IsOK(res1)) {
27325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27326 }
27327 arg1 = reinterpret_cast< wxListItem * >(argp1);
27328 {
27329 PyThreadState* __tstate = wxPyBeginAllowThreads();
27330 {
27331 wxString const &_result_ref = (arg1)->GetText();
27332 result = (wxString *) &_result_ref;
27333 }
27334 wxPyEndAllowThreads(__tstate);
27335 if (PyErr_Occurred()) SWIG_fail;
27336 }
27337 {
27338 #if wxUSE_UNICODE
27339 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27340 #else
27341 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27342 #endif
27343 }
27344 return resultobj;
27345 fail:
27346 return NULL;
27347 }
27348
27349
27350 SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27351 PyObject *resultobj = 0;
27352 wxListItem *arg1 = (wxListItem *) 0 ;
27353 int result;
27354 void *argp1 = 0 ;
27355 int res1 = 0 ;
27356 PyObject *swig_obj[1] ;
27357
27358 if (!args) SWIG_fail;
27359 swig_obj[0] = args;
27360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27361 if (!SWIG_IsOK(res1)) {
27362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27363 }
27364 arg1 = reinterpret_cast< wxListItem * >(argp1);
27365 {
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 result = (int)(arg1)->GetImage();
27368 wxPyEndAllowThreads(__tstate);
27369 if (PyErr_Occurred()) SWIG_fail;
27370 }
27371 resultobj = SWIG_From_int(static_cast< int >(result));
27372 return resultobj;
27373 fail:
27374 return NULL;
27375 }
27376
27377
27378 SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27379 PyObject *resultobj = 0;
27380 wxListItem *arg1 = (wxListItem *) 0 ;
27381 long result;
27382 void *argp1 = 0 ;
27383 int res1 = 0 ;
27384 PyObject *swig_obj[1] ;
27385
27386 if (!args) SWIG_fail;
27387 swig_obj[0] = args;
27388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27389 if (!SWIG_IsOK(res1)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27391 }
27392 arg1 = reinterpret_cast< wxListItem * >(argp1);
27393 {
27394 PyThreadState* __tstate = wxPyBeginAllowThreads();
27395 result = (long)(arg1)->GetData();
27396 wxPyEndAllowThreads(__tstate);
27397 if (PyErr_Occurred()) SWIG_fail;
27398 }
27399 resultobj = SWIG_From_long(static_cast< long >(result));
27400 return resultobj;
27401 fail:
27402 return NULL;
27403 }
27404
27405
27406 SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27407 PyObject *resultobj = 0;
27408 wxListItem *arg1 = (wxListItem *) 0 ;
27409 int result;
27410 void *argp1 = 0 ;
27411 int res1 = 0 ;
27412 PyObject *swig_obj[1] ;
27413
27414 if (!args) SWIG_fail;
27415 swig_obj[0] = args;
27416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27417 if (!SWIG_IsOK(res1)) {
27418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27419 }
27420 arg1 = reinterpret_cast< wxListItem * >(argp1);
27421 {
27422 PyThreadState* __tstate = wxPyBeginAllowThreads();
27423 result = (int)(arg1)->GetWidth();
27424 wxPyEndAllowThreads(__tstate);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 }
27427 resultobj = SWIG_From_int(static_cast< int >(result));
27428 return resultobj;
27429 fail:
27430 return NULL;
27431 }
27432
27433
27434 SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27435 PyObject *resultobj = 0;
27436 wxListItem *arg1 = (wxListItem *) 0 ;
27437 wxListColumnFormat result;
27438 void *argp1 = 0 ;
27439 int res1 = 0 ;
27440 PyObject *swig_obj[1] ;
27441
27442 if (!args) SWIG_fail;
27443 swig_obj[0] = args;
27444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27445 if (!SWIG_IsOK(res1)) {
27446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27447 }
27448 arg1 = reinterpret_cast< wxListItem * >(argp1);
27449 {
27450 PyThreadState* __tstate = wxPyBeginAllowThreads();
27451 result = (wxListColumnFormat)(arg1)->GetAlign();
27452 wxPyEndAllowThreads(__tstate);
27453 if (PyErr_Occurred()) SWIG_fail;
27454 }
27455 resultobj = SWIG_From_int(static_cast< int >(result));
27456 return resultobj;
27457 fail:
27458 return NULL;
27459 }
27460
27461
27462 SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27463 PyObject *resultobj = 0;
27464 wxListItem *arg1 = (wxListItem *) 0 ;
27465 wxListItemAttr *result = 0 ;
27466 void *argp1 = 0 ;
27467 int res1 = 0 ;
27468 PyObject *swig_obj[1] ;
27469
27470 if (!args) SWIG_fail;
27471 swig_obj[0] = args;
27472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27473 if (!SWIG_IsOK(res1)) {
27474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27475 }
27476 arg1 = reinterpret_cast< wxListItem * >(argp1);
27477 {
27478 PyThreadState* __tstate = wxPyBeginAllowThreads();
27479 result = (wxListItemAttr *)(arg1)->GetAttributes();
27480 wxPyEndAllowThreads(__tstate);
27481 if (PyErr_Occurred()) SWIG_fail;
27482 }
27483 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27484 return resultobj;
27485 fail:
27486 return NULL;
27487 }
27488
27489
27490 SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27491 PyObject *resultobj = 0;
27492 wxListItem *arg1 = (wxListItem *) 0 ;
27493 bool result;
27494 void *argp1 = 0 ;
27495 int res1 = 0 ;
27496 PyObject *swig_obj[1] ;
27497
27498 if (!args) SWIG_fail;
27499 swig_obj[0] = args;
27500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27501 if (!SWIG_IsOK(res1)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27503 }
27504 arg1 = reinterpret_cast< wxListItem * >(argp1);
27505 {
27506 PyThreadState* __tstate = wxPyBeginAllowThreads();
27507 result = (bool)(arg1)->HasAttributes();
27508 wxPyEndAllowThreads(__tstate);
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
27511 {
27512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27513 }
27514 return resultobj;
27515 fail:
27516 return NULL;
27517 }
27518
27519
27520 SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27521 PyObject *resultobj = 0;
27522 wxListItem *arg1 = (wxListItem *) 0 ;
27523 wxColour result;
27524 void *argp1 = 0 ;
27525 int res1 = 0 ;
27526 PyObject *swig_obj[1] ;
27527
27528 if (!args) SWIG_fail;
27529 swig_obj[0] = args;
27530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27531 if (!SWIG_IsOK(res1)) {
27532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27533 }
27534 arg1 = reinterpret_cast< wxListItem * >(argp1);
27535 {
27536 PyThreadState* __tstate = wxPyBeginAllowThreads();
27537 result = ((wxListItem const *)arg1)->GetTextColour();
27538 wxPyEndAllowThreads(__tstate);
27539 if (PyErr_Occurred()) SWIG_fail;
27540 }
27541 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27542 return resultobj;
27543 fail:
27544 return NULL;
27545 }
27546
27547
27548 SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27549 PyObject *resultobj = 0;
27550 wxListItem *arg1 = (wxListItem *) 0 ;
27551 wxColour result;
27552 void *argp1 = 0 ;
27553 int res1 = 0 ;
27554 PyObject *swig_obj[1] ;
27555
27556 if (!args) SWIG_fail;
27557 swig_obj[0] = args;
27558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27559 if (!SWIG_IsOK(res1)) {
27560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27561 }
27562 arg1 = reinterpret_cast< wxListItem * >(argp1);
27563 {
27564 PyThreadState* __tstate = wxPyBeginAllowThreads();
27565 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27566 wxPyEndAllowThreads(__tstate);
27567 if (PyErr_Occurred()) SWIG_fail;
27568 }
27569 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27570 return resultobj;
27571 fail:
27572 return NULL;
27573 }
27574
27575
27576 SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27577 PyObject *resultobj = 0;
27578 wxListItem *arg1 = (wxListItem *) 0 ;
27579 wxFont result;
27580 void *argp1 = 0 ;
27581 int res1 = 0 ;
27582 PyObject *swig_obj[1] ;
27583
27584 if (!args) SWIG_fail;
27585 swig_obj[0] = args;
27586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27587 if (!SWIG_IsOK(res1)) {
27588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27589 }
27590 arg1 = reinterpret_cast< wxListItem * >(argp1);
27591 {
27592 PyThreadState* __tstate = wxPyBeginAllowThreads();
27593 result = ((wxListItem const *)arg1)->GetFont();
27594 wxPyEndAllowThreads(__tstate);
27595 if (PyErr_Occurred()) SWIG_fail;
27596 }
27597 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27598 return resultobj;
27599 fail:
27600 return NULL;
27601 }
27602
27603
27604 SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27605 PyObject *resultobj = 0;
27606 wxListItem *arg1 = (wxListItem *) 0 ;
27607 long arg2 ;
27608 void *argp1 = 0 ;
27609 int res1 = 0 ;
27610 long val2 ;
27611 int ecode2 = 0 ;
27612 PyObject *swig_obj[2] ;
27613
27614 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27616 if (!SWIG_IsOK(res1)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27618 }
27619 arg1 = reinterpret_cast< wxListItem * >(argp1);
27620 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27621 if (!SWIG_IsOK(ecode2)) {
27622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27623 }
27624 arg2 = static_cast< long >(val2);
27625 if (arg1) (arg1)->m_mask = arg2;
27626
27627 resultobj = SWIG_Py_Void();
27628 return resultobj;
27629 fail:
27630 return NULL;
27631 }
27632
27633
27634 SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27635 PyObject *resultobj = 0;
27636 wxListItem *arg1 = (wxListItem *) 0 ;
27637 long result;
27638 void *argp1 = 0 ;
27639 int res1 = 0 ;
27640 PyObject *swig_obj[1] ;
27641
27642 if (!args) SWIG_fail;
27643 swig_obj[0] = args;
27644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27645 if (!SWIG_IsOK(res1)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27647 }
27648 arg1 = reinterpret_cast< wxListItem * >(argp1);
27649 result = (long) ((arg1)->m_mask);
27650 resultobj = SWIG_From_long(static_cast< long >(result));
27651 return resultobj;
27652 fail:
27653 return NULL;
27654 }
27655
27656
27657 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27658 PyObject *resultobj = 0;
27659 wxListItem *arg1 = (wxListItem *) 0 ;
27660 long arg2 ;
27661 void *argp1 = 0 ;
27662 int res1 = 0 ;
27663 long val2 ;
27664 int ecode2 = 0 ;
27665 PyObject *swig_obj[2] ;
27666
27667 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27669 if (!SWIG_IsOK(res1)) {
27670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27671 }
27672 arg1 = reinterpret_cast< wxListItem * >(argp1);
27673 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27674 if (!SWIG_IsOK(ecode2)) {
27675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27676 }
27677 arg2 = static_cast< long >(val2);
27678 if (arg1) (arg1)->m_itemId = arg2;
27679
27680 resultobj = SWIG_Py_Void();
27681 return resultobj;
27682 fail:
27683 return NULL;
27684 }
27685
27686
27687 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27688 PyObject *resultobj = 0;
27689 wxListItem *arg1 = (wxListItem *) 0 ;
27690 long result;
27691 void *argp1 = 0 ;
27692 int res1 = 0 ;
27693 PyObject *swig_obj[1] ;
27694
27695 if (!args) SWIG_fail;
27696 swig_obj[0] = args;
27697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27698 if (!SWIG_IsOK(res1)) {
27699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27700 }
27701 arg1 = reinterpret_cast< wxListItem * >(argp1);
27702 result = (long) ((arg1)->m_itemId);
27703 resultobj = SWIG_From_long(static_cast< long >(result));
27704 return resultobj;
27705 fail:
27706 return NULL;
27707 }
27708
27709
27710 SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27711 PyObject *resultobj = 0;
27712 wxListItem *arg1 = (wxListItem *) 0 ;
27713 int arg2 ;
27714 void *argp1 = 0 ;
27715 int res1 = 0 ;
27716 int val2 ;
27717 int ecode2 = 0 ;
27718 PyObject *swig_obj[2] ;
27719
27720 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27722 if (!SWIG_IsOK(res1)) {
27723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27724 }
27725 arg1 = reinterpret_cast< wxListItem * >(argp1);
27726 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27727 if (!SWIG_IsOK(ecode2)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27729 }
27730 arg2 = static_cast< int >(val2);
27731 if (arg1) (arg1)->m_col = arg2;
27732
27733 resultobj = SWIG_Py_Void();
27734 return resultobj;
27735 fail:
27736 return NULL;
27737 }
27738
27739
27740 SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27741 PyObject *resultobj = 0;
27742 wxListItem *arg1 = (wxListItem *) 0 ;
27743 int result;
27744 void *argp1 = 0 ;
27745 int res1 = 0 ;
27746 PyObject *swig_obj[1] ;
27747
27748 if (!args) SWIG_fail;
27749 swig_obj[0] = args;
27750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27751 if (!SWIG_IsOK(res1)) {
27752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27753 }
27754 arg1 = reinterpret_cast< wxListItem * >(argp1);
27755 result = (int) ((arg1)->m_col);
27756 resultobj = SWIG_From_int(static_cast< int >(result));
27757 return resultobj;
27758 fail:
27759 return NULL;
27760 }
27761
27762
27763 SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27764 PyObject *resultobj = 0;
27765 wxListItem *arg1 = (wxListItem *) 0 ;
27766 long arg2 ;
27767 void *argp1 = 0 ;
27768 int res1 = 0 ;
27769 long val2 ;
27770 int ecode2 = 0 ;
27771 PyObject *swig_obj[2] ;
27772
27773 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27775 if (!SWIG_IsOK(res1)) {
27776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27777 }
27778 arg1 = reinterpret_cast< wxListItem * >(argp1);
27779 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27780 if (!SWIG_IsOK(ecode2)) {
27781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27782 }
27783 arg2 = static_cast< long >(val2);
27784 if (arg1) (arg1)->m_state = arg2;
27785
27786 resultobj = SWIG_Py_Void();
27787 return resultobj;
27788 fail:
27789 return NULL;
27790 }
27791
27792
27793 SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27794 PyObject *resultobj = 0;
27795 wxListItem *arg1 = (wxListItem *) 0 ;
27796 long result;
27797 void *argp1 = 0 ;
27798 int res1 = 0 ;
27799 PyObject *swig_obj[1] ;
27800
27801 if (!args) SWIG_fail;
27802 swig_obj[0] = args;
27803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27804 if (!SWIG_IsOK(res1)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27806 }
27807 arg1 = reinterpret_cast< wxListItem * >(argp1);
27808 result = (long) ((arg1)->m_state);
27809 resultobj = SWIG_From_long(static_cast< long >(result));
27810 return resultobj;
27811 fail:
27812 return NULL;
27813 }
27814
27815
27816 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27817 PyObject *resultobj = 0;
27818 wxListItem *arg1 = (wxListItem *) 0 ;
27819 long arg2 ;
27820 void *argp1 = 0 ;
27821 int res1 = 0 ;
27822 long val2 ;
27823 int ecode2 = 0 ;
27824 PyObject *swig_obj[2] ;
27825
27826 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27828 if (!SWIG_IsOK(res1)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27830 }
27831 arg1 = reinterpret_cast< wxListItem * >(argp1);
27832 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27833 if (!SWIG_IsOK(ecode2)) {
27834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27835 }
27836 arg2 = static_cast< long >(val2);
27837 if (arg1) (arg1)->m_stateMask = arg2;
27838
27839 resultobj = SWIG_Py_Void();
27840 return resultobj;
27841 fail:
27842 return NULL;
27843 }
27844
27845
27846 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27847 PyObject *resultobj = 0;
27848 wxListItem *arg1 = (wxListItem *) 0 ;
27849 long result;
27850 void *argp1 = 0 ;
27851 int res1 = 0 ;
27852 PyObject *swig_obj[1] ;
27853
27854 if (!args) SWIG_fail;
27855 swig_obj[0] = args;
27856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27857 if (!SWIG_IsOK(res1)) {
27858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27859 }
27860 arg1 = reinterpret_cast< wxListItem * >(argp1);
27861 result = (long) ((arg1)->m_stateMask);
27862 resultobj = SWIG_From_long(static_cast< long >(result));
27863 return resultobj;
27864 fail:
27865 return NULL;
27866 }
27867
27868
27869 SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27870 PyObject *resultobj = 0;
27871 wxListItem *arg1 = (wxListItem *) 0 ;
27872 wxString *arg2 = (wxString *) 0 ;
27873 void *argp1 = 0 ;
27874 int res1 = 0 ;
27875 bool temp2 = false ;
27876 PyObject *swig_obj[2] ;
27877
27878 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27880 if (!SWIG_IsOK(res1)) {
27881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27882 }
27883 arg1 = reinterpret_cast< wxListItem * >(argp1);
27884 {
27885 arg2 = wxString_in_helper(swig_obj[1]);
27886 if (arg2 == NULL) SWIG_fail;
27887 temp2 = true;
27888 }
27889 if (arg1) (arg1)->m_text = *arg2;
27890
27891 resultobj = SWIG_Py_Void();
27892 {
27893 if (temp2)
27894 delete arg2;
27895 }
27896 return resultobj;
27897 fail:
27898 {
27899 if (temp2)
27900 delete arg2;
27901 }
27902 return NULL;
27903 }
27904
27905
27906 SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27907 PyObject *resultobj = 0;
27908 wxListItem *arg1 = (wxListItem *) 0 ;
27909 wxString *result = 0 ;
27910 void *argp1 = 0 ;
27911 int res1 = 0 ;
27912 PyObject *swig_obj[1] ;
27913
27914 if (!args) SWIG_fail;
27915 swig_obj[0] = args;
27916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27917 if (!SWIG_IsOK(res1)) {
27918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27919 }
27920 arg1 = reinterpret_cast< wxListItem * >(argp1);
27921 result = (wxString *)& ((arg1)->m_text);
27922 {
27923 #if wxUSE_UNICODE
27924 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27925 #else
27926 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27927 #endif
27928 }
27929 return resultobj;
27930 fail:
27931 return NULL;
27932 }
27933
27934
27935 SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27936 PyObject *resultobj = 0;
27937 wxListItem *arg1 = (wxListItem *) 0 ;
27938 int arg2 ;
27939 void *argp1 = 0 ;
27940 int res1 = 0 ;
27941 int val2 ;
27942 int ecode2 = 0 ;
27943 PyObject *swig_obj[2] ;
27944
27945 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27947 if (!SWIG_IsOK(res1)) {
27948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27949 }
27950 arg1 = reinterpret_cast< wxListItem * >(argp1);
27951 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27952 if (!SWIG_IsOK(ecode2)) {
27953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27954 }
27955 arg2 = static_cast< int >(val2);
27956 if (arg1) (arg1)->m_image = arg2;
27957
27958 resultobj = SWIG_Py_Void();
27959 return resultobj;
27960 fail:
27961 return NULL;
27962 }
27963
27964
27965 SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27966 PyObject *resultobj = 0;
27967 wxListItem *arg1 = (wxListItem *) 0 ;
27968 int result;
27969 void *argp1 = 0 ;
27970 int res1 = 0 ;
27971 PyObject *swig_obj[1] ;
27972
27973 if (!args) SWIG_fail;
27974 swig_obj[0] = args;
27975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27976 if (!SWIG_IsOK(res1)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27978 }
27979 arg1 = reinterpret_cast< wxListItem * >(argp1);
27980 result = (int) ((arg1)->m_image);
27981 resultobj = SWIG_From_int(static_cast< int >(result));
27982 return resultobj;
27983 fail:
27984 return NULL;
27985 }
27986
27987
27988 SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27989 PyObject *resultobj = 0;
27990 wxListItem *arg1 = (wxListItem *) 0 ;
27991 long arg2 ;
27992 void *argp1 = 0 ;
27993 int res1 = 0 ;
27994 long val2 ;
27995 int ecode2 = 0 ;
27996 PyObject *swig_obj[2] ;
27997
27998 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28000 if (!SWIG_IsOK(res1)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28002 }
28003 arg1 = reinterpret_cast< wxListItem * >(argp1);
28004 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28005 if (!SWIG_IsOK(ecode2)) {
28006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28007 }
28008 arg2 = static_cast< long >(val2);
28009 if (arg1) (arg1)->m_data = arg2;
28010
28011 resultobj = SWIG_Py_Void();
28012 return resultobj;
28013 fail:
28014 return NULL;
28015 }
28016
28017
28018 SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28019 PyObject *resultobj = 0;
28020 wxListItem *arg1 = (wxListItem *) 0 ;
28021 long result;
28022 void *argp1 = 0 ;
28023 int res1 = 0 ;
28024 PyObject *swig_obj[1] ;
28025
28026 if (!args) SWIG_fail;
28027 swig_obj[0] = args;
28028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28029 if (!SWIG_IsOK(res1)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28031 }
28032 arg1 = reinterpret_cast< wxListItem * >(argp1);
28033 result = (long) ((arg1)->m_data);
28034 resultobj = SWIG_From_long(static_cast< long >(result));
28035 return resultobj;
28036 fail:
28037 return NULL;
28038 }
28039
28040
28041 SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28042 PyObject *resultobj = 0;
28043 wxListItem *arg1 = (wxListItem *) 0 ;
28044 int arg2 ;
28045 void *argp1 = 0 ;
28046 int res1 = 0 ;
28047 int val2 ;
28048 int ecode2 = 0 ;
28049 PyObject *swig_obj[2] ;
28050
28051 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
28052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28053 if (!SWIG_IsOK(res1)) {
28054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28055 }
28056 arg1 = reinterpret_cast< wxListItem * >(argp1);
28057 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28058 if (!SWIG_IsOK(ecode2)) {
28059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28060 }
28061 arg2 = static_cast< int >(val2);
28062 if (arg1) (arg1)->m_format = arg2;
28063
28064 resultobj = SWIG_Py_Void();
28065 return resultobj;
28066 fail:
28067 return NULL;
28068 }
28069
28070
28071 SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28072 PyObject *resultobj = 0;
28073 wxListItem *arg1 = (wxListItem *) 0 ;
28074 int result;
28075 void *argp1 = 0 ;
28076 int res1 = 0 ;
28077 PyObject *swig_obj[1] ;
28078
28079 if (!args) SWIG_fail;
28080 swig_obj[0] = args;
28081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28082 if (!SWIG_IsOK(res1)) {
28083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28084 }
28085 arg1 = reinterpret_cast< wxListItem * >(argp1);
28086 result = (int) ((arg1)->m_format);
28087 resultobj = SWIG_From_int(static_cast< int >(result));
28088 return resultobj;
28089 fail:
28090 return NULL;
28091 }
28092
28093
28094 SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28095 PyObject *resultobj = 0;
28096 wxListItem *arg1 = (wxListItem *) 0 ;
28097 int arg2 ;
28098 void *argp1 = 0 ;
28099 int res1 = 0 ;
28100 int val2 ;
28101 int ecode2 = 0 ;
28102 PyObject *swig_obj[2] ;
28103
28104 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
28105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28106 if (!SWIG_IsOK(res1)) {
28107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28108 }
28109 arg1 = reinterpret_cast< wxListItem * >(argp1);
28110 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28111 if (!SWIG_IsOK(ecode2)) {
28112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28113 }
28114 arg2 = static_cast< int >(val2);
28115 if (arg1) (arg1)->m_width = arg2;
28116
28117 resultobj = SWIG_Py_Void();
28118 return resultobj;
28119 fail:
28120 return NULL;
28121 }
28122
28123
28124 SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28125 PyObject *resultobj = 0;
28126 wxListItem *arg1 = (wxListItem *) 0 ;
28127 int result;
28128 void *argp1 = 0 ;
28129 int res1 = 0 ;
28130 PyObject *swig_obj[1] ;
28131
28132 if (!args) SWIG_fail;
28133 swig_obj[0] = args;
28134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28135 if (!SWIG_IsOK(res1)) {
28136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28137 }
28138 arg1 = reinterpret_cast< wxListItem * >(argp1);
28139 result = (int) ((arg1)->m_width);
28140 resultobj = SWIG_From_int(static_cast< int >(result));
28141 return resultobj;
28142 fail:
28143 return NULL;
28144 }
28145
28146
28147 SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28148 PyObject *obj;
28149 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28150 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
28151 return SWIG_Py_Void();
28152 }
28153
28154 SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28155 return SWIG_Python_InitShadowInstance(args);
28156 }
28157
28158 SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28159 PyObject *resultobj = 0;
28160 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28161 int arg2 = (int) 0 ;
28162 wxListEvent *result = 0 ;
28163 int val1 ;
28164 int ecode1 = 0 ;
28165 int val2 ;
28166 int ecode2 = 0 ;
28167 PyObject * obj0 = 0 ;
28168 PyObject * obj1 = 0 ;
28169 char * kwnames[] = {
28170 (char *) "commandType",(char *) "id", NULL
28171 };
28172
28173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28174 if (obj0) {
28175 ecode1 = SWIG_AsVal_int(obj0, &val1);
28176 if (!SWIG_IsOK(ecode1)) {
28177 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28178 }
28179 arg1 = static_cast< wxEventType >(val1);
28180 }
28181 if (obj1) {
28182 ecode2 = SWIG_AsVal_int(obj1, &val2);
28183 if (!SWIG_IsOK(ecode2)) {
28184 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28185 }
28186 arg2 = static_cast< int >(val2);
28187 }
28188 {
28189 PyThreadState* __tstate = wxPyBeginAllowThreads();
28190 result = (wxListEvent *)new wxListEvent(arg1,arg2);
28191 wxPyEndAllowThreads(__tstate);
28192 if (PyErr_Occurred()) SWIG_fail;
28193 }
28194 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
28195 return resultobj;
28196 fail:
28197 return NULL;
28198 }
28199
28200
28201 SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28202 PyObject *resultobj = 0;
28203 wxListEvent *arg1 = (wxListEvent *) 0 ;
28204 int arg2 ;
28205 void *argp1 = 0 ;
28206 int res1 = 0 ;
28207 int val2 ;
28208 int ecode2 = 0 ;
28209 PyObject *swig_obj[2] ;
28210
28211 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
28212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28213 if (!SWIG_IsOK(res1)) {
28214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28215 }
28216 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28217 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28218 if (!SWIG_IsOK(ecode2)) {
28219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28220 }
28221 arg2 = static_cast< int >(val2);
28222 if (arg1) (arg1)->m_code = arg2;
28223
28224 resultobj = SWIG_Py_Void();
28225 return resultobj;
28226 fail:
28227 return NULL;
28228 }
28229
28230
28231 SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28232 PyObject *resultobj = 0;
28233 wxListEvent *arg1 = (wxListEvent *) 0 ;
28234 int result;
28235 void *argp1 = 0 ;
28236 int res1 = 0 ;
28237 PyObject *swig_obj[1] ;
28238
28239 if (!args) SWIG_fail;
28240 swig_obj[0] = args;
28241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28242 if (!SWIG_IsOK(res1)) {
28243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28244 }
28245 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28246 result = (int) ((arg1)->m_code);
28247 resultobj = SWIG_From_int(static_cast< int >(result));
28248 return resultobj;
28249 fail:
28250 return NULL;
28251 }
28252
28253
28254 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28255 PyObject *resultobj = 0;
28256 wxListEvent *arg1 = (wxListEvent *) 0 ;
28257 long arg2 ;
28258 void *argp1 = 0 ;
28259 int res1 = 0 ;
28260 long val2 ;
28261 int ecode2 = 0 ;
28262 PyObject *swig_obj[2] ;
28263
28264 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
28265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28266 if (!SWIG_IsOK(res1)) {
28267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28268 }
28269 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28270 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28271 if (!SWIG_IsOK(ecode2)) {
28272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28273 }
28274 arg2 = static_cast< long >(val2);
28275 if (arg1) (arg1)->m_oldItemIndex = arg2;
28276
28277 resultobj = SWIG_Py_Void();
28278 return resultobj;
28279 fail:
28280 return NULL;
28281 }
28282
28283
28284 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28285 PyObject *resultobj = 0;
28286 wxListEvent *arg1 = (wxListEvent *) 0 ;
28287 long result;
28288 void *argp1 = 0 ;
28289 int res1 = 0 ;
28290 PyObject *swig_obj[1] ;
28291
28292 if (!args) SWIG_fail;
28293 swig_obj[0] = args;
28294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28295 if (!SWIG_IsOK(res1)) {
28296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28297 }
28298 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28299 result = (long) ((arg1)->m_oldItemIndex);
28300 resultobj = SWIG_From_long(static_cast< long >(result));
28301 return resultobj;
28302 fail:
28303 return NULL;
28304 }
28305
28306
28307 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28308 PyObject *resultobj = 0;
28309 wxListEvent *arg1 = (wxListEvent *) 0 ;
28310 long arg2 ;
28311 void *argp1 = 0 ;
28312 int res1 = 0 ;
28313 long val2 ;
28314 int ecode2 = 0 ;
28315 PyObject *swig_obj[2] ;
28316
28317 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
28318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28319 if (!SWIG_IsOK(res1)) {
28320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28321 }
28322 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28323 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28324 if (!SWIG_IsOK(ecode2)) {
28325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28326 }
28327 arg2 = static_cast< long >(val2);
28328 if (arg1) (arg1)->m_itemIndex = arg2;
28329
28330 resultobj = SWIG_Py_Void();
28331 return resultobj;
28332 fail:
28333 return NULL;
28334 }
28335
28336
28337 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28338 PyObject *resultobj = 0;
28339 wxListEvent *arg1 = (wxListEvent *) 0 ;
28340 long result;
28341 void *argp1 = 0 ;
28342 int res1 = 0 ;
28343 PyObject *swig_obj[1] ;
28344
28345 if (!args) SWIG_fail;
28346 swig_obj[0] = args;
28347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28348 if (!SWIG_IsOK(res1)) {
28349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28350 }
28351 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28352 result = (long) ((arg1)->m_itemIndex);
28353 resultobj = SWIG_From_long(static_cast< long >(result));
28354 return resultobj;
28355 fail:
28356 return NULL;
28357 }
28358
28359
28360 SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28361 PyObject *resultobj = 0;
28362 wxListEvent *arg1 = (wxListEvent *) 0 ;
28363 int arg2 ;
28364 void *argp1 = 0 ;
28365 int res1 = 0 ;
28366 int val2 ;
28367 int ecode2 = 0 ;
28368 PyObject *swig_obj[2] ;
28369
28370 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28372 if (!SWIG_IsOK(res1)) {
28373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28374 }
28375 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28376 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28377 if (!SWIG_IsOK(ecode2)) {
28378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28379 }
28380 arg2 = static_cast< int >(val2);
28381 if (arg1) (arg1)->m_col = arg2;
28382
28383 resultobj = SWIG_Py_Void();
28384 return resultobj;
28385 fail:
28386 return NULL;
28387 }
28388
28389
28390 SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28391 PyObject *resultobj = 0;
28392 wxListEvent *arg1 = (wxListEvent *) 0 ;
28393 int result;
28394 void *argp1 = 0 ;
28395 int res1 = 0 ;
28396 PyObject *swig_obj[1] ;
28397
28398 if (!args) SWIG_fail;
28399 swig_obj[0] = args;
28400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28401 if (!SWIG_IsOK(res1)) {
28402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28403 }
28404 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28405 result = (int) ((arg1)->m_col);
28406 resultobj = SWIG_From_int(static_cast< int >(result));
28407 return resultobj;
28408 fail:
28409 return NULL;
28410 }
28411
28412
28413 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28414 PyObject *resultobj = 0;
28415 wxListEvent *arg1 = (wxListEvent *) 0 ;
28416 wxPoint *arg2 = (wxPoint *) 0 ;
28417 void *argp1 = 0 ;
28418 int res1 = 0 ;
28419 void *argp2 = 0 ;
28420 int res2 = 0 ;
28421 PyObject *swig_obj[2] ;
28422
28423 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28425 if (!SWIG_IsOK(res1)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28427 }
28428 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28429 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28430 if (!SWIG_IsOK(res2)) {
28431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28432 }
28433 arg2 = reinterpret_cast< wxPoint * >(argp2);
28434 if (arg1) (arg1)->m_pointDrag = *arg2;
28435
28436 resultobj = SWIG_Py_Void();
28437 return resultobj;
28438 fail:
28439 return NULL;
28440 }
28441
28442
28443 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28444 PyObject *resultobj = 0;
28445 wxListEvent *arg1 = (wxListEvent *) 0 ;
28446 wxPoint *result = 0 ;
28447 void *argp1 = 0 ;
28448 int res1 = 0 ;
28449 PyObject *swig_obj[1] ;
28450
28451 if (!args) SWIG_fail;
28452 swig_obj[0] = args;
28453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28454 if (!SWIG_IsOK(res1)) {
28455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28456 }
28457 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28458 result = (wxPoint *)& ((arg1)->m_pointDrag);
28459 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28460 return resultobj;
28461 fail:
28462 return NULL;
28463 }
28464
28465
28466 SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28467 PyObject *resultobj = 0;
28468 wxListEvent *arg1 = (wxListEvent *) 0 ;
28469 wxListItem *result = 0 ;
28470 void *argp1 = 0 ;
28471 int res1 = 0 ;
28472 PyObject *swig_obj[1] ;
28473
28474 if (!args) SWIG_fail;
28475 swig_obj[0] = args;
28476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28477 if (!SWIG_IsOK(res1)) {
28478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28479 }
28480 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28481 result = (wxListItem *)& ((arg1)->m_item);
28482 {
28483 resultobj = wxPyMake_wxObject(result, 0);
28484 }
28485 return resultobj;
28486 fail:
28487 return NULL;
28488 }
28489
28490
28491 SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28492 PyObject *resultobj = 0;
28493 wxListEvent *arg1 = (wxListEvent *) 0 ;
28494 int result;
28495 void *argp1 = 0 ;
28496 int res1 = 0 ;
28497 PyObject *swig_obj[1] ;
28498
28499 if (!args) SWIG_fail;
28500 swig_obj[0] = args;
28501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28502 if (!SWIG_IsOK(res1)) {
28503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28504 }
28505 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28506 {
28507 PyThreadState* __tstate = wxPyBeginAllowThreads();
28508 result = (int)(arg1)->GetKeyCode();
28509 wxPyEndAllowThreads(__tstate);
28510 if (PyErr_Occurred()) SWIG_fail;
28511 }
28512 resultobj = SWIG_From_int(static_cast< int >(result));
28513 return resultobj;
28514 fail:
28515 return NULL;
28516 }
28517
28518
28519 SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28520 PyObject *resultobj = 0;
28521 wxListEvent *arg1 = (wxListEvent *) 0 ;
28522 long result;
28523 void *argp1 = 0 ;
28524 int res1 = 0 ;
28525 PyObject *swig_obj[1] ;
28526
28527 if (!args) SWIG_fail;
28528 swig_obj[0] = args;
28529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28530 if (!SWIG_IsOK(res1)) {
28531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28532 }
28533 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28534 {
28535 PyThreadState* __tstate = wxPyBeginAllowThreads();
28536 result = (long)(arg1)->GetIndex();
28537 wxPyEndAllowThreads(__tstate);
28538 if (PyErr_Occurred()) SWIG_fail;
28539 }
28540 resultobj = SWIG_From_long(static_cast< long >(result));
28541 return resultobj;
28542 fail:
28543 return NULL;
28544 }
28545
28546
28547 SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28548 PyObject *resultobj = 0;
28549 wxListEvent *arg1 = (wxListEvent *) 0 ;
28550 int result;
28551 void *argp1 = 0 ;
28552 int res1 = 0 ;
28553 PyObject *swig_obj[1] ;
28554
28555 if (!args) SWIG_fail;
28556 swig_obj[0] = args;
28557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28558 if (!SWIG_IsOK(res1)) {
28559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28560 }
28561 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28562 {
28563 PyThreadState* __tstate = wxPyBeginAllowThreads();
28564 result = (int)(arg1)->GetColumn();
28565 wxPyEndAllowThreads(__tstate);
28566 if (PyErr_Occurred()) SWIG_fail;
28567 }
28568 resultobj = SWIG_From_int(static_cast< int >(result));
28569 return resultobj;
28570 fail:
28571 return NULL;
28572 }
28573
28574
28575 SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28576 PyObject *resultobj = 0;
28577 wxListEvent *arg1 = (wxListEvent *) 0 ;
28578 wxPoint result;
28579 void *argp1 = 0 ;
28580 int res1 = 0 ;
28581 PyObject *swig_obj[1] ;
28582
28583 if (!args) SWIG_fail;
28584 swig_obj[0] = args;
28585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28586 if (!SWIG_IsOK(res1)) {
28587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28588 }
28589 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28590 {
28591 PyThreadState* __tstate = wxPyBeginAllowThreads();
28592 result = (arg1)->GetPoint();
28593 wxPyEndAllowThreads(__tstate);
28594 if (PyErr_Occurred()) SWIG_fail;
28595 }
28596 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28597 return resultobj;
28598 fail:
28599 return NULL;
28600 }
28601
28602
28603 SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28604 PyObject *resultobj = 0;
28605 wxListEvent *arg1 = (wxListEvent *) 0 ;
28606 wxString *result = 0 ;
28607 void *argp1 = 0 ;
28608 int res1 = 0 ;
28609 PyObject *swig_obj[1] ;
28610
28611 if (!args) SWIG_fail;
28612 swig_obj[0] = args;
28613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28614 if (!SWIG_IsOK(res1)) {
28615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28616 }
28617 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28618 {
28619 PyThreadState* __tstate = wxPyBeginAllowThreads();
28620 {
28621 wxString const &_result_ref = (arg1)->GetLabel();
28622 result = (wxString *) &_result_ref;
28623 }
28624 wxPyEndAllowThreads(__tstate);
28625 if (PyErr_Occurred()) SWIG_fail;
28626 }
28627 {
28628 #if wxUSE_UNICODE
28629 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28630 #else
28631 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28632 #endif
28633 }
28634 return resultobj;
28635 fail:
28636 return NULL;
28637 }
28638
28639
28640 SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28641 PyObject *resultobj = 0;
28642 wxListEvent *arg1 = (wxListEvent *) 0 ;
28643 wxString *result = 0 ;
28644 void *argp1 = 0 ;
28645 int res1 = 0 ;
28646 PyObject *swig_obj[1] ;
28647
28648 if (!args) SWIG_fail;
28649 swig_obj[0] = args;
28650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28651 if (!SWIG_IsOK(res1)) {
28652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28653 }
28654 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28655 {
28656 PyThreadState* __tstate = wxPyBeginAllowThreads();
28657 {
28658 wxString const &_result_ref = (arg1)->GetText();
28659 result = (wxString *) &_result_ref;
28660 }
28661 wxPyEndAllowThreads(__tstate);
28662 if (PyErr_Occurred()) SWIG_fail;
28663 }
28664 {
28665 #if wxUSE_UNICODE
28666 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28667 #else
28668 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28669 #endif
28670 }
28671 return resultobj;
28672 fail:
28673 return NULL;
28674 }
28675
28676
28677 SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28678 PyObject *resultobj = 0;
28679 wxListEvent *arg1 = (wxListEvent *) 0 ;
28680 int result;
28681 void *argp1 = 0 ;
28682 int res1 = 0 ;
28683 PyObject *swig_obj[1] ;
28684
28685 if (!args) SWIG_fail;
28686 swig_obj[0] = args;
28687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28688 if (!SWIG_IsOK(res1)) {
28689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28690 }
28691 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28692 {
28693 PyThreadState* __tstate = wxPyBeginAllowThreads();
28694 result = (int)(arg1)->GetImage();
28695 wxPyEndAllowThreads(__tstate);
28696 if (PyErr_Occurred()) SWIG_fail;
28697 }
28698 resultobj = SWIG_From_int(static_cast< int >(result));
28699 return resultobj;
28700 fail:
28701 return NULL;
28702 }
28703
28704
28705 SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28706 PyObject *resultobj = 0;
28707 wxListEvent *arg1 = (wxListEvent *) 0 ;
28708 long result;
28709 void *argp1 = 0 ;
28710 int res1 = 0 ;
28711 PyObject *swig_obj[1] ;
28712
28713 if (!args) SWIG_fail;
28714 swig_obj[0] = args;
28715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28716 if (!SWIG_IsOK(res1)) {
28717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28718 }
28719 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28720 {
28721 PyThreadState* __tstate = wxPyBeginAllowThreads();
28722 result = (long)(arg1)->GetData();
28723 wxPyEndAllowThreads(__tstate);
28724 if (PyErr_Occurred()) SWIG_fail;
28725 }
28726 resultobj = SWIG_From_long(static_cast< long >(result));
28727 return resultobj;
28728 fail:
28729 return NULL;
28730 }
28731
28732
28733 SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28734 PyObject *resultobj = 0;
28735 wxListEvent *arg1 = (wxListEvent *) 0 ;
28736 long result;
28737 void *argp1 = 0 ;
28738 int res1 = 0 ;
28739 PyObject *swig_obj[1] ;
28740
28741 if (!args) SWIG_fail;
28742 swig_obj[0] = args;
28743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28744 if (!SWIG_IsOK(res1)) {
28745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28746 }
28747 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28748 {
28749 PyThreadState* __tstate = wxPyBeginAllowThreads();
28750 result = (long)(arg1)->GetMask();
28751 wxPyEndAllowThreads(__tstate);
28752 if (PyErr_Occurred()) SWIG_fail;
28753 }
28754 resultobj = SWIG_From_long(static_cast< long >(result));
28755 return resultobj;
28756 fail:
28757 return NULL;
28758 }
28759
28760
28761 SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28762 PyObject *resultobj = 0;
28763 wxListEvent *arg1 = (wxListEvent *) 0 ;
28764 wxListItem *result = 0 ;
28765 void *argp1 = 0 ;
28766 int res1 = 0 ;
28767 PyObject *swig_obj[1] ;
28768
28769 if (!args) SWIG_fail;
28770 swig_obj[0] = args;
28771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28772 if (!SWIG_IsOK(res1)) {
28773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28774 }
28775 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28776 {
28777 PyThreadState* __tstate = wxPyBeginAllowThreads();
28778 {
28779 wxListItem const &_result_ref = (arg1)->GetItem();
28780 result = (wxListItem *) &_result_ref;
28781 }
28782 wxPyEndAllowThreads(__tstate);
28783 if (PyErr_Occurred()) SWIG_fail;
28784 }
28785 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28786 return resultobj;
28787 fail:
28788 return NULL;
28789 }
28790
28791
28792 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28793 PyObject *resultobj = 0;
28794 wxListEvent *arg1 = (wxListEvent *) 0 ;
28795 long result;
28796 void *argp1 = 0 ;
28797 int res1 = 0 ;
28798 PyObject *swig_obj[1] ;
28799
28800 if (!args) SWIG_fail;
28801 swig_obj[0] = args;
28802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28803 if (!SWIG_IsOK(res1)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28805 }
28806 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28807 {
28808 PyThreadState* __tstate = wxPyBeginAllowThreads();
28809 result = (long)(arg1)->GetCacheFrom();
28810 wxPyEndAllowThreads(__tstate);
28811 if (PyErr_Occurred()) SWIG_fail;
28812 }
28813 resultobj = SWIG_From_long(static_cast< long >(result));
28814 return resultobj;
28815 fail:
28816 return NULL;
28817 }
28818
28819
28820 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28821 PyObject *resultobj = 0;
28822 wxListEvent *arg1 = (wxListEvent *) 0 ;
28823 long result;
28824 void *argp1 = 0 ;
28825 int res1 = 0 ;
28826 PyObject *swig_obj[1] ;
28827
28828 if (!args) SWIG_fail;
28829 swig_obj[0] = args;
28830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28831 if (!SWIG_IsOK(res1)) {
28832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28833 }
28834 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28835 {
28836 PyThreadState* __tstate = wxPyBeginAllowThreads();
28837 result = (long)(arg1)->GetCacheTo();
28838 wxPyEndAllowThreads(__tstate);
28839 if (PyErr_Occurred()) SWIG_fail;
28840 }
28841 resultobj = SWIG_From_long(static_cast< long >(result));
28842 return resultobj;
28843 fail:
28844 return NULL;
28845 }
28846
28847
28848 SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28849 PyObject *resultobj = 0;
28850 wxListEvent *arg1 = (wxListEvent *) 0 ;
28851 bool result;
28852 void *argp1 = 0 ;
28853 int res1 = 0 ;
28854 PyObject *swig_obj[1] ;
28855
28856 if (!args) SWIG_fail;
28857 swig_obj[0] = args;
28858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28859 if (!SWIG_IsOK(res1)) {
28860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28861 }
28862 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28863 {
28864 PyThreadState* __tstate = wxPyBeginAllowThreads();
28865 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28866 wxPyEndAllowThreads(__tstate);
28867 if (PyErr_Occurred()) SWIG_fail;
28868 }
28869 {
28870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28871 }
28872 return resultobj;
28873 fail:
28874 return NULL;
28875 }
28876
28877
28878 SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28879 PyObject *resultobj = 0;
28880 wxListEvent *arg1 = (wxListEvent *) 0 ;
28881 bool arg2 ;
28882 void *argp1 = 0 ;
28883 int res1 = 0 ;
28884 bool val2 ;
28885 int ecode2 = 0 ;
28886 PyObject * obj0 = 0 ;
28887 PyObject * obj1 = 0 ;
28888 char * kwnames[] = {
28889 (char *) "self",(char *) "editCancelled", NULL
28890 };
28891
28892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28894 if (!SWIG_IsOK(res1)) {
28895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28896 }
28897 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28898 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28899 if (!SWIG_IsOK(ecode2)) {
28900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28901 }
28902 arg2 = static_cast< bool >(val2);
28903 {
28904 PyThreadState* __tstate = wxPyBeginAllowThreads();
28905 (arg1)->SetEditCanceled(arg2);
28906 wxPyEndAllowThreads(__tstate);
28907 if (PyErr_Occurred()) SWIG_fail;
28908 }
28909 resultobj = SWIG_Py_Void();
28910 return resultobj;
28911 fail:
28912 return NULL;
28913 }
28914
28915
28916 SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28917 PyObject *obj;
28918 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28919 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28920 return SWIG_Py_Void();
28921 }
28922
28923 SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28924 return SWIG_Python_InitShadowInstance(args);
28925 }
28926
28927 SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28928 PyObject *resultobj = 0;
28929 wxWindow *arg1 = (wxWindow *) 0 ;
28930 int arg2 = (int) -1 ;
28931 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28932 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28933 wxSize const &arg4_defvalue = wxDefaultSize ;
28934 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28935 long arg5 = (long) wxLC_ICON ;
28936 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28937 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28938 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28939 wxString *arg7 = (wxString *) &arg7_defvalue ;
28940 wxPyListCtrl *result = 0 ;
28941 void *argp1 = 0 ;
28942 int res1 = 0 ;
28943 int val2 ;
28944 int ecode2 = 0 ;
28945 wxPoint temp3 ;
28946 wxSize temp4 ;
28947 long val5 ;
28948 int ecode5 = 0 ;
28949 void *argp6 = 0 ;
28950 int res6 = 0 ;
28951 bool temp7 = false ;
28952 PyObject * obj0 = 0 ;
28953 PyObject * obj1 = 0 ;
28954 PyObject * obj2 = 0 ;
28955 PyObject * obj3 = 0 ;
28956 PyObject * obj4 = 0 ;
28957 PyObject * obj5 = 0 ;
28958 PyObject * obj6 = 0 ;
28959 char * kwnames[] = {
28960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28961 };
28962
28963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28965 if (!SWIG_IsOK(res1)) {
28966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28967 }
28968 arg1 = reinterpret_cast< wxWindow * >(argp1);
28969 if (obj1) {
28970 ecode2 = SWIG_AsVal_int(obj1, &val2);
28971 if (!SWIG_IsOK(ecode2)) {
28972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28973 }
28974 arg2 = static_cast< int >(val2);
28975 }
28976 if (obj2) {
28977 {
28978 arg3 = &temp3;
28979 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28980 }
28981 }
28982 if (obj3) {
28983 {
28984 arg4 = &temp4;
28985 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28986 }
28987 }
28988 if (obj4) {
28989 ecode5 = SWIG_AsVal_long(obj4, &val5);
28990 if (!SWIG_IsOK(ecode5)) {
28991 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28992 }
28993 arg5 = static_cast< long >(val5);
28994 }
28995 if (obj5) {
28996 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28997 if (!SWIG_IsOK(res6)) {
28998 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28999 }
29000 if (!argp6) {
29001 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29002 }
29003 arg6 = reinterpret_cast< wxValidator * >(argp6);
29004 }
29005 if (obj6) {
29006 {
29007 arg7 = wxString_in_helper(obj6);
29008 if (arg7 == NULL) SWIG_fail;
29009 temp7 = true;
29010 }
29011 }
29012 {
29013 if (!wxPyCheckForApp()) SWIG_fail;
29014 PyThreadState* __tstate = wxPyBeginAllowThreads();
29015 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29016 wxPyEndAllowThreads(__tstate);
29017 if (PyErr_Occurred()) SWIG_fail;
29018 }
29019 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
29020 {
29021 if (temp7)
29022 delete arg7;
29023 }
29024 return resultobj;
29025 fail:
29026 {
29027 if (temp7)
29028 delete arg7;
29029 }
29030 return NULL;
29031 }
29032
29033
29034 SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29035 PyObject *resultobj = 0;
29036 wxPyListCtrl *result = 0 ;
29037
29038 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
29039 {
29040 if (!wxPyCheckForApp()) SWIG_fail;
29041 PyThreadState* __tstate = wxPyBeginAllowThreads();
29042 result = (wxPyListCtrl *)new wxPyListCtrl();
29043 wxPyEndAllowThreads(__tstate);
29044 if (PyErr_Occurred()) SWIG_fail;
29045 }
29046 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
29047 return resultobj;
29048 fail:
29049 return NULL;
29050 }
29051
29052
29053 SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29054 PyObject *resultobj = 0;
29055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29056 wxWindow *arg2 = (wxWindow *) 0 ;
29057 int arg3 = (int) -1 ;
29058 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29059 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29060 wxSize const &arg5_defvalue = wxDefaultSize ;
29061 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29062 long arg6 = (long) wxLC_ICON ;
29063 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29064 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29065 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
29066 wxString *arg8 = (wxString *) &arg8_defvalue ;
29067 bool result;
29068 void *argp1 = 0 ;
29069 int res1 = 0 ;
29070 void *argp2 = 0 ;
29071 int res2 = 0 ;
29072 int val3 ;
29073 int ecode3 = 0 ;
29074 wxPoint temp4 ;
29075 wxSize temp5 ;
29076 long val6 ;
29077 int ecode6 = 0 ;
29078 void *argp7 = 0 ;
29079 int res7 = 0 ;
29080 bool temp8 = false ;
29081 PyObject * obj0 = 0 ;
29082 PyObject * obj1 = 0 ;
29083 PyObject * obj2 = 0 ;
29084 PyObject * obj3 = 0 ;
29085 PyObject * obj4 = 0 ;
29086 PyObject * obj5 = 0 ;
29087 PyObject * obj6 = 0 ;
29088 PyObject * obj7 = 0 ;
29089 char * kwnames[] = {
29090 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29091 };
29092
29093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
29094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29095 if (!SWIG_IsOK(res1)) {
29096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29097 }
29098 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29099 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29100 if (!SWIG_IsOK(res2)) {
29101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29102 }
29103 arg2 = reinterpret_cast< wxWindow * >(argp2);
29104 if (obj2) {
29105 ecode3 = SWIG_AsVal_int(obj2, &val3);
29106 if (!SWIG_IsOK(ecode3)) {
29107 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29108 }
29109 arg3 = static_cast< int >(val3);
29110 }
29111 if (obj3) {
29112 {
29113 arg4 = &temp4;
29114 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29115 }
29116 }
29117 if (obj4) {
29118 {
29119 arg5 = &temp5;
29120 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29121 }
29122 }
29123 if (obj5) {
29124 ecode6 = SWIG_AsVal_long(obj5, &val6);
29125 if (!SWIG_IsOK(ecode6)) {
29126 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29127 }
29128 arg6 = static_cast< long >(val6);
29129 }
29130 if (obj6) {
29131 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
29132 if (!SWIG_IsOK(res7)) {
29133 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29134 }
29135 if (!argp7) {
29136 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29137 }
29138 arg7 = reinterpret_cast< wxValidator * >(argp7);
29139 }
29140 if (obj7) {
29141 {
29142 arg8 = wxString_in_helper(obj7);
29143 if (arg8 == NULL) SWIG_fail;
29144 temp8 = true;
29145 }
29146 }
29147 {
29148 PyThreadState* __tstate = wxPyBeginAllowThreads();
29149 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29150 wxPyEndAllowThreads(__tstate);
29151 if (PyErr_Occurred()) SWIG_fail;
29152 }
29153 {
29154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29155 }
29156 {
29157 if (temp8)
29158 delete arg8;
29159 }
29160 return resultobj;
29161 fail:
29162 {
29163 if (temp8)
29164 delete arg8;
29165 }
29166 return NULL;
29167 }
29168
29169
29170 SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29171 PyObject *resultobj = 0;
29172 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29173 PyObject *arg2 = (PyObject *) 0 ;
29174 PyObject *arg3 = (PyObject *) 0 ;
29175 void *argp1 = 0 ;
29176 int res1 = 0 ;
29177 PyObject * obj0 = 0 ;
29178 PyObject * obj1 = 0 ;
29179 PyObject * obj2 = 0 ;
29180 char * kwnames[] = {
29181 (char *) "self",(char *) "self",(char *) "_class", NULL
29182 };
29183
29184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29186 if (!SWIG_IsOK(res1)) {
29187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29188 }
29189 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29190 arg2 = obj1;
29191 arg3 = obj2;
29192 {
29193 PyThreadState* __tstate = wxPyBeginAllowThreads();
29194 (arg1)->_setCallbackInfo(arg2,arg3);
29195 wxPyEndAllowThreads(__tstate);
29196 if (PyErr_Occurred()) SWIG_fail;
29197 }
29198 resultobj = SWIG_Py_Void();
29199 return resultobj;
29200 fail:
29201 return NULL;
29202 }
29203
29204
29205 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29206 PyObject *resultobj = 0;
29207 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29208 int arg2 ;
29209 wxListItem *result = 0 ;
29210 void *argp1 = 0 ;
29211 int res1 = 0 ;
29212 int val2 ;
29213 int ecode2 = 0 ;
29214 PyObject * obj0 = 0 ;
29215 PyObject * obj1 = 0 ;
29216 char * kwnames[] = {
29217 (char *) "self",(char *) "col", NULL
29218 };
29219
29220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
29221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29222 if (!SWIG_IsOK(res1)) {
29223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29224 }
29225 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29226 ecode2 = SWIG_AsVal_int(obj1, &val2);
29227 if (!SWIG_IsOK(ecode2)) {
29228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29229 }
29230 arg2 = static_cast< int >(val2);
29231 {
29232 PyThreadState* __tstate = wxPyBeginAllowThreads();
29233 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
29234 wxPyEndAllowThreads(__tstate);
29235 if (PyErr_Occurred()) SWIG_fail;
29236 }
29237 {
29238 resultobj = wxPyMake_wxObject(result, 0);
29239 }
29240 return resultobj;
29241 fail:
29242 return NULL;
29243 }
29244
29245
29246 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29247 PyObject *resultobj = 0;
29248 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29249 int arg2 ;
29250 wxListItem *arg3 = 0 ;
29251 bool result;
29252 void *argp1 = 0 ;
29253 int res1 = 0 ;
29254 int val2 ;
29255 int ecode2 = 0 ;
29256 void *argp3 = 0 ;
29257 int res3 = 0 ;
29258 PyObject * obj0 = 0 ;
29259 PyObject * obj1 = 0 ;
29260 PyObject * obj2 = 0 ;
29261 char * kwnames[] = {
29262 (char *) "self",(char *) "col",(char *) "item", NULL
29263 };
29264
29265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29267 if (!SWIG_IsOK(res1)) {
29268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29269 }
29270 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29271 ecode2 = SWIG_AsVal_int(obj1, &val2);
29272 if (!SWIG_IsOK(ecode2)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29274 }
29275 arg2 = static_cast< int >(val2);
29276 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29277 if (!SWIG_IsOK(res3)) {
29278 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29279 }
29280 if (!argp3) {
29281 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29282 }
29283 arg3 = reinterpret_cast< wxListItem * >(argp3);
29284 {
29285 PyThreadState* __tstate = wxPyBeginAllowThreads();
29286 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29287 wxPyEndAllowThreads(__tstate);
29288 if (PyErr_Occurred()) SWIG_fail;
29289 }
29290 {
29291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29292 }
29293 return resultobj;
29294 fail:
29295 return NULL;
29296 }
29297
29298
29299 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29300 PyObject *resultobj = 0;
29301 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29302 int arg2 ;
29303 int result;
29304 void *argp1 = 0 ;
29305 int res1 = 0 ;
29306 int val2 ;
29307 int ecode2 = 0 ;
29308 PyObject * obj0 = 0 ;
29309 PyObject * obj1 = 0 ;
29310 char * kwnames[] = {
29311 (char *) "self",(char *) "col", NULL
29312 };
29313
29314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29316 if (!SWIG_IsOK(res1)) {
29317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29318 }
29319 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29320 ecode2 = SWIG_AsVal_int(obj1, &val2);
29321 if (!SWIG_IsOK(ecode2)) {
29322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29323 }
29324 arg2 = static_cast< int >(val2);
29325 {
29326 PyThreadState* __tstate = wxPyBeginAllowThreads();
29327 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29328 wxPyEndAllowThreads(__tstate);
29329 if (PyErr_Occurred()) SWIG_fail;
29330 }
29331 resultobj = SWIG_From_int(static_cast< int >(result));
29332 return resultobj;
29333 fail:
29334 return NULL;
29335 }
29336
29337
29338 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29339 PyObject *resultobj = 0;
29340 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29341 int arg2 ;
29342 int arg3 ;
29343 bool result;
29344 void *argp1 = 0 ;
29345 int res1 = 0 ;
29346 int val2 ;
29347 int ecode2 = 0 ;
29348 int val3 ;
29349 int ecode3 = 0 ;
29350 PyObject * obj0 = 0 ;
29351 PyObject * obj1 = 0 ;
29352 PyObject * obj2 = 0 ;
29353 char * kwnames[] = {
29354 (char *) "self",(char *) "col",(char *) "width", NULL
29355 };
29356
29357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29359 if (!SWIG_IsOK(res1)) {
29360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29361 }
29362 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29363 ecode2 = SWIG_AsVal_int(obj1, &val2);
29364 if (!SWIG_IsOK(ecode2)) {
29365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29366 }
29367 arg2 = static_cast< int >(val2);
29368 ecode3 = SWIG_AsVal_int(obj2, &val3);
29369 if (!SWIG_IsOK(ecode3)) {
29370 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29371 }
29372 arg3 = static_cast< int >(val3);
29373 {
29374 PyThreadState* __tstate = wxPyBeginAllowThreads();
29375 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29376 wxPyEndAllowThreads(__tstate);
29377 if (PyErr_Occurred()) SWIG_fail;
29378 }
29379 {
29380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29381 }
29382 return resultobj;
29383 fail:
29384 return NULL;
29385 }
29386
29387
29388 SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29389 PyObject *resultobj = 0;
29390 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29391 int result;
29392 void *argp1 = 0 ;
29393 int res1 = 0 ;
29394 PyObject *swig_obj[1] ;
29395
29396 if (!args) SWIG_fail;
29397 swig_obj[0] = args;
29398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29399 if (!SWIG_IsOK(res1)) {
29400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29401 }
29402 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29403 {
29404 PyThreadState* __tstate = wxPyBeginAllowThreads();
29405 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29406 wxPyEndAllowThreads(__tstate);
29407 if (PyErr_Occurred()) SWIG_fail;
29408 }
29409 resultobj = SWIG_From_int(static_cast< int >(result));
29410 return resultobj;
29411 fail:
29412 return NULL;
29413 }
29414
29415
29416 SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29417 PyObject *resultobj = 0;
29418 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29419 wxRect result;
29420 void *argp1 = 0 ;
29421 int res1 = 0 ;
29422 PyObject *swig_obj[1] ;
29423
29424 if (!args) SWIG_fail;
29425 swig_obj[0] = args;
29426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29427 if (!SWIG_IsOK(res1)) {
29428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29429 }
29430 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29431 {
29432 PyThreadState* __tstate = wxPyBeginAllowThreads();
29433 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29434 wxPyEndAllowThreads(__tstate);
29435 if (PyErr_Occurred()) SWIG_fail;
29436 }
29437 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29438 return resultobj;
29439 fail:
29440 return NULL;
29441 }
29442
29443
29444 SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29445 PyObject *resultobj = 0;
29446 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29447 wxTextCtrl *result = 0 ;
29448 void *argp1 = 0 ;
29449 int res1 = 0 ;
29450 PyObject *swig_obj[1] ;
29451
29452 if (!args) SWIG_fail;
29453 swig_obj[0] = args;
29454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29455 if (!SWIG_IsOK(res1)) {
29456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29457 }
29458 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29459 {
29460 PyThreadState* __tstate = wxPyBeginAllowThreads();
29461 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29462 wxPyEndAllowThreads(__tstate);
29463 if (PyErr_Occurred()) SWIG_fail;
29464 }
29465 {
29466 resultobj = wxPyMake_wxObject(result, 0);
29467 }
29468 return resultobj;
29469 fail:
29470 return NULL;
29471 }
29472
29473
29474 SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29475 PyObject *resultobj = 0;
29476 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29477 long arg2 ;
29478 int arg3 = (int) 0 ;
29479 wxListItem *result = 0 ;
29480 void *argp1 = 0 ;
29481 int res1 = 0 ;
29482 long val2 ;
29483 int ecode2 = 0 ;
29484 int val3 ;
29485 int ecode3 = 0 ;
29486 PyObject * obj0 = 0 ;
29487 PyObject * obj1 = 0 ;
29488 PyObject * obj2 = 0 ;
29489 char * kwnames[] = {
29490 (char *) "self",(char *) "itemId",(char *) "col", NULL
29491 };
29492
29493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29495 if (!SWIG_IsOK(res1)) {
29496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29497 }
29498 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29499 ecode2 = SWIG_AsVal_long(obj1, &val2);
29500 if (!SWIG_IsOK(ecode2)) {
29501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29502 }
29503 arg2 = static_cast< long >(val2);
29504 if (obj2) {
29505 ecode3 = SWIG_AsVal_int(obj2, &val3);
29506 if (!SWIG_IsOK(ecode3)) {
29507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29508 }
29509 arg3 = static_cast< int >(val3);
29510 }
29511 {
29512 PyThreadState* __tstate = wxPyBeginAllowThreads();
29513 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29514 wxPyEndAllowThreads(__tstate);
29515 if (PyErr_Occurred()) SWIG_fail;
29516 }
29517 {
29518 resultobj = wxPyMake_wxObject(result, 0);
29519 }
29520 return resultobj;
29521 fail:
29522 return NULL;
29523 }
29524
29525
29526 SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29527 PyObject *resultobj = 0;
29528 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29529 wxListItem *arg2 = 0 ;
29530 bool result;
29531 void *argp1 = 0 ;
29532 int res1 = 0 ;
29533 void *argp2 = 0 ;
29534 int res2 = 0 ;
29535 PyObject * obj0 = 0 ;
29536 PyObject * obj1 = 0 ;
29537 char * kwnames[] = {
29538 (char *) "self",(char *) "info", NULL
29539 };
29540
29541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29543 if (!SWIG_IsOK(res1)) {
29544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29545 }
29546 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29547 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29548 if (!SWIG_IsOK(res2)) {
29549 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29550 }
29551 if (!argp2) {
29552 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29553 }
29554 arg2 = reinterpret_cast< wxListItem * >(argp2);
29555 {
29556 PyThreadState* __tstate = wxPyBeginAllowThreads();
29557 result = (bool)(arg1)->SetItem(*arg2);
29558 wxPyEndAllowThreads(__tstate);
29559 if (PyErr_Occurred()) SWIG_fail;
29560 }
29561 {
29562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29563 }
29564 return resultobj;
29565 fail:
29566 return NULL;
29567 }
29568
29569
29570 SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29571 PyObject *resultobj = 0;
29572 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29573 long arg2 ;
29574 int arg3 ;
29575 wxString *arg4 = 0 ;
29576 int arg5 = (int) -1 ;
29577 long result;
29578 void *argp1 = 0 ;
29579 int res1 = 0 ;
29580 long val2 ;
29581 int ecode2 = 0 ;
29582 int val3 ;
29583 int ecode3 = 0 ;
29584 bool temp4 = false ;
29585 int val5 ;
29586 int ecode5 = 0 ;
29587 PyObject * obj0 = 0 ;
29588 PyObject * obj1 = 0 ;
29589 PyObject * obj2 = 0 ;
29590 PyObject * obj3 = 0 ;
29591 PyObject * obj4 = 0 ;
29592 char * kwnames[] = {
29593 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29594 };
29595
29596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29598 if (!SWIG_IsOK(res1)) {
29599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29600 }
29601 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29602 ecode2 = SWIG_AsVal_long(obj1, &val2);
29603 if (!SWIG_IsOK(ecode2)) {
29604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29605 }
29606 arg2 = static_cast< long >(val2);
29607 ecode3 = SWIG_AsVal_int(obj2, &val3);
29608 if (!SWIG_IsOK(ecode3)) {
29609 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29610 }
29611 arg3 = static_cast< int >(val3);
29612 {
29613 arg4 = wxString_in_helper(obj3);
29614 if (arg4 == NULL) SWIG_fail;
29615 temp4 = true;
29616 }
29617 if (obj4) {
29618 ecode5 = SWIG_AsVal_int(obj4, &val5);
29619 if (!SWIG_IsOK(ecode5)) {
29620 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29621 }
29622 arg5 = static_cast< int >(val5);
29623 }
29624 {
29625 PyThreadState* __tstate = wxPyBeginAllowThreads();
29626 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29627 wxPyEndAllowThreads(__tstate);
29628 if (PyErr_Occurred()) SWIG_fail;
29629 }
29630 resultobj = SWIG_From_long(static_cast< long >(result));
29631 {
29632 if (temp4)
29633 delete arg4;
29634 }
29635 return resultobj;
29636 fail:
29637 {
29638 if (temp4)
29639 delete arg4;
29640 }
29641 return NULL;
29642 }
29643
29644
29645 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29646 PyObject *resultobj = 0;
29647 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29648 long arg2 ;
29649 long arg3 ;
29650 int result;
29651 void *argp1 = 0 ;
29652 int res1 = 0 ;
29653 long val2 ;
29654 int ecode2 = 0 ;
29655 long val3 ;
29656 int ecode3 = 0 ;
29657 PyObject * obj0 = 0 ;
29658 PyObject * obj1 = 0 ;
29659 PyObject * obj2 = 0 ;
29660 char * kwnames[] = {
29661 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29662 };
29663
29664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29666 if (!SWIG_IsOK(res1)) {
29667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29668 }
29669 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29670 ecode2 = SWIG_AsVal_long(obj1, &val2);
29671 if (!SWIG_IsOK(ecode2)) {
29672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29673 }
29674 arg2 = static_cast< long >(val2);
29675 ecode3 = SWIG_AsVal_long(obj2, &val3);
29676 if (!SWIG_IsOK(ecode3)) {
29677 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29678 }
29679 arg3 = static_cast< long >(val3);
29680 {
29681 PyThreadState* __tstate = wxPyBeginAllowThreads();
29682 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29683 wxPyEndAllowThreads(__tstate);
29684 if (PyErr_Occurred()) SWIG_fail;
29685 }
29686 resultobj = SWIG_From_int(static_cast< int >(result));
29687 return resultobj;
29688 fail:
29689 return NULL;
29690 }
29691
29692
29693 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29694 PyObject *resultobj = 0;
29695 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29696 long arg2 ;
29697 long arg3 ;
29698 long arg4 ;
29699 bool result;
29700 void *argp1 = 0 ;
29701 int res1 = 0 ;
29702 long val2 ;
29703 int ecode2 = 0 ;
29704 long val3 ;
29705 int ecode3 = 0 ;
29706 long val4 ;
29707 int ecode4 = 0 ;
29708 PyObject * obj0 = 0 ;
29709 PyObject * obj1 = 0 ;
29710 PyObject * obj2 = 0 ;
29711 PyObject * obj3 = 0 ;
29712 char * kwnames[] = {
29713 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29714 };
29715
29716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29718 if (!SWIG_IsOK(res1)) {
29719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29720 }
29721 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29722 ecode2 = SWIG_AsVal_long(obj1, &val2);
29723 if (!SWIG_IsOK(ecode2)) {
29724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29725 }
29726 arg2 = static_cast< long >(val2);
29727 ecode3 = SWIG_AsVal_long(obj2, &val3);
29728 if (!SWIG_IsOK(ecode3)) {
29729 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29730 }
29731 arg3 = static_cast< long >(val3);
29732 ecode4 = SWIG_AsVal_long(obj3, &val4);
29733 if (!SWIG_IsOK(ecode4)) {
29734 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29735 }
29736 arg4 = static_cast< long >(val4);
29737 {
29738 PyThreadState* __tstate = wxPyBeginAllowThreads();
29739 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29740 wxPyEndAllowThreads(__tstate);
29741 if (PyErr_Occurred()) SWIG_fail;
29742 }
29743 {
29744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29745 }
29746 return resultobj;
29747 fail:
29748 return NULL;
29749 }
29750
29751
29752 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29753 PyObject *resultobj = 0;
29754 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29755 long arg2 ;
29756 int arg3 ;
29757 int arg4 = (int) -1 ;
29758 bool result;
29759 void *argp1 = 0 ;
29760 int res1 = 0 ;
29761 long val2 ;
29762 int ecode2 = 0 ;
29763 int val3 ;
29764 int ecode3 = 0 ;
29765 int val4 ;
29766 int ecode4 = 0 ;
29767 PyObject * obj0 = 0 ;
29768 PyObject * obj1 = 0 ;
29769 PyObject * obj2 = 0 ;
29770 PyObject * obj3 = 0 ;
29771 char * kwnames[] = {
29772 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29773 };
29774
29775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29777 if (!SWIG_IsOK(res1)) {
29778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29779 }
29780 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29781 ecode2 = SWIG_AsVal_long(obj1, &val2);
29782 if (!SWIG_IsOK(ecode2)) {
29783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29784 }
29785 arg2 = static_cast< long >(val2);
29786 ecode3 = SWIG_AsVal_int(obj2, &val3);
29787 if (!SWIG_IsOK(ecode3)) {
29788 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29789 }
29790 arg3 = static_cast< int >(val3);
29791 if (obj3) {
29792 ecode4 = SWIG_AsVal_int(obj3, &val4);
29793 if (!SWIG_IsOK(ecode4)) {
29794 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29795 }
29796 arg4 = static_cast< int >(val4);
29797 }
29798 {
29799 PyThreadState* __tstate = wxPyBeginAllowThreads();
29800 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29801 wxPyEndAllowThreads(__tstate);
29802 if (PyErr_Occurred()) SWIG_fail;
29803 }
29804 {
29805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29806 }
29807 return resultobj;
29808 fail:
29809 return NULL;
29810 }
29811
29812
29813 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29814 PyObject *resultobj = 0;
29815 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29816 long arg2 ;
29817 long arg3 ;
29818 int arg4 ;
29819 bool result;
29820 void *argp1 = 0 ;
29821 int res1 = 0 ;
29822 long val2 ;
29823 int ecode2 = 0 ;
29824 long val3 ;
29825 int ecode3 = 0 ;
29826 int val4 ;
29827 int ecode4 = 0 ;
29828 PyObject * obj0 = 0 ;
29829 PyObject * obj1 = 0 ;
29830 PyObject * obj2 = 0 ;
29831 PyObject * obj3 = 0 ;
29832 char * kwnames[] = {
29833 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29834 };
29835
29836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29838 if (!SWIG_IsOK(res1)) {
29839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29840 }
29841 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29842 ecode2 = SWIG_AsVal_long(obj1, &val2);
29843 if (!SWIG_IsOK(ecode2)) {
29844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29845 }
29846 arg2 = static_cast< long >(val2);
29847 ecode3 = SWIG_AsVal_long(obj2, &val3);
29848 if (!SWIG_IsOK(ecode3)) {
29849 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29850 }
29851 arg3 = static_cast< long >(val3);
29852 ecode4 = SWIG_AsVal_int(obj3, &val4);
29853 if (!SWIG_IsOK(ecode4)) {
29854 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29855 }
29856 arg4 = static_cast< int >(val4);
29857 {
29858 PyThreadState* __tstate = wxPyBeginAllowThreads();
29859 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29860 wxPyEndAllowThreads(__tstate);
29861 if (PyErr_Occurred()) SWIG_fail;
29862 }
29863 {
29864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29865 }
29866 return resultobj;
29867 fail:
29868 return NULL;
29869 }
29870
29871
29872 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29873 PyObject *resultobj = 0;
29874 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29875 long arg2 ;
29876 wxString result;
29877 void *argp1 = 0 ;
29878 int res1 = 0 ;
29879 long val2 ;
29880 int ecode2 = 0 ;
29881 PyObject * obj0 = 0 ;
29882 PyObject * obj1 = 0 ;
29883 char * kwnames[] = {
29884 (char *) "self",(char *) "item", NULL
29885 };
29886
29887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29889 if (!SWIG_IsOK(res1)) {
29890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29891 }
29892 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29893 ecode2 = SWIG_AsVal_long(obj1, &val2);
29894 if (!SWIG_IsOK(ecode2)) {
29895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29896 }
29897 arg2 = static_cast< long >(val2);
29898 {
29899 PyThreadState* __tstate = wxPyBeginAllowThreads();
29900 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29901 wxPyEndAllowThreads(__tstate);
29902 if (PyErr_Occurred()) SWIG_fail;
29903 }
29904 {
29905 #if wxUSE_UNICODE
29906 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29907 #else
29908 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29909 #endif
29910 }
29911 return resultobj;
29912 fail:
29913 return NULL;
29914 }
29915
29916
29917 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29918 PyObject *resultobj = 0;
29919 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29920 long arg2 ;
29921 wxString *arg3 = 0 ;
29922 void *argp1 = 0 ;
29923 int res1 = 0 ;
29924 long val2 ;
29925 int ecode2 = 0 ;
29926 bool temp3 = false ;
29927 PyObject * obj0 = 0 ;
29928 PyObject * obj1 = 0 ;
29929 PyObject * obj2 = 0 ;
29930 char * kwnames[] = {
29931 (char *) "self",(char *) "item",(char *) "str", NULL
29932 };
29933
29934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29936 if (!SWIG_IsOK(res1)) {
29937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29938 }
29939 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29940 ecode2 = SWIG_AsVal_long(obj1, &val2);
29941 if (!SWIG_IsOK(ecode2)) {
29942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29943 }
29944 arg2 = static_cast< long >(val2);
29945 {
29946 arg3 = wxString_in_helper(obj2);
29947 if (arg3 == NULL) SWIG_fail;
29948 temp3 = true;
29949 }
29950 {
29951 PyThreadState* __tstate = wxPyBeginAllowThreads();
29952 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29953 wxPyEndAllowThreads(__tstate);
29954 if (PyErr_Occurred()) SWIG_fail;
29955 }
29956 resultobj = SWIG_Py_Void();
29957 {
29958 if (temp3)
29959 delete arg3;
29960 }
29961 return resultobj;
29962 fail:
29963 {
29964 if (temp3)
29965 delete arg3;
29966 }
29967 return NULL;
29968 }
29969
29970
29971 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29972 PyObject *resultobj = 0;
29973 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29974 long arg2 ;
29975 long result;
29976 void *argp1 = 0 ;
29977 int res1 = 0 ;
29978 long val2 ;
29979 int ecode2 = 0 ;
29980 PyObject * obj0 = 0 ;
29981 PyObject * obj1 = 0 ;
29982 char * kwnames[] = {
29983 (char *) "self",(char *) "item", NULL
29984 };
29985
29986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29988 if (!SWIG_IsOK(res1)) {
29989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29990 }
29991 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29992 ecode2 = SWIG_AsVal_long(obj1, &val2);
29993 if (!SWIG_IsOK(ecode2)) {
29994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29995 }
29996 arg2 = static_cast< long >(val2);
29997 {
29998 PyThreadState* __tstate = wxPyBeginAllowThreads();
29999 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
30000 wxPyEndAllowThreads(__tstate);
30001 if (PyErr_Occurred()) SWIG_fail;
30002 }
30003 resultobj = SWIG_From_long(static_cast< long >(result));
30004 return resultobj;
30005 fail:
30006 return NULL;
30007 }
30008
30009
30010 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30011 PyObject *resultobj = 0;
30012 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30013 long arg2 ;
30014 long arg3 ;
30015 bool result;
30016 void *argp1 = 0 ;
30017 int res1 = 0 ;
30018 long val2 ;
30019 int ecode2 = 0 ;
30020 long val3 ;
30021 int ecode3 = 0 ;
30022 PyObject * obj0 = 0 ;
30023 PyObject * obj1 = 0 ;
30024 PyObject * obj2 = 0 ;
30025 char * kwnames[] = {
30026 (char *) "self",(char *) "item",(char *) "data", NULL
30027 };
30028
30029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30031 if (!SWIG_IsOK(res1)) {
30032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30033 }
30034 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30035 ecode2 = SWIG_AsVal_long(obj1, &val2);
30036 if (!SWIG_IsOK(ecode2)) {
30037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30038 }
30039 arg2 = static_cast< long >(val2);
30040 ecode3 = SWIG_AsVal_long(obj2, &val3);
30041 if (!SWIG_IsOK(ecode3)) {
30042 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30043 }
30044 arg3 = static_cast< long >(val3);
30045 {
30046 PyThreadState* __tstate = wxPyBeginAllowThreads();
30047 result = (bool)(arg1)->SetItemData(arg2,arg3);
30048 wxPyEndAllowThreads(__tstate);
30049 if (PyErr_Occurred()) SWIG_fail;
30050 }
30051 {
30052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30053 }
30054 return resultobj;
30055 fail:
30056 return NULL;
30057 }
30058
30059
30060 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30061 PyObject *resultobj = 0;
30062 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30063 long arg2 ;
30064 wxPoint result;
30065 void *argp1 = 0 ;
30066 int res1 = 0 ;
30067 long val2 ;
30068 int ecode2 = 0 ;
30069 PyObject * obj0 = 0 ;
30070 PyObject * obj1 = 0 ;
30071 char * kwnames[] = {
30072 (char *) "self",(char *) "item", NULL
30073 };
30074
30075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
30076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30077 if (!SWIG_IsOK(res1)) {
30078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30079 }
30080 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30081 ecode2 = SWIG_AsVal_long(obj1, &val2);
30082 if (!SWIG_IsOK(ecode2)) {
30083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30084 }
30085 arg2 = static_cast< long >(val2);
30086 {
30087 PyThreadState* __tstate = wxPyBeginAllowThreads();
30088 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
30089 wxPyEndAllowThreads(__tstate);
30090 if (PyErr_Occurred()) SWIG_fail;
30091 }
30092 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
30093 return resultobj;
30094 fail:
30095 return NULL;
30096 }
30097
30098
30099 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30100 PyObject *resultobj = 0;
30101 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30102 long arg2 ;
30103 int arg3 = (int) wxLIST_RECT_BOUNDS ;
30104 wxRect result;
30105 void *argp1 = 0 ;
30106 int res1 = 0 ;
30107 long val2 ;
30108 int ecode2 = 0 ;
30109 int val3 ;
30110 int ecode3 = 0 ;
30111 PyObject * obj0 = 0 ;
30112 PyObject * obj1 = 0 ;
30113 PyObject * obj2 = 0 ;
30114 char * kwnames[] = {
30115 (char *) "self",(char *) "item",(char *) "code", NULL
30116 };
30117
30118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30120 if (!SWIG_IsOK(res1)) {
30121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30122 }
30123 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30124 ecode2 = SWIG_AsVal_long(obj1, &val2);
30125 if (!SWIG_IsOK(ecode2)) {
30126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30127 }
30128 arg2 = static_cast< long >(val2);
30129 if (obj2) {
30130 ecode3 = SWIG_AsVal_int(obj2, &val3);
30131 if (!SWIG_IsOK(ecode3)) {
30132 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30133 }
30134 arg3 = static_cast< int >(val3);
30135 }
30136 {
30137 PyThreadState* __tstate = wxPyBeginAllowThreads();
30138 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
30139 wxPyEndAllowThreads(__tstate);
30140 if (PyErr_Occurred()) SWIG_fail;
30141 }
30142 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30143 return resultobj;
30144 fail:
30145 return NULL;
30146 }
30147
30148
30149 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30150 PyObject *resultobj = 0;
30151 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30152 long arg2 ;
30153 wxPoint *arg3 = 0 ;
30154 bool result;
30155 void *argp1 = 0 ;
30156 int res1 = 0 ;
30157 long val2 ;
30158 int ecode2 = 0 ;
30159 wxPoint temp3 ;
30160 PyObject * obj0 = 0 ;
30161 PyObject * obj1 = 0 ;
30162 PyObject * obj2 = 0 ;
30163 char * kwnames[] = {
30164 (char *) "self",(char *) "item",(char *) "pos", NULL
30165 };
30166
30167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30169 if (!SWIG_IsOK(res1)) {
30170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30171 }
30172 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30173 ecode2 = SWIG_AsVal_long(obj1, &val2);
30174 if (!SWIG_IsOK(ecode2)) {
30175 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30176 }
30177 arg2 = static_cast< long >(val2);
30178 {
30179 arg3 = &temp3;
30180 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30181 }
30182 {
30183 PyThreadState* __tstate = wxPyBeginAllowThreads();
30184 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
30185 wxPyEndAllowThreads(__tstate);
30186 if (PyErr_Occurred()) SWIG_fail;
30187 }
30188 {
30189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30190 }
30191 return resultobj;
30192 fail:
30193 return NULL;
30194 }
30195
30196
30197 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30198 PyObject *resultobj = 0;
30199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30200 int result;
30201 void *argp1 = 0 ;
30202 int res1 = 0 ;
30203 PyObject *swig_obj[1] ;
30204
30205 if (!args) SWIG_fail;
30206 swig_obj[0] = args;
30207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30208 if (!SWIG_IsOK(res1)) {
30209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30210 }
30211 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30212 {
30213 PyThreadState* __tstate = wxPyBeginAllowThreads();
30214 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
30215 wxPyEndAllowThreads(__tstate);
30216 if (PyErr_Occurred()) SWIG_fail;
30217 }
30218 resultobj = SWIG_From_int(static_cast< int >(result));
30219 return resultobj;
30220 fail:
30221 return NULL;
30222 }
30223
30224
30225 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30226 PyObject *resultobj = 0;
30227 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30228 int result;
30229 void *argp1 = 0 ;
30230 int res1 = 0 ;
30231 PyObject *swig_obj[1] ;
30232
30233 if (!args) SWIG_fail;
30234 swig_obj[0] = args;
30235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30236 if (!SWIG_IsOK(res1)) {
30237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30238 }
30239 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30240 {
30241 PyThreadState* __tstate = wxPyBeginAllowThreads();
30242 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30243 wxPyEndAllowThreads(__tstate);
30244 if (PyErr_Occurred()) SWIG_fail;
30245 }
30246 resultobj = SWIG_From_int(static_cast< int >(result));
30247 return resultobj;
30248 fail:
30249 return NULL;
30250 }
30251
30252
30253 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30254 PyObject *resultobj = 0;
30255 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30256 wxSize result;
30257 void *argp1 = 0 ;
30258 int res1 = 0 ;
30259 PyObject *swig_obj[1] ;
30260
30261 if (!args) SWIG_fail;
30262 swig_obj[0] = args;
30263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30264 if (!SWIG_IsOK(res1)) {
30265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30266 }
30267 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30268 {
30269 PyThreadState* __tstate = wxPyBeginAllowThreads();
30270 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30271 wxPyEndAllowThreads(__tstate);
30272 if (PyErr_Occurred()) SWIG_fail;
30273 }
30274 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30275 return resultobj;
30276 fail:
30277 return NULL;
30278 }
30279
30280
30281 SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30282 PyObject *resultobj = 0;
30283 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30284 int result;
30285 void *argp1 = 0 ;
30286 int res1 = 0 ;
30287 PyObject *swig_obj[1] ;
30288
30289 if (!args) SWIG_fail;
30290 swig_obj[0] = args;
30291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30292 if (!SWIG_IsOK(res1)) {
30293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30294 }
30295 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30296 {
30297 PyThreadState* __tstate = wxPyBeginAllowThreads();
30298 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30299 wxPyEndAllowThreads(__tstate);
30300 if (PyErr_Occurred()) SWIG_fail;
30301 }
30302 resultobj = SWIG_From_int(static_cast< int >(result));
30303 return resultobj;
30304 fail:
30305 return NULL;
30306 }
30307
30308
30309 SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30310 PyObject *resultobj = 0;
30311 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30312 wxColour result;
30313 void *argp1 = 0 ;
30314 int res1 = 0 ;
30315 PyObject *swig_obj[1] ;
30316
30317 if (!args) SWIG_fail;
30318 swig_obj[0] = args;
30319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30320 if (!SWIG_IsOK(res1)) {
30321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30322 }
30323 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30324 {
30325 PyThreadState* __tstate = wxPyBeginAllowThreads();
30326 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30327 wxPyEndAllowThreads(__tstate);
30328 if (PyErr_Occurred()) SWIG_fail;
30329 }
30330 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30331 return resultobj;
30332 fail:
30333 return NULL;
30334 }
30335
30336
30337 SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30338 PyObject *resultobj = 0;
30339 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30340 wxColour *arg2 = 0 ;
30341 void *argp1 = 0 ;
30342 int res1 = 0 ;
30343 wxColour temp2 ;
30344 PyObject * obj0 = 0 ;
30345 PyObject * obj1 = 0 ;
30346 char * kwnames[] = {
30347 (char *) "self",(char *) "col", NULL
30348 };
30349
30350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30352 if (!SWIG_IsOK(res1)) {
30353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30354 }
30355 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30356 {
30357 arg2 = &temp2;
30358 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30359 }
30360 {
30361 PyThreadState* __tstate = wxPyBeginAllowThreads();
30362 (arg1)->SetTextColour((wxColour const &)*arg2);
30363 wxPyEndAllowThreads(__tstate);
30364 if (PyErr_Occurred()) SWIG_fail;
30365 }
30366 resultobj = SWIG_Py_Void();
30367 return resultobj;
30368 fail:
30369 return NULL;
30370 }
30371
30372
30373 SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30374 PyObject *resultobj = 0;
30375 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30376 long result;
30377 void *argp1 = 0 ;
30378 int res1 = 0 ;
30379 PyObject *swig_obj[1] ;
30380
30381 if (!args) SWIG_fail;
30382 swig_obj[0] = args;
30383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30384 if (!SWIG_IsOK(res1)) {
30385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30386 }
30387 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30388 {
30389 PyThreadState* __tstate = wxPyBeginAllowThreads();
30390 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30391 wxPyEndAllowThreads(__tstate);
30392 if (PyErr_Occurred()) SWIG_fail;
30393 }
30394 resultobj = SWIG_From_long(static_cast< long >(result));
30395 return resultobj;
30396 fail:
30397 return NULL;
30398 }
30399
30400
30401 SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30402 PyObject *resultobj = 0;
30403 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30404 long arg2 ;
30405 bool arg3 = (bool) true ;
30406 void *argp1 = 0 ;
30407 int res1 = 0 ;
30408 long val2 ;
30409 int ecode2 = 0 ;
30410 bool val3 ;
30411 int ecode3 = 0 ;
30412 PyObject * obj0 = 0 ;
30413 PyObject * obj1 = 0 ;
30414 PyObject * obj2 = 0 ;
30415 char * kwnames[] = {
30416 (char *) "self",(char *) "style",(char *) "add", NULL
30417 };
30418
30419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30421 if (!SWIG_IsOK(res1)) {
30422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30423 }
30424 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30425 ecode2 = SWIG_AsVal_long(obj1, &val2);
30426 if (!SWIG_IsOK(ecode2)) {
30427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30428 }
30429 arg2 = static_cast< long >(val2);
30430 if (obj2) {
30431 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30432 if (!SWIG_IsOK(ecode3)) {
30433 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30434 }
30435 arg3 = static_cast< bool >(val3);
30436 }
30437 {
30438 PyThreadState* __tstate = wxPyBeginAllowThreads();
30439 (arg1)->SetSingleStyle(arg2,arg3);
30440 wxPyEndAllowThreads(__tstate);
30441 if (PyErr_Occurred()) SWIG_fail;
30442 }
30443 resultobj = SWIG_Py_Void();
30444 return resultobj;
30445 fail:
30446 return NULL;
30447 }
30448
30449
30450 SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30451 PyObject *resultobj = 0;
30452 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30453 long arg2 ;
30454 int arg3 = (int) wxLIST_NEXT_ALL ;
30455 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30456 long result;
30457 void *argp1 = 0 ;
30458 int res1 = 0 ;
30459 long val2 ;
30460 int ecode2 = 0 ;
30461 int val3 ;
30462 int ecode3 = 0 ;
30463 int val4 ;
30464 int ecode4 = 0 ;
30465 PyObject * obj0 = 0 ;
30466 PyObject * obj1 = 0 ;
30467 PyObject * obj2 = 0 ;
30468 PyObject * obj3 = 0 ;
30469 char * kwnames[] = {
30470 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30471 };
30472
30473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30475 if (!SWIG_IsOK(res1)) {
30476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30477 }
30478 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30479 ecode2 = SWIG_AsVal_long(obj1, &val2);
30480 if (!SWIG_IsOK(ecode2)) {
30481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30482 }
30483 arg2 = static_cast< long >(val2);
30484 if (obj2) {
30485 ecode3 = SWIG_AsVal_int(obj2, &val3);
30486 if (!SWIG_IsOK(ecode3)) {
30487 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30488 }
30489 arg3 = static_cast< int >(val3);
30490 }
30491 if (obj3) {
30492 ecode4 = SWIG_AsVal_int(obj3, &val4);
30493 if (!SWIG_IsOK(ecode4)) {
30494 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30495 }
30496 arg4 = static_cast< int >(val4);
30497 }
30498 {
30499 PyThreadState* __tstate = wxPyBeginAllowThreads();
30500 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30501 wxPyEndAllowThreads(__tstate);
30502 if (PyErr_Occurred()) SWIG_fail;
30503 }
30504 resultobj = SWIG_From_long(static_cast< long >(result));
30505 return resultobj;
30506 fail:
30507 return NULL;
30508 }
30509
30510
30511 SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30512 PyObject *resultobj = 0;
30513 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30514 int arg2 ;
30515 wxImageList *result = 0 ;
30516 void *argp1 = 0 ;
30517 int res1 = 0 ;
30518 int val2 ;
30519 int ecode2 = 0 ;
30520 PyObject * obj0 = 0 ;
30521 PyObject * obj1 = 0 ;
30522 char * kwnames[] = {
30523 (char *) "self",(char *) "which", NULL
30524 };
30525
30526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30528 if (!SWIG_IsOK(res1)) {
30529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30530 }
30531 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30532 ecode2 = SWIG_AsVal_int(obj1, &val2);
30533 if (!SWIG_IsOK(ecode2)) {
30534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30535 }
30536 arg2 = static_cast< int >(val2);
30537 {
30538 PyThreadState* __tstate = wxPyBeginAllowThreads();
30539 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30540 wxPyEndAllowThreads(__tstate);
30541 if (PyErr_Occurred()) SWIG_fail;
30542 }
30543 {
30544 resultobj = wxPyMake_wxObject(result, (bool)0);
30545 }
30546 return resultobj;
30547 fail:
30548 return NULL;
30549 }
30550
30551
30552 SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30553 PyObject *resultobj = 0;
30554 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30555 wxImageList *arg2 = (wxImageList *) 0 ;
30556 int arg3 ;
30557 void *argp1 = 0 ;
30558 int res1 = 0 ;
30559 void *argp2 = 0 ;
30560 int res2 = 0 ;
30561 int val3 ;
30562 int ecode3 = 0 ;
30563 PyObject * obj0 = 0 ;
30564 PyObject * obj1 = 0 ;
30565 PyObject * obj2 = 0 ;
30566 char * kwnames[] = {
30567 (char *) "self",(char *) "imageList",(char *) "which", NULL
30568 };
30569
30570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30572 if (!SWIG_IsOK(res1)) {
30573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30574 }
30575 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30577 if (!SWIG_IsOK(res2)) {
30578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30579 }
30580 arg2 = reinterpret_cast< wxImageList * >(argp2);
30581 ecode3 = SWIG_AsVal_int(obj2, &val3);
30582 if (!SWIG_IsOK(ecode3)) {
30583 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30584 }
30585 arg3 = static_cast< int >(val3);
30586 {
30587 PyThreadState* __tstate = wxPyBeginAllowThreads();
30588 (arg1)->SetImageList(arg2,arg3);
30589 wxPyEndAllowThreads(__tstate);
30590 if (PyErr_Occurred()) SWIG_fail;
30591 }
30592 resultobj = SWIG_Py_Void();
30593 return resultobj;
30594 fail:
30595 return NULL;
30596 }
30597
30598
30599 SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30600 PyObject *resultobj = 0;
30601 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30602 wxImageList *arg2 = (wxImageList *) 0 ;
30603 int arg3 ;
30604 void *argp1 = 0 ;
30605 int res1 = 0 ;
30606 int res2 = 0 ;
30607 int val3 ;
30608 int ecode3 = 0 ;
30609 PyObject * obj0 = 0 ;
30610 PyObject * obj1 = 0 ;
30611 PyObject * obj2 = 0 ;
30612 char * kwnames[] = {
30613 (char *) "self",(char *) "imageList",(char *) "which", NULL
30614 };
30615
30616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30618 if (!SWIG_IsOK(res1)) {
30619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30620 }
30621 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30622 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30623 if (!SWIG_IsOK(res2)) {
30624 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30625 }
30626 ecode3 = SWIG_AsVal_int(obj2, &val3);
30627 if (!SWIG_IsOK(ecode3)) {
30628 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30629 }
30630 arg3 = static_cast< int >(val3);
30631 {
30632 PyThreadState* __tstate = wxPyBeginAllowThreads();
30633 (arg1)->AssignImageList(arg2,arg3);
30634 wxPyEndAllowThreads(__tstate);
30635 if (PyErr_Occurred()) SWIG_fail;
30636 }
30637 resultobj = SWIG_Py_Void();
30638 return resultobj;
30639 fail:
30640 return NULL;
30641 }
30642
30643
30644 SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30645 PyObject *resultobj = 0;
30646 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30647 bool result;
30648 void *argp1 = 0 ;
30649 int res1 = 0 ;
30650 PyObject *swig_obj[1] ;
30651
30652 if (!args) SWIG_fail;
30653 swig_obj[0] = args;
30654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30655 if (!SWIG_IsOK(res1)) {
30656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30657 }
30658 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30659 {
30660 PyThreadState* __tstate = wxPyBeginAllowThreads();
30661 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30662 wxPyEndAllowThreads(__tstate);
30663 if (PyErr_Occurred()) SWIG_fail;
30664 }
30665 {
30666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30667 }
30668 return resultobj;
30669 fail:
30670 return NULL;
30671 }
30672
30673
30674 SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30675 PyObject *resultobj = 0;
30676 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30677 bool result;
30678 void *argp1 = 0 ;
30679 int res1 = 0 ;
30680 PyObject *swig_obj[1] ;
30681
30682 if (!args) SWIG_fail;
30683 swig_obj[0] = args;
30684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30685 if (!SWIG_IsOK(res1)) {
30686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30687 }
30688 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30689 {
30690 PyThreadState* __tstate = wxPyBeginAllowThreads();
30691 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30692 wxPyEndAllowThreads(__tstate);
30693 if (PyErr_Occurred()) SWIG_fail;
30694 }
30695 {
30696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30697 }
30698 return resultobj;
30699 fail:
30700 return NULL;
30701 }
30702
30703
30704 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30705 PyObject *resultobj = 0;
30706 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30707 long arg2 ;
30708 void *argp1 = 0 ;
30709 int res1 = 0 ;
30710 long val2 ;
30711 int ecode2 = 0 ;
30712 PyObject * obj0 = 0 ;
30713 PyObject * obj1 = 0 ;
30714 char * kwnames[] = {
30715 (char *) "self",(char *) "item", NULL
30716 };
30717
30718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30720 if (!SWIG_IsOK(res1)) {
30721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30722 }
30723 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30724 ecode2 = SWIG_AsVal_long(obj1, &val2);
30725 if (!SWIG_IsOK(ecode2)) {
30726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30727 }
30728 arg2 = static_cast< long >(val2);
30729 {
30730 PyThreadState* __tstate = wxPyBeginAllowThreads();
30731 (arg1)->RefreshItem(arg2);
30732 wxPyEndAllowThreads(__tstate);
30733 if (PyErr_Occurred()) SWIG_fail;
30734 }
30735 resultobj = SWIG_Py_Void();
30736 return resultobj;
30737 fail:
30738 return NULL;
30739 }
30740
30741
30742 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30743 PyObject *resultobj = 0;
30744 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30745 long arg2 ;
30746 long arg3 ;
30747 void *argp1 = 0 ;
30748 int res1 = 0 ;
30749 long val2 ;
30750 int ecode2 = 0 ;
30751 long val3 ;
30752 int ecode3 = 0 ;
30753 PyObject * obj0 = 0 ;
30754 PyObject * obj1 = 0 ;
30755 PyObject * obj2 = 0 ;
30756 char * kwnames[] = {
30757 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30758 };
30759
30760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30762 if (!SWIG_IsOK(res1)) {
30763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30764 }
30765 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30766 ecode2 = SWIG_AsVal_long(obj1, &val2);
30767 if (!SWIG_IsOK(ecode2)) {
30768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30769 }
30770 arg2 = static_cast< long >(val2);
30771 ecode3 = SWIG_AsVal_long(obj2, &val3);
30772 if (!SWIG_IsOK(ecode3)) {
30773 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30774 }
30775 arg3 = static_cast< long >(val3);
30776 {
30777 PyThreadState* __tstate = wxPyBeginAllowThreads();
30778 (arg1)->RefreshItems(arg2,arg3);
30779 wxPyEndAllowThreads(__tstate);
30780 if (PyErr_Occurred()) SWIG_fail;
30781 }
30782 resultobj = SWIG_Py_Void();
30783 return resultobj;
30784 fail:
30785 return NULL;
30786 }
30787
30788
30789 SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30790 PyObject *resultobj = 0;
30791 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30792 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30793 bool result;
30794 void *argp1 = 0 ;
30795 int res1 = 0 ;
30796 int val2 ;
30797 int ecode2 = 0 ;
30798 PyObject * obj0 = 0 ;
30799 PyObject * obj1 = 0 ;
30800 char * kwnames[] = {
30801 (char *) "self",(char *) "flag", NULL
30802 };
30803
30804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30806 if (!SWIG_IsOK(res1)) {
30807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30808 }
30809 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30810 if (obj1) {
30811 ecode2 = SWIG_AsVal_int(obj1, &val2);
30812 if (!SWIG_IsOK(ecode2)) {
30813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30814 }
30815 arg2 = static_cast< int >(val2);
30816 }
30817 {
30818 PyThreadState* __tstate = wxPyBeginAllowThreads();
30819 result = (bool)(arg1)->Arrange(arg2);
30820 wxPyEndAllowThreads(__tstate);
30821 if (PyErr_Occurred()) SWIG_fail;
30822 }
30823 {
30824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30825 }
30826 return resultobj;
30827 fail:
30828 return NULL;
30829 }
30830
30831
30832 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30833 PyObject *resultobj = 0;
30834 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30835 long arg2 ;
30836 bool result;
30837 void *argp1 = 0 ;
30838 int res1 = 0 ;
30839 long val2 ;
30840 int ecode2 = 0 ;
30841 PyObject * obj0 = 0 ;
30842 PyObject * obj1 = 0 ;
30843 char * kwnames[] = {
30844 (char *) "self",(char *) "item", NULL
30845 };
30846
30847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30849 if (!SWIG_IsOK(res1)) {
30850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30851 }
30852 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30853 ecode2 = SWIG_AsVal_long(obj1, &val2);
30854 if (!SWIG_IsOK(ecode2)) {
30855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30856 }
30857 arg2 = static_cast< long >(val2);
30858 {
30859 PyThreadState* __tstate = wxPyBeginAllowThreads();
30860 result = (bool)(arg1)->DeleteItem(arg2);
30861 wxPyEndAllowThreads(__tstate);
30862 if (PyErr_Occurred()) SWIG_fail;
30863 }
30864 {
30865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30866 }
30867 return resultobj;
30868 fail:
30869 return NULL;
30870 }
30871
30872
30873 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30874 PyObject *resultobj = 0;
30875 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30876 bool result;
30877 void *argp1 = 0 ;
30878 int res1 = 0 ;
30879 PyObject *swig_obj[1] ;
30880
30881 if (!args) SWIG_fail;
30882 swig_obj[0] = args;
30883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30884 if (!SWIG_IsOK(res1)) {
30885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30886 }
30887 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30888 {
30889 PyThreadState* __tstate = wxPyBeginAllowThreads();
30890 result = (bool)(arg1)->DeleteAllItems();
30891 wxPyEndAllowThreads(__tstate);
30892 if (PyErr_Occurred()) SWIG_fail;
30893 }
30894 {
30895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30896 }
30897 return resultobj;
30898 fail:
30899 return NULL;
30900 }
30901
30902
30903 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30904 PyObject *resultobj = 0;
30905 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30906 int arg2 ;
30907 bool result;
30908 void *argp1 = 0 ;
30909 int res1 = 0 ;
30910 int val2 ;
30911 int ecode2 = 0 ;
30912 PyObject * obj0 = 0 ;
30913 PyObject * obj1 = 0 ;
30914 char * kwnames[] = {
30915 (char *) "self",(char *) "col", NULL
30916 };
30917
30918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30920 if (!SWIG_IsOK(res1)) {
30921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30922 }
30923 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30924 ecode2 = SWIG_AsVal_int(obj1, &val2);
30925 if (!SWIG_IsOK(ecode2)) {
30926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30927 }
30928 arg2 = static_cast< int >(val2);
30929 {
30930 PyThreadState* __tstate = wxPyBeginAllowThreads();
30931 result = (bool)(arg1)->DeleteColumn(arg2);
30932 wxPyEndAllowThreads(__tstate);
30933 if (PyErr_Occurred()) SWIG_fail;
30934 }
30935 {
30936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30937 }
30938 return resultobj;
30939 fail:
30940 return NULL;
30941 }
30942
30943
30944 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30945 PyObject *resultobj = 0;
30946 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30947 bool result;
30948 void *argp1 = 0 ;
30949 int res1 = 0 ;
30950 PyObject *swig_obj[1] ;
30951
30952 if (!args) SWIG_fail;
30953 swig_obj[0] = args;
30954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30955 if (!SWIG_IsOK(res1)) {
30956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30957 }
30958 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30959 {
30960 PyThreadState* __tstate = wxPyBeginAllowThreads();
30961 result = (bool)(arg1)->DeleteAllColumns();
30962 wxPyEndAllowThreads(__tstate);
30963 if (PyErr_Occurred()) SWIG_fail;
30964 }
30965 {
30966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30967 }
30968 return resultobj;
30969 fail:
30970 return NULL;
30971 }
30972
30973
30974 SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30975 PyObject *resultobj = 0;
30976 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30977 void *argp1 = 0 ;
30978 int res1 = 0 ;
30979 PyObject *swig_obj[1] ;
30980
30981 if (!args) SWIG_fail;
30982 swig_obj[0] = args;
30983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30984 if (!SWIG_IsOK(res1)) {
30985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30986 }
30987 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30988 {
30989 PyThreadState* __tstate = wxPyBeginAllowThreads();
30990 (arg1)->ClearAll();
30991 wxPyEndAllowThreads(__tstate);
30992 if (PyErr_Occurred()) SWIG_fail;
30993 }
30994 resultobj = SWIG_Py_Void();
30995 return resultobj;
30996 fail:
30997 return NULL;
30998 }
30999
31000
31001 SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31002 PyObject *resultobj = 0;
31003 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31004 long arg2 ;
31005 wxTextCtrl *result = 0 ;
31006 void *argp1 = 0 ;
31007 int res1 = 0 ;
31008 long val2 ;
31009 int ecode2 = 0 ;
31010 PyObject * obj0 = 0 ;
31011 PyObject * obj1 = 0 ;
31012 char * kwnames[] = {
31013 (char *) "self",(char *) "item", NULL
31014 };
31015
31016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
31017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31018 if (!SWIG_IsOK(res1)) {
31019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31020 }
31021 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31022 ecode2 = SWIG_AsVal_long(obj1, &val2);
31023 if (!SWIG_IsOK(ecode2)) {
31024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31025 }
31026 arg2 = static_cast< long >(val2);
31027 {
31028 PyThreadState* __tstate = wxPyBeginAllowThreads();
31029 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
31030 wxPyEndAllowThreads(__tstate);
31031 if (PyErr_Occurred()) SWIG_fail;
31032 }
31033 {
31034 resultobj = wxPyMake_wxObject(result, 0);
31035 }
31036 return resultobj;
31037 fail:
31038 return NULL;
31039 }
31040
31041
31042 SWIGINTERN PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31043 PyObject *resultobj = 0;
31044 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31045 bool arg2 ;
31046 bool result;
31047 void *argp1 = 0 ;
31048 int res1 = 0 ;
31049 bool val2 ;
31050 int ecode2 = 0 ;
31051 PyObject * obj0 = 0 ;
31052 PyObject * obj1 = 0 ;
31053 char * kwnames[] = {
31054 (char *) "self",(char *) "cancel", NULL
31055 };
31056
31057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
31058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31059 if (!SWIG_IsOK(res1)) {
31060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31061 }
31062 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31063 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31064 if (!SWIG_IsOK(ecode2)) {
31065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31066 }
31067 arg2 = static_cast< bool >(val2);
31068 {
31069 PyThreadState* __tstate = wxPyBeginAllowThreads();
31070 result = (bool)(arg1)->EndEditLabel(arg2);
31071 wxPyEndAllowThreads(__tstate);
31072 if (PyErr_Occurred()) SWIG_fail;
31073 }
31074 {
31075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31076 }
31077 return resultobj;
31078 fail:
31079 return NULL;
31080 }
31081
31082
31083 SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31084 PyObject *resultobj = 0;
31085 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31086 long arg2 ;
31087 bool result;
31088 void *argp1 = 0 ;
31089 int res1 = 0 ;
31090 long val2 ;
31091 int ecode2 = 0 ;
31092 PyObject * obj0 = 0 ;
31093 PyObject * obj1 = 0 ;
31094 char * kwnames[] = {
31095 (char *) "self",(char *) "item", NULL
31096 };
31097
31098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
31099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31100 if (!SWIG_IsOK(res1)) {
31101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31102 }
31103 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31104 ecode2 = SWIG_AsVal_long(obj1, &val2);
31105 if (!SWIG_IsOK(ecode2)) {
31106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31107 }
31108 arg2 = static_cast< long >(val2);
31109 {
31110 PyThreadState* __tstate = wxPyBeginAllowThreads();
31111 result = (bool)(arg1)->EnsureVisible(arg2);
31112 wxPyEndAllowThreads(__tstate);
31113 if (PyErr_Occurred()) SWIG_fail;
31114 }
31115 {
31116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31117 }
31118 return resultobj;
31119 fail:
31120 return NULL;
31121 }
31122
31123
31124 SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31125 PyObject *resultobj = 0;
31126 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31127 long arg2 ;
31128 wxString *arg3 = 0 ;
31129 bool arg4 = (bool) false ;
31130 long result;
31131 void *argp1 = 0 ;
31132 int res1 = 0 ;
31133 long val2 ;
31134 int ecode2 = 0 ;
31135 bool temp3 = false ;
31136 bool val4 ;
31137 int ecode4 = 0 ;
31138 PyObject * obj0 = 0 ;
31139 PyObject * obj1 = 0 ;
31140 PyObject * obj2 = 0 ;
31141 PyObject * obj3 = 0 ;
31142 char * kwnames[] = {
31143 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31144 };
31145
31146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31148 if (!SWIG_IsOK(res1)) {
31149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31150 }
31151 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31152 ecode2 = SWIG_AsVal_long(obj1, &val2);
31153 if (!SWIG_IsOK(ecode2)) {
31154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31155 }
31156 arg2 = static_cast< long >(val2);
31157 {
31158 arg3 = wxString_in_helper(obj2);
31159 if (arg3 == NULL) SWIG_fail;
31160 temp3 = true;
31161 }
31162 if (obj3) {
31163 ecode4 = SWIG_AsVal_bool(obj3, &val4);
31164 if (!SWIG_IsOK(ecode4)) {
31165 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31166 }
31167 arg4 = static_cast< bool >(val4);
31168 }
31169 {
31170 PyThreadState* __tstate = wxPyBeginAllowThreads();
31171 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
31172 wxPyEndAllowThreads(__tstate);
31173 if (PyErr_Occurred()) SWIG_fail;
31174 }
31175 resultobj = SWIG_From_long(static_cast< long >(result));
31176 {
31177 if (temp3)
31178 delete arg3;
31179 }
31180 return resultobj;
31181 fail:
31182 {
31183 if (temp3)
31184 delete arg3;
31185 }
31186 return NULL;
31187 }
31188
31189
31190 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31191 PyObject *resultobj = 0;
31192 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31193 long arg2 ;
31194 long arg3 ;
31195 long result;
31196 void *argp1 = 0 ;
31197 int res1 = 0 ;
31198 long val2 ;
31199 int ecode2 = 0 ;
31200 long val3 ;
31201 int ecode3 = 0 ;
31202 PyObject * obj0 = 0 ;
31203 PyObject * obj1 = 0 ;
31204 PyObject * obj2 = 0 ;
31205 char * kwnames[] = {
31206 (char *) "self",(char *) "start",(char *) "data", NULL
31207 };
31208
31209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31211 if (!SWIG_IsOK(res1)) {
31212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31213 }
31214 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31215 ecode2 = SWIG_AsVal_long(obj1, &val2);
31216 if (!SWIG_IsOK(ecode2)) {
31217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31218 }
31219 arg2 = static_cast< long >(val2);
31220 ecode3 = SWIG_AsVal_long(obj2, &val3);
31221 if (!SWIG_IsOK(ecode3)) {
31222 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31223 }
31224 arg3 = static_cast< long >(val3);
31225 {
31226 PyThreadState* __tstate = wxPyBeginAllowThreads();
31227 result = (long)(arg1)->FindItem(arg2,arg3);
31228 wxPyEndAllowThreads(__tstate);
31229 if (PyErr_Occurred()) SWIG_fail;
31230 }
31231 resultobj = SWIG_From_long(static_cast< long >(result));
31232 return resultobj;
31233 fail:
31234 return NULL;
31235 }
31236
31237
31238 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31239 PyObject *resultobj = 0;
31240 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31241 long arg2 ;
31242 wxPoint *arg3 = 0 ;
31243 int arg4 ;
31244 long result;
31245 void *argp1 = 0 ;
31246 int res1 = 0 ;
31247 long val2 ;
31248 int ecode2 = 0 ;
31249 wxPoint temp3 ;
31250 int val4 ;
31251 int ecode4 = 0 ;
31252 PyObject * obj0 = 0 ;
31253 PyObject * obj1 = 0 ;
31254 PyObject * obj2 = 0 ;
31255 PyObject * obj3 = 0 ;
31256 char * kwnames[] = {
31257 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31258 };
31259
31260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31262 if (!SWIG_IsOK(res1)) {
31263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31264 }
31265 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31266 ecode2 = SWIG_AsVal_long(obj1, &val2);
31267 if (!SWIG_IsOK(ecode2)) {
31268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31269 }
31270 arg2 = static_cast< long >(val2);
31271 {
31272 arg3 = &temp3;
31273 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31274 }
31275 ecode4 = SWIG_AsVal_int(obj3, &val4);
31276 if (!SWIG_IsOK(ecode4)) {
31277 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31278 }
31279 arg4 = static_cast< int >(val4);
31280 {
31281 PyThreadState* __tstate = wxPyBeginAllowThreads();
31282 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31283 wxPyEndAllowThreads(__tstate);
31284 if (PyErr_Occurred()) SWIG_fail;
31285 }
31286 resultobj = SWIG_From_long(static_cast< long >(result));
31287 return resultobj;
31288 fail:
31289 return NULL;
31290 }
31291
31292
31293 SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31294 PyObject *resultobj = 0;
31295 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31296 wxPoint *arg2 = 0 ;
31297 int *arg3 = 0 ;
31298 long result;
31299 void *argp1 = 0 ;
31300 int res1 = 0 ;
31301 wxPoint temp2 ;
31302 int temp3 ;
31303 int res3 = SWIG_TMPOBJ ;
31304 PyObject * obj0 = 0 ;
31305 PyObject * obj1 = 0 ;
31306 char * kwnames[] = {
31307 (char *) "self",(char *) "point", NULL
31308 };
31309
31310 arg3 = &temp3;
31311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31313 if (!SWIG_IsOK(res1)) {
31314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31315 }
31316 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31317 {
31318 arg2 = &temp2;
31319 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31320 }
31321 {
31322 PyThreadState* __tstate = wxPyBeginAllowThreads();
31323 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31324 wxPyEndAllowThreads(__tstate);
31325 if (PyErr_Occurred()) SWIG_fail;
31326 }
31327 resultobj = SWIG_From_long(static_cast< long >(result));
31328 if (SWIG_IsTmpObj(res3)) {
31329 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31330 } else {
31331 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31332 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31333 }
31334 return resultobj;
31335 fail:
31336 return NULL;
31337 }
31338
31339
31340 SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31341 PyObject *resultobj = 0;
31342 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31343 wxPoint *arg2 = 0 ;
31344 int *arg3 = 0 ;
31345 long *arg4 = (long *) 0 ;
31346 long result;
31347 void *argp1 = 0 ;
31348 int res1 = 0 ;
31349 wxPoint temp2 ;
31350 int temp3 ;
31351 int res3 = SWIG_TMPOBJ ;
31352 long temp4 ;
31353 int res4 = SWIG_TMPOBJ ;
31354 PyObject * obj0 = 0 ;
31355 PyObject * obj1 = 0 ;
31356 char * kwnames[] = {
31357 (char *) "self",(char *) "point", NULL
31358 };
31359
31360 arg3 = &temp3;
31361 arg4 = &temp4;
31362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31364 if (!SWIG_IsOK(res1)) {
31365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31366 }
31367 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31368 {
31369 arg2 = &temp2;
31370 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31371 }
31372 {
31373 PyThreadState* __tstate = wxPyBeginAllowThreads();
31374 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31375 wxPyEndAllowThreads(__tstate);
31376 if (PyErr_Occurred()) SWIG_fail;
31377 }
31378 resultobj = SWIG_From_long(static_cast< long >(result));
31379 if (SWIG_IsTmpObj(res3)) {
31380 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31381 } else {
31382 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31383 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31384 }
31385 if (SWIG_IsTmpObj(res4)) {
31386 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31387 } else {
31388 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31389 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31390 }
31391 return resultobj;
31392 fail:
31393 return NULL;
31394 }
31395
31396
31397 SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31398 PyObject *resultobj = 0;
31399 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31400 wxListItem *arg2 = 0 ;
31401 long result;
31402 void *argp1 = 0 ;
31403 int res1 = 0 ;
31404 void *argp2 = 0 ;
31405 int res2 = 0 ;
31406 PyObject * obj0 = 0 ;
31407 PyObject * obj1 = 0 ;
31408 char * kwnames[] = {
31409 (char *) "self",(char *) "info", NULL
31410 };
31411
31412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31414 if (!SWIG_IsOK(res1)) {
31415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31416 }
31417 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31418 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31419 if (!SWIG_IsOK(res2)) {
31420 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31421 }
31422 if (!argp2) {
31423 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31424 }
31425 arg2 = reinterpret_cast< wxListItem * >(argp2);
31426 {
31427 PyThreadState* __tstate = wxPyBeginAllowThreads();
31428 result = (long)(arg1)->InsertItem(*arg2);
31429 wxPyEndAllowThreads(__tstate);
31430 if (PyErr_Occurred()) SWIG_fail;
31431 }
31432 resultobj = SWIG_From_long(static_cast< long >(result));
31433 return resultobj;
31434 fail:
31435 return NULL;
31436 }
31437
31438
31439 SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31440 PyObject *resultobj = 0;
31441 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31442 long arg2 ;
31443 wxString *arg3 = 0 ;
31444 int arg4 = (int) -1 ;
31445 long result;
31446 void *argp1 = 0 ;
31447 int res1 = 0 ;
31448 long val2 ;
31449 int ecode2 = 0 ;
31450 bool temp3 = false ;
31451 int val4 ;
31452 int ecode4 = 0 ;
31453 PyObject * obj0 = 0 ;
31454 PyObject * obj1 = 0 ;
31455 PyObject * obj2 = 0 ;
31456 PyObject * obj3 = 0 ;
31457 char * kwnames[] = {
31458 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31459 };
31460
31461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31463 if (!SWIG_IsOK(res1)) {
31464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31465 }
31466 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31467 ecode2 = SWIG_AsVal_long(obj1, &val2);
31468 if (!SWIG_IsOK(ecode2)) {
31469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31470 }
31471 arg2 = static_cast< long >(val2);
31472 {
31473 arg3 = wxString_in_helper(obj2);
31474 if (arg3 == NULL) SWIG_fail;
31475 temp3 = true;
31476 }
31477 if (obj3) {
31478 ecode4 = SWIG_AsVal_int(obj3, &val4);
31479 if (!SWIG_IsOK(ecode4)) {
31480 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31481 }
31482 arg4 = static_cast< int >(val4);
31483 }
31484 {
31485 PyThreadState* __tstate = wxPyBeginAllowThreads();
31486 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31487 wxPyEndAllowThreads(__tstate);
31488 if (PyErr_Occurred()) SWIG_fail;
31489 }
31490 resultobj = SWIG_From_long(static_cast< long >(result));
31491 {
31492 if (temp3)
31493 delete arg3;
31494 }
31495 return resultobj;
31496 fail:
31497 {
31498 if (temp3)
31499 delete arg3;
31500 }
31501 return NULL;
31502 }
31503
31504
31505 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31506 PyObject *resultobj = 0;
31507 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31508 long arg2 ;
31509 int arg3 ;
31510 long result;
31511 void *argp1 = 0 ;
31512 int res1 = 0 ;
31513 long val2 ;
31514 int ecode2 = 0 ;
31515 int val3 ;
31516 int ecode3 = 0 ;
31517 PyObject * obj0 = 0 ;
31518 PyObject * obj1 = 0 ;
31519 PyObject * obj2 = 0 ;
31520 char * kwnames[] = {
31521 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31522 };
31523
31524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31526 if (!SWIG_IsOK(res1)) {
31527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31528 }
31529 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31530 ecode2 = SWIG_AsVal_long(obj1, &val2);
31531 if (!SWIG_IsOK(ecode2)) {
31532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31533 }
31534 arg2 = static_cast< long >(val2);
31535 ecode3 = SWIG_AsVal_int(obj2, &val3);
31536 if (!SWIG_IsOK(ecode3)) {
31537 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31538 }
31539 arg3 = static_cast< int >(val3);
31540 {
31541 PyThreadState* __tstate = wxPyBeginAllowThreads();
31542 result = (long)(arg1)->InsertItem(arg2,arg3);
31543 wxPyEndAllowThreads(__tstate);
31544 if (PyErr_Occurred()) SWIG_fail;
31545 }
31546 resultobj = SWIG_From_long(static_cast< long >(result));
31547 return resultobj;
31548 fail:
31549 return NULL;
31550 }
31551
31552
31553 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31554 PyObject *resultobj = 0;
31555 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31556 long arg2 ;
31557 wxString *arg3 = 0 ;
31558 int arg4 ;
31559 long result;
31560 void *argp1 = 0 ;
31561 int res1 = 0 ;
31562 long val2 ;
31563 int ecode2 = 0 ;
31564 bool temp3 = false ;
31565 int val4 ;
31566 int ecode4 = 0 ;
31567 PyObject * obj0 = 0 ;
31568 PyObject * obj1 = 0 ;
31569 PyObject * obj2 = 0 ;
31570 PyObject * obj3 = 0 ;
31571 char * kwnames[] = {
31572 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31573 };
31574
31575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31577 if (!SWIG_IsOK(res1)) {
31578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31579 }
31580 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31581 ecode2 = SWIG_AsVal_long(obj1, &val2);
31582 if (!SWIG_IsOK(ecode2)) {
31583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31584 }
31585 arg2 = static_cast< long >(val2);
31586 {
31587 arg3 = wxString_in_helper(obj2);
31588 if (arg3 == NULL) SWIG_fail;
31589 temp3 = true;
31590 }
31591 ecode4 = SWIG_AsVal_int(obj3, &val4);
31592 if (!SWIG_IsOK(ecode4)) {
31593 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31594 }
31595 arg4 = static_cast< int >(val4);
31596 {
31597 PyThreadState* __tstate = wxPyBeginAllowThreads();
31598 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31599 wxPyEndAllowThreads(__tstate);
31600 if (PyErr_Occurred()) SWIG_fail;
31601 }
31602 resultobj = SWIG_From_long(static_cast< long >(result));
31603 {
31604 if (temp3)
31605 delete arg3;
31606 }
31607 return resultobj;
31608 fail:
31609 {
31610 if (temp3)
31611 delete arg3;
31612 }
31613 return NULL;
31614 }
31615
31616
31617 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31618 PyObject *resultobj = 0;
31619 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31620 long arg2 ;
31621 wxListItem *arg3 = 0 ;
31622 long result;
31623 void *argp1 = 0 ;
31624 int res1 = 0 ;
31625 long val2 ;
31626 int ecode2 = 0 ;
31627 void *argp3 = 0 ;
31628 int res3 = 0 ;
31629 PyObject * obj0 = 0 ;
31630 PyObject * obj1 = 0 ;
31631 PyObject * obj2 = 0 ;
31632 char * kwnames[] = {
31633 (char *) "self",(char *) "col",(char *) "info", NULL
31634 };
31635
31636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31638 if (!SWIG_IsOK(res1)) {
31639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31640 }
31641 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31642 ecode2 = SWIG_AsVal_long(obj1, &val2);
31643 if (!SWIG_IsOK(ecode2)) {
31644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31645 }
31646 arg2 = static_cast< long >(val2);
31647 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31648 if (!SWIG_IsOK(res3)) {
31649 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31650 }
31651 if (!argp3) {
31652 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31653 }
31654 arg3 = reinterpret_cast< wxListItem * >(argp3);
31655 {
31656 PyThreadState* __tstate = wxPyBeginAllowThreads();
31657 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31658 wxPyEndAllowThreads(__tstate);
31659 if (PyErr_Occurred()) SWIG_fail;
31660 }
31661 resultobj = SWIG_From_long(static_cast< long >(result));
31662 return resultobj;
31663 fail:
31664 return NULL;
31665 }
31666
31667
31668 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31669 PyObject *resultobj = 0;
31670 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31671 long arg2 ;
31672 wxString *arg3 = 0 ;
31673 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31674 int arg5 = (int) -1 ;
31675 long result;
31676 void *argp1 = 0 ;
31677 int res1 = 0 ;
31678 long val2 ;
31679 int ecode2 = 0 ;
31680 bool temp3 = false ;
31681 int val4 ;
31682 int ecode4 = 0 ;
31683 int val5 ;
31684 int ecode5 = 0 ;
31685 PyObject * obj0 = 0 ;
31686 PyObject * obj1 = 0 ;
31687 PyObject * obj2 = 0 ;
31688 PyObject * obj3 = 0 ;
31689 PyObject * obj4 = 0 ;
31690 char * kwnames[] = {
31691 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31692 };
31693
31694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31696 if (!SWIG_IsOK(res1)) {
31697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31698 }
31699 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31700 ecode2 = SWIG_AsVal_long(obj1, &val2);
31701 if (!SWIG_IsOK(ecode2)) {
31702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31703 }
31704 arg2 = static_cast< long >(val2);
31705 {
31706 arg3 = wxString_in_helper(obj2);
31707 if (arg3 == NULL) SWIG_fail;
31708 temp3 = true;
31709 }
31710 if (obj3) {
31711 ecode4 = SWIG_AsVal_int(obj3, &val4);
31712 if (!SWIG_IsOK(ecode4)) {
31713 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31714 }
31715 arg4 = static_cast< int >(val4);
31716 }
31717 if (obj4) {
31718 ecode5 = SWIG_AsVal_int(obj4, &val5);
31719 if (!SWIG_IsOK(ecode5)) {
31720 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31721 }
31722 arg5 = static_cast< int >(val5);
31723 }
31724 {
31725 PyThreadState* __tstate = wxPyBeginAllowThreads();
31726 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31727 wxPyEndAllowThreads(__tstate);
31728 if (PyErr_Occurred()) SWIG_fail;
31729 }
31730 resultobj = SWIG_From_long(static_cast< long >(result));
31731 {
31732 if (temp3)
31733 delete arg3;
31734 }
31735 return resultobj;
31736 fail:
31737 {
31738 if (temp3)
31739 delete arg3;
31740 }
31741 return NULL;
31742 }
31743
31744
31745 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31746 PyObject *resultobj = 0;
31747 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31748 long arg2 ;
31749 void *argp1 = 0 ;
31750 int res1 = 0 ;
31751 long val2 ;
31752 int ecode2 = 0 ;
31753 PyObject * obj0 = 0 ;
31754 PyObject * obj1 = 0 ;
31755 char * kwnames[] = {
31756 (char *) "self",(char *) "count", NULL
31757 };
31758
31759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31761 if (!SWIG_IsOK(res1)) {
31762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31763 }
31764 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31765 ecode2 = SWIG_AsVal_long(obj1, &val2);
31766 if (!SWIG_IsOK(ecode2)) {
31767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31768 }
31769 arg2 = static_cast< long >(val2);
31770 {
31771 PyThreadState* __tstate = wxPyBeginAllowThreads();
31772 (arg1)->SetItemCount(arg2);
31773 wxPyEndAllowThreads(__tstate);
31774 if (PyErr_Occurred()) SWIG_fail;
31775 }
31776 resultobj = SWIG_Py_Void();
31777 return resultobj;
31778 fail:
31779 return NULL;
31780 }
31781
31782
31783 SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31784 PyObject *resultobj = 0;
31785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31786 int arg2 ;
31787 int arg3 ;
31788 bool result;
31789 void *argp1 = 0 ;
31790 int res1 = 0 ;
31791 int val2 ;
31792 int ecode2 = 0 ;
31793 int val3 ;
31794 int ecode3 = 0 ;
31795 PyObject * obj0 = 0 ;
31796 PyObject * obj1 = 0 ;
31797 PyObject * obj2 = 0 ;
31798 char * kwnames[] = {
31799 (char *) "self",(char *) "dx",(char *) "dy", NULL
31800 };
31801
31802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31804 if (!SWIG_IsOK(res1)) {
31805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31806 }
31807 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31808 ecode2 = SWIG_AsVal_int(obj1, &val2);
31809 if (!SWIG_IsOK(ecode2)) {
31810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31811 }
31812 arg2 = static_cast< int >(val2);
31813 ecode3 = SWIG_AsVal_int(obj2, &val3);
31814 if (!SWIG_IsOK(ecode3)) {
31815 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31816 }
31817 arg3 = static_cast< int >(val3);
31818 {
31819 PyThreadState* __tstate = wxPyBeginAllowThreads();
31820 result = (bool)(arg1)->ScrollList(arg2,arg3);
31821 wxPyEndAllowThreads(__tstate);
31822 if (PyErr_Occurred()) SWIG_fail;
31823 }
31824 {
31825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31826 }
31827 return resultobj;
31828 fail:
31829 return NULL;
31830 }
31831
31832
31833 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31834 PyObject *resultobj = 0;
31835 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31836 long arg2 ;
31837 wxColour *arg3 = 0 ;
31838 void *argp1 = 0 ;
31839 int res1 = 0 ;
31840 long val2 ;
31841 int ecode2 = 0 ;
31842 wxColour temp3 ;
31843 PyObject * obj0 = 0 ;
31844 PyObject * obj1 = 0 ;
31845 PyObject * obj2 = 0 ;
31846 char * kwnames[] = {
31847 (char *) "self",(char *) "item",(char *) "col", NULL
31848 };
31849
31850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31852 if (!SWIG_IsOK(res1)) {
31853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31854 }
31855 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31856 ecode2 = SWIG_AsVal_long(obj1, &val2);
31857 if (!SWIG_IsOK(ecode2)) {
31858 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31859 }
31860 arg2 = static_cast< long >(val2);
31861 {
31862 arg3 = &temp3;
31863 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31864 }
31865 {
31866 PyThreadState* __tstate = wxPyBeginAllowThreads();
31867 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31868 wxPyEndAllowThreads(__tstate);
31869 if (PyErr_Occurred()) SWIG_fail;
31870 }
31871 resultobj = SWIG_Py_Void();
31872 return resultobj;
31873 fail:
31874 return NULL;
31875 }
31876
31877
31878 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31879 PyObject *resultobj = 0;
31880 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31881 long arg2 ;
31882 wxColour result;
31883 void *argp1 = 0 ;
31884 int res1 = 0 ;
31885 long val2 ;
31886 int ecode2 = 0 ;
31887 PyObject * obj0 = 0 ;
31888 PyObject * obj1 = 0 ;
31889 char * kwnames[] = {
31890 (char *) "self",(char *) "item", NULL
31891 };
31892
31893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31895 if (!SWIG_IsOK(res1)) {
31896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31897 }
31898 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31899 ecode2 = SWIG_AsVal_long(obj1, &val2);
31900 if (!SWIG_IsOK(ecode2)) {
31901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31902 }
31903 arg2 = static_cast< long >(val2);
31904 {
31905 PyThreadState* __tstate = wxPyBeginAllowThreads();
31906 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31907 wxPyEndAllowThreads(__tstate);
31908 if (PyErr_Occurred()) SWIG_fail;
31909 }
31910 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31911 return resultobj;
31912 fail:
31913 return NULL;
31914 }
31915
31916
31917 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31918 PyObject *resultobj = 0;
31919 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31920 long arg2 ;
31921 wxColour *arg3 = 0 ;
31922 void *argp1 = 0 ;
31923 int res1 = 0 ;
31924 long val2 ;
31925 int ecode2 = 0 ;
31926 wxColour temp3 ;
31927 PyObject * obj0 = 0 ;
31928 PyObject * obj1 = 0 ;
31929 PyObject * obj2 = 0 ;
31930 char * kwnames[] = {
31931 (char *) "self",(char *) "item",(char *) "col", NULL
31932 };
31933
31934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31936 if (!SWIG_IsOK(res1)) {
31937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31938 }
31939 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31940 ecode2 = SWIG_AsVal_long(obj1, &val2);
31941 if (!SWIG_IsOK(ecode2)) {
31942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31943 }
31944 arg2 = static_cast< long >(val2);
31945 {
31946 arg3 = &temp3;
31947 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31948 }
31949 {
31950 PyThreadState* __tstate = wxPyBeginAllowThreads();
31951 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31952 wxPyEndAllowThreads(__tstate);
31953 if (PyErr_Occurred()) SWIG_fail;
31954 }
31955 resultobj = SWIG_Py_Void();
31956 return resultobj;
31957 fail:
31958 return NULL;
31959 }
31960
31961
31962 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31963 PyObject *resultobj = 0;
31964 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31965 long arg2 ;
31966 wxColour result;
31967 void *argp1 = 0 ;
31968 int res1 = 0 ;
31969 long val2 ;
31970 int ecode2 = 0 ;
31971 PyObject * obj0 = 0 ;
31972 PyObject * obj1 = 0 ;
31973 char * kwnames[] = {
31974 (char *) "self",(char *) "item", NULL
31975 };
31976
31977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31979 if (!SWIG_IsOK(res1)) {
31980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31981 }
31982 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31983 ecode2 = SWIG_AsVal_long(obj1, &val2);
31984 if (!SWIG_IsOK(ecode2)) {
31985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31986 }
31987 arg2 = static_cast< long >(val2);
31988 {
31989 PyThreadState* __tstate = wxPyBeginAllowThreads();
31990 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31991 wxPyEndAllowThreads(__tstate);
31992 if (PyErr_Occurred()) SWIG_fail;
31993 }
31994 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31995 return resultobj;
31996 fail:
31997 return NULL;
31998 }
31999
32000
32001 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32002 PyObject *resultobj = 0;
32003 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32004 long arg2 ;
32005 wxFont *arg3 = 0 ;
32006 void *argp1 = 0 ;
32007 int res1 = 0 ;
32008 long val2 ;
32009 int ecode2 = 0 ;
32010 void *argp3 = 0 ;
32011 int res3 = 0 ;
32012 PyObject * obj0 = 0 ;
32013 PyObject * obj1 = 0 ;
32014 PyObject * obj2 = 0 ;
32015 char * kwnames[] = {
32016 (char *) "self",(char *) "item",(char *) "f", NULL
32017 };
32018
32019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32021 if (!SWIG_IsOK(res1)) {
32022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32023 }
32024 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32025 ecode2 = SWIG_AsVal_long(obj1, &val2);
32026 if (!SWIG_IsOK(ecode2)) {
32027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32028 }
32029 arg2 = static_cast< long >(val2);
32030 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
32031 if (!SWIG_IsOK(res3)) {
32032 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32033 }
32034 if (!argp3) {
32035 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32036 }
32037 arg3 = reinterpret_cast< wxFont * >(argp3);
32038 {
32039 PyThreadState* __tstate = wxPyBeginAllowThreads();
32040 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
32041 wxPyEndAllowThreads(__tstate);
32042 if (PyErr_Occurred()) SWIG_fail;
32043 }
32044 resultobj = SWIG_Py_Void();
32045 return resultobj;
32046 fail:
32047 return NULL;
32048 }
32049
32050
32051 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32052 PyObject *resultobj = 0;
32053 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32054 long arg2 ;
32055 wxFont result;
32056 void *argp1 = 0 ;
32057 int res1 = 0 ;
32058 long val2 ;
32059 int ecode2 = 0 ;
32060 PyObject * obj0 = 0 ;
32061 PyObject * obj1 = 0 ;
32062 char * kwnames[] = {
32063 (char *) "self",(char *) "item", NULL
32064 };
32065
32066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
32067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32068 if (!SWIG_IsOK(res1)) {
32069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32070 }
32071 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32072 ecode2 = SWIG_AsVal_long(obj1, &val2);
32073 if (!SWIG_IsOK(ecode2)) {
32074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32075 }
32076 arg2 = static_cast< long >(val2);
32077 {
32078 PyThreadState* __tstate = wxPyBeginAllowThreads();
32079 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
32080 wxPyEndAllowThreads(__tstate);
32081 if (PyErr_Occurred()) SWIG_fail;
32082 }
32083 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
32084 return resultobj;
32085 fail:
32086 return NULL;
32087 }
32088
32089
32090 SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32091 PyObject *resultobj = 0;
32092 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32093 PyObject *arg2 = (PyObject *) 0 ;
32094 bool result;
32095 void *argp1 = 0 ;
32096 int res1 = 0 ;
32097 PyObject * obj0 = 0 ;
32098 PyObject * obj1 = 0 ;
32099 char * kwnames[] = {
32100 (char *) "self",(char *) "func", NULL
32101 };
32102
32103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
32104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32105 if (!SWIG_IsOK(res1)) {
32106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32107 }
32108 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32109 arg2 = obj1;
32110 {
32111 PyThreadState* __tstate = wxPyBeginAllowThreads();
32112 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
32113 wxPyEndAllowThreads(__tstate);
32114 if (PyErr_Occurred()) SWIG_fail;
32115 }
32116 {
32117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32118 }
32119 return resultobj;
32120 fail:
32121 return NULL;
32122 }
32123
32124
32125 SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32126 PyObject *resultobj = 0;
32127 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32128 wxWindow *result = 0 ;
32129 void *argp1 = 0 ;
32130 int res1 = 0 ;
32131 PyObject *swig_obj[1] ;
32132
32133 if (!args) SWIG_fail;
32134 swig_obj[0] = args;
32135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32136 if (!SWIG_IsOK(res1)) {
32137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32138 }
32139 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32140 {
32141 PyThreadState* __tstate = wxPyBeginAllowThreads();
32142 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
32143 wxPyEndAllowThreads(__tstate);
32144 if (PyErr_Occurred()) SWIG_fail;
32145 }
32146 {
32147 resultobj = wxPyMake_wxObject(result, 0);
32148 }
32149 return resultobj;
32150 fail:
32151 return NULL;
32152 }
32153
32154
32155 SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32156 PyObject *resultobj = 0;
32157 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32158 SwigValueWrapper<wxVisualAttributes > result;
32159 int val1 ;
32160 int ecode1 = 0 ;
32161 PyObject * obj0 = 0 ;
32162 char * kwnames[] = {
32163 (char *) "variant", NULL
32164 };
32165
32166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
32167 if (obj0) {
32168 ecode1 = SWIG_AsVal_int(obj0, &val1);
32169 if (!SWIG_IsOK(ecode1)) {
32170 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32171 }
32172 arg1 = static_cast< wxWindowVariant >(val1);
32173 }
32174 {
32175 if (!wxPyCheckForApp()) SWIG_fail;
32176 PyThreadState* __tstate = wxPyBeginAllowThreads();
32177 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
32178 wxPyEndAllowThreads(__tstate);
32179 if (PyErr_Occurred()) SWIG_fail;
32180 }
32181 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
32182 return resultobj;
32183 fail:
32184 return NULL;
32185 }
32186
32187
32188 SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32189 PyObject *obj;
32190 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32191 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
32192 return SWIG_Py_Void();
32193 }
32194
32195 SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32196 return SWIG_Python_InitShadowInstance(args);
32197 }
32198
32199 SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32200 PyObject *resultobj = 0;
32201 wxWindow *arg1 = (wxWindow *) 0 ;
32202 int arg2 = (int) -1 ;
32203 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32204 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32205 wxSize const &arg4_defvalue = wxDefaultSize ;
32206 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32207 long arg5 = (long) wxLC_REPORT ;
32208 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32209 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32210 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
32211 wxString *arg7 = (wxString *) &arg7_defvalue ;
32212 wxListView *result = 0 ;
32213 void *argp1 = 0 ;
32214 int res1 = 0 ;
32215 int val2 ;
32216 int ecode2 = 0 ;
32217 wxPoint temp3 ;
32218 wxSize temp4 ;
32219 long val5 ;
32220 int ecode5 = 0 ;
32221 void *argp6 = 0 ;
32222 int res6 = 0 ;
32223 bool temp7 = false ;
32224 PyObject * obj0 = 0 ;
32225 PyObject * obj1 = 0 ;
32226 PyObject * obj2 = 0 ;
32227 PyObject * obj3 = 0 ;
32228 PyObject * obj4 = 0 ;
32229 PyObject * obj5 = 0 ;
32230 PyObject * obj6 = 0 ;
32231 char * kwnames[] = {
32232 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32233 };
32234
32235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
32237 if (!SWIG_IsOK(res1)) {
32238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32239 }
32240 arg1 = reinterpret_cast< wxWindow * >(argp1);
32241 if (obj1) {
32242 ecode2 = SWIG_AsVal_int(obj1, &val2);
32243 if (!SWIG_IsOK(ecode2)) {
32244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32245 }
32246 arg2 = static_cast< int >(val2);
32247 }
32248 if (obj2) {
32249 {
32250 arg3 = &temp3;
32251 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32252 }
32253 }
32254 if (obj3) {
32255 {
32256 arg4 = &temp4;
32257 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32258 }
32259 }
32260 if (obj4) {
32261 ecode5 = SWIG_AsVal_long(obj4, &val5);
32262 if (!SWIG_IsOK(ecode5)) {
32263 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32264 }
32265 arg5 = static_cast< long >(val5);
32266 }
32267 if (obj5) {
32268 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32269 if (!SWIG_IsOK(res6)) {
32270 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32271 }
32272 if (!argp6) {
32273 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32274 }
32275 arg6 = reinterpret_cast< wxValidator * >(argp6);
32276 }
32277 if (obj6) {
32278 {
32279 arg7 = wxString_in_helper(obj6);
32280 if (arg7 == NULL) SWIG_fail;
32281 temp7 = true;
32282 }
32283 }
32284 {
32285 if (!wxPyCheckForApp()) SWIG_fail;
32286 PyThreadState* __tstate = wxPyBeginAllowThreads();
32287 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32288 wxPyEndAllowThreads(__tstate);
32289 if (PyErr_Occurred()) SWIG_fail;
32290 }
32291 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32292 {
32293 if (temp7)
32294 delete arg7;
32295 }
32296 return resultobj;
32297 fail:
32298 {
32299 if (temp7)
32300 delete arg7;
32301 }
32302 return NULL;
32303 }
32304
32305
32306 SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32307 PyObject *resultobj = 0;
32308 wxListView *result = 0 ;
32309
32310 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32311 {
32312 if (!wxPyCheckForApp()) SWIG_fail;
32313 PyThreadState* __tstate = wxPyBeginAllowThreads();
32314 result = (wxListView *)new wxListView();
32315 wxPyEndAllowThreads(__tstate);
32316 if (PyErr_Occurred()) SWIG_fail;
32317 }
32318 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32319 return resultobj;
32320 fail:
32321 return NULL;
32322 }
32323
32324
32325 SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32326 PyObject *resultobj = 0;
32327 wxListView *arg1 = (wxListView *) 0 ;
32328 wxWindow *arg2 = (wxWindow *) 0 ;
32329 int arg3 = (int) -1 ;
32330 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32331 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32332 wxSize const &arg5_defvalue = wxDefaultSize ;
32333 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32334 long arg6 = (long) wxLC_REPORT ;
32335 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32336 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32337 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32338 wxString *arg8 = (wxString *) &arg8_defvalue ;
32339 bool result;
32340 void *argp1 = 0 ;
32341 int res1 = 0 ;
32342 void *argp2 = 0 ;
32343 int res2 = 0 ;
32344 int val3 ;
32345 int ecode3 = 0 ;
32346 wxPoint temp4 ;
32347 wxSize temp5 ;
32348 long val6 ;
32349 int ecode6 = 0 ;
32350 void *argp7 = 0 ;
32351 int res7 = 0 ;
32352 bool temp8 = false ;
32353 PyObject * obj0 = 0 ;
32354 PyObject * obj1 = 0 ;
32355 PyObject * obj2 = 0 ;
32356 PyObject * obj3 = 0 ;
32357 PyObject * obj4 = 0 ;
32358 PyObject * obj5 = 0 ;
32359 PyObject * obj6 = 0 ;
32360 PyObject * obj7 = 0 ;
32361 char * kwnames[] = {
32362 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32363 };
32364
32365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32367 if (!SWIG_IsOK(res1)) {
32368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32369 }
32370 arg1 = reinterpret_cast< wxListView * >(argp1);
32371 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32372 if (!SWIG_IsOK(res2)) {
32373 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32374 }
32375 arg2 = reinterpret_cast< wxWindow * >(argp2);
32376 if (obj2) {
32377 ecode3 = SWIG_AsVal_int(obj2, &val3);
32378 if (!SWIG_IsOK(ecode3)) {
32379 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32380 }
32381 arg3 = static_cast< int >(val3);
32382 }
32383 if (obj3) {
32384 {
32385 arg4 = &temp4;
32386 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32387 }
32388 }
32389 if (obj4) {
32390 {
32391 arg5 = &temp5;
32392 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32393 }
32394 }
32395 if (obj5) {
32396 ecode6 = SWIG_AsVal_long(obj5, &val6);
32397 if (!SWIG_IsOK(ecode6)) {
32398 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32399 }
32400 arg6 = static_cast< long >(val6);
32401 }
32402 if (obj6) {
32403 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32404 if (!SWIG_IsOK(res7)) {
32405 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32406 }
32407 if (!argp7) {
32408 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32409 }
32410 arg7 = reinterpret_cast< wxValidator * >(argp7);
32411 }
32412 if (obj7) {
32413 {
32414 arg8 = wxString_in_helper(obj7);
32415 if (arg8 == NULL) SWIG_fail;
32416 temp8 = true;
32417 }
32418 }
32419 {
32420 PyThreadState* __tstate = wxPyBeginAllowThreads();
32421 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32422 wxPyEndAllowThreads(__tstate);
32423 if (PyErr_Occurred()) SWIG_fail;
32424 }
32425 {
32426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32427 }
32428 {
32429 if (temp8)
32430 delete arg8;
32431 }
32432 return resultobj;
32433 fail:
32434 {
32435 if (temp8)
32436 delete arg8;
32437 }
32438 return NULL;
32439 }
32440
32441
32442 SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32443 PyObject *resultobj = 0;
32444 wxListView *arg1 = (wxListView *) 0 ;
32445 long arg2 ;
32446 bool arg3 = (bool) true ;
32447 void *argp1 = 0 ;
32448 int res1 = 0 ;
32449 long val2 ;
32450 int ecode2 = 0 ;
32451 bool val3 ;
32452 int ecode3 = 0 ;
32453 PyObject * obj0 = 0 ;
32454 PyObject * obj1 = 0 ;
32455 PyObject * obj2 = 0 ;
32456 char * kwnames[] = {
32457 (char *) "self",(char *) "n",(char *) "on", NULL
32458 };
32459
32460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32462 if (!SWIG_IsOK(res1)) {
32463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32464 }
32465 arg1 = reinterpret_cast< wxListView * >(argp1);
32466 ecode2 = SWIG_AsVal_long(obj1, &val2);
32467 if (!SWIG_IsOK(ecode2)) {
32468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32469 }
32470 arg2 = static_cast< long >(val2);
32471 if (obj2) {
32472 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32473 if (!SWIG_IsOK(ecode3)) {
32474 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32475 }
32476 arg3 = static_cast< bool >(val3);
32477 }
32478 {
32479 PyThreadState* __tstate = wxPyBeginAllowThreads();
32480 (arg1)->Select(arg2,arg3);
32481 wxPyEndAllowThreads(__tstate);
32482 if (PyErr_Occurred()) SWIG_fail;
32483 }
32484 resultobj = SWIG_Py_Void();
32485 return resultobj;
32486 fail:
32487 return NULL;
32488 }
32489
32490
32491 SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32492 PyObject *resultobj = 0;
32493 wxListView *arg1 = (wxListView *) 0 ;
32494 long arg2 ;
32495 void *argp1 = 0 ;
32496 int res1 = 0 ;
32497 long val2 ;
32498 int ecode2 = 0 ;
32499 PyObject * obj0 = 0 ;
32500 PyObject * obj1 = 0 ;
32501 char * kwnames[] = {
32502 (char *) "self",(char *) "index", NULL
32503 };
32504
32505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32507 if (!SWIG_IsOK(res1)) {
32508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32509 }
32510 arg1 = reinterpret_cast< wxListView * >(argp1);
32511 ecode2 = SWIG_AsVal_long(obj1, &val2);
32512 if (!SWIG_IsOK(ecode2)) {
32513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32514 }
32515 arg2 = static_cast< long >(val2);
32516 {
32517 PyThreadState* __tstate = wxPyBeginAllowThreads();
32518 (arg1)->Focus(arg2);
32519 wxPyEndAllowThreads(__tstate);
32520 if (PyErr_Occurred()) SWIG_fail;
32521 }
32522 resultobj = SWIG_Py_Void();
32523 return resultobj;
32524 fail:
32525 return NULL;
32526 }
32527
32528
32529 SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32530 PyObject *resultobj = 0;
32531 wxListView *arg1 = (wxListView *) 0 ;
32532 long result;
32533 void *argp1 = 0 ;
32534 int res1 = 0 ;
32535 PyObject *swig_obj[1] ;
32536
32537 if (!args) SWIG_fail;
32538 swig_obj[0] = args;
32539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32540 if (!SWIG_IsOK(res1)) {
32541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32542 }
32543 arg1 = reinterpret_cast< wxListView * >(argp1);
32544 {
32545 PyThreadState* __tstate = wxPyBeginAllowThreads();
32546 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32547 wxPyEndAllowThreads(__tstate);
32548 if (PyErr_Occurred()) SWIG_fail;
32549 }
32550 resultobj = SWIG_From_long(static_cast< long >(result));
32551 return resultobj;
32552 fail:
32553 return NULL;
32554 }
32555
32556
32557 SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32558 PyObject *resultobj = 0;
32559 wxListView *arg1 = (wxListView *) 0 ;
32560 long arg2 ;
32561 long result;
32562 void *argp1 = 0 ;
32563 int res1 = 0 ;
32564 long val2 ;
32565 int ecode2 = 0 ;
32566 PyObject * obj0 = 0 ;
32567 PyObject * obj1 = 0 ;
32568 char * kwnames[] = {
32569 (char *) "self",(char *) "item", NULL
32570 };
32571
32572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32574 if (!SWIG_IsOK(res1)) {
32575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32576 }
32577 arg1 = reinterpret_cast< wxListView * >(argp1);
32578 ecode2 = SWIG_AsVal_long(obj1, &val2);
32579 if (!SWIG_IsOK(ecode2)) {
32580 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32581 }
32582 arg2 = static_cast< long >(val2);
32583 {
32584 PyThreadState* __tstate = wxPyBeginAllowThreads();
32585 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32586 wxPyEndAllowThreads(__tstate);
32587 if (PyErr_Occurred()) SWIG_fail;
32588 }
32589 resultobj = SWIG_From_long(static_cast< long >(result));
32590 return resultobj;
32591 fail:
32592 return NULL;
32593 }
32594
32595
32596 SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32597 PyObject *resultobj = 0;
32598 wxListView *arg1 = (wxListView *) 0 ;
32599 long result;
32600 void *argp1 = 0 ;
32601 int res1 = 0 ;
32602 PyObject *swig_obj[1] ;
32603
32604 if (!args) SWIG_fail;
32605 swig_obj[0] = args;
32606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32607 if (!SWIG_IsOK(res1)) {
32608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32609 }
32610 arg1 = reinterpret_cast< wxListView * >(argp1);
32611 {
32612 PyThreadState* __tstate = wxPyBeginAllowThreads();
32613 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32614 wxPyEndAllowThreads(__tstate);
32615 if (PyErr_Occurred()) SWIG_fail;
32616 }
32617 resultobj = SWIG_From_long(static_cast< long >(result));
32618 return resultobj;
32619 fail:
32620 return NULL;
32621 }
32622
32623
32624 SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32625 PyObject *resultobj = 0;
32626 wxListView *arg1 = (wxListView *) 0 ;
32627 long arg2 ;
32628 bool result;
32629 void *argp1 = 0 ;
32630 int res1 = 0 ;
32631 long val2 ;
32632 int ecode2 = 0 ;
32633 PyObject * obj0 = 0 ;
32634 PyObject * obj1 = 0 ;
32635 char * kwnames[] = {
32636 (char *) "self",(char *) "index", NULL
32637 };
32638
32639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32641 if (!SWIG_IsOK(res1)) {
32642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32643 }
32644 arg1 = reinterpret_cast< wxListView * >(argp1);
32645 ecode2 = SWIG_AsVal_long(obj1, &val2);
32646 if (!SWIG_IsOK(ecode2)) {
32647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32648 }
32649 arg2 = static_cast< long >(val2);
32650 {
32651 PyThreadState* __tstate = wxPyBeginAllowThreads();
32652 result = (bool)(arg1)->IsSelected(arg2);
32653 wxPyEndAllowThreads(__tstate);
32654 if (PyErr_Occurred()) SWIG_fail;
32655 }
32656 {
32657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32658 }
32659 return resultobj;
32660 fail:
32661 return NULL;
32662 }
32663
32664
32665 SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32666 PyObject *resultobj = 0;
32667 wxListView *arg1 = (wxListView *) 0 ;
32668 int arg2 ;
32669 int arg3 ;
32670 void *argp1 = 0 ;
32671 int res1 = 0 ;
32672 int val2 ;
32673 int ecode2 = 0 ;
32674 int val3 ;
32675 int ecode3 = 0 ;
32676 PyObject * obj0 = 0 ;
32677 PyObject * obj1 = 0 ;
32678 PyObject * obj2 = 0 ;
32679 char * kwnames[] = {
32680 (char *) "self",(char *) "col",(char *) "image", NULL
32681 };
32682
32683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32685 if (!SWIG_IsOK(res1)) {
32686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32687 }
32688 arg1 = reinterpret_cast< wxListView * >(argp1);
32689 ecode2 = SWIG_AsVal_int(obj1, &val2);
32690 if (!SWIG_IsOK(ecode2)) {
32691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32692 }
32693 arg2 = static_cast< int >(val2);
32694 ecode3 = SWIG_AsVal_int(obj2, &val3);
32695 if (!SWIG_IsOK(ecode3)) {
32696 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32697 }
32698 arg3 = static_cast< int >(val3);
32699 {
32700 PyThreadState* __tstate = wxPyBeginAllowThreads();
32701 (arg1)->SetColumnImage(arg2,arg3);
32702 wxPyEndAllowThreads(__tstate);
32703 if (PyErr_Occurred()) SWIG_fail;
32704 }
32705 resultobj = SWIG_Py_Void();
32706 return resultobj;
32707 fail:
32708 return NULL;
32709 }
32710
32711
32712 SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32713 PyObject *resultobj = 0;
32714 wxListView *arg1 = (wxListView *) 0 ;
32715 int arg2 ;
32716 void *argp1 = 0 ;
32717 int res1 = 0 ;
32718 int val2 ;
32719 int ecode2 = 0 ;
32720 PyObject * obj0 = 0 ;
32721 PyObject * obj1 = 0 ;
32722 char * kwnames[] = {
32723 (char *) "self",(char *) "col", NULL
32724 };
32725
32726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32728 if (!SWIG_IsOK(res1)) {
32729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32730 }
32731 arg1 = reinterpret_cast< wxListView * >(argp1);
32732 ecode2 = SWIG_AsVal_int(obj1, &val2);
32733 if (!SWIG_IsOK(ecode2)) {
32734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32735 }
32736 arg2 = static_cast< int >(val2);
32737 {
32738 PyThreadState* __tstate = wxPyBeginAllowThreads();
32739 (arg1)->ClearColumnImage(arg2);
32740 wxPyEndAllowThreads(__tstate);
32741 if (PyErr_Occurred()) SWIG_fail;
32742 }
32743 resultobj = SWIG_Py_Void();
32744 return resultobj;
32745 fail:
32746 return NULL;
32747 }
32748
32749
32750 SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32751 PyObject *obj;
32752 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32753 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32754 return SWIG_Py_Void();
32755 }
32756
32757 SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32758 return SWIG_Python_InitShadowInstance(args);
32759 }
32760
32761 SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32762 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32763 return 1;
32764 }
32765
32766
32767 SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32768 PyObject *pyobj = 0;
32769
32770 {
32771 #if wxUSE_UNICODE
32772 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32773 #else
32774 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32775 #endif
32776 }
32777 return pyobj;
32778 }
32779
32780
32781 SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32782 PyObject *resultobj = 0;
32783 wxTreeItemId *result = 0 ;
32784
32785 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32786 {
32787 PyThreadState* __tstate = wxPyBeginAllowThreads();
32788 result = (wxTreeItemId *)new wxTreeItemId();
32789 wxPyEndAllowThreads(__tstate);
32790 if (PyErr_Occurred()) SWIG_fail;
32791 }
32792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32793 return resultobj;
32794 fail:
32795 return NULL;
32796 }
32797
32798
32799 SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32800 PyObject *resultobj = 0;
32801 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32802 void *argp1 = 0 ;
32803 int res1 = 0 ;
32804 PyObject *swig_obj[1] ;
32805
32806 if (!args) SWIG_fail;
32807 swig_obj[0] = args;
32808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32809 if (!SWIG_IsOK(res1)) {
32810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32811 }
32812 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32813 {
32814 PyThreadState* __tstate = wxPyBeginAllowThreads();
32815 delete arg1;
32816
32817 wxPyEndAllowThreads(__tstate);
32818 if (PyErr_Occurred()) SWIG_fail;
32819 }
32820 resultobj = SWIG_Py_Void();
32821 return resultobj;
32822 fail:
32823 return NULL;
32824 }
32825
32826
32827 SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32828 PyObject *resultobj = 0;
32829 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32830 bool result;
32831 void *argp1 = 0 ;
32832 int res1 = 0 ;
32833 PyObject *swig_obj[1] ;
32834
32835 if (!args) SWIG_fail;
32836 swig_obj[0] = args;
32837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32838 if (!SWIG_IsOK(res1)) {
32839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32840 }
32841 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32842 {
32843 PyThreadState* __tstate = wxPyBeginAllowThreads();
32844 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32845 wxPyEndAllowThreads(__tstate);
32846 if (PyErr_Occurred()) SWIG_fail;
32847 }
32848 {
32849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32850 }
32851 return resultobj;
32852 fail:
32853 return NULL;
32854 }
32855
32856
32857 SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32858 PyObject *resultobj = 0;
32859 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32860 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32861 bool result;
32862 void *argp1 = 0 ;
32863 int res1 = 0 ;
32864 void *argp2 = 0 ;
32865 int res2 = 0 ;
32866 PyObject * obj0 = 0 ;
32867 PyObject * obj1 = 0 ;
32868 char * kwnames[] = {
32869 (char *) "self",(char *) "other", NULL
32870 };
32871
32872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32874 if (!SWIG_IsOK(res1)) {
32875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32876 }
32877 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32878 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32879 if (!SWIG_IsOK(res2)) {
32880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32881 }
32882 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32883 {
32884 PyThreadState* __tstate = wxPyBeginAllowThreads();
32885 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32886 wxPyEndAllowThreads(__tstate);
32887 if (PyErr_Occurred()) SWIG_fail;
32888 }
32889 {
32890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32891 }
32892 return resultobj;
32893 fail:
32894 return NULL;
32895 }
32896
32897
32898 SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32899 PyObject *resultobj = 0;
32900 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32901 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32902 bool result;
32903 void *argp1 = 0 ;
32904 int res1 = 0 ;
32905 void *argp2 = 0 ;
32906 int res2 = 0 ;
32907 PyObject * obj0 = 0 ;
32908 PyObject * obj1 = 0 ;
32909 char * kwnames[] = {
32910 (char *) "self",(char *) "other", NULL
32911 };
32912
32913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32915 if (!SWIG_IsOK(res1)) {
32916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32917 }
32918 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32919 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32920 if (!SWIG_IsOK(res2)) {
32921 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32922 }
32923 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32924 {
32925 PyThreadState* __tstate = wxPyBeginAllowThreads();
32926 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32927 wxPyEndAllowThreads(__tstate);
32928 if (PyErr_Occurred()) SWIG_fail;
32929 }
32930 {
32931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32932 }
32933 return resultobj;
32934 fail:
32935 return NULL;
32936 }
32937
32938
32939 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32940 PyObject *resultobj = 0;
32941 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32942 void *arg2 = (void *) 0 ;
32943 void *argp1 = 0 ;
32944 int res1 = 0 ;
32945 int res2 ;
32946 PyObject *swig_obj[2] ;
32947
32948 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32950 if (!SWIG_IsOK(res1)) {
32951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32952 }
32953 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32954 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32955 if (!SWIG_IsOK(res2)) {
32956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32957 }
32958 if (arg1) (arg1)->m_pItem = arg2;
32959
32960 resultobj = SWIG_Py_Void();
32961 return resultobj;
32962 fail:
32963 return NULL;
32964 }
32965
32966
32967 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32968 PyObject *resultobj = 0;
32969 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32970 void *result = 0 ;
32971 void *argp1 = 0 ;
32972 int res1 = 0 ;
32973 PyObject *swig_obj[1] ;
32974
32975 if (!args) SWIG_fail;
32976 swig_obj[0] = args;
32977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32978 if (!SWIG_IsOK(res1)) {
32979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32980 }
32981 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32982 result = (void *) ((arg1)->m_pItem);
32983 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32984 return resultobj;
32985 fail:
32986 return NULL;
32987 }
32988
32989
32990 SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32991 PyObject *obj;
32992 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32993 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32994 return SWIG_Py_Void();
32995 }
32996
32997 SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32998 return SWIG_Python_InitShadowInstance(args);
32999 }
33000
33001 SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33002 PyObject *resultobj = 0;
33003 PyObject *arg1 = (PyObject *) NULL ;
33004 wxPyTreeItemData *result = 0 ;
33005 PyObject * obj0 = 0 ;
33006 char * kwnames[] = {
33007 (char *) "obj", NULL
33008 };
33009
33010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
33011 if (obj0) {
33012 arg1 = obj0;
33013 }
33014 {
33015 PyThreadState* __tstate = wxPyBeginAllowThreads();
33016 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
33017 wxPyEndAllowThreads(__tstate);
33018 if (PyErr_Occurred()) SWIG_fail;
33019 }
33020 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
33021 return resultobj;
33022 fail:
33023 return NULL;
33024 }
33025
33026
33027 SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33028 PyObject *resultobj = 0;
33029 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33030 void *argp1 = 0 ;
33031 int res1 = 0 ;
33032 PyObject *swig_obj[1] ;
33033
33034 if (!args) SWIG_fail;
33035 swig_obj[0] = args;
33036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
33037 if (!SWIG_IsOK(res1)) {
33038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33039 }
33040 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33041 {
33042 PyThreadState* __tstate = wxPyBeginAllowThreads();
33043 delete arg1;
33044
33045 wxPyEndAllowThreads(__tstate);
33046 if (PyErr_Occurred()) SWIG_fail;
33047 }
33048 resultobj = SWIG_Py_Void();
33049 return resultobj;
33050 fail:
33051 return NULL;
33052 }
33053
33054
33055 SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33056 PyObject *resultobj = 0;
33057 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33058 PyObject *result = 0 ;
33059 void *argp1 = 0 ;
33060 int res1 = 0 ;
33061 PyObject *swig_obj[1] ;
33062
33063 if (!args) SWIG_fail;
33064 swig_obj[0] = args;
33065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33066 if (!SWIG_IsOK(res1)) {
33067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33068 }
33069 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33070 {
33071 PyThreadState* __tstate = wxPyBeginAllowThreads();
33072 result = (PyObject *)(arg1)->GetData();
33073 wxPyEndAllowThreads(__tstate);
33074 if (PyErr_Occurred()) SWIG_fail;
33075 }
33076 resultobj = result;
33077 return resultobj;
33078 fail:
33079 return NULL;
33080 }
33081
33082
33083 SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33084 PyObject *resultobj = 0;
33085 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33086 PyObject *arg2 = (PyObject *) 0 ;
33087 void *argp1 = 0 ;
33088 int res1 = 0 ;
33089 PyObject * obj0 = 0 ;
33090 PyObject * obj1 = 0 ;
33091 char * kwnames[] = {
33092 (char *) "self",(char *) "obj", NULL
33093 };
33094
33095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
33096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33097 if (!SWIG_IsOK(res1)) {
33098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33099 }
33100 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33101 arg2 = obj1;
33102 {
33103 PyThreadState* __tstate = wxPyBeginAllowThreads();
33104 (arg1)->SetData(arg2);
33105 wxPyEndAllowThreads(__tstate);
33106 if (PyErr_Occurred()) SWIG_fail;
33107 }
33108 resultobj = SWIG_Py_Void();
33109 return resultobj;
33110 fail:
33111 return NULL;
33112 }
33113
33114
33115 SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33116 PyObject *resultobj = 0;
33117 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33118 wxTreeItemId *result = 0 ;
33119 void *argp1 = 0 ;
33120 int res1 = 0 ;
33121 PyObject *swig_obj[1] ;
33122
33123 if (!args) SWIG_fail;
33124 swig_obj[0] = args;
33125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33126 if (!SWIG_IsOK(res1)) {
33127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33128 }
33129 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33130 {
33131 PyThreadState* __tstate = wxPyBeginAllowThreads();
33132 {
33133 wxTreeItemId const &_result_ref = (arg1)->GetId();
33134 result = (wxTreeItemId *) &_result_ref;
33135 }
33136 wxPyEndAllowThreads(__tstate);
33137 if (PyErr_Occurred()) SWIG_fail;
33138 }
33139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33140 return resultobj;
33141 fail:
33142 return NULL;
33143 }
33144
33145
33146 SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33147 PyObject *resultobj = 0;
33148 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33149 wxTreeItemId *arg2 = 0 ;
33150 void *argp1 = 0 ;
33151 int res1 = 0 ;
33152 void *argp2 = 0 ;
33153 int res2 = 0 ;
33154 PyObject * obj0 = 0 ;
33155 PyObject * obj1 = 0 ;
33156 char * kwnames[] = {
33157 (char *) "self",(char *) "id", NULL
33158 };
33159
33160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
33161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33162 if (!SWIG_IsOK(res1)) {
33163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33164 }
33165 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33166 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33167 if (!SWIG_IsOK(res2)) {
33168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33169 }
33170 if (!argp2) {
33171 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33172 }
33173 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33174 {
33175 PyThreadState* __tstate = wxPyBeginAllowThreads();
33176 (arg1)->SetId((wxTreeItemId const &)*arg2);
33177 wxPyEndAllowThreads(__tstate);
33178 if (PyErr_Occurred()) SWIG_fail;
33179 }
33180 resultobj = SWIG_Py_Void();
33181 return resultobj;
33182 fail:
33183 return NULL;
33184 }
33185
33186
33187 SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33188 PyObject *resultobj = 0;
33189 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33190 void *argp1 = 0 ;
33191 int res1 = 0 ;
33192 PyObject *swig_obj[1] ;
33193
33194 if (!args) SWIG_fail;
33195 swig_obj[0] = args;
33196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33197 if (!SWIG_IsOK(res1)) {
33198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33199 }
33200 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33201 {
33202 PyThreadState* __tstate = wxPyBeginAllowThreads();
33203 wxPyTreeItemData_Destroy(arg1);
33204 wxPyEndAllowThreads(__tstate);
33205 if (PyErr_Occurred()) SWIG_fail;
33206 }
33207 resultobj = SWIG_Py_Void();
33208 return resultobj;
33209 fail:
33210 return NULL;
33211 }
33212
33213
33214 SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33215 PyObject *obj;
33216 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33217 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
33218 return SWIG_Py_Void();
33219 }
33220
33221 SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33222 return SWIG_Python_InitShadowInstance(args);
33223 }
33224
33225 SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
33226 {
33227 void *argp = 0;
33228 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33229 if (!SWIG_IsOK(res)) {
33230 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33231 }
33232 if (!argp) {
33233 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33234 } else {
33235 wxTreeItemId * temp;
33236 temp = reinterpret_cast< wxTreeItemId * >(argp);
33237 wxNullTreeItemId = *temp;
33238 if (SWIG_IsNewObj(res)) delete temp;
33239 }
33240 }
33241 return 0;
33242 fail:
33243 return 1;
33244 }
33245
33246
33247 SWIGINTERN PyObject *NullTreeItemId_get(void) {
33248 PyObject *pyobj = 0;
33249
33250 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33251 return pyobj;
33252 }
33253
33254
33255 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33256 PyObject *resultobj = 0;
33257 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33258 int arg2 = (int) 0 ;
33259 wxTreeEvent *result = 0 ;
33260 int val1 ;
33261 int ecode1 = 0 ;
33262 int val2 ;
33263 int ecode2 = 0 ;
33264
33265 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33266 if (swig_obj[0]) {
33267 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33268 if (!SWIG_IsOK(ecode1)) {
33269 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33270 }
33271 arg1 = static_cast< wxEventType >(val1);
33272 }
33273 if (swig_obj[1]) {
33274 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
33275 if (!SWIG_IsOK(ecode2)) {
33276 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33277 }
33278 arg2 = static_cast< int >(val2);
33279 }
33280 {
33281 PyThreadState* __tstate = wxPyBeginAllowThreads();
33282 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33283 wxPyEndAllowThreads(__tstate);
33284 if (PyErr_Occurred()) SWIG_fail;
33285 }
33286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33287 return resultobj;
33288 fail:
33289 return NULL;
33290 }
33291
33292
33293 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33294 PyObject *resultobj = 0;
33295 wxEventType arg1 ;
33296 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33297 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33298 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33299 wxTreeEvent *result = 0 ;
33300 int val1 ;
33301 int ecode1 = 0 ;
33302 void *argp2 = 0 ;
33303 int res2 = 0 ;
33304 void *argp3 = 0 ;
33305 int res3 = 0 ;
33306
33307 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33308 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33309 if (!SWIG_IsOK(ecode1)) {
33310 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33311 }
33312 arg1 = static_cast< wxEventType >(val1);
33313 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33314 if (!SWIG_IsOK(res2)) {
33315 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33316 }
33317 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33318 if (swig_obj[2]) {
33319 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33320 if (!SWIG_IsOK(res3)) {
33321 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33322 }
33323 if (!argp3) {
33324 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33325 }
33326 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33327 }
33328 {
33329 PyThreadState* __tstate = wxPyBeginAllowThreads();
33330 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33331 wxPyEndAllowThreads(__tstate);
33332 if (PyErr_Occurred()) SWIG_fail;
33333 }
33334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33335 return resultobj;
33336 fail:
33337 return NULL;
33338 }
33339
33340
33341 SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33342 int argc;
33343 PyObject *argv[4];
33344
33345 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33346 --argc;
33347 if ((argc >= 0) && (argc <= 2)) {
33348 int _v = 0;
33349 if (argc > 1) {
33350 {
33351 {
33352 int res = SWIG_AsVal_int(argv[1], NULL);
33353 _v = SWIG_CheckState(res);
33354 }
33355 }
33356 if (!_v) goto check_1;
33357 }
33358 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33359 }
33360 check_1:
33361
33362 if ((argc >= 2) && (argc <= 3)) {
33363 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33364 }
33365
33366 fail:
33367 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33368 return NULL;
33369 }
33370
33371
33372 SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33373 PyObject *resultobj = 0;
33374 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33375 wxTreeItemId result;
33376 void *argp1 = 0 ;
33377 int res1 = 0 ;
33378 PyObject *swig_obj[1] ;
33379
33380 if (!args) SWIG_fail;
33381 swig_obj[0] = args;
33382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33383 if (!SWIG_IsOK(res1)) {
33384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33385 }
33386 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33387 {
33388 PyThreadState* __tstate = wxPyBeginAllowThreads();
33389 result = ((wxTreeEvent const *)arg1)->GetItem();
33390 wxPyEndAllowThreads(__tstate);
33391 if (PyErr_Occurred()) SWIG_fail;
33392 }
33393 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33394 return resultobj;
33395 fail:
33396 return NULL;
33397 }
33398
33399
33400 SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33401 PyObject *resultobj = 0;
33402 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33403 wxTreeItemId *arg2 = 0 ;
33404 void *argp1 = 0 ;
33405 int res1 = 0 ;
33406 void *argp2 = 0 ;
33407 int res2 = 0 ;
33408 PyObject * obj0 = 0 ;
33409 PyObject * obj1 = 0 ;
33410 char * kwnames[] = {
33411 (char *) "self",(char *) "item", NULL
33412 };
33413
33414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33416 if (!SWIG_IsOK(res1)) {
33417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33418 }
33419 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33420 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33421 if (!SWIG_IsOK(res2)) {
33422 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33423 }
33424 if (!argp2) {
33425 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33426 }
33427 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33428 {
33429 PyThreadState* __tstate = wxPyBeginAllowThreads();
33430 (arg1)->SetItem((wxTreeItemId const &)*arg2);
33431 wxPyEndAllowThreads(__tstate);
33432 if (PyErr_Occurred()) SWIG_fail;
33433 }
33434 resultobj = SWIG_Py_Void();
33435 return resultobj;
33436 fail:
33437 return NULL;
33438 }
33439
33440
33441 SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33442 PyObject *resultobj = 0;
33443 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33444 wxTreeItemId result;
33445 void *argp1 = 0 ;
33446 int res1 = 0 ;
33447 PyObject *swig_obj[1] ;
33448
33449 if (!args) SWIG_fail;
33450 swig_obj[0] = args;
33451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33452 if (!SWIG_IsOK(res1)) {
33453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33454 }
33455 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33456 {
33457 PyThreadState* __tstate = wxPyBeginAllowThreads();
33458 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33459 wxPyEndAllowThreads(__tstate);
33460 if (PyErr_Occurred()) SWIG_fail;
33461 }
33462 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33463 return resultobj;
33464 fail:
33465 return NULL;
33466 }
33467
33468
33469 SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33470 PyObject *resultobj = 0;
33471 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33472 wxTreeItemId *arg2 = 0 ;
33473 void *argp1 = 0 ;
33474 int res1 = 0 ;
33475 void *argp2 = 0 ;
33476 int res2 = 0 ;
33477 PyObject * obj0 = 0 ;
33478 PyObject * obj1 = 0 ;
33479 char * kwnames[] = {
33480 (char *) "self",(char *) "item", NULL
33481 };
33482
33483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33485 if (!SWIG_IsOK(res1)) {
33486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33487 }
33488 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33489 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33490 if (!SWIG_IsOK(res2)) {
33491 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33492 }
33493 if (!argp2) {
33494 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33495 }
33496 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33497 {
33498 PyThreadState* __tstate = wxPyBeginAllowThreads();
33499 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33500 wxPyEndAllowThreads(__tstate);
33501 if (PyErr_Occurred()) SWIG_fail;
33502 }
33503 resultobj = SWIG_Py_Void();
33504 return resultobj;
33505 fail:
33506 return NULL;
33507 }
33508
33509
33510 SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33511 PyObject *resultobj = 0;
33512 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33513 wxPoint result;
33514 void *argp1 = 0 ;
33515 int res1 = 0 ;
33516 PyObject *swig_obj[1] ;
33517
33518 if (!args) SWIG_fail;
33519 swig_obj[0] = args;
33520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33521 if (!SWIG_IsOK(res1)) {
33522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33523 }
33524 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33525 {
33526 PyThreadState* __tstate = wxPyBeginAllowThreads();
33527 result = ((wxTreeEvent const *)arg1)->GetPoint();
33528 wxPyEndAllowThreads(__tstate);
33529 if (PyErr_Occurred()) SWIG_fail;
33530 }
33531 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33532 return resultobj;
33533 fail:
33534 return NULL;
33535 }
33536
33537
33538 SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33539 PyObject *resultobj = 0;
33540 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33541 wxPoint *arg2 = 0 ;
33542 void *argp1 = 0 ;
33543 int res1 = 0 ;
33544 wxPoint temp2 ;
33545 PyObject * obj0 = 0 ;
33546 PyObject * obj1 = 0 ;
33547 char * kwnames[] = {
33548 (char *) "self",(char *) "pt", NULL
33549 };
33550
33551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33553 if (!SWIG_IsOK(res1)) {
33554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33555 }
33556 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33557 {
33558 arg2 = &temp2;
33559 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33560 }
33561 {
33562 PyThreadState* __tstate = wxPyBeginAllowThreads();
33563 (arg1)->SetPoint((wxPoint const &)*arg2);
33564 wxPyEndAllowThreads(__tstate);
33565 if (PyErr_Occurred()) SWIG_fail;
33566 }
33567 resultobj = SWIG_Py_Void();
33568 return resultobj;
33569 fail:
33570 return NULL;
33571 }
33572
33573
33574 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33575 PyObject *resultobj = 0;
33576 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33577 wxKeyEvent *result = 0 ;
33578 void *argp1 = 0 ;
33579 int res1 = 0 ;
33580 PyObject *swig_obj[1] ;
33581
33582 if (!args) SWIG_fail;
33583 swig_obj[0] = args;
33584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33585 if (!SWIG_IsOK(res1)) {
33586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33587 }
33588 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33589 {
33590 PyThreadState* __tstate = wxPyBeginAllowThreads();
33591 {
33592 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33593 result = (wxKeyEvent *) &_result_ref;
33594 }
33595 wxPyEndAllowThreads(__tstate);
33596 if (PyErr_Occurred()) SWIG_fail;
33597 }
33598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33599 return resultobj;
33600 fail:
33601 return NULL;
33602 }
33603
33604
33605 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33606 PyObject *resultobj = 0;
33607 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33608 int result;
33609 void *argp1 = 0 ;
33610 int res1 = 0 ;
33611 PyObject *swig_obj[1] ;
33612
33613 if (!args) SWIG_fail;
33614 swig_obj[0] = args;
33615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33616 if (!SWIG_IsOK(res1)) {
33617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33618 }
33619 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33620 {
33621 PyThreadState* __tstate = wxPyBeginAllowThreads();
33622 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33623 wxPyEndAllowThreads(__tstate);
33624 if (PyErr_Occurred()) SWIG_fail;
33625 }
33626 resultobj = SWIG_From_int(static_cast< int >(result));
33627 return resultobj;
33628 fail:
33629 return NULL;
33630 }
33631
33632
33633 SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33634 PyObject *resultobj = 0;
33635 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33636 wxKeyEvent *arg2 = 0 ;
33637 void *argp1 = 0 ;
33638 int res1 = 0 ;
33639 void *argp2 = 0 ;
33640 int res2 = 0 ;
33641 PyObject * obj0 = 0 ;
33642 PyObject * obj1 = 0 ;
33643 char * kwnames[] = {
33644 (char *) "self",(char *) "evt", NULL
33645 };
33646
33647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33649 if (!SWIG_IsOK(res1)) {
33650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33651 }
33652 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33653 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33654 if (!SWIG_IsOK(res2)) {
33655 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33656 }
33657 if (!argp2) {
33658 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33659 }
33660 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33661 {
33662 PyThreadState* __tstate = wxPyBeginAllowThreads();
33663 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33664 wxPyEndAllowThreads(__tstate);
33665 if (PyErr_Occurred()) SWIG_fail;
33666 }
33667 resultobj = SWIG_Py_Void();
33668 return resultobj;
33669 fail:
33670 return NULL;
33671 }
33672
33673
33674 SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33675 PyObject *resultobj = 0;
33676 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33677 wxString *result = 0 ;
33678 void *argp1 = 0 ;
33679 int res1 = 0 ;
33680 PyObject *swig_obj[1] ;
33681
33682 if (!args) SWIG_fail;
33683 swig_obj[0] = args;
33684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33685 if (!SWIG_IsOK(res1)) {
33686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33687 }
33688 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33689 {
33690 PyThreadState* __tstate = wxPyBeginAllowThreads();
33691 {
33692 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33693 result = (wxString *) &_result_ref;
33694 }
33695 wxPyEndAllowThreads(__tstate);
33696 if (PyErr_Occurred()) SWIG_fail;
33697 }
33698 {
33699 #if wxUSE_UNICODE
33700 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33701 #else
33702 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33703 #endif
33704 }
33705 return resultobj;
33706 fail:
33707 return NULL;
33708 }
33709
33710
33711 SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33712 PyObject *resultobj = 0;
33713 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33714 wxString *arg2 = 0 ;
33715 void *argp1 = 0 ;
33716 int res1 = 0 ;
33717 bool temp2 = false ;
33718 PyObject * obj0 = 0 ;
33719 PyObject * obj1 = 0 ;
33720 char * kwnames[] = {
33721 (char *) "self",(char *) "label", NULL
33722 };
33723
33724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33726 if (!SWIG_IsOK(res1)) {
33727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33728 }
33729 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33730 {
33731 arg2 = wxString_in_helper(obj1);
33732 if (arg2 == NULL) SWIG_fail;
33733 temp2 = true;
33734 }
33735 {
33736 PyThreadState* __tstate = wxPyBeginAllowThreads();
33737 (arg1)->SetLabel((wxString const &)*arg2);
33738 wxPyEndAllowThreads(__tstate);
33739 if (PyErr_Occurred()) SWIG_fail;
33740 }
33741 resultobj = SWIG_Py_Void();
33742 {
33743 if (temp2)
33744 delete arg2;
33745 }
33746 return resultobj;
33747 fail:
33748 {
33749 if (temp2)
33750 delete arg2;
33751 }
33752 return NULL;
33753 }
33754
33755
33756 SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33757 PyObject *resultobj = 0;
33758 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33759 bool result;
33760 void *argp1 = 0 ;
33761 int res1 = 0 ;
33762 PyObject *swig_obj[1] ;
33763
33764 if (!args) SWIG_fail;
33765 swig_obj[0] = args;
33766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33767 if (!SWIG_IsOK(res1)) {
33768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33769 }
33770 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33771 {
33772 PyThreadState* __tstate = wxPyBeginAllowThreads();
33773 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33774 wxPyEndAllowThreads(__tstate);
33775 if (PyErr_Occurred()) SWIG_fail;
33776 }
33777 {
33778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33779 }
33780 return resultobj;
33781 fail:
33782 return NULL;
33783 }
33784
33785
33786 SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33787 PyObject *resultobj = 0;
33788 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33789 bool arg2 ;
33790 void *argp1 = 0 ;
33791 int res1 = 0 ;
33792 bool val2 ;
33793 int ecode2 = 0 ;
33794 PyObject * obj0 = 0 ;
33795 PyObject * obj1 = 0 ;
33796 char * kwnames[] = {
33797 (char *) "self",(char *) "editCancelled", NULL
33798 };
33799
33800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33802 if (!SWIG_IsOK(res1)) {
33803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33804 }
33805 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33806 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33807 if (!SWIG_IsOK(ecode2)) {
33808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33809 }
33810 arg2 = static_cast< bool >(val2);
33811 {
33812 PyThreadState* __tstate = wxPyBeginAllowThreads();
33813 (arg1)->SetEditCanceled(arg2);
33814 wxPyEndAllowThreads(__tstate);
33815 if (PyErr_Occurred()) SWIG_fail;
33816 }
33817 resultobj = SWIG_Py_Void();
33818 return resultobj;
33819 fail:
33820 return NULL;
33821 }
33822
33823
33824 SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33825 PyObject *resultobj = 0;
33826 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33827 wxString *arg2 = 0 ;
33828 void *argp1 = 0 ;
33829 int res1 = 0 ;
33830 bool temp2 = false ;
33831 PyObject * obj0 = 0 ;
33832 PyObject * obj1 = 0 ;
33833 char * kwnames[] = {
33834 (char *) "self",(char *) "toolTip", NULL
33835 };
33836
33837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33839 if (!SWIG_IsOK(res1)) {
33840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33841 }
33842 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33843 {
33844 arg2 = wxString_in_helper(obj1);
33845 if (arg2 == NULL) SWIG_fail;
33846 temp2 = true;
33847 }
33848 {
33849 PyThreadState* __tstate = wxPyBeginAllowThreads();
33850 (arg1)->SetToolTip((wxString const &)*arg2);
33851 wxPyEndAllowThreads(__tstate);
33852 if (PyErr_Occurred()) SWIG_fail;
33853 }
33854 resultobj = SWIG_Py_Void();
33855 {
33856 if (temp2)
33857 delete arg2;
33858 }
33859 return resultobj;
33860 fail:
33861 {
33862 if (temp2)
33863 delete arg2;
33864 }
33865 return NULL;
33866 }
33867
33868
33869 SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33870 PyObject *resultobj = 0;
33871 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33872 wxString result;
33873 void *argp1 = 0 ;
33874 int res1 = 0 ;
33875 PyObject *swig_obj[1] ;
33876
33877 if (!args) SWIG_fail;
33878 swig_obj[0] = args;
33879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33880 if (!SWIG_IsOK(res1)) {
33881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33882 }
33883 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33884 {
33885 PyThreadState* __tstate = wxPyBeginAllowThreads();
33886 result = (arg1)->GetToolTip();
33887 wxPyEndAllowThreads(__tstate);
33888 if (PyErr_Occurred()) SWIG_fail;
33889 }
33890 {
33891 #if wxUSE_UNICODE
33892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33893 #else
33894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33895 #endif
33896 }
33897 return resultobj;
33898 fail:
33899 return NULL;
33900 }
33901
33902
33903 SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33904 PyObject *obj;
33905 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33906 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33907 return SWIG_Py_Void();
33908 }
33909
33910 SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33911 return SWIG_Python_InitShadowInstance(args);
33912 }
33913
33914 SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33915 PyObject *resultobj = 0;
33916 wxWindow *arg1 = (wxWindow *) 0 ;
33917 int arg2 = (int) -1 ;
33918 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33919 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33920 wxSize const &arg4_defvalue = wxDefaultSize ;
33921 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33922 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33923 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33924 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33925 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33926 wxString *arg7 = (wxString *) &arg7_defvalue ;
33927 wxPyTreeCtrl *result = 0 ;
33928 void *argp1 = 0 ;
33929 int res1 = 0 ;
33930 int val2 ;
33931 int ecode2 = 0 ;
33932 wxPoint temp3 ;
33933 wxSize temp4 ;
33934 long val5 ;
33935 int ecode5 = 0 ;
33936 void *argp6 = 0 ;
33937 int res6 = 0 ;
33938 bool temp7 = false ;
33939 PyObject * obj0 = 0 ;
33940 PyObject * obj1 = 0 ;
33941 PyObject * obj2 = 0 ;
33942 PyObject * obj3 = 0 ;
33943 PyObject * obj4 = 0 ;
33944 PyObject * obj5 = 0 ;
33945 PyObject * obj6 = 0 ;
33946 char * kwnames[] = {
33947 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33948 };
33949
33950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33952 if (!SWIG_IsOK(res1)) {
33953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33954 }
33955 arg1 = reinterpret_cast< wxWindow * >(argp1);
33956 if (obj1) {
33957 ecode2 = SWIG_AsVal_int(obj1, &val2);
33958 if (!SWIG_IsOK(ecode2)) {
33959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33960 }
33961 arg2 = static_cast< int >(val2);
33962 }
33963 if (obj2) {
33964 {
33965 arg3 = &temp3;
33966 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33967 }
33968 }
33969 if (obj3) {
33970 {
33971 arg4 = &temp4;
33972 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33973 }
33974 }
33975 if (obj4) {
33976 ecode5 = SWIG_AsVal_long(obj4, &val5);
33977 if (!SWIG_IsOK(ecode5)) {
33978 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33979 }
33980 arg5 = static_cast< long >(val5);
33981 }
33982 if (obj5) {
33983 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33984 if (!SWIG_IsOK(res6)) {
33985 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33986 }
33987 if (!argp6) {
33988 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33989 }
33990 arg6 = reinterpret_cast< wxValidator * >(argp6);
33991 }
33992 if (obj6) {
33993 {
33994 arg7 = wxString_in_helper(obj6);
33995 if (arg7 == NULL) SWIG_fail;
33996 temp7 = true;
33997 }
33998 }
33999 {
34000 if (!wxPyCheckForApp()) SWIG_fail;
34001 PyThreadState* __tstate = wxPyBeginAllowThreads();
34002 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
34003 wxPyEndAllowThreads(__tstate);
34004 if (PyErr_Occurred()) SWIG_fail;
34005 }
34006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
34007 {
34008 if (temp7)
34009 delete arg7;
34010 }
34011 return resultobj;
34012 fail:
34013 {
34014 if (temp7)
34015 delete arg7;
34016 }
34017 return NULL;
34018 }
34019
34020
34021 SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34022 PyObject *resultobj = 0;
34023 wxPyTreeCtrl *result = 0 ;
34024
34025 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
34026 {
34027 if (!wxPyCheckForApp()) SWIG_fail;
34028 PyThreadState* __tstate = wxPyBeginAllowThreads();
34029 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
34030 wxPyEndAllowThreads(__tstate);
34031 if (PyErr_Occurred()) SWIG_fail;
34032 }
34033 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
34034 return resultobj;
34035 fail:
34036 return NULL;
34037 }
34038
34039
34040 SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34041 PyObject *resultobj = 0;
34042 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34043 wxWindow *arg2 = (wxWindow *) 0 ;
34044 int arg3 = (int) -1 ;
34045 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34046 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34047 wxSize const &arg5_defvalue = wxDefaultSize ;
34048 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34049 long arg6 = (long) wxTR_DEFAULT_STYLE ;
34050 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34051 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34052 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
34053 wxString *arg8 = (wxString *) &arg8_defvalue ;
34054 bool result;
34055 void *argp1 = 0 ;
34056 int res1 = 0 ;
34057 void *argp2 = 0 ;
34058 int res2 = 0 ;
34059 int val3 ;
34060 int ecode3 = 0 ;
34061 wxPoint temp4 ;
34062 wxSize temp5 ;
34063 long val6 ;
34064 int ecode6 = 0 ;
34065 void *argp7 = 0 ;
34066 int res7 = 0 ;
34067 bool temp8 = false ;
34068 PyObject * obj0 = 0 ;
34069 PyObject * obj1 = 0 ;
34070 PyObject * obj2 = 0 ;
34071 PyObject * obj3 = 0 ;
34072 PyObject * obj4 = 0 ;
34073 PyObject * obj5 = 0 ;
34074 PyObject * obj6 = 0 ;
34075 PyObject * obj7 = 0 ;
34076 char * kwnames[] = {
34077 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34078 };
34079
34080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
34081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34082 if (!SWIG_IsOK(res1)) {
34083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34084 }
34085 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34086 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
34087 if (!SWIG_IsOK(res2)) {
34088 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34089 }
34090 arg2 = reinterpret_cast< wxWindow * >(argp2);
34091 if (obj2) {
34092 ecode3 = SWIG_AsVal_int(obj2, &val3);
34093 if (!SWIG_IsOK(ecode3)) {
34094 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34095 }
34096 arg3 = static_cast< int >(val3);
34097 }
34098 if (obj3) {
34099 {
34100 arg4 = &temp4;
34101 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34102 }
34103 }
34104 if (obj4) {
34105 {
34106 arg5 = &temp5;
34107 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34108 }
34109 }
34110 if (obj5) {
34111 ecode6 = SWIG_AsVal_long(obj5, &val6);
34112 if (!SWIG_IsOK(ecode6)) {
34113 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34114 }
34115 arg6 = static_cast< long >(val6);
34116 }
34117 if (obj6) {
34118 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
34119 if (!SWIG_IsOK(res7)) {
34120 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34121 }
34122 if (!argp7) {
34123 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34124 }
34125 arg7 = reinterpret_cast< wxValidator * >(argp7);
34126 }
34127 if (obj7) {
34128 {
34129 arg8 = wxString_in_helper(obj7);
34130 if (arg8 == NULL) SWIG_fail;
34131 temp8 = true;
34132 }
34133 }
34134 {
34135 PyThreadState* __tstate = wxPyBeginAllowThreads();
34136 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34137 wxPyEndAllowThreads(__tstate);
34138 if (PyErr_Occurred()) SWIG_fail;
34139 }
34140 {
34141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34142 }
34143 {
34144 if (temp8)
34145 delete arg8;
34146 }
34147 return resultobj;
34148 fail:
34149 {
34150 if (temp8)
34151 delete arg8;
34152 }
34153 return NULL;
34154 }
34155
34156
34157 SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34158 PyObject *resultobj = 0;
34159 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34160 PyObject *arg2 = (PyObject *) 0 ;
34161 PyObject *arg3 = (PyObject *) 0 ;
34162 void *argp1 = 0 ;
34163 int res1 = 0 ;
34164 PyObject * obj0 = 0 ;
34165 PyObject * obj1 = 0 ;
34166 PyObject * obj2 = 0 ;
34167 char * kwnames[] = {
34168 (char *) "self",(char *) "self",(char *) "_class", NULL
34169 };
34170
34171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34173 if (!SWIG_IsOK(res1)) {
34174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34175 }
34176 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34177 arg2 = obj1;
34178 arg3 = obj2;
34179 {
34180 PyThreadState* __tstate = wxPyBeginAllowThreads();
34181 (arg1)->_setCallbackInfo(arg2,arg3);
34182 wxPyEndAllowThreads(__tstate);
34183 if (PyErr_Occurred()) SWIG_fail;
34184 }
34185 resultobj = SWIG_Py_Void();
34186 return resultobj;
34187 fail:
34188 return NULL;
34189 }
34190
34191
34192 SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34193 PyObject *resultobj = 0;
34194 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34195 unsigned int result;
34196 void *argp1 = 0 ;
34197 int res1 = 0 ;
34198 PyObject *swig_obj[1] ;
34199
34200 if (!args) SWIG_fail;
34201 swig_obj[0] = args;
34202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34203 if (!SWIG_IsOK(res1)) {
34204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34205 }
34206 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34207 {
34208 PyThreadState* __tstate = wxPyBeginAllowThreads();
34209 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
34210 wxPyEndAllowThreads(__tstate);
34211 if (PyErr_Occurred()) SWIG_fail;
34212 }
34213 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34214 return resultobj;
34215 fail:
34216 return NULL;
34217 }
34218
34219
34220 SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34221 PyObject *resultobj = 0;
34222 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34223 unsigned int result;
34224 void *argp1 = 0 ;
34225 int res1 = 0 ;
34226 PyObject *swig_obj[1] ;
34227
34228 if (!args) SWIG_fail;
34229 swig_obj[0] = args;
34230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34231 if (!SWIG_IsOK(res1)) {
34232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34233 }
34234 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34235 {
34236 PyThreadState* __tstate = wxPyBeginAllowThreads();
34237 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
34238 wxPyEndAllowThreads(__tstate);
34239 if (PyErr_Occurred()) SWIG_fail;
34240 }
34241 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34242 return resultobj;
34243 fail:
34244 return NULL;
34245 }
34246
34247
34248 SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34249 PyObject *resultobj = 0;
34250 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34251 unsigned int arg2 ;
34252 void *argp1 = 0 ;
34253 int res1 = 0 ;
34254 unsigned int val2 ;
34255 int ecode2 = 0 ;
34256 PyObject * obj0 = 0 ;
34257 PyObject * obj1 = 0 ;
34258 char * kwnames[] = {
34259 (char *) "self",(char *) "indent", NULL
34260 };
34261
34262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34264 if (!SWIG_IsOK(res1)) {
34265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34266 }
34267 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34268 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34269 if (!SWIG_IsOK(ecode2)) {
34270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34271 }
34272 arg2 = static_cast< unsigned int >(val2);
34273 {
34274 PyThreadState* __tstate = wxPyBeginAllowThreads();
34275 (arg1)->SetIndent(arg2);
34276 wxPyEndAllowThreads(__tstate);
34277 if (PyErr_Occurred()) SWIG_fail;
34278 }
34279 resultobj = SWIG_Py_Void();
34280 return resultobj;
34281 fail:
34282 return NULL;
34283 }
34284
34285
34286 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34287 PyObject *resultobj = 0;
34288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34289 unsigned int result;
34290 void *argp1 = 0 ;
34291 int res1 = 0 ;
34292 PyObject *swig_obj[1] ;
34293
34294 if (!args) SWIG_fail;
34295 swig_obj[0] = args;
34296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34297 if (!SWIG_IsOK(res1)) {
34298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34299 }
34300 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34301 {
34302 PyThreadState* __tstate = wxPyBeginAllowThreads();
34303 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34304 wxPyEndAllowThreads(__tstate);
34305 if (PyErr_Occurred()) SWIG_fail;
34306 }
34307 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34308 return resultobj;
34309 fail:
34310 return NULL;
34311 }
34312
34313
34314 SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34315 PyObject *resultobj = 0;
34316 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34317 unsigned int arg2 ;
34318 void *argp1 = 0 ;
34319 int res1 = 0 ;
34320 unsigned int val2 ;
34321 int ecode2 = 0 ;
34322 PyObject * obj0 = 0 ;
34323 PyObject * obj1 = 0 ;
34324 char * kwnames[] = {
34325 (char *) "self",(char *) "spacing", NULL
34326 };
34327
34328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
34329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34330 if (!SWIG_IsOK(res1)) {
34331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34332 }
34333 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34334 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34335 if (!SWIG_IsOK(ecode2)) {
34336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34337 }
34338 arg2 = static_cast< unsigned int >(val2);
34339 {
34340 PyThreadState* __tstate = wxPyBeginAllowThreads();
34341 (arg1)->SetSpacing(arg2);
34342 wxPyEndAllowThreads(__tstate);
34343 if (PyErr_Occurred()) SWIG_fail;
34344 }
34345 resultobj = SWIG_Py_Void();
34346 return resultobj;
34347 fail:
34348 return NULL;
34349 }
34350
34351
34352 SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34353 PyObject *resultobj = 0;
34354 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34355 wxImageList *result = 0 ;
34356 void *argp1 = 0 ;
34357 int res1 = 0 ;
34358 PyObject *swig_obj[1] ;
34359
34360 if (!args) SWIG_fail;
34361 swig_obj[0] = args;
34362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34363 if (!SWIG_IsOK(res1)) {
34364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34365 }
34366 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34367 {
34368 PyThreadState* __tstate = wxPyBeginAllowThreads();
34369 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34370 wxPyEndAllowThreads(__tstate);
34371 if (PyErr_Occurred()) SWIG_fail;
34372 }
34373 {
34374 resultobj = wxPyMake_wxObject(result, (bool)0);
34375 }
34376 return resultobj;
34377 fail:
34378 return NULL;
34379 }
34380
34381
34382 SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34383 PyObject *resultobj = 0;
34384 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34385 wxImageList *result = 0 ;
34386 void *argp1 = 0 ;
34387 int res1 = 0 ;
34388 PyObject *swig_obj[1] ;
34389
34390 if (!args) SWIG_fail;
34391 swig_obj[0] = args;
34392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34393 if (!SWIG_IsOK(res1)) {
34394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34395 }
34396 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34397 {
34398 PyThreadState* __tstate = wxPyBeginAllowThreads();
34399 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34400 wxPyEndAllowThreads(__tstate);
34401 if (PyErr_Occurred()) SWIG_fail;
34402 }
34403 {
34404 resultobj = wxPyMake_wxObject(result, (bool)0);
34405 }
34406 return resultobj;
34407 fail:
34408 return NULL;
34409 }
34410
34411
34412 SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34413 PyObject *resultobj = 0;
34414 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34415 wxImageList *arg2 = (wxImageList *) 0 ;
34416 void *argp1 = 0 ;
34417 int res1 = 0 ;
34418 void *argp2 = 0 ;
34419 int res2 = 0 ;
34420 PyObject * obj0 = 0 ;
34421 PyObject * obj1 = 0 ;
34422 char * kwnames[] = {
34423 (char *) "self",(char *) "imageList", NULL
34424 };
34425
34426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34428 if (!SWIG_IsOK(res1)) {
34429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34430 }
34431 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34432 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34433 if (!SWIG_IsOK(res2)) {
34434 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34435 }
34436 arg2 = reinterpret_cast< wxImageList * >(argp2);
34437 {
34438 PyThreadState* __tstate = wxPyBeginAllowThreads();
34439 (arg1)->SetImageList(arg2);
34440 wxPyEndAllowThreads(__tstate);
34441 if (PyErr_Occurred()) SWIG_fail;
34442 }
34443 resultobj = SWIG_Py_Void();
34444 return resultobj;
34445 fail:
34446 return NULL;
34447 }
34448
34449
34450 SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34451 PyObject *resultobj = 0;
34452 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34453 wxImageList *arg2 = (wxImageList *) 0 ;
34454 void *argp1 = 0 ;
34455 int res1 = 0 ;
34456 void *argp2 = 0 ;
34457 int res2 = 0 ;
34458 PyObject * obj0 = 0 ;
34459 PyObject * obj1 = 0 ;
34460 char * kwnames[] = {
34461 (char *) "self",(char *) "imageList", NULL
34462 };
34463
34464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34466 if (!SWIG_IsOK(res1)) {
34467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34468 }
34469 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34470 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34471 if (!SWIG_IsOK(res2)) {
34472 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34473 }
34474 arg2 = reinterpret_cast< wxImageList * >(argp2);
34475 {
34476 PyThreadState* __tstate = wxPyBeginAllowThreads();
34477 (arg1)->SetStateImageList(arg2);
34478 wxPyEndAllowThreads(__tstate);
34479 if (PyErr_Occurred()) SWIG_fail;
34480 }
34481 resultobj = SWIG_Py_Void();
34482 return resultobj;
34483 fail:
34484 return NULL;
34485 }
34486
34487
34488 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34489 PyObject *resultobj = 0;
34490 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34491 wxImageList *arg2 = (wxImageList *) 0 ;
34492 void *argp1 = 0 ;
34493 int res1 = 0 ;
34494 int res2 = 0 ;
34495 PyObject * obj0 = 0 ;
34496 PyObject * obj1 = 0 ;
34497 char * kwnames[] = {
34498 (char *) "self",(char *) "imageList", NULL
34499 };
34500
34501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34503 if (!SWIG_IsOK(res1)) {
34504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34505 }
34506 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34507 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34508 if (!SWIG_IsOK(res2)) {
34509 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34510 }
34511 {
34512 PyThreadState* __tstate = wxPyBeginAllowThreads();
34513 (arg1)->AssignImageList(arg2);
34514 wxPyEndAllowThreads(__tstate);
34515 if (PyErr_Occurred()) SWIG_fail;
34516 }
34517 resultobj = SWIG_Py_Void();
34518 return resultobj;
34519 fail:
34520 return NULL;
34521 }
34522
34523
34524 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34525 PyObject *resultobj = 0;
34526 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34527 wxImageList *arg2 = (wxImageList *) 0 ;
34528 void *argp1 = 0 ;
34529 int res1 = 0 ;
34530 int res2 = 0 ;
34531 PyObject * obj0 = 0 ;
34532 PyObject * obj1 = 0 ;
34533 char * kwnames[] = {
34534 (char *) "self",(char *) "imageList", NULL
34535 };
34536
34537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34539 if (!SWIG_IsOK(res1)) {
34540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34541 }
34542 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34543 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34544 if (!SWIG_IsOK(res2)) {
34545 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34546 }
34547 {
34548 PyThreadState* __tstate = wxPyBeginAllowThreads();
34549 (arg1)->AssignStateImageList(arg2);
34550 wxPyEndAllowThreads(__tstate);
34551 if (PyErr_Occurred()) SWIG_fail;
34552 }
34553 resultobj = SWIG_Py_Void();
34554 return resultobj;
34555 fail:
34556 return NULL;
34557 }
34558
34559
34560 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34561 PyObject *resultobj = 0;
34562 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34563 wxTreeItemId *arg2 = 0 ;
34564 wxString result;
34565 void *argp1 = 0 ;
34566 int res1 = 0 ;
34567 void *argp2 = 0 ;
34568 int res2 = 0 ;
34569 PyObject * obj0 = 0 ;
34570 PyObject * obj1 = 0 ;
34571 char * kwnames[] = {
34572 (char *) "self",(char *) "item", NULL
34573 };
34574
34575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34577 if (!SWIG_IsOK(res1)) {
34578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34579 }
34580 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34581 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34582 if (!SWIG_IsOK(res2)) {
34583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34584 }
34585 if (!argp2) {
34586 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34587 }
34588 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34589 {
34590 PyThreadState* __tstate = wxPyBeginAllowThreads();
34591 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34592 wxPyEndAllowThreads(__tstate);
34593 if (PyErr_Occurred()) SWIG_fail;
34594 }
34595 {
34596 #if wxUSE_UNICODE
34597 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34598 #else
34599 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34600 #endif
34601 }
34602 return resultobj;
34603 fail:
34604 return NULL;
34605 }
34606
34607
34608 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34609 PyObject *resultobj = 0;
34610 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34611 wxTreeItemId *arg2 = 0 ;
34612 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34613 int result;
34614 void *argp1 = 0 ;
34615 int res1 = 0 ;
34616 void *argp2 = 0 ;
34617 int res2 = 0 ;
34618 int val3 ;
34619 int ecode3 = 0 ;
34620 PyObject * obj0 = 0 ;
34621 PyObject * obj1 = 0 ;
34622 PyObject * obj2 = 0 ;
34623 char * kwnames[] = {
34624 (char *) "self",(char *) "item",(char *) "which", NULL
34625 };
34626
34627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34629 if (!SWIG_IsOK(res1)) {
34630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34631 }
34632 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34633 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34634 if (!SWIG_IsOK(res2)) {
34635 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34636 }
34637 if (!argp2) {
34638 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34639 }
34640 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34641 if (obj2) {
34642 ecode3 = SWIG_AsVal_int(obj2, &val3);
34643 if (!SWIG_IsOK(ecode3)) {
34644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34645 }
34646 arg3 = static_cast< wxTreeItemIcon >(val3);
34647 }
34648 {
34649 PyThreadState* __tstate = wxPyBeginAllowThreads();
34650 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34651 wxPyEndAllowThreads(__tstate);
34652 if (PyErr_Occurred()) SWIG_fail;
34653 }
34654 resultobj = SWIG_From_int(static_cast< int >(result));
34655 return resultobj;
34656 fail:
34657 return NULL;
34658 }
34659
34660
34661 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34662 PyObject *resultobj = 0;
34663 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34664 wxTreeItemId *arg2 = 0 ;
34665 wxPyTreeItemData *result = 0 ;
34666 void *argp1 = 0 ;
34667 int res1 = 0 ;
34668 void *argp2 = 0 ;
34669 int res2 = 0 ;
34670 PyObject * obj0 = 0 ;
34671 PyObject * obj1 = 0 ;
34672 char * kwnames[] = {
34673 (char *) "self",(char *) "item", NULL
34674 };
34675
34676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34678 if (!SWIG_IsOK(res1)) {
34679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34680 }
34681 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34682 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34683 if (!SWIG_IsOK(res2)) {
34684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34685 }
34686 if (!argp2) {
34687 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34688 }
34689 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34690 {
34691 PyThreadState* __tstate = wxPyBeginAllowThreads();
34692 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34693 wxPyEndAllowThreads(__tstate);
34694 if (PyErr_Occurred()) SWIG_fail;
34695 }
34696 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34697 return resultobj;
34698 fail:
34699 return NULL;
34700 }
34701
34702
34703 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34704 PyObject *resultobj = 0;
34705 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34706 wxTreeItemId *arg2 = 0 ;
34707 PyObject *result = 0 ;
34708 void *argp1 = 0 ;
34709 int res1 = 0 ;
34710 void *argp2 = 0 ;
34711 int res2 = 0 ;
34712 PyObject * obj0 = 0 ;
34713 PyObject * obj1 = 0 ;
34714 char * kwnames[] = {
34715 (char *) "self",(char *) "item", NULL
34716 };
34717
34718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34720 if (!SWIG_IsOK(res1)) {
34721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34722 }
34723 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34724 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34725 if (!SWIG_IsOK(res2)) {
34726 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34727 }
34728 if (!argp2) {
34729 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34730 }
34731 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34732 {
34733 PyThreadState* __tstate = wxPyBeginAllowThreads();
34734 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34735 wxPyEndAllowThreads(__tstate);
34736 if (PyErr_Occurred()) SWIG_fail;
34737 }
34738 resultobj = result;
34739 return resultobj;
34740 fail:
34741 return NULL;
34742 }
34743
34744
34745 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34746 PyObject *resultobj = 0;
34747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34748 wxTreeItemId *arg2 = 0 ;
34749 wxColour result;
34750 void *argp1 = 0 ;
34751 int res1 = 0 ;
34752 void *argp2 = 0 ;
34753 int res2 = 0 ;
34754 PyObject * obj0 = 0 ;
34755 PyObject * obj1 = 0 ;
34756 char * kwnames[] = {
34757 (char *) "self",(char *) "item", NULL
34758 };
34759
34760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34762 if (!SWIG_IsOK(res1)) {
34763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34764 }
34765 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34766 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34767 if (!SWIG_IsOK(res2)) {
34768 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34769 }
34770 if (!argp2) {
34771 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34772 }
34773 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34774 {
34775 PyThreadState* __tstate = wxPyBeginAllowThreads();
34776 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34777 wxPyEndAllowThreads(__tstate);
34778 if (PyErr_Occurred()) SWIG_fail;
34779 }
34780 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34781 return resultobj;
34782 fail:
34783 return NULL;
34784 }
34785
34786
34787 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34788 PyObject *resultobj = 0;
34789 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34790 wxTreeItemId *arg2 = 0 ;
34791 wxColour result;
34792 void *argp1 = 0 ;
34793 int res1 = 0 ;
34794 void *argp2 = 0 ;
34795 int res2 = 0 ;
34796 PyObject * obj0 = 0 ;
34797 PyObject * obj1 = 0 ;
34798 char * kwnames[] = {
34799 (char *) "self",(char *) "item", NULL
34800 };
34801
34802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34804 if (!SWIG_IsOK(res1)) {
34805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34806 }
34807 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34808 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34809 if (!SWIG_IsOK(res2)) {
34810 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34811 }
34812 if (!argp2) {
34813 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34814 }
34815 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34816 {
34817 PyThreadState* __tstate = wxPyBeginAllowThreads();
34818 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34819 wxPyEndAllowThreads(__tstate);
34820 if (PyErr_Occurred()) SWIG_fail;
34821 }
34822 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34823 return resultobj;
34824 fail:
34825 return NULL;
34826 }
34827
34828
34829 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34830 PyObject *resultobj = 0;
34831 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34832 wxTreeItemId *arg2 = 0 ;
34833 wxFont result;
34834 void *argp1 = 0 ;
34835 int res1 = 0 ;
34836 void *argp2 = 0 ;
34837 int res2 = 0 ;
34838 PyObject * obj0 = 0 ;
34839 PyObject * obj1 = 0 ;
34840 char * kwnames[] = {
34841 (char *) "self",(char *) "item", NULL
34842 };
34843
34844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34846 if (!SWIG_IsOK(res1)) {
34847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34848 }
34849 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34850 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34851 if (!SWIG_IsOK(res2)) {
34852 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34853 }
34854 if (!argp2) {
34855 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34856 }
34857 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34858 {
34859 PyThreadState* __tstate = wxPyBeginAllowThreads();
34860 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34861 wxPyEndAllowThreads(__tstate);
34862 if (PyErr_Occurred()) SWIG_fail;
34863 }
34864 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34865 return resultobj;
34866 fail:
34867 return NULL;
34868 }
34869
34870
34871 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34872 PyObject *resultobj = 0;
34873 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34874 wxTreeItemId *arg2 = 0 ;
34875 wxString *arg3 = 0 ;
34876 void *argp1 = 0 ;
34877 int res1 = 0 ;
34878 void *argp2 = 0 ;
34879 int res2 = 0 ;
34880 bool temp3 = false ;
34881 PyObject * obj0 = 0 ;
34882 PyObject * obj1 = 0 ;
34883 PyObject * obj2 = 0 ;
34884 char * kwnames[] = {
34885 (char *) "self",(char *) "item",(char *) "text", NULL
34886 };
34887
34888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34890 if (!SWIG_IsOK(res1)) {
34891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34892 }
34893 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34894 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34895 if (!SWIG_IsOK(res2)) {
34896 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34897 }
34898 if (!argp2) {
34899 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34900 }
34901 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34902 {
34903 arg3 = wxString_in_helper(obj2);
34904 if (arg3 == NULL) SWIG_fail;
34905 temp3 = true;
34906 }
34907 {
34908 PyThreadState* __tstate = wxPyBeginAllowThreads();
34909 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34910 wxPyEndAllowThreads(__tstate);
34911 if (PyErr_Occurred()) SWIG_fail;
34912 }
34913 resultobj = SWIG_Py_Void();
34914 {
34915 if (temp3)
34916 delete arg3;
34917 }
34918 return resultobj;
34919 fail:
34920 {
34921 if (temp3)
34922 delete arg3;
34923 }
34924 return NULL;
34925 }
34926
34927
34928 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34929 PyObject *resultobj = 0;
34930 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34931 wxTreeItemId *arg2 = 0 ;
34932 int arg3 ;
34933 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34934 void *argp1 = 0 ;
34935 int res1 = 0 ;
34936 void *argp2 = 0 ;
34937 int res2 = 0 ;
34938 int val3 ;
34939 int ecode3 = 0 ;
34940 int val4 ;
34941 int ecode4 = 0 ;
34942 PyObject * obj0 = 0 ;
34943 PyObject * obj1 = 0 ;
34944 PyObject * obj2 = 0 ;
34945 PyObject * obj3 = 0 ;
34946 char * kwnames[] = {
34947 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34948 };
34949
34950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34952 if (!SWIG_IsOK(res1)) {
34953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34954 }
34955 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34956 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34957 if (!SWIG_IsOK(res2)) {
34958 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34959 }
34960 if (!argp2) {
34961 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34962 }
34963 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34964 ecode3 = SWIG_AsVal_int(obj2, &val3);
34965 if (!SWIG_IsOK(ecode3)) {
34966 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34967 }
34968 arg3 = static_cast< int >(val3);
34969 if (obj3) {
34970 ecode4 = SWIG_AsVal_int(obj3, &val4);
34971 if (!SWIG_IsOK(ecode4)) {
34972 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34973 }
34974 arg4 = static_cast< wxTreeItemIcon >(val4);
34975 }
34976 {
34977 PyThreadState* __tstate = wxPyBeginAllowThreads();
34978 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34979 wxPyEndAllowThreads(__tstate);
34980 if (PyErr_Occurred()) SWIG_fail;
34981 }
34982 resultobj = SWIG_Py_Void();
34983 return resultobj;
34984 fail:
34985 return NULL;
34986 }
34987
34988
34989 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34990 PyObject *resultobj = 0;
34991 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34992 wxTreeItemId *arg2 = 0 ;
34993 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34994 void *argp1 = 0 ;
34995 int res1 = 0 ;
34996 void *argp2 = 0 ;
34997 int res2 = 0 ;
34998 int res3 = 0 ;
34999 PyObject * obj0 = 0 ;
35000 PyObject * obj1 = 0 ;
35001 PyObject * obj2 = 0 ;
35002 char * kwnames[] = {
35003 (char *) "self",(char *) "item",(char *) "data", NULL
35004 };
35005
35006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35008 if (!SWIG_IsOK(res1)) {
35009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35010 }
35011 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35012 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35013 if (!SWIG_IsOK(res2)) {
35014 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35015 }
35016 if (!argp2) {
35017 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35018 }
35019 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35020 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35021 if (!SWIG_IsOK(res3)) {
35022 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35023 }
35024 {
35025 PyThreadState* __tstate = wxPyBeginAllowThreads();
35026 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
35027 wxPyEndAllowThreads(__tstate);
35028 if (PyErr_Occurred()) SWIG_fail;
35029 }
35030 resultobj = SWIG_Py_Void();
35031 return resultobj;
35032 fail:
35033 return NULL;
35034 }
35035
35036
35037 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35038 PyObject *resultobj = 0;
35039 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35040 wxTreeItemId *arg2 = 0 ;
35041 PyObject *arg3 = (PyObject *) 0 ;
35042 void *argp1 = 0 ;
35043 int res1 = 0 ;
35044 void *argp2 = 0 ;
35045 int res2 = 0 ;
35046 PyObject * obj0 = 0 ;
35047 PyObject * obj1 = 0 ;
35048 PyObject * obj2 = 0 ;
35049 char * kwnames[] = {
35050 (char *) "self",(char *) "item",(char *) "obj", NULL
35051 };
35052
35053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35055 if (!SWIG_IsOK(res1)) {
35056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35057 }
35058 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35059 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35060 if (!SWIG_IsOK(res2)) {
35061 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35062 }
35063 if (!argp2) {
35064 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35065 }
35066 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35067 arg3 = obj2;
35068 {
35069 PyThreadState* __tstate = wxPyBeginAllowThreads();
35070 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
35071 wxPyEndAllowThreads(__tstate);
35072 if (PyErr_Occurred()) SWIG_fail;
35073 }
35074 resultobj = SWIG_Py_Void();
35075 return resultobj;
35076 fail:
35077 return NULL;
35078 }
35079
35080
35081 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35082 PyObject *resultobj = 0;
35083 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35084 wxTreeItemId *arg2 = 0 ;
35085 bool arg3 = (bool) true ;
35086 void *argp1 = 0 ;
35087 int res1 = 0 ;
35088 void *argp2 = 0 ;
35089 int res2 = 0 ;
35090 bool val3 ;
35091 int ecode3 = 0 ;
35092 PyObject * obj0 = 0 ;
35093 PyObject * obj1 = 0 ;
35094 PyObject * obj2 = 0 ;
35095 char * kwnames[] = {
35096 (char *) "self",(char *) "item",(char *) "has", NULL
35097 };
35098
35099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35101 if (!SWIG_IsOK(res1)) {
35102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35103 }
35104 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35105 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35106 if (!SWIG_IsOK(res2)) {
35107 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35108 }
35109 if (!argp2) {
35110 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35111 }
35112 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35113 if (obj2) {
35114 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35115 if (!SWIG_IsOK(ecode3)) {
35116 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35117 }
35118 arg3 = static_cast< bool >(val3);
35119 }
35120 {
35121 PyThreadState* __tstate = wxPyBeginAllowThreads();
35122 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
35123 wxPyEndAllowThreads(__tstate);
35124 if (PyErr_Occurred()) SWIG_fail;
35125 }
35126 resultobj = SWIG_Py_Void();
35127 return resultobj;
35128 fail:
35129 return NULL;
35130 }
35131
35132
35133 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35134 PyObject *resultobj = 0;
35135 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35136 wxTreeItemId *arg2 = 0 ;
35137 bool arg3 = (bool) true ;
35138 void *argp1 = 0 ;
35139 int res1 = 0 ;
35140 void *argp2 = 0 ;
35141 int res2 = 0 ;
35142 bool val3 ;
35143 int ecode3 = 0 ;
35144 PyObject * obj0 = 0 ;
35145 PyObject * obj1 = 0 ;
35146 PyObject * obj2 = 0 ;
35147 char * kwnames[] = {
35148 (char *) "self",(char *) "item",(char *) "bold", NULL
35149 };
35150
35151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35153 if (!SWIG_IsOK(res1)) {
35154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35155 }
35156 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35157 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35158 if (!SWIG_IsOK(res2)) {
35159 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35160 }
35161 if (!argp2) {
35162 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35163 }
35164 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35165 if (obj2) {
35166 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35167 if (!SWIG_IsOK(ecode3)) {
35168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35169 }
35170 arg3 = static_cast< bool >(val3);
35171 }
35172 {
35173 PyThreadState* __tstate = wxPyBeginAllowThreads();
35174 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
35175 wxPyEndAllowThreads(__tstate);
35176 if (PyErr_Occurred()) SWIG_fail;
35177 }
35178 resultobj = SWIG_Py_Void();
35179 return resultobj;
35180 fail:
35181 return NULL;
35182 }
35183
35184
35185 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35186 PyObject *resultobj = 0;
35187 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35188 wxTreeItemId *arg2 = 0 ;
35189 bool arg3 = (bool) true ;
35190 void *argp1 = 0 ;
35191 int res1 = 0 ;
35192 void *argp2 = 0 ;
35193 int res2 = 0 ;
35194 bool val3 ;
35195 int ecode3 = 0 ;
35196 PyObject * obj0 = 0 ;
35197 PyObject * obj1 = 0 ;
35198 PyObject * obj2 = 0 ;
35199 char * kwnames[] = {
35200 (char *) "self",(char *) "item",(char *) "highlight", NULL
35201 };
35202
35203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35205 if (!SWIG_IsOK(res1)) {
35206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35207 }
35208 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35209 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35210 if (!SWIG_IsOK(res2)) {
35211 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35212 }
35213 if (!argp2) {
35214 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35215 }
35216 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35217 if (obj2) {
35218 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35219 if (!SWIG_IsOK(ecode3)) {
35220 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35221 }
35222 arg3 = static_cast< bool >(val3);
35223 }
35224 {
35225 PyThreadState* __tstate = wxPyBeginAllowThreads();
35226 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
35227 wxPyEndAllowThreads(__tstate);
35228 if (PyErr_Occurred()) SWIG_fail;
35229 }
35230 resultobj = SWIG_Py_Void();
35231 return resultobj;
35232 fail:
35233 return NULL;
35234 }
35235
35236
35237 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35238 PyObject *resultobj = 0;
35239 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35240 wxTreeItemId *arg2 = 0 ;
35241 wxColour *arg3 = 0 ;
35242 void *argp1 = 0 ;
35243 int res1 = 0 ;
35244 void *argp2 = 0 ;
35245 int res2 = 0 ;
35246 wxColour temp3 ;
35247 PyObject * obj0 = 0 ;
35248 PyObject * obj1 = 0 ;
35249 PyObject * obj2 = 0 ;
35250 char * kwnames[] = {
35251 (char *) "self",(char *) "item",(char *) "col", NULL
35252 };
35253
35254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35256 if (!SWIG_IsOK(res1)) {
35257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35258 }
35259 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35260 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35261 if (!SWIG_IsOK(res2)) {
35262 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35263 }
35264 if (!argp2) {
35265 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35266 }
35267 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35268 {
35269 arg3 = &temp3;
35270 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35271 }
35272 {
35273 PyThreadState* __tstate = wxPyBeginAllowThreads();
35274 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35275 wxPyEndAllowThreads(__tstate);
35276 if (PyErr_Occurred()) SWIG_fail;
35277 }
35278 resultobj = SWIG_Py_Void();
35279 return resultobj;
35280 fail:
35281 return NULL;
35282 }
35283
35284
35285 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35286 PyObject *resultobj = 0;
35287 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35288 wxTreeItemId *arg2 = 0 ;
35289 wxColour *arg3 = 0 ;
35290 void *argp1 = 0 ;
35291 int res1 = 0 ;
35292 void *argp2 = 0 ;
35293 int res2 = 0 ;
35294 wxColour temp3 ;
35295 PyObject * obj0 = 0 ;
35296 PyObject * obj1 = 0 ;
35297 PyObject * obj2 = 0 ;
35298 char * kwnames[] = {
35299 (char *) "self",(char *) "item",(char *) "col", NULL
35300 };
35301
35302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35304 if (!SWIG_IsOK(res1)) {
35305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35306 }
35307 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35308 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35309 if (!SWIG_IsOK(res2)) {
35310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35311 }
35312 if (!argp2) {
35313 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35314 }
35315 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35316 {
35317 arg3 = &temp3;
35318 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35319 }
35320 {
35321 PyThreadState* __tstate = wxPyBeginAllowThreads();
35322 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35323 wxPyEndAllowThreads(__tstate);
35324 if (PyErr_Occurred()) SWIG_fail;
35325 }
35326 resultobj = SWIG_Py_Void();
35327 return resultobj;
35328 fail:
35329 return NULL;
35330 }
35331
35332
35333 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35334 PyObject *resultobj = 0;
35335 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35336 wxTreeItemId *arg2 = 0 ;
35337 wxFont *arg3 = 0 ;
35338 void *argp1 = 0 ;
35339 int res1 = 0 ;
35340 void *argp2 = 0 ;
35341 int res2 = 0 ;
35342 void *argp3 = 0 ;
35343 int res3 = 0 ;
35344 PyObject * obj0 = 0 ;
35345 PyObject * obj1 = 0 ;
35346 PyObject * obj2 = 0 ;
35347 char * kwnames[] = {
35348 (char *) "self",(char *) "item",(char *) "font", NULL
35349 };
35350
35351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35353 if (!SWIG_IsOK(res1)) {
35354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35355 }
35356 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35357 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35358 if (!SWIG_IsOK(res2)) {
35359 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35360 }
35361 if (!argp2) {
35362 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35363 }
35364 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35365 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35366 if (!SWIG_IsOK(res3)) {
35367 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35368 }
35369 if (!argp3) {
35370 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35371 }
35372 arg3 = reinterpret_cast< wxFont * >(argp3);
35373 {
35374 PyThreadState* __tstate = wxPyBeginAllowThreads();
35375 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35376 wxPyEndAllowThreads(__tstate);
35377 if (PyErr_Occurred()) SWIG_fail;
35378 }
35379 resultobj = SWIG_Py_Void();
35380 return resultobj;
35381 fail:
35382 return NULL;
35383 }
35384
35385
35386 SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35387 PyObject *resultobj = 0;
35388 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35389 wxTreeItemId *arg2 = 0 ;
35390 bool result;
35391 void *argp1 = 0 ;
35392 int res1 = 0 ;
35393 void *argp2 = 0 ;
35394 int res2 = 0 ;
35395 PyObject * obj0 = 0 ;
35396 PyObject * obj1 = 0 ;
35397 char * kwnames[] = {
35398 (char *) "self",(char *) "item", NULL
35399 };
35400
35401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35403 if (!SWIG_IsOK(res1)) {
35404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35405 }
35406 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35407 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35408 if (!SWIG_IsOK(res2)) {
35409 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35410 }
35411 if (!argp2) {
35412 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35413 }
35414 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35415 {
35416 PyThreadState* __tstate = wxPyBeginAllowThreads();
35417 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35418 wxPyEndAllowThreads(__tstate);
35419 if (PyErr_Occurred()) SWIG_fail;
35420 }
35421 {
35422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35423 }
35424 return resultobj;
35425 fail:
35426 return NULL;
35427 }
35428
35429
35430 SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35431 PyObject *resultobj = 0;
35432 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35433 wxTreeItemId *arg2 = 0 ;
35434 bool result;
35435 void *argp1 = 0 ;
35436 int res1 = 0 ;
35437 void *argp2 = 0 ;
35438 int res2 = 0 ;
35439 PyObject * obj0 = 0 ;
35440 PyObject * obj1 = 0 ;
35441 char * kwnames[] = {
35442 (char *) "self",(char *) "item", NULL
35443 };
35444
35445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35447 if (!SWIG_IsOK(res1)) {
35448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35449 }
35450 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35451 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35452 if (!SWIG_IsOK(res2)) {
35453 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35454 }
35455 if (!argp2) {
35456 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35457 }
35458 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35459 {
35460 PyThreadState* __tstate = wxPyBeginAllowThreads();
35461 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35462 wxPyEndAllowThreads(__tstate);
35463 if (PyErr_Occurred()) SWIG_fail;
35464 }
35465 {
35466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35467 }
35468 return resultobj;
35469 fail:
35470 return NULL;
35471 }
35472
35473
35474 SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35475 PyObject *resultobj = 0;
35476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35477 wxTreeItemId *arg2 = 0 ;
35478 bool result;
35479 void *argp1 = 0 ;
35480 int res1 = 0 ;
35481 void *argp2 = 0 ;
35482 int res2 = 0 ;
35483 PyObject * obj0 = 0 ;
35484 PyObject * obj1 = 0 ;
35485 char * kwnames[] = {
35486 (char *) "self",(char *) "item", NULL
35487 };
35488
35489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35491 if (!SWIG_IsOK(res1)) {
35492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35493 }
35494 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35495 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35496 if (!SWIG_IsOK(res2)) {
35497 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35498 }
35499 if (!argp2) {
35500 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35501 }
35502 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35503 {
35504 PyThreadState* __tstate = wxPyBeginAllowThreads();
35505 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35506 wxPyEndAllowThreads(__tstate);
35507 if (PyErr_Occurred()) SWIG_fail;
35508 }
35509 {
35510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35511 }
35512 return resultobj;
35513 fail:
35514 return NULL;
35515 }
35516
35517
35518 SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35519 PyObject *resultobj = 0;
35520 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35521 wxTreeItemId *arg2 = 0 ;
35522 bool result;
35523 void *argp1 = 0 ;
35524 int res1 = 0 ;
35525 void *argp2 = 0 ;
35526 int res2 = 0 ;
35527 PyObject * obj0 = 0 ;
35528 PyObject * obj1 = 0 ;
35529 char * kwnames[] = {
35530 (char *) "self",(char *) "item", NULL
35531 };
35532
35533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35535 if (!SWIG_IsOK(res1)) {
35536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35537 }
35538 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35539 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35540 if (!SWIG_IsOK(res2)) {
35541 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35542 }
35543 if (!argp2) {
35544 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35545 }
35546 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35547 {
35548 PyThreadState* __tstate = wxPyBeginAllowThreads();
35549 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35550 wxPyEndAllowThreads(__tstate);
35551 if (PyErr_Occurred()) SWIG_fail;
35552 }
35553 {
35554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35555 }
35556 return resultobj;
35557 fail:
35558 return NULL;
35559 }
35560
35561
35562 SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35563 PyObject *resultobj = 0;
35564 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35565 wxTreeItemId *arg2 = 0 ;
35566 bool result;
35567 void *argp1 = 0 ;
35568 int res1 = 0 ;
35569 void *argp2 = 0 ;
35570 int res2 = 0 ;
35571 PyObject * obj0 = 0 ;
35572 PyObject * obj1 = 0 ;
35573 char * kwnames[] = {
35574 (char *) "self",(char *) "item", NULL
35575 };
35576
35577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35579 if (!SWIG_IsOK(res1)) {
35580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35581 }
35582 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35583 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35584 if (!SWIG_IsOK(res2)) {
35585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35586 }
35587 if (!argp2) {
35588 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35589 }
35590 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35591 {
35592 PyThreadState* __tstate = wxPyBeginAllowThreads();
35593 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35594 wxPyEndAllowThreads(__tstate);
35595 if (PyErr_Occurred()) SWIG_fail;
35596 }
35597 {
35598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35599 }
35600 return resultobj;
35601 fail:
35602 return NULL;
35603 }
35604
35605
35606 SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35607 PyObject *resultobj = 0;
35608 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35609 wxTreeItemId *arg2 = 0 ;
35610 bool arg3 = (bool) true ;
35611 size_t result;
35612 void *argp1 = 0 ;
35613 int res1 = 0 ;
35614 void *argp2 = 0 ;
35615 int res2 = 0 ;
35616 bool val3 ;
35617 int ecode3 = 0 ;
35618 PyObject * obj0 = 0 ;
35619 PyObject * obj1 = 0 ;
35620 PyObject * obj2 = 0 ;
35621 char * kwnames[] = {
35622 (char *) "self",(char *) "item",(char *) "recursively", NULL
35623 };
35624
35625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35627 if (!SWIG_IsOK(res1)) {
35628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35629 }
35630 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35631 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35632 if (!SWIG_IsOK(res2)) {
35633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35634 }
35635 if (!argp2) {
35636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35637 }
35638 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35639 if (obj2) {
35640 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35641 if (!SWIG_IsOK(ecode3)) {
35642 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35643 }
35644 arg3 = static_cast< bool >(val3);
35645 }
35646 {
35647 PyThreadState* __tstate = wxPyBeginAllowThreads();
35648 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35649 wxPyEndAllowThreads(__tstate);
35650 if (PyErr_Occurred()) SWIG_fail;
35651 }
35652 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35653 return resultobj;
35654 fail:
35655 return NULL;
35656 }
35657
35658
35659 SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35660 PyObject *resultobj = 0;
35661 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35662 wxTreeItemId result;
35663 void *argp1 = 0 ;
35664 int res1 = 0 ;
35665 PyObject *swig_obj[1] ;
35666
35667 if (!args) SWIG_fail;
35668 swig_obj[0] = args;
35669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35670 if (!SWIG_IsOK(res1)) {
35671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35672 }
35673 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35674 {
35675 PyThreadState* __tstate = wxPyBeginAllowThreads();
35676 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35677 wxPyEndAllowThreads(__tstate);
35678 if (PyErr_Occurred()) SWIG_fail;
35679 }
35680 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35681 return resultobj;
35682 fail:
35683 return NULL;
35684 }
35685
35686
35687 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35688 PyObject *resultobj = 0;
35689 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35690 wxTreeItemId result;
35691 void *argp1 = 0 ;
35692 int res1 = 0 ;
35693 PyObject *swig_obj[1] ;
35694
35695 if (!args) SWIG_fail;
35696 swig_obj[0] = args;
35697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35698 if (!SWIG_IsOK(res1)) {
35699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35700 }
35701 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35702 {
35703 PyThreadState* __tstate = wxPyBeginAllowThreads();
35704 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35705 wxPyEndAllowThreads(__tstate);
35706 if (PyErr_Occurred()) SWIG_fail;
35707 }
35708 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35709 return resultobj;
35710 fail:
35711 return NULL;
35712 }
35713
35714
35715 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35716 PyObject *resultobj = 0;
35717 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35718 PyObject *result = 0 ;
35719 void *argp1 = 0 ;
35720 int res1 = 0 ;
35721 PyObject *swig_obj[1] ;
35722
35723 if (!args) SWIG_fail;
35724 swig_obj[0] = args;
35725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35726 if (!SWIG_IsOK(res1)) {
35727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35728 }
35729 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35730 {
35731 PyThreadState* __tstate = wxPyBeginAllowThreads();
35732 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35733 wxPyEndAllowThreads(__tstate);
35734 if (PyErr_Occurred()) SWIG_fail;
35735 }
35736 resultobj = result;
35737 return resultobj;
35738 fail:
35739 return NULL;
35740 }
35741
35742
35743 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35744 PyObject *resultobj = 0;
35745 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35746 wxTreeItemId *arg2 = 0 ;
35747 wxTreeItemId result;
35748 void *argp1 = 0 ;
35749 int res1 = 0 ;
35750 void *argp2 = 0 ;
35751 int res2 = 0 ;
35752 PyObject * obj0 = 0 ;
35753 PyObject * obj1 = 0 ;
35754 char * kwnames[] = {
35755 (char *) "self",(char *) "item", NULL
35756 };
35757
35758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35760 if (!SWIG_IsOK(res1)) {
35761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35762 }
35763 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35764 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35765 if (!SWIG_IsOK(res2)) {
35766 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35767 }
35768 if (!argp2) {
35769 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35770 }
35771 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35772 {
35773 PyThreadState* __tstate = wxPyBeginAllowThreads();
35774 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35775 wxPyEndAllowThreads(__tstate);
35776 if (PyErr_Occurred()) SWIG_fail;
35777 }
35778 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35779 return resultobj;
35780 fail:
35781 return NULL;
35782 }
35783
35784
35785 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35786 PyObject *resultobj = 0;
35787 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35788 wxTreeItemId *arg2 = 0 ;
35789 PyObject *result = 0 ;
35790 void *argp1 = 0 ;
35791 int res1 = 0 ;
35792 void *argp2 = 0 ;
35793 int res2 = 0 ;
35794 PyObject * obj0 = 0 ;
35795 PyObject * obj1 = 0 ;
35796 char * kwnames[] = {
35797 (char *) "self",(char *) "item", NULL
35798 };
35799
35800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35802 if (!SWIG_IsOK(res1)) {
35803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35804 }
35805 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35806 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35807 if (!SWIG_IsOK(res2)) {
35808 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35809 }
35810 if (!argp2) {
35811 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35812 }
35813 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35814 {
35815 PyThreadState* __tstate = wxPyBeginAllowThreads();
35816 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35817 wxPyEndAllowThreads(__tstate);
35818 if (PyErr_Occurred()) SWIG_fail;
35819 }
35820 resultobj = result;
35821 return resultobj;
35822 fail:
35823 return NULL;
35824 }
35825
35826
35827 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35828 PyObject *resultobj = 0;
35829 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35830 wxTreeItemId *arg2 = 0 ;
35831 void *arg3 = (void *) 0 ;
35832 PyObject *result = 0 ;
35833 void *argp1 = 0 ;
35834 int res1 = 0 ;
35835 void *argp2 = 0 ;
35836 int res2 = 0 ;
35837 int res3 ;
35838 PyObject * obj0 = 0 ;
35839 PyObject * obj1 = 0 ;
35840 PyObject * obj2 = 0 ;
35841 char * kwnames[] = {
35842 (char *) "self",(char *) "item",(char *) "cookie", NULL
35843 };
35844
35845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35847 if (!SWIG_IsOK(res1)) {
35848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35849 }
35850 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35851 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35852 if (!SWIG_IsOK(res2)) {
35853 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35854 }
35855 if (!argp2) {
35856 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35857 }
35858 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35859 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35860 if (!SWIG_IsOK(res3)) {
35861 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35862 }
35863 {
35864 PyThreadState* __tstate = wxPyBeginAllowThreads();
35865 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35866 wxPyEndAllowThreads(__tstate);
35867 if (PyErr_Occurred()) SWIG_fail;
35868 }
35869 resultobj = result;
35870 return resultobj;
35871 fail:
35872 return NULL;
35873 }
35874
35875
35876 SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35877 PyObject *resultobj = 0;
35878 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35879 wxTreeItemId *arg2 = 0 ;
35880 wxTreeItemId result;
35881 void *argp1 = 0 ;
35882 int res1 = 0 ;
35883 void *argp2 = 0 ;
35884 int res2 = 0 ;
35885 PyObject * obj0 = 0 ;
35886 PyObject * obj1 = 0 ;
35887 char * kwnames[] = {
35888 (char *) "self",(char *) "item", NULL
35889 };
35890
35891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35893 if (!SWIG_IsOK(res1)) {
35894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35895 }
35896 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35897 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35898 if (!SWIG_IsOK(res2)) {
35899 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35900 }
35901 if (!argp2) {
35902 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35903 }
35904 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35905 {
35906 PyThreadState* __tstate = wxPyBeginAllowThreads();
35907 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35908 wxPyEndAllowThreads(__tstate);
35909 if (PyErr_Occurred()) SWIG_fail;
35910 }
35911 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35912 return resultobj;
35913 fail:
35914 return NULL;
35915 }
35916
35917
35918 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35919 PyObject *resultobj = 0;
35920 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35921 wxTreeItemId *arg2 = 0 ;
35922 wxTreeItemId result;
35923 void *argp1 = 0 ;
35924 int res1 = 0 ;
35925 void *argp2 = 0 ;
35926 int res2 = 0 ;
35927 PyObject * obj0 = 0 ;
35928 PyObject * obj1 = 0 ;
35929 char * kwnames[] = {
35930 (char *) "self",(char *) "item", NULL
35931 };
35932
35933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35935 if (!SWIG_IsOK(res1)) {
35936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35937 }
35938 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35939 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35940 if (!SWIG_IsOK(res2)) {
35941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35942 }
35943 if (!argp2) {
35944 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35945 }
35946 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35947 {
35948 PyThreadState* __tstate = wxPyBeginAllowThreads();
35949 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35950 wxPyEndAllowThreads(__tstate);
35951 if (PyErr_Occurred()) SWIG_fail;
35952 }
35953 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35954 return resultobj;
35955 fail:
35956 return NULL;
35957 }
35958
35959
35960 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35961 PyObject *resultobj = 0;
35962 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35963 wxTreeItemId *arg2 = 0 ;
35964 wxTreeItemId result;
35965 void *argp1 = 0 ;
35966 int res1 = 0 ;
35967 void *argp2 = 0 ;
35968 int res2 = 0 ;
35969 PyObject * obj0 = 0 ;
35970 PyObject * obj1 = 0 ;
35971 char * kwnames[] = {
35972 (char *) "self",(char *) "item", NULL
35973 };
35974
35975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35977 if (!SWIG_IsOK(res1)) {
35978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35979 }
35980 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35981 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35982 if (!SWIG_IsOK(res2)) {
35983 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35984 }
35985 if (!argp2) {
35986 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35987 }
35988 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35989 {
35990 PyThreadState* __tstate = wxPyBeginAllowThreads();
35991 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35992 wxPyEndAllowThreads(__tstate);
35993 if (PyErr_Occurred()) SWIG_fail;
35994 }
35995 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35996 return resultobj;
35997 fail:
35998 return NULL;
35999 }
36000
36001
36002 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36003 PyObject *resultobj = 0;
36004 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36005 wxTreeItemId result;
36006 void *argp1 = 0 ;
36007 int res1 = 0 ;
36008 PyObject *swig_obj[1] ;
36009
36010 if (!args) SWIG_fail;
36011 swig_obj[0] = args;
36012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36013 if (!SWIG_IsOK(res1)) {
36014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36015 }
36016 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36017 {
36018 PyThreadState* __tstate = wxPyBeginAllowThreads();
36019 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
36020 wxPyEndAllowThreads(__tstate);
36021 if (PyErr_Occurred()) SWIG_fail;
36022 }
36023 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36024 return resultobj;
36025 fail:
36026 return NULL;
36027 }
36028
36029
36030 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36031 PyObject *resultobj = 0;
36032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36033 wxTreeItemId *arg2 = 0 ;
36034 wxTreeItemId result;
36035 void *argp1 = 0 ;
36036 int res1 = 0 ;
36037 void *argp2 = 0 ;
36038 int res2 = 0 ;
36039 PyObject * obj0 = 0 ;
36040 PyObject * obj1 = 0 ;
36041 char * kwnames[] = {
36042 (char *) "self",(char *) "item", NULL
36043 };
36044
36045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36047 if (!SWIG_IsOK(res1)) {
36048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36049 }
36050 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36051 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36052 if (!SWIG_IsOK(res2)) {
36053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36054 }
36055 if (!argp2) {
36056 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36057 }
36058 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36059 {
36060 PyThreadState* __tstate = wxPyBeginAllowThreads();
36061 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
36062 wxPyEndAllowThreads(__tstate);
36063 if (PyErr_Occurred()) SWIG_fail;
36064 }
36065 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36066 return resultobj;
36067 fail:
36068 return NULL;
36069 }
36070
36071
36072 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36073 PyObject *resultobj = 0;
36074 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36075 wxTreeItemId *arg2 = 0 ;
36076 wxTreeItemId result;
36077 void *argp1 = 0 ;
36078 int res1 = 0 ;
36079 void *argp2 = 0 ;
36080 int res2 = 0 ;
36081 PyObject * obj0 = 0 ;
36082 PyObject * obj1 = 0 ;
36083 char * kwnames[] = {
36084 (char *) "self",(char *) "item", NULL
36085 };
36086
36087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36089 if (!SWIG_IsOK(res1)) {
36090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36091 }
36092 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36093 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36094 if (!SWIG_IsOK(res2)) {
36095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36096 }
36097 if (!argp2) {
36098 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36099 }
36100 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36101 {
36102 PyThreadState* __tstate = wxPyBeginAllowThreads();
36103 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
36104 wxPyEndAllowThreads(__tstate);
36105 if (PyErr_Occurred()) SWIG_fail;
36106 }
36107 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36108 return resultobj;
36109 fail:
36110 return NULL;
36111 }
36112
36113
36114 SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36115 PyObject *resultobj = 0;
36116 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36117 wxString *arg2 = 0 ;
36118 int arg3 = (int) -1 ;
36119 int arg4 = (int) -1 ;
36120 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
36121 wxTreeItemId result;
36122 void *argp1 = 0 ;
36123 int res1 = 0 ;
36124 bool temp2 = false ;
36125 int val3 ;
36126 int ecode3 = 0 ;
36127 int val4 ;
36128 int ecode4 = 0 ;
36129 int res5 = 0 ;
36130 PyObject * obj0 = 0 ;
36131 PyObject * obj1 = 0 ;
36132 PyObject * obj2 = 0 ;
36133 PyObject * obj3 = 0 ;
36134 PyObject * obj4 = 0 ;
36135 char * kwnames[] = {
36136 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36137 };
36138
36139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
36140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36141 if (!SWIG_IsOK(res1)) {
36142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36143 }
36144 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36145 {
36146 arg2 = wxString_in_helper(obj1);
36147 if (arg2 == NULL) SWIG_fail;
36148 temp2 = true;
36149 }
36150 if (obj2) {
36151 ecode3 = SWIG_AsVal_int(obj2, &val3);
36152 if (!SWIG_IsOK(ecode3)) {
36153 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36154 }
36155 arg3 = static_cast< int >(val3);
36156 }
36157 if (obj3) {
36158 ecode4 = SWIG_AsVal_int(obj3, &val4);
36159 if (!SWIG_IsOK(ecode4)) {
36160 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36161 }
36162 arg4 = static_cast< int >(val4);
36163 }
36164 if (obj4) {
36165 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36166 if (!SWIG_IsOK(res5)) {
36167 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36168 }
36169 }
36170 {
36171 PyThreadState* __tstate = wxPyBeginAllowThreads();
36172 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
36173 wxPyEndAllowThreads(__tstate);
36174 if (PyErr_Occurred()) SWIG_fail;
36175 }
36176 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36177 {
36178 if (temp2)
36179 delete arg2;
36180 }
36181 return resultobj;
36182 fail:
36183 {
36184 if (temp2)
36185 delete arg2;
36186 }
36187 return NULL;
36188 }
36189
36190
36191 SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36192 PyObject *resultobj = 0;
36193 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36194 wxTreeItemId *arg2 = 0 ;
36195 wxString *arg3 = 0 ;
36196 int arg4 = (int) -1 ;
36197 int arg5 = (int) -1 ;
36198 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36199 wxTreeItemId result;
36200 void *argp1 = 0 ;
36201 int res1 = 0 ;
36202 void *argp2 = 0 ;
36203 int res2 = 0 ;
36204 bool temp3 = false ;
36205 int val4 ;
36206 int ecode4 = 0 ;
36207 int val5 ;
36208 int ecode5 = 0 ;
36209 int res6 = 0 ;
36210 PyObject * obj0 = 0 ;
36211 PyObject * obj1 = 0 ;
36212 PyObject * obj2 = 0 ;
36213 PyObject * obj3 = 0 ;
36214 PyObject * obj4 = 0 ;
36215 PyObject * obj5 = 0 ;
36216 char * kwnames[] = {
36217 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36218 };
36219
36220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36222 if (!SWIG_IsOK(res1)) {
36223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36224 }
36225 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36226 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36227 if (!SWIG_IsOK(res2)) {
36228 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36229 }
36230 if (!argp2) {
36231 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36232 }
36233 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36234 {
36235 arg3 = wxString_in_helper(obj2);
36236 if (arg3 == NULL) SWIG_fail;
36237 temp3 = true;
36238 }
36239 if (obj3) {
36240 ecode4 = SWIG_AsVal_int(obj3, &val4);
36241 if (!SWIG_IsOK(ecode4)) {
36242 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36243 }
36244 arg4 = static_cast< int >(val4);
36245 }
36246 if (obj4) {
36247 ecode5 = SWIG_AsVal_int(obj4, &val5);
36248 if (!SWIG_IsOK(ecode5)) {
36249 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36250 }
36251 arg5 = static_cast< int >(val5);
36252 }
36253 if (obj5) {
36254 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36255 if (!SWIG_IsOK(res6)) {
36256 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36257 }
36258 }
36259 {
36260 PyThreadState* __tstate = wxPyBeginAllowThreads();
36261 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36262 wxPyEndAllowThreads(__tstate);
36263 if (PyErr_Occurred()) SWIG_fail;
36264 }
36265 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36266 {
36267 if (temp3)
36268 delete arg3;
36269 }
36270 return resultobj;
36271 fail:
36272 {
36273 if (temp3)
36274 delete arg3;
36275 }
36276 return NULL;
36277 }
36278
36279
36280 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36281 PyObject *resultobj = 0;
36282 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36283 wxTreeItemId *arg2 = 0 ;
36284 wxTreeItemId *arg3 = 0 ;
36285 wxString *arg4 = 0 ;
36286 int arg5 = (int) -1 ;
36287 int arg6 = (int) -1 ;
36288 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36289 wxTreeItemId result;
36290 void *argp1 = 0 ;
36291 int res1 = 0 ;
36292 void *argp2 = 0 ;
36293 int res2 = 0 ;
36294 void *argp3 = 0 ;
36295 int res3 = 0 ;
36296 bool temp4 = false ;
36297 int val5 ;
36298 int ecode5 = 0 ;
36299 int val6 ;
36300 int ecode6 = 0 ;
36301 int res7 = 0 ;
36302 PyObject * obj0 = 0 ;
36303 PyObject * obj1 = 0 ;
36304 PyObject * obj2 = 0 ;
36305 PyObject * obj3 = 0 ;
36306 PyObject * obj4 = 0 ;
36307 PyObject * obj5 = 0 ;
36308 PyObject * obj6 = 0 ;
36309 char * kwnames[] = {
36310 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36311 };
36312
36313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36315 if (!SWIG_IsOK(res1)) {
36316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36317 }
36318 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36319 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36320 if (!SWIG_IsOK(res2)) {
36321 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36322 }
36323 if (!argp2) {
36324 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36325 }
36326 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36327 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36328 if (!SWIG_IsOK(res3)) {
36329 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36330 }
36331 if (!argp3) {
36332 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36333 }
36334 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36335 {
36336 arg4 = wxString_in_helper(obj3);
36337 if (arg4 == NULL) SWIG_fail;
36338 temp4 = true;
36339 }
36340 if (obj4) {
36341 ecode5 = SWIG_AsVal_int(obj4, &val5);
36342 if (!SWIG_IsOK(ecode5)) {
36343 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36344 }
36345 arg5 = static_cast< int >(val5);
36346 }
36347 if (obj5) {
36348 ecode6 = SWIG_AsVal_int(obj5, &val6);
36349 if (!SWIG_IsOK(ecode6)) {
36350 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36351 }
36352 arg6 = static_cast< int >(val6);
36353 }
36354 if (obj6) {
36355 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36356 if (!SWIG_IsOK(res7)) {
36357 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36358 }
36359 }
36360 {
36361 PyThreadState* __tstate = wxPyBeginAllowThreads();
36362 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36363 wxPyEndAllowThreads(__tstate);
36364 if (PyErr_Occurred()) SWIG_fail;
36365 }
36366 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36367 {
36368 if (temp4)
36369 delete arg4;
36370 }
36371 return resultobj;
36372 fail:
36373 {
36374 if (temp4)
36375 delete arg4;
36376 }
36377 return NULL;
36378 }
36379
36380
36381 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36382 PyObject *resultobj = 0;
36383 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36384 wxTreeItemId *arg2 = 0 ;
36385 size_t arg3 ;
36386 wxString *arg4 = 0 ;
36387 int arg5 = (int) -1 ;
36388 int arg6 = (int) -1 ;
36389 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36390 wxTreeItemId result;
36391 void *argp1 = 0 ;
36392 int res1 = 0 ;
36393 void *argp2 = 0 ;
36394 int res2 = 0 ;
36395 size_t val3 ;
36396 int ecode3 = 0 ;
36397 bool temp4 = false ;
36398 int val5 ;
36399 int ecode5 = 0 ;
36400 int val6 ;
36401 int ecode6 = 0 ;
36402 int res7 = 0 ;
36403 PyObject * obj0 = 0 ;
36404 PyObject * obj1 = 0 ;
36405 PyObject * obj2 = 0 ;
36406 PyObject * obj3 = 0 ;
36407 PyObject * obj4 = 0 ;
36408 PyObject * obj5 = 0 ;
36409 PyObject * obj6 = 0 ;
36410 char * kwnames[] = {
36411 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36412 };
36413
36414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36416 if (!SWIG_IsOK(res1)) {
36417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36418 }
36419 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36420 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36421 if (!SWIG_IsOK(res2)) {
36422 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36423 }
36424 if (!argp2) {
36425 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36426 }
36427 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36428 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36429 if (!SWIG_IsOK(ecode3)) {
36430 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36431 }
36432 arg3 = static_cast< size_t >(val3);
36433 {
36434 arg4 = wxString_in_helper(obj3);
36435 if (arg4 == NULL) SWIG_fail;
36436 temp4 = true;
36437 }
36438 if (obj4) {
36439 ecode5 = SWIG_AsVal_int(obj4, &val5);
36440 if (!SWIG_IsOK(ecode5)) {
36441 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36442 }
36443 arg5 = static_cast< int >(val5);
36444 }
36445 if (obj5) {
36446 ecode6 = SWIG_AsVal_int(obj5, &val6);
36447 if (!SWIG_IsOK(ecode6)) {
36448 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36449 }
36450 arg6 = static_cast< int >(val6);
36451 }
36452 if (obj6) {
36453 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36454 if (!SWIG_IsOK(res7)) {
36455 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36456 }
36457 }
36458 {
36459 PyThreadState* __tstate = wxPyBeginAllowThreads();
36460 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36461 wxPyEndAllowThreads(__tstate);
36462 if (PyErr_Occurred()) SWIG_fail;
36463 }
36464 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36465 {
36466 if (temp4)
36467 delete arg4;
36468 }
36469 return resultobj;
36470 fail:
36471 {
36472 if (temp4)
36473 delete arg4;
36474 }
36475 return NULL;
36476 }
36477
36478
36479 SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36480 PyObject *resultobj = 0;
36481 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36482 wxTreeItemId *arg2 = 0 ;
36483 wxString *arg3 = 0 ;
36484 int arg4 = (int) -1 ;
36485 int arg5 = (int) -1 ;
36486 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36487 wxTreeItemId result;
36488 void *argp1 = 0 ;
36489 int res1 = 0 ;
36490 void *argp2 = 0 ;
36491 int res2 = 0 ;
36492 bool temp3 = false ;
36493 int val4 ;
36494 int ecode4 = 0 ;
36495 int val5 ;
36496 int ecode5 = 0 ;
36497 int res6 = 0 ;
36498 PyObject * obj0 = 0 ;
36499 PyObject * obj1 = 0 ;
36500 PyObject * obj2 = 0 ;
36501 PyObject * obj3 = 0 ;
36502 PyObject * obj4 = 0 ;
36503 PyObject * obj5 = 0 ;
36504 char * kwnames[] = {
36505 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36506 };
36507
36508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36510 if (!SWIG_IsOK(res1)) {
36511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36512 }
36513 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36514 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36515 if (!SWIG_IsOK(res2)) {
36516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36517 }
36518 if (!argp2) {
36519 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36520 }
36521 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36522 {
36523 arg3 = wxString_in_helper(obj2);
36524 if (arg3 == NULL) SWIG_fail;
36525 temp3 = true;
36526 }
36527 if (obj3) {
36528 ecode4 = SWIG_AsVal_int(obj3, &val4);
36529 if (!SWIG_IsOK(ecode4)) {
36530 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36531 }
36532 arg4 = static_cast< int >(val4);
36533 }
36534 if (obj4) {
36535 ecode5 = SWIG_AsVal_int(obj4, &val5);
36536 if (!SWIG_IsOK(ecode5)) {
36537 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36538 }
36539 arg5 = static_cast< int >(val5);
36540 }
36541 if (obj5) {
36542 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36543 if (!SWIG_IsOK(res6)) {
36544 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36545 }
36546 }
36547 {
36548 PyThreadState* __tstate = wxPyBeginAllowThreads();
36549 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36550 wxPyEndAllowThreads(__tstate);
36551 if (PyErr_Occurred()) SWIG_fail;
36552 }
36553 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36554 {
36555 if (temp3)
36556 delete arg3;
36557 }
36558 return resultobj;
36559 fail:
36560 {
36561 if (temp3)
36562 delete arg3;
36563 }
36564 return NULL;
36565 }
36566
36567
36568 SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36569 PyObject *resultobj = 0;
36570 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36571 wxTreeItemId *arg2 = 0 ;
36572 void *argp1 = 0 ;
36573 int res1 = 0 ;
36574 void *argp2 = 0 ;
36575 int res2 = 0 ;
36576 PyObject * obj0 = 0 ;
36577 PyObject * obj1 = 0 ;
36578 char * kwnames[] = {
36579 (char *) "self",(char *) "item", NULL
36580 };
36581
36582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36584 if (!SWIG_IsOK(res1)) {
36585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36586 }
36587 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36588 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36589 if (!SWIG_IsOK(res2)) {
36590 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36591 }
36592 if (!argp2) {
36593 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36594 }
36595 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36596 {
36597 PyThreadState* __tstate = wxPyBeginAllowThreads();
36598 (arg1)->Delete((wxTreeItemId const &)*arg2);
36599 wxPyEndAllowThreads(__tstate);
36600 if (PyErr_Occurred()) SWIG_fail;
36601 }
36602 resultobj = SWIG_Py_Void();
36603 return resultobj;
36604 fail:
36605 return NULL;
36606 }
36607
36608
36609 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36610 PyObject *resultobj = 0;
36611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36612 wxTreeItemId *arg2 = 0 ;
36613 void *argp1 = 0 ;
36614 int res1 = 0 ;
36615 void *argp2 = 0 ;
36616 int res2 = 0 ;
36617 PyObject * obj0 = 0 ;
36618 PyObject * obj1 = 0 ;
36619 char * kwnames[] = {
36620 (char *) "self",(char *) "item", NULL
36621 };
36622
36623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36625 if (!SWIG_IsOK(res1)) {
36626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36627 }
36628 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36629 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36630 if (!SWIG_IsOK(res2)) {
36631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36632 }
36633 if (!argp2) {
36634 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36635 }
36636 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36637 {
36638 PyThreadState* __tstate = wxPyBeginAllowThreads();
36639 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36640 wxPyEndAllowThreads(__tstate);
36641 if (PyErr_Occurred()) SWIG_fail;
36642 }
36643 resultobj = SWIG_Py_Void();
36644 return resultobj;
36645 fail:
36646 return NULL;
36647 }
36648
36649
36650 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36651 PyObject *resultobj = 0;
36652 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36653 void *argp1 = 0 ;
36654 int res1 = 0 ;
36655 PyObject *swig_obj[1] ;
36656
36657 if (!args) SWIG_fail;
36658 swig_obj[0] = args;
36659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36660 if (!SWIG_IsOK(res1)) {
36661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36662 }
36663 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36664 {
36665 PyThreadState* __tstate = wxPyBeginAllowThreads();
36666 (arg1)->DeleteAllItems();
36667 wxPyEndAllowThreads(__tstate);
36668 if (PyErr_Occurred()) SWIG_fail;
36669 }
36670 resultobj = SWIG_Py_Void();
36671 return resultobj;
36672 fail:
36673 return NULL;
36674 }
36675
36676
36677 SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36678 PyObject *resultobj = 0;
36679 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36680 wxTreeItemId *arg2 = 0 ;
36681 void *argp1 = 0 ;
36682 int res1 = 0 ;
36683 void *argp2 = 0 ;
36684 int res2 = 0 ;
36685 PyObject * obj0 = 0 ;
36686 PyObject * obj1 = 0 ;
36687 char * kwnames[] = {
36688 (char *) "self",(char *) "item", NULL
36689 };
36690
36691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36693 if (!SWIG_IsOK(res1)) {
36694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36695 }
36696 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36697 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36698 if (!SWIG_IsOK(res2)) {
36699 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36700 }
36701 if (!argp2) {
36702 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36703 }
36704 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36705 {
36706 PyThreadState* __tstate = wxPyBeginAllowThreads();
36707 (arg1)->Expand((wxTreeItemId const &)*arg2);
36708 wxPyEndAllowThreads(__tstate);
36709 if (PyErr_Occurred()) SWIG_fail;
36710 }
36711 resultobj = SWIG_Py_Void();
36712 return resultobj;
36713 fail:
36714 return NULL;
36715 }
36716
36717
36718 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36719 PyObject *resultobj = 0;
36720 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36721 wxTreeItemId *arg2 = 0 ;
36722 void *argp1 = 0 ;
36723 int res1 = 0 ;
36724 void *argp2 = 0 ;
36725 int res2 = 0 ;
36726 PyObject * obj0 = 0 ;
36727 PyObject * obj1 = 0 ;
36728 char * kwnames[] = {
36729 (char *) "self",(char *) "item", NULL
36730 };
36731
36732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36734 if (!SWIG_IsOK(res1)) {
36735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36736 }
36737 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36738 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36739 if (!SWIG_IsOK(res2)) {
36740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36741 }
36742 if (!argp2) {
36743 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36744 }
36745 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36746 {
36747 PyThreadState* __tstate = wxPyBeginAllowThreads();
36748 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
36749 wxPyEndAllowThreads(__tstate);
36750 if (PyErr_Occurred()) SWIG_fail;
36751 }
36752 resultobj = SWIG_Py_Void();
36753 return resultobj;
36754 fail:
36755 return NULL;
36756 }
36757
36758
36759 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36760 PyObject *resultobj = 0;
36761 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36762 void *argp1 = 0 ;
36763 int res1 = 0 ;
36764 PyObject *swig_obj[1] ;
36765
36766 if (!args) SWIG_fail;
36767 swig_obj[0] = args;
36768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36769 if (!SWIG_IsOK(res1)) {
36770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36771 }
36772 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36773 {
36774 PyThreadState* __tstate = wxPyBeginAllowThreads();
36775 (arg1)->ExpandAll();
36776 wxPyEndAllowThreads(__tstate);
36777 if (PyErr_Occurred()) SWIG_fail;
36778 }
36779 resultobj = SWIG_Py_Void();
36780 return resultobj;
36781 fail:
36782 return NULL;
36783 }
36784
36785
36786 SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36787 PyObject *resultobj = 0;
36788 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36789 wxTreeItemId *arg2 = 0 ;
36790 void *argp1 = 0 ;
36791 int res1 = 0 ;
36792 void *argp2 = 0 ;
36793 int res2 = 0 ;
36794 PyObject * obj0 = 0 ;
36795 PyObject * obj1 = 0 ;
36796 char * kwnames[] = {
36797 (char *) "self",(char *) "item", NULL
36798 };
36799
36800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36802 if (!SWIG_IsOK(res1)) {
36803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36804 }
36805 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36806 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36807 if (!SWIG_IsOK(res2)) {
36808 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36809 }
36810 if (!argp2) {
36811 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36812 }
36813 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36814 {
36815 PyThreadState* __tstate = wxPyBeginAllowThreads();
36816 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36817 wxPyEndAllowThreads(__tstate);
36818 if (PyErr_Occurred()) SWIG_fail;
36819 }
36820 resultobj = SWIG_Py_Void();
36821 return resultobj;
36822 fail:
36823 return NULL;
36824 }
36825
36826
36827 SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36828 PyObject *resultobj = 0;
36829 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36830 wxTreeItemId *arg2 = 0 ;
36831 void *argp1 = 0 ;
36832 int res1 = 0 ;
36833 void *argp2 = 0 ;
36834 int res2 = 0 ;
36835 PyObject * obj0 = 0 ;
36836 PyObject * obj1 = 0 ;
36837 char * kwnames[] = {
36838 (char *) "self",(char *) "item", NULL
36839 };
36840
36841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36843 if (!SWIG_IsOK(res1)) {
36844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36845 }
36846 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36847 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36848 if (!SWIG_IsOK(res2)) {
36849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36850 }
36851 if (!argp2) {
36852 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36853 }
36854 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36855 {
36856 PyThreadState* __tstate = wxPyBeginAllowThreads();
36857 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36858 wxPyEndAllowThreads(__tstate);
36859 if (PyErr_Occurred()) SWIG_fail;
36860 }
36861 resultobj = SWIG_Py_Void();
36862 return resultobj;
36863 fail:
36864 return NULL;
36865 }
36866
36867
36868 SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36869 PyObject *resultobj = 0;
36870 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36871 wxTreeItemId *arg2 = 0 ;
36872 void *argp1 = 0 ;
36873 int res1 = 0 ;
36874 void *argp2 = 0 ;
36875 int res2 = 0 ;
36876 PyObject * obj0 = 0 ;
36877 PyObject * obj1 = 0 ;
36878 char * kwnames[] = {
36879 (char *) "self",(char *) "item", NULL
36880 };
36881
36882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36884 if (!SWIG_IsOK(res1)) {
36885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36886 }
36887 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36888 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36889 if (!SWIG_IsOK(res2)) {
36890 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36891 }
36892 if (!argp2) {
36893 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36894 }
36895 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36896 {
36897 PyThreadState* __tstate = wxPyBeginAllowThreads();
36898 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36899 wxPyEndAllowThreads(__tstate);
36900 if (PyErr_Occurred()) SWIG_fail;
36901 }
36902 resultobj = SWIG_Py_Void();
36903 return resultobj;
36904 fail:
36905 return NULL;
36906 }
36907
36908
36909 SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36910 PyObject *resultobj = 0;
36911 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36912 void *argp1 = 0 ;
36913 int res1 = 0 ;
36914 PyObject *swig_obj[1] ;
36915
36916 if (!args) SWIG_fail;
36917 swig_obj[0] = args;
36918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36919 if (!SWIG_IsOK(res1)) {
36920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36921 }
36922 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36923 {
36924 PyThreadState* __tstate = wxPyBeginAllowThreads();
36925 (arg1)->Unselect();
36926 wxPyEndAllowThreads(__tstate);
36927 if (PyErr_Occurred()) SWIG_fail;
36928 }
36929 resultobj = SWIG_Py_Void();
36930 return resultobj;
36931 fail:
36932 return NULL;
36933 }
36934
36935
36936 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36937 PyObject *resultobj = 0;
36938 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36939 wxTreeItemId *arg2 = 0 ;
36940 void *argp1 = 0 ;
36941 int res1 = 0 ;
36942 void *argp2 = 0 ;
36943 int res2 = 0 ;
36944 PyObject * obj0 = 0 ;
36945 PyObject * obj1 = 0 ;
36946 char * kwnames[] = {
36947 (char *) "self",(char *) "item", NULL
36948 };
36949
36950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36952 if (!SWIG_IsOK(res1)) {
36953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36954 }
36955 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36956 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36957 if (!SWIG_IsOK(res2)) {
36958 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36959 }
36960 if (!argp2) {
36961 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36962 }
36963 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36964 {
36965 PyThreadState* __tstate = wxPyBeginAllowThreads();
36966 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36967 wxPyEndAllowThreads(__tstate);
36968 if (PyErr_Occurred()) SWIG_fail;
36969 }
36970 resultobj = SWIG_Py_Void();
36971 return resultobj;
36972 fail:
36973 return NULL;
36974 }
36975
36976
36977 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36978 PyObject *resultobj = 0;
36979 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36980 void *argp1 = 0 ;
36981 int res1 = 0 ;
36982 PyObject *swig_obj[1] ;
36983
36984 if (!args) SWIG_fail;
36985 swig_obj[0] = args;
36986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36987 if (!SWIG_IsOK(res1)) {
36988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36989 }
36990 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36991 {
36992 PyThreadState* __tstate = wxPyBeginAllowThreads();
36993 (arg1)->UnselectAll();
36994 wxPyEndAllowThreads(__tstate);
36995 if (PyErr_Occurred()) SWIG_fail;
36996 }
36997 resultobj = SWIG_Py_Void();
36998 return resultobj;
36999 fail:
37000 return NULL;
37001 }
37002
37003
37004 SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37005 PyObject *resultobj = 0;
37006 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37007 wxTreeItemId *arg2 = 0 ;
37008 bool arg3 = (bool) true ;
37009 void *argp1 = 0 ;
37010 int res1 = 0 ;
37011 void *argp2 = 0 ;
37012 int res2 = 0 ;
37013 bool val3 ;
37014 int ecode3 = 0 ;
37015 PyObject * obj0 = 0 ;
37016 PyObject * obj1 = 0 ;
37017 PyObject * obj2 = 0 ;
37018 char * kwnames[] = {
37019 (char *) "self",(char *) "item",(char *) "select", NULL
37020 };
37021
37022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37024 if (!SWIG_IsOK(res1)) {
37025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37026 }
37027 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37028 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37029 if (!SWIG_IsOK(res2)) {
37030 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37031 }
37032 if (!argp2) {
37033 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37034 }
37035 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37036 if (obj2) {
37037 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37038 if (!SWIG_IsOK(ecode3)) {
37039 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37040 }
37041 arg3 = static_cast< bool >(val3);
37042 }
37043 {
37044 PyThreadState* __tstate = wxPyBeginAllowThreads();
37045 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
37046 wxPyEndAllowThreads(__tstate);
37047 if (PyErr_Occurred()) SWIG_fail;
37048 }
37049 resultobj = SWIG_Py_Void();
37050 return resultobj;
37051 fail:
37052 return NULL;
37053 }
37054
37055
37056 SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37057 PyObject *resultobj = 0;
37058 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37059 wxTreeItemId *arg2 = 0 ;
37060 void *argp1 = 0 ;
37061 int res1 = 0 ;
37062 void *argp2 = 0 ;
37063 int res2 = 0 ;
37064 PyObject * obj0 = 0 ;
37065 PyObject * obj1 = 0 ;
37066 char * kwnames[] = {
37067 (char *) "self",(char *) "item", NULL
37068 };
37069
37070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
37071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37072 if (!SWIG_IsOK(res1)) {
37073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37074 }
37075 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37076 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37077 if (!SWIG_IsOK(res2)) {
37078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37079 }
37080 if (!argp2) {
37081 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37082 }
37083 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37084 {
37085 PyThreadState* __tstate = wxPyBeginAllowThreads();
37086 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
37087 wxPyEndAllowThreads(__tstate);
37088 if (PyErr_Occurred()) SWIG_fail;
37089 }
37090 resultobj = SWIG_Py_Void();
37091 return resultobj;
37092 fail:
37093 return NULL;
37094 }
37095
37096
37097 SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37098 PyObject *resultobj = 0;
37099 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37100 wxTreeItemId *arg2 = 0 ;
37101 void *argp1 = 0 ;
37102 int res1 = 0 ;
37103 void *argp2 = 0 ;
37104 int res2 = 0 ;
37105 PyObject * obj0 = 0 ;
37106 PyObject * obj1 = 0 ;
37107 char * kwnames[] = {
37108 (char *) "self",(char *) "item", NULL
37109 };
37110
37111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
37112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37113 if (!SWIG_IsOK(res1)) {
37114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37115 }
37116 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37117 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37118 if (!SWIG_IsOK(res2)) {
37119 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37120 }
37121 if (!argp2) {
37122 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37123 }
37124 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37125 {
37126 PyThreadState* __tstate = wxPyBeginAllowThreads();
37127 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
37128 wxPyEndAllowThreads(__tstate);
37129 if (PyErr_Occurred()) SWIG_fail;
37130 }
37131 resultobj = SWIG_Py_Void();
37132 return resultobj;
37133 fail:
37134 return NULL;
37135 }
37136
37137
37138 SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37139 PyObject *resultobj = 0;
37140 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37141 wxTreeItemId *arg2 = 0 ;
37142 void *argp1 = 0 ;
37143 int res1 = 0 ;
37144 void *argp2 = 0 ;
37145 int res2 = 0 ;
37146 PyObject * obj0 = 0 ;
37147 PyObject * obj1 = 0 ;
37148 char * kwnames[] = {
37149 (char *) "self",(char *) "item", NULL
37150 };
37151
37152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
37153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37154 if (!SWIG_IsOK(res1)) {
37155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37156 }
37157 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37158 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37159 if (!SWIG_IsOK(res2)) {
37160 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37161 }
37162 if (!argp2) {
37163 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37164 }
37165 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37166 {
37167 PyThreadState* __tstate = wxPyBeginAllowThreads();
37168 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
37169 wxPyEndAllowThreads(__tstate);
37170 if (PyErr_Occurred()) SWIG_fail;
37171 }
37172 resultobj = SWIG_Py_Void();
37173 return resultobj;
37174 fail:
37175 return NULL;
37176 }
37177
37178
37179 SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37180 PyObject *resultobj = 0;
37181 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37182 wxTreeItemId *arg2 = 0 ;
37183 void *argp1 = 0 ;
37184 int res1 = 0 ;
37185 void *argp2 = 0 ;
37186 int res2 = 0 ;
37187 PyObject * obj0 = 0 ;
37188 PyObject * obj1 = 0 ;
37189 char * kwnames[] = {
37190 (char *) "self",(char *) "item", NULL
37191 };
37192
37193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
37194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37195 if (!SWIG_IsOK(res1)) {
37196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37197 }
37198 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37199 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37200 if (!SWIG_IsOK(res2)) {
37201 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37202 }
37203 if (!argp2) {
37204 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37205 }
37206 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37207 {
37208 PyThreadState* __tstate = wxPyBeginAllowThreads();
37209 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
37210 wxPyEndAllowThreads(__tstate);
37211 if (PyErr_Occurred()) SWIG_fail;
37212 }
37213 resultobj = SWIG_Py_Void();
37214 return resultobj;
37215 fail:
37216 return NULL;
37217 }
37218
37219
37220 SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37221 PyObject *resultobj = 0;
37222 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37223 wxTextCtrl *result = 0 ;
37224 void *argp1 = 0 ;
37225 int res1 = 0 ;
37226 PyObject *swig_obj[1] ;
37227
37228 if (!args) SWIG_fail;
37229 swig_obj[0] = args;
37230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37231 if (!SWIG_IsOK(res1)) {
37232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37233 }
37234 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37235 {
37236 PyThreadState* __tstate = wxPyBeginAllowThreads();
37237 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
37238 wxPyEndAllowThreads(__tstate);
37239 if (PyErr_Occurred()) SWIG_fail;
37240 }
37241 {
37242 resultobj = wxPyMake_wxObject(result, 0);
37243 }
37244 return resultobj;
37245 fail:
37246 return NULL;
37247 }
37248
37249
37250 SWIGINTERN PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37251 PyObject *resultobj = 0;
37252 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37253 wxTreeItemId *arg2 = 0 ;
37254 bool arg3 = (bool) false ;
37255 void *argp1 = 0 ;
37256 int res1 = 0 ;
37257 void *argp2 = 0 ;
37258 int res2 = 0 ;
37259 bool val3 ;
37260 int ecode3 = 0 ;
37261 PyObject * obj0 = 0 ;
37262 PyObject * obj1 = 0 ;
37263 PyObject * obj2 = 0 ;
37264 char * kwnames[] = {
37265 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37266 };
37267
37268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37270 if (!SWIG_IsOK(res1)) {
37271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37272 }
37273 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37274 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37275 if (!SWIG_IsOK(res2)) {
37276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37277 }
37278 if (!argp2) {
37279 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37280 }
37281 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37282 if (obj2) {
37283 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37284 if (!SWIG_IsOK(ecode3)) {
37285 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37286 }
37287 arg3 = static_cast< bool >(val3);
37288 }
37289 {
37290 PyThreadState* __tstate = wxPyBeginAllowThreads();
37291 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
37292 wxPyEndAllowThreads(__tstate);
37293 if (PyErr_Occurred()) SWIG_fail;
37294 }
37295 resultobj = SWIG_Py_Void();
37296 return resultobj;
37297 fail:
37298 return NULL;
37299 }
37300
37301
37302 SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37303 PyObject *resultobj = 0;
37304 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37305 wxTreeItemId *arg2 = 0 ;
37306 void *argp1 = 0 ;
37307 int res1 = 0 ;
37308 void *argp2 = 0 ;
37309 int res2 = 0 ;
37310 PyObject * obj0 = 0 ;
37311 PyObject * obj1 = 0 ;
37312 char * kwnames[] = {
37313 (char *) "self",(char *) "item", NULL
37314 };
37315
37316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37318 if (!SWIG_IsOK(res1)) {
37319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37320 }
37321 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37322 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37323 if (!SWIG_IsOK(res2)) {
37324 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37325 }
37326 if (!argp2) {
37327 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37328 }
37329 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37330 {
37331 PyThreadState* __tstate = wxPyBeginAllowThreads();
37332 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
37333 wxPyEndAllowThreads(__tstate);
37334 if (PyErr_Occurred()) SWIG_fail;
37335 }
37336 resultobj = SWIG_Py_Void();
37337 return resultobj;
37338 fail:
37339 return NULL;
37340 }
37341
37342
37343 SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37344 PyObject *resultobj = 0;
37345 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37346 wxPoint *arg2 = 0 ;
37347 int *arg3 = 0 ;
37348 wxTreeItemId result;
37349 void *argp1 = 0 ;
37350 int res1 = 0 ;
37351 wxPoint temp2 ;
37352 int temp3 ;
37353 int res3 = SWIG_TMPOBJ ;
37354 PyObject * obj0 = 0 ;
37355 PyObject * obj1 = 0 ;
37356 char * kwnames[] = {
37357 (char *) "self",(char *) "point", NULL
37358 };
37359
37360 arg3 = &temp3;
37361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37363 if (!SWIG_IsOK(res1)) {
37364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37365 }
37366 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37367 {
37368 arg2 = &temp2;
37369 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37370 }
37371 {
37372 PyThreadState* __tstate = wxPyBeginAllowThreads();
37373 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37374 wxPyEndAllowThreads(__tstate);
37375 if (PyErr_Occurred()) SWIG_fail;
37376 }
37377 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37378 if (SWIG_IsTmpObj(res3)) {
37379 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37380 } else {
37381 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37382 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37383 }
37384 return resultobj;
37385 fail:
37386 return NULL;
37387 }
37388
37389
37390 SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37391 PyObject *resultobj = 0;
37392 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37393 wxTreeItemId *arg2 = 0 ;
37394 bool arg3 = (bool) false ;
37395 PyObject *result = 0 ;
37396 void *argp1 = 0 ;
37397 int res1 = 0 ;
37398 void *argp2 = 0 ;
37399 int res2 = 0 ;
37400 bool val3 ;
37401 int ecode3 = 0 ;
37402 PyObject * obj0 = 0 ;
37403 PyObject * obj1 = 0 ;
37404 PyObject * obj2 = 0 ;
37405 char * kwnames[] = {
37406 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37407 };
37408
37409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37411 if (!SWIG_IsOK(res1)) {
37412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37413 }
37414 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37415 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37416 if (!SWIG_IsOK(res2)) {
37417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37418 }
37419 if (!argp2) {
37420 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37421 }
37422 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37423 if (obj2) {
37424 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37425 if (!SWIG_IsOK(ecode3)) {
37426 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37427 }
37428 arg3 = static_cast< bool >(val3);
37429 }
37430 {
37431 PyThreadState* __tstate = wxPyBeginAllowThreads();
37432 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37433 wxPyEndAllowThreads(__tstate);
37434 if (PyErr_Occurred()) SWIG_fail;
37435 }
37436 resultobj = result;
37437 return resultobj;
37438 fail:
37439 return NULL;
37440 }
37441
37442
37443 SWIGINTERN PyObject *_wrap_TreeCtrl_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37444 PyObject *resultobj = 0;
37445 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37446 wxTreeItemId *arg2 = 0 ;
37447 int arg3 ;
37448 void *argp1 = 0 ;
37449 int res1 = 0 ;
37450 void *argp2 = 0 ;
37451 int res2 = 0 ;
37452 int val3 ;
37453 int ecode3 = 0 ;
37454 PyObject * obj0 = 0 ;
37455 PyObject * obj1 = 0 ;
37456 PyObject * obj2 = 0 ;
37457 char * kwnames[] = {
37458 (char *) "self",(char *) "node",(char *) "state", NULL
37459 };
37460
37461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37463 if (!SWIG_IsOK(res1)) {
37464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37465 }
37466 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37467 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37468 if (!SWIG_IsOK(res2)) {
37469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37470 }
37471 if (!argp2) {
37472 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37473 }
37474 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37475 ecode3 = SWIG_AsVal_int(obj2, &val3);
37476 if (!SWIG_IsOK(ecode3)) {
37477 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37478 }
37479 arg3 = static_cast< int >(val3);
37480 {
37481 PyThreadState* __tstate = wxPyBeginAllowThreads();
37482 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
37483 wxPyEndAllowThreads(__tstate);
37484 if (PyErr_Occurred()) SWIG_fail;
37485 }
37486 resultobj = SWIG_Py_Void();
37487 return resultobj;
37488 fail:
37489 return NULL;
37490 }
37491
37492
37493 SWIGINTERN PyObject *_wrap_TreeCtrl_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37494 PyObject *resultobj = 0;
37495 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37496 wxTreeItemId *arg2 = 0 ;
37497 int result;
37498 void *argp1 = 0 ;
37499 int res1 = 0 ;
37500 void *argp2 = 0 ;
37501 int res2 = 0 ;
37502 PyObject * obj0 = 0 ;
37503 PyObject * obj1 = 0 ;
37504 char * kwnames[] = {
37505 (char *) "self",(char *) "node", NULL
37506 };
37507
37508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) SWIG_fail;
37509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37510 if (!SWIG_IsOK(res1)) {
37511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37512 }
37513 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37514 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37515 if (!SWIG_IsOK(res2)) {
37516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37517 }
37518 if (!argp2) {
37519 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37520 }
37521 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37522 {
37523 PyThreadState* __tstate = wxPyBeginAllowThreads();
37524 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
37525 wxPyEndAllowThreads(__tstate);
37526 if (PyErr_Occurred()) SWIG_fail;
37527 }
37528 resultobj = SWIG_From_int(static_cast< int >(result));
37529 return resultobj;
37530 fail:
37531 return NULL;
37532 }
37533
37534
37535 SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37536 PyObject *resultobj = 0;
37537 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37538 SwigValueWrapper<wxVisualAttributes > result;
37539 int val1 ;
37540 int ecode1 = 0 ;
37541 PyObject * obj0 = 0 ;
37542 char * kwnames[] = {
37543 (char *) "variant", NULL
37544 };
37545
37546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37547 if (obj0) {
37548 ecode1 = SWIG_AsVal_int(obj0, &val1);
37549 if (!SWIG_IsOK(ecode1)) {
37550 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37551 }
37552 arg1 = static_cast< wxWindowVariant >(val1);
37553 }
37554 {
37555 if (!wxPyCheckForApp()) SWIG_fail;
37556 PyThreadState* __tstate = wxPyBeginAllowThreads();
37557 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37558 wxPyEndAllowThreads(__tstate);
37559 if (PyErr_Occurred()) SWIG_fail;
37560 }
37561 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37562 return resultobj;
37563 fail:
37564 return NULL;
37565 }
37566
37567
37568 SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37569 PyObject *resultobj = 0;
37570 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37571 bool arg2 ;
37572 void *argp1 = 0 ;
37573 int res1 = 0 ;
37574 bool val2 ;
37575 int ecode2 = 0 ;
37576 PyObject * obj0 = 0 ;
37577 PyObject * obj1 = 0 ;
37578 char * kwnames[] = {
37579 (char *) "self",(char *) "q", NULL
37580 };
37581
37582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37584 if (!SWIG_IsOK(res1)) {
37585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37586 }
37587 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37588 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37589 if (!SWIG_IsOK(ecode2)) {
37590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37591 }
37592 arg2 = static_cast< bool >(val2);
37593 {
37594 PyThreadState* __tstate = wxPyBeginAllowThreads();
37595 (arg1)->SetQuickBestSize(arg2);
37596 wxPyEndAllowThreads(__tstate);
37597 if (PyErr_Occurred()) SWIG_fail;
37598 }
37599 resultobj = SWIG_Py_Void();
37600 return resultobj;
37601 fail:
37602 return NULL;
37603 }
37604
37605
37606 SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37607 PyObject *resultobj = 0;
37608 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37609 bool result;
37610 void *argp1 = 0 ;
37611 int res1 = 0 ;
37612 PyObject *swig_obj[1] ;
37613
37614 if (!args) SWIG_fail;
37615 swig_obj[0] = args;
37616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37617 if (!SWIG_IsOK(res1)) {
37618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37619 }
37620 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37621 {
37622 PyThreadState* __tstate = wxPyBeginAllowThreads();
37623 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37624 wxPyEndAllowThreads(__tstate);
37625 if (PyErr_Occurred()) SWIG_fail;
37626 }
37627 {
37628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37629 }
37630 return resultobj;
37631 fail:
37632 return NULL;
37633 }
37634
37635
37636 SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37637 PyObject *obj;
37638 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37639 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37640 return SWIG_Py_Void();
37641 }
37642
37643 SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37644 return SWIG_Python_InitShadowInstance(args);
37645 }
37646
37647 SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37648 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37649 return 1;
37650 }
37651
37652
37653 SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37654 PyObject *pyobj = 0;
37655
37656 {
37657 #if wxUSE_UNICODE
37658 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37659 #else
37660 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37661 #endif
37662 }
37663 return pyobj;
37664 }
37665
37666
37667 SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37668 PyObject *resultobj = 0;
37669 wxWindow *arg1 = (wxWindow *) 0 ;
37670 int arg2 = (int) (int)-1 ;
37671 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37672 wxString *arg3 = (wxString *) &arg3_defvalue ;
37673 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37674 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37675 wxSize const &arg5_defvalue = wxDefaultSize ;
37676 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37677 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37678 wxString const &arg7_defvalue = wxPyEmptyString ;
37679 wxString *arg7 = (wxString *) &arg7_defvalue ;
37680 int arg8 = (int) 0 ;
37681 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37682 wxString *arg9 = (wxString *) &arg9_defvalue ;
37683 wxGenericDirCtrl *result = 0 ;
37684 void *argp1 = 0 ;
37685 int res1 = 0 ;
37686 int val2 ;
37687 int ecode2 = 0 ;
37688 bool temp3 = false ;
37689 wxPoint temp4 ;
37690 wxSize temp5 ;
37691 long val6 ;
37692 int ecode6 = 0 ;
37693 bool temp7 = false ;
37694 int val8 ;
37695 int ecode8 = 0 ;
37696 bool temp9 = false ;
37697 PyObject * obj0 = 0 ;
37698 PyObject * obj1 = 0 ;
37699 PyObject * obj2 = 0 ;
37700 PyObject * obj3 = 0 ;
37701 PyObject * obj4 = 0 ;
37702 PyObject * obj5 = 0 ;
37703 PyObject * obj6 = 0 ;
37704 PyObject * obj7 = 0 ;
37705 PyObject * obj8 = 0 ;
37706 char * kwnames[] = {
37707 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37708 };
37709
37710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37712 if (!SWIG_IsOK(res1)) {
37713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37714 }
37715 arg1 = reinterpret_cast< wxWindow * >(argp1);
37716 if (obj1) {
37717 ecode2 = SWIG_AsVal_int(obj1, &val2);
37718 if (!SWIG_IsOK(ecode2)) {
37719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37720 }
37721 arg2 = static_cast< int >(val2);
37722 }
37723 if (obj2) {
37724 {
37725 arg3 = wxString_in_helper(obj2);
37726 if (arg3 == NULL) SWIG_fail;
37727 temp3 = true;
37728 }
37729 }
37730 if (obj3) {
37731 {
37732 arg4 = &temp4;
37733 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
37734 }
37735 }
37736 if (obj4) {
37737 {
37738 arg5 = &temp5;
37739 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
37740 }
37741 }
37742 if (obj5) {
37743 ecode6 = SWIG_AsVal_long(obj5, &val6);
37744 if (!SWIG_IsOK(ecode6)) {
37745 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37746 }
37747 arg6 = static_cast< long >(val6);
37748 }
37749 if (obj6) {
37750 {
37751 arg7 = wxString_in_helper(obj6);
37752 if (arg7 == NULL) SWIG_fail;
37753 temp7 = true;
37754 }
37755 }
37756 if (obj7) {
37757 ecode8 = SWIG_AsVal_int(obj7, &val8);
37758 if (!SWIG_IsOK(ecode8)) {
37759 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37760 }
37761 arg8 = static_cast< int >(val8);
37762 }
37763 if (obj8) {
37764 {
37765 arg9 = wxString_in_helper(obj8);
37766 if (arg9 == NULL) SWIG_fail;
37767 temp9 = true;
37768 }
37769 }
37770 {
37771 if (!wxPyCheckForApp()) SWIG_fail;
37772 PyThreadState* __tstate = wxPyBeginAllowThreads();
37773 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37774 wxPyEndAllowThreads(__tstate);
37775 if (PyErr_Occurred()) SWIG_fail;
37776 }
37777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37778 {
37779 if (temp3)
37780 delete arg3;
37781 }
37782 {
37783 if (temp7)
37784 delete arg7;
37785 }
37786 {
37787 if (temp9)
37788 delete arg9;
37789 }
37790 return resultobj;
37791 fail:
37792 {
37793 if (temp3)
37794 delete arg3;
37795 }
37796 {
37797 if (temp7)
37798 delete arg7;
37799 }
37800 {
37801 if (temp9)
37802 delete arg9;
37803 }
37804 return NULL;
37805 }
37806
37807
37808 SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37809 PyObject *resultobj = 0;
37810 wxGenericDirCtrl *result = 0 ;
37811
37812 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37813 {
37814 if (!wxPyCheckForApp()) SWIG_fail;
37815 PyThreadState* __tstate = wxPyBeginAllowThreads();
37816 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37817 wxPyEndAllowThreads(__tstate);
37818 if (PyErr_Occurred()) SWIG_fail;
37819 }
37820 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37821 return resultobj;
37822 fail:
37823 return NULL;
37824 }
37825
37826
37827 SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37828 PyObject *resultobj = 0;
37829 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37830 wxWindow *arg2 = (wxWindow *) 0 ;
37831 int arg3 = (int) (int)-1 ;
37832 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37833 wxString *arg4 = (wxString *) &arg4_defvalue ;
37834 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37835 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37836 wxSize const &arg6_defvalue = wxDefaultSize ;
37837 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37838 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37839 wxString const &arg8_defvalue = wxPyEmptyString ;
37840 wxString *arg8 = (wxString *) &arg8_defvalue ;
37841 int arg9 = (int) 0 ;
37842 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37843 wxString *arg10 = (wxString *) &arg10_defvalue ;
37844 bool result;
37845 void *argp1 = 0 ;
37846 int res1 = 0 ;
37847 void *argp2 = 0 ;
37848 int res2 = 0 ;
37849 int val3 ;
37850 int ecode3 = 0 ;
37851 bool temp4 = false ;
37852 wxPoint temp5 ;
37853 wxSize temp6 ;
37854 long val7 ;
37855 int ecode7 = 0 ;
37856 bool temp8 = false ;
37857 int val9 ;
37858 int ecode9 = 0 ;
37859 bool temp10 = false ;
37860 PyObject * obj0 = 0 ;
37861 PyObject * obj1 = 0 ;
37862 PyObject * obj2 = 0 ;
37863 PyObject * obj3 = 0 ;
37864 PyObject * obj4 = 0 ;
37865 PyObject * obj5 = 0 ;
37866 PyObject * obj6 = 0 ;
37867 PyObject * obj7 = 0 ;
37868 PyObject * obj8 = 0 ;
37869 PyObject * obj9 = 0 ;
37870 char * kwnames[] = {
37871 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37872 };
37873
37874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37876 if (!SWIG_IsOK(res1)) {
37877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37878 }
37879 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37880 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37881 if (!SWIG_IsOK(res2)) {
37882 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37883 }
37884 arg2 = reinterpret_cast< wxWindow * >(argp2);
37885 if (obj2) {
37886 ecode3 = SWIG_AsVal_int(obj2, &val3);
37887 if (!SWIG_IsOK(ecode3)) {
37888 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37889 }
37890 arg3 = static_cast< int >(val3);
37891 }
37892 if (obj3) {
37893 {
37894 arg4 = wxString_in_helper(obj3);
37895 if (arg4 == NULL) SWIG_fail;
37896 temp4 = true;
37897 }
37898 }
37899 if (obj4) {
37900 {
37901 arg5 = &temp5;
37902 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
37903 }
37904 }
37905 if (obj5) {
37906 {
37907 arg6 = &temp6;
37908 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
37909 }
37910 }
37911 if (obj6) {
37912 ecode7 = SWIG_AsVal_long(obj6, &val7);
37913 if (!SWIG_IsOK(ecode7)) {
37914 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37915 }
37916 arg7 = static_cast< long >(val7);
37917 }
37918 if (obj7) {
37919 {
37920 arg8 = wxString_in_helper(obj7);
37921 if (arg8 == NULL) SWIG_fail;
37922 temp8 = true;
37923 }
37924 }
37925 if (obj8) {
37926 ecode9 = SWIG_AsVal_int(obj8, &val9);
37927 if (!SWIG_IsOK(ecode9)) {
37928 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37929 }
37930 arg9 = static_cast< int >(val9);
37931 }
37932 if (obj9) {
37933 {
37934 arg10 = wxString_in_helper(obj9);
37935 if (arg10 == NULL) SWIG_fail;
37936 temp10 = true;
37937 }
37938 }
37939 {
37940 PyThreadState* __tstate = wxPyBeginAllowThreads();
37941 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37942 wxPyEndAllowThreads(__tstate);
37943 if (PyErr_Occurred()) SWIG_fail;
37944 }
37945 {
37946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37947 }
37948 {
37949 if (temp4)
37950 delete arg4;
37951 }
37952 {
37953 if (temp8)
37954 delete arg8;
37955 }
37956 {
37957 if (temp10)
37958 delete arg10;
37959 }
37960 return resultobj;
37961 fail:
37962 {
37963 if (temp4)
37964 delete arg4;
37965 }
37966 {
37967 if (temp8)
37968 delete arg8;
37969 }
37970 {
37971 if (temp10)
37972 delete arg10;
37973 }
37974 return NULL;
37975 }
37976
37977
37978 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37979 PyObject *resultobj = 0;
37980 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37981 wxString *arg2 = 0 ;
37982 bool result;
37983 void *argp1 = 0 ;
37984 int res1 = 0 ;
37985 bool temp2 = false ;
37986 PyObject * obj0 = 0 ;
37987 PyObject * obj1 = 0 ;
37988 char * kwnames[] = {
37989 (char *) "self",(char *) "path", NULL
37990 };
37991
37992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37994 if (!SWIG_IsOK(res1)) {
37995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37996 }
37997 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37998 {
37999 arg2 = wxString_in_helper(obj1);
38000 if (arg2 == NULL) SWIG_fail;
38001 temp2 = true;
38002 }
38003 {
38004 PyThreadState* __tstate = wxPyBeginAllowThreads();
38005 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
38006 wxPyEndAllowThreads(__tstate);
38007 if (PyErr_Occurred()) SWIG_fail;
38008 }
38009 {
38010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38011 }
38012 {
38013 if (temp2)
38014 delete arg2;
38015 }
38016 return resultobj;
38017 fail:
38018 {
38019 if (temp2)
38020 delete arg2;
38021 }
38022 return NULL;
38023 }
38024
38025
38026 SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38027 PyObject *resultobj = 0;
38028 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38029 wxString *arg2 = 0 ;
38030 bool result;
38031 void *argp1 = 0 ;
38032 int res1 = 0 ;
38033 bool temp2 = false ;
38034 PyObject * obj0 = 0 ;
38035 PyObject * obj1 = 0 ;
38036 char * kwnames[] = {
38037 (char *) "self",(char *) "path", NULL
38038 };
38039
38040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
38041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38042 if (!SWIG_IsOK(res1)) {
38043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38044 }
38045 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38046 {
38047 arg2 = wxString_in_helper(obj1);
38048 if (arg2 == NULL) SWIG_fail;
38049 temp2 = true;
38050 }
38051 {
38052 PyThreadState* __tstate = wxPyBeginAllowThreads();
38053 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
38054 wxPyEndAllowThreads(__tstate);
38055 if (PyErr_Occurred()) SWIG_fail;
38056 }
38057 {
38058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38059 }
38060 {
38061 if (temp2)
38062 delete arg2;
38063 }
38064 return resultobj;
38065 fail:
38066 {
38067 if (temp2)
38068 delete arg2;
38069 }
38070 return NULL;
38071 }
38072
38073
38074 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38075 PyObject *resultobj = 0;
38076 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38077 wxString result;
38078 void *argp1 = 0 ;
38079 int res1 = 0 ;
38080 PyObject *swig_obj[1] ;
38081
38082 if (!args) SWIG_fail;
38083 swig_obj[0] = args;
38084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38085 if (!SWIG_IsOK(res1)) {
38086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38087 }
38088 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38089 {
38090 PyThreadState* __tstate = wxPyBeginAllowThreads();
38091 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
38092 wxPyEndAllowThreads(__tstate);
38093 if (PyErr_Occurred()) SWIG_fail;
38094 }
38095 {
38096 #if wxUSE_UNICODE
38097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38098 #else
38099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38100 #endif
38101 }
38102 return resultobj;
38103 fail:
38104 return NULL;
38105 }
38106
38107
38108 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38109 PyObject *resultobj = 0;
38110 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38111 wxString *arg2 = 0 ;
38112 void *argp1 = 0 ;
38113 int res1 = 0 ;
38114 bool temp2 = false ;
38115 PyObject * obj0 = 0 ;
38116 PyObject * obj1 = 0 ;
38117 char * kwnames[] = {
38118 (char *) "self",(char *) "path", NULL
38119 };
38120
38121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
38122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38123 if (!SWIG_IsOK(res1)) {
38124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38125 }
38126 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38127 {
38128 arg2 = wxString_in_helper(obj1);
38129 if (arg2 == NULL) SWIG_fail;
38130 temp2 = true;
38131 }
38132 {
38133 PyThreadState* __tstate = wxPyBeginAllowThreads();
38134 (arg1)->SetDefaultPath((wxString const &)*arg2);
38135 wxPyEndAllowThreads(__tstate);
38136 if (PyErr_Occurred()) SWIG_fail;
38137 }
38138 resultobj = SWIG_Py_Void();
38139 {
38140 if (temp2)
38141 delete arg2;
38142 }
38143 return resultobj;
38144 fail:
38145 {
38146 if (temp2)
38147 delete arg2;
38148 }
38149 return NULL;
38150 }
38151
38152
38153 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38154 PyObject *resultobj = 0;
38155 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38156 wxString result;
38157 void *argp1 = 0 ;
38158 int res1 = 0 ;
38159 PyObject *swig_obj[1] ;
38160
38161 if (!args) SWIG_fail;
38162 swig_obj[0] = args;
38163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38164 if (!SWIG_IsOK(res1)) {
38165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38166 }
38167 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38168 {
38169 PyThreadState* __tstate = wxPyBeginAllowThreads();
38170 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
38171 wxPyEndAllowThreads(__tstate);
38172 if (PyErr_Occurred()) SWIG_fail;
38173 }
38174 {
38175 #if wxUSE_UNICODE
38176 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38177 #else
38178 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38179 #endif
38180 }
38181 return resultobj;
38182 fail:
38183 return NULL;
38184 }
38185
38186
38187 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38188 PyObject *resultobj = 0;
38189 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38190 wxString result;
38191 void *argp1 = 0 ;
38192 int res1 = 0 ;
38193 PyObject *swig_obj[1] ;
38194
38195 if (!args) SWIG_fail;
38196 swig_obj[0] = args;
38197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38198 if (!SWIG_IsOK(res1)) {
38199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38200 }
38201 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38202 {
38203 PyThreadState* __tstate = wxPyBeginAllowThreads();
38204 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
38205 wxPyEndAllowThreads(__tstate);
38206 if (PyErr_Occurred()) SWIG_fail;
38207 }
38208 {
38209 #if wxUSE_UNICODE
38210 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38211 #else
38212 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38213 #endif
38214 }
38215 return resultobj;
38216 fail:
38217 return NULL;
38218 }
38219
38220
38221 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38222 PyObject *resultobj = 0;
38223 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38224 wxString *arg2 = 0 ;
38225 void *argp1 = 0 ;
38226 int res1 = 0 ;
38227 bool temp2 = false ;
38228 PyObject * obj0 = 0 ;
38229 PyObject * obj1 = 0 ;
38230 char * kwnames[] = {
38231 (char *) "self",(char *) "path", NULL
38232 };
38233
38234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
38235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38236 if (!SWIG_IsOK(res1)) {
38237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38238 }
38239 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38240 {
38241 arg2 = wxString_in_helper(obj1);
38242 if (arg2 == NULL) SWIG_fail;
38243 temp2 = true;
38244 }
38245 {
38246 PyThreadState* __tstate = wxPyBeginAllowThreads();
38247 (arg1)->SetPath((wxString const &)*arg2);
38248 wxPyEndAllowThreads(__tstate);
38249 if (PyErr_Occurred()) SWIG_fail;
38250 }
38251 resultobj = SWIG_Py_Void();
38252 {
38253 if (temp2)
38254 delete arg2;
38255 }
38256 return resultobj;
38257 fail:
38258 {
38259 if (temp2)
38260 delete arg2;
38261 }
38262 return NULL;
38263 }
38264
38265
38266 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38267 PyObject *resultobj = 0;
38268 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38269 bool arg2 ;
38270 void *argp1 = 0 ;
38271 int res1 = 0 ;
38272 bool val2 ;
38273 int ecode2 = 0 ;
38274 PyObject * obj0 = 0 ;
38275 PyObject * obj1 = 0 ;
38276 char * kwnames[] = {
38277 (char *) "self",(char *) "show", NULL
38278 };
38279
38280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
38281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38282 if (!SWIG_IsOK(res1)) {
38283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38284 }
38285 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38286 ecode2 = SWIG_AsVal_bool(obj1, &val2);
38287 if (!SWIG_IsOK(ecode2)) {
38288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38289 }
38290 arg2 = static_cast< bool >(val2);
38291 {
38292 PyThreadState* __tstate = wxPyBeginAllowThreads();
38293 (arg1)->ShowHidden(arg2);
38294 wxPyEndAllowThreads(__tstate);
38295 if (PyErr_Occurred()) SWIG_fail;
38296 }
38297 resultobj = SWIG_Py_Void();
38298 return resultobj;
38299 fail:
38300 return NULL;
38301 }
38302
38303
38304 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38305 PyObject *resultobj = 0;
38306 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38307 bool result;
38308 void *argp1 = 0 ;
38309 int res1 = 0 ;
38310 PyObject *swig_obj[1] ;
38311
38312 if (!args) SWIG_fail;
38313 swig_obj[0] = args;
38314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38315 if (!SWIG_IsOK(res1)) {
38316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38317 }
38318 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38319 {
38320 PyThreadState* __tstate = wxPyBeginAllowThreads();
38321 result = (bool)(arg1)->GetShowHidden();
38322 wxPyEndAllowThreads(__tstate);
38323 if (PyErr_Occurred()) SWIG_fail;
38324 }
38325 {
38326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38327 }
38328 return resultobj;
38329 fail:
38330 return NULL;
38331 }
38332
38333
38334 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38335 PyObject *resultobj = 0;
38336 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38337 wxString result;
38338 void *argp1 = 0 ;
38339 int res1 = 0 ;
38340 PyObject *swig_obj[1] ;
38341
38342 if (!args) SWIG_fail;
38343 swig_obj[0] = args;
38344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38345 if (!SWIG_IsOK(res1)) {
38346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38347 }
38348 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38349 {
38350 PyThreadState* __tstate = wxPyBeginAllowThreads();
38351 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38352 wxPyEndAllowThreads(__tstate);
38353 if (PyErr_Occurred()) SWIG_fail;
38354 }
38355 {
38356 #if wxUSE_UNICODE
38357 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38358 #else
38359 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38360 #endif
38361 }
38362 return resultobj;
38363 fail:
38364 return NULL;
38365 }
38366
38367
38368 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38369 PyObject *resultobj = 0;
38370 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38371 wxString *arg2 = 0 ;
38372 void *argp1 = 0 ;
38373 int res1 = 0 ;
38374 bool temp2 = false ;
38375 PyObject * obj0 = 0 ;
38376 PyObject * obj1 = 0 ;
38377 char * kwnames[] = {
38378 (char *) "self",(char *) "filter", NULL
38379 };
38380
38381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38383 if (!SWIG_IsOK(res1)) {
38384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38385 }
38386 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38387 {
38388 arg2 = wxString_in_helper(obj1);
38389 if (arg2 == NULL) SWIG_fail;
38390 temp2 = true;
38391 }
38392 {
38393 PyThreadState* __tstate = wxPyBeginAllowThreads();
38394 (arg1)->SetFilter((wxString const &)*arg2);
38395 wxPyEndAllowThreads(__tstate);
38396 if (PyErr_Occurred()) SWIG_fail;
38397 }
38398 resultobj = SWIG_Py_Void();
38399 {
38400 if (temp2)
38401 delete arg2;
38402 }
38403 return resultobj;
38404 fail:
38405 {
38406 if (temp2)
38407 delete arg2;
38408 }
38409 return NULL;
38410 }
38411
38412
38413 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38414 PyObject *resultobj = 0;
38415 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38416 int result;
38417 void *argp1 = 0 ;
38418 int res1 = 0 ;
38419 PyObject *swig_obj[1] ;
38420
38421 if (!args) SWIG_fail;
38422 swig_obj[0] = args;
38423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38424 if (!SWIG_IsOK(res1)) {
38425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38426 }
38427 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38428 {
38429 PyThreadState* __tstate = wxPyBeginAllowThreads();
38430 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38431 wxPyEndAllowThreads(__tstate);
38432 if (PyErr_Occurred()) SWIG_fail;
38433 }
38434 resultobj = SWIG_From_int(static_cast< int >(result));
38435 return resultobj;
38436 fail:
38437 return NULL;
38438 }
38439
38440
38441 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38442 PyObject *resultobj = 0;
38443 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38444 int arg2 ;
38445 void *argp1 = 0 ;
38446 int res1 = 0 ;
38447 int val2 ;
38448 int ecode2 = 0 ;
38449 PyObject * obj0 = 0 ;
38450 PyObject * obj1 = 0 ;
38451 char * kwnames[] = {
38452 (char *) "self",(char *) "n", NULL
38453 };
38454
38455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
38456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38457 if (!SWIG_IsOK(res1)) {
38458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38459 }
38460 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38461 ecode2 = SWIG_AsVal_int(obj1, &val2);
38462 if (!SWIG_IsOK(ecode2)) {
38463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38464 }
38465 arg2 = static_cast< int >(val2);
38466 {
38467 PyThreadState* __tstate = wxPyBeginAllowThreads();
38468 (arg1)->SetFilterIndex(arg2);
38469 wxPyEndAllowThreads(__tstate);
38470 if (PyErr_Occurred()) SWIG_fail;
38471 }
38472 resultobj = SWIG_Py_Void();
38473 return resultobj;
38474 fail:
38475 return NULL;
38476 }
38477
38478
38479 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38480 PyObject *resultobj = 0;
38481 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38482 wxTreeItemId result;
38483 void *argp1 = 0 ;
38484 int res1 = 0 ;
38485 PyObject *swig_obj[1] ;
38486
38487 if (!args) SWIG_fail;
38488 swig_obj[0] = args;
38489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38490 if (!SWIG_IsOK(res1)) {
38491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38492 }
38493 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38494 {
38495 PyThreadState* __tstate = wxPyBeginAllowThreads();
38496 result = (arg1)->GetRootId();
38497 wxPyEndAllowThreads(__tstate);
38498 if (PyErr_Occurred()) SWIG_fail;
38499 }
38500 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38501 return resultobj;
38502 fail:
38503 return NULL;
38504 }
38505
38506
38507 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38508 PyObject *resultobj = 0;
38509 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38510 wxPyTreeCtrl *result = 0 ;
38511 void *argp1 = 0 ;
38512 int res1 = 0 ;
38513 PyObject *swig_obj[1] ;
38514
38515 if (!args) SWIG_fail;
38516 swig_obj[0] = args;
38517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38518 if (!SWIG_IsOK(res1)) {
38519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38520 }
38521 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38522 {
38523 PyThreadState* __tstate = wxPyBeginAllowThreads();
38524 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38525 wxPyEndAllowThreads(__tstate);
38526 if (PyErr_Occurred()) SWIG_fail;
38527 }
38528 {
38529 resultobj = wxPyMake_wxObject(result, 0);
38530 }
38531 return resultobj;
38532 fail:
38533 return NULL;
38534 }
38535
38536
38537 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38538 PyObject *resultobj = 0;
38539 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38540 wxDirFilterListCtrl *result = 0 ;
38541 void *argp1 = 0 ;
38542 int res1 = 0 ;
38543 PyObject *swig_obj[1] ;
38544
38545 if (!args) SWIG_fail;
38546 swig_obj[0] = args;
38547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38548 if (!SWIG_IsOK(res1)) {
38549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38550 }
38551 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38552 {
38553 PyThreadState* __tstate = wxPyBeginAllowThreads();
38554 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38555 wxPyEndAllowThreads(__tstate);
38556 if (PyErr_Occurred()) SWIG_fail;
38557 }
38558 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38559 return resultobj;
38560 fail:
38561 return NULL;
38562 }
38563
38564
38565 SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38566 PyObject *resultobj = 0;
38567 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38568 wxTreeItemId arg2 ;
38569 wxString *arg3 = 0 ;
38570 bool *arg4 = 0 ;
38571 wxTreeItemId result;
38572 void *argp1 = 0 ;
38573 int res1 = 0 ;
38574 void *argp2 ;
38575 int res2 = 0 ;
38576 bool temp3 = false ;
38577 bool temp4 ;
38578 int res4 = SWIG_TMPOBJ ;
38579 PyObject * obj0 = 0 ;
38580 PyObject * obj1 = 0 ;
38581 PyObject * obj2 = 0 ;
38582 char * kwnames[] = {
38583 (char *) "self",(char *) "parentId",(char *) "path", NULL
38584 };
38585
38586 arg4 = &temp4;
38587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38589 if (!SWIG_IsOK(res1)) {
38590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38591 }
38592 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38593 {
38594 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38595 if (!SWIG_IsOK(res2)) {
38596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38597 }
38598 if (!argp2) {
38599 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38600 } else {
38601 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38602 arg2 = *temp;
38603 if (SWIG_IsNewObj(res2)) delete temp;
38604 }
38605 }
38606 {
38607 arg3 = wxString_in_helper(obj2);
38608 if (arg3 == NULL) SWIG_fail;
38609 temp3 = true;
38610 }
38611 {
38612 PyThreadState* __tstate = wxPyBeginAllowThreads();
38613 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38614 wxPyEndAllowThreads(__tstate);
38615 if (PyErr_Occurred()) SWIG_fail;
38616 }
38617 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38618 if (SWIG_IsTmpObj(res4)) {
38619 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38620 } else {
38621 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38622 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38623 }
38624 {
38625 if (temp3)
38626 delete arg3;
38627 }
38628 return resultobj;
38629 fail:
38630 {
38631 if (temp3)
38632 delete arg3;
38633 }
38634 return NULL;
38635 }
38636
38637
38638 SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38639 PyObject *resultobj = 0;
38640 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38641 void *argp1 = 0 ;
38642 int res1 = 0 ;
38643 PyObject *swig_obj[1] ;
38644
38645 if (!args) SWIG_fail;
38646 swig_obj[0] = args;
38647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38648 if (!SWIG_IsOK(res1)) {
38649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38650 }
38651 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38652 {
38653 PyThreadState* __tstate = wxPyBeginAllowThreads();
38654 (arg1)->DoResize();
38655 wxPyEndAllowThreads(__tstate);
38656 if (PyErr_Occurred()) SWIG_fail;
38657 }
38658 resultobj = SWIG_Py_Void();
38659 return resultobj;
38660 fail:
38661 return NULL;
38662 }
38663
38664
38665 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38666 PyObject *resultobj = 0;
38667 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38668 void *argp1 = 0 ;
38669 int res1 = 0 ;
38670 PyObject *swig_obj[1] ;
38671
38672 if (!args) SWIG_fail;
38673 swig_obj[0] = args;
38674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38675 if (!SWIG_IsOK(res1)) {
38676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38677 }
38678 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38679 {
38680 PyThreadState* __tstate = wxPyBeginAllowThreads();
38681 (arg1)->ReCreateTree();
38682 wxPyEndAllowThreads(__tstate);
38683 if (PyErr_Occurred()) SWIG_fail;
38684 }
38685 resultobj = SWIG_Py_Void();
38686 return resultobj;
38687 fail:
38688 return NULL;
38689 }
38690
38691
38692 SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38693 PyObject *obj;
38694 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38695 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38696 return SWIG_Py_Void();
38697 }
38698
38699 SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38700 return SWIG_Python_InitShadowInstance(args);
38701 }
38702
38703 SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38704 PyObject *resultobj = 0;
38705 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38706 int arg2 = (int) (int)-1 ;
38707 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38708 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38709 wxSize const &arg4_defvalue = wxDefaultSize ;
38710 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38711 long arg5 = (long) 0 ;
38712 wxDirFilterListCtrl *result = 0 ;
38713 void *argp1 = 0 ;
38714 int res1 = 0 ;
38715 int val2 ;
38716 int ecode2 = 0 ;
38717 wxPoint temp3 ;
38718 wxSize temp4 ;
38719 long val5 ;
38720 int ecode5 = 0 ;
38721 PyObject * obj0 = 0 ;
38722 PyObject * obj1 = 0 ;
38723 PyObject * obj2 = 0 ;
38724 PyObject * obj3 = 0 ;
38725 PyObject * obj4 = 0 ;
38726 char * kwnames[] = {
38727 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38728 };
38729
38730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38732 if (!SWIG_IsOK(res1)) {
38733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38734 }
38735 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38736 if (obj1) {
38737 ecode2 = SWIG_AsVal_int(obj1, &val2);
38738 if (!SWIG_IsOK(ecode2)) {
38739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38740 }
38741 arg2 = static_cast< int >(val2);
38742 }
38743 if (obj2) {
38744 {
38745 arg3 = &temp3;
38746 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38747 }
38748 }
38749 if (obj3) {
38750 {
38751 arg4 = &temp4;
38752 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
38753 }
38754 }
38755 if (obj4) {
38756 ecode5 = SWIG_AsVal_long(obj4, &val5);
38757 if (!SWIG_IsOK(ecode5)) {
38758 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38759 }
38760 arg5 = static_cast< long >(val5);
38761 }
38762 {
38763 if (!wxPyCheckForApp()) SWIG_fail;
38764 PyThreadState* __tstate = wxPyBeginAllowThreads();
38765 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38766 wxPyEndAllowThreads(__tstate);
38767 if (PyErr_Occurred()) SWIG_fail;
38768 }
38769 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38770 return resultobj;
38771 fail:
38772 return NULL;
38773 }
38774
38775
38776 SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38777 PyObject *resultobj = 0;
38778 wxDirFilterListCtrl *result = 0 ;
38779
38780 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38781 {
38782 if (!wxPyCheckForApp()) SWIG_fail;
38783 PyThreadState* __tstate = wxPyBeginAllowThreads();
38784 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38785 wxPyEndAllowThreads(__tstate);
38786 if (PyErr_Occurred()) SWIG_fail;
38787 }
38788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38789 return resultobj;
38790 fail:
38791 return NULL;
38792 }
38793
38794
38795 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38796 PyObject *resultobj = 0;
38797 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38798 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38799 int arg3 = (int) (int)-1 ;
38800 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38801 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38802 wxSize const &arg5_defvalue = wxDefaultSize ;
38803 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38804 long arg6 = (long) 0 ;
38805 bool result;
38806 void *argp1 = 0 ;
38807 int res1 = 0 ;
38808 void *argp2 = 0 ;
38809 int res2 = 0 ;
38810 int val3 ;
38811 int ecode3 = 0 ;
38812 wxPoint temp4 ;
38813 wxSize temp5 ;
38814 long val6 ;
38815 int ecode6 = 0 ;
38816 PyObject * obj0 = 0 ;
38817 PyObject * obj1 = 0 ;
38818 PyObject * obj2 = 0 ;
38819 PyObject * obj3 = 0 ;
38820 PyObject * obj4 = 0 ;
38821 PyObject * obj5 = 0 ;
38822 char * kwnames[] = {
38823 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38824 };
38825
38826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38828 if (!SWIG_IsOK(res1)) {
38829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38830 }
38831 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38832 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38833 if (!SWIG_IsOK(res2)) {
38834 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38835 }
38836 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38837 if (obj2) {
38838 ecode3 = SWIG_AsVal_int(obj2, &val3);
38839 if (!SWIG_IsOK(ecode3)) {
38840 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38841 }
38842 arg3 = static_cast< int >(val3);
38843 }
38844 if (obj3) {
38845 {
38846 arg4 = &temp4;
38847 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
38848 }
38849 }
38850 if (obj4) {
38851 {
38852 arg5 = &temp5;
38853 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
38854 }
38855 }
38856 if (obj5) {
38857 ecode6 = SWIG_AsVal_long(obj5, &val6);
38858 if (!SWIG_IsOK(ecode6)) {
38859 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38860 }
38861 arg6 = static_cast< long >(val6);
38862 }
38863 {
38864 PyThreadState* __tstate = wxPyBeginAllowThreads();
38865 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38866 wxPyEndAllowThreads(__tstate);
38867 if (PyErr_Occurred()) SWIG_fail;
38868 }
38869 {
38870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38871 }
38872 return resultobj;
38873 fail:
38874 return NULL;
38875 }
38876
38877
38878 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38879 PyObject *resultobj = 0;
38880 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38881 wxString *arg2 = 0 ;
38882 int arg3 ;
38883 void *argp1 = 0 ;
38884 int res1 = 0 ;
38885 bool temp2 = false ;
38886 int val3 ;
38887 int ecode3 = 0 ;
38888 PyObject * obj0 = 0 ;
38889 PyObject * obj1 = 0 ;
38890 PyObject * obj2 = 0 ;
38891 char * kwnames[] = {
38892 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38893 };
38894
38895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38897 if (!SWIG_IsOK(res1)) {
38898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38899 }
38900 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38901 {
38902 arg2 = wxString_in_helper(obj1);
38903 if (arg2 == NULL) SWIG_fail;
38904 temp2 = true;
38905 }
38906 ecode3 = SWIG_AsVal_int(obj2, &val3);
38907 if (!SWIG_IsOK(ecode3)) {
38908 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38909 }
38910 arg3 = static_cast< int >(val3);
38911 {
38912 PyThreadState* __tstate = wxPyBeginAllowThreads();
38913 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38914 wxPyEndAllowThreads(__tstate);
38915 if (PyErr_Occurred()) SWIG_fail;
38916 }
38917 resultobj = SWIG_Py_Void();
38918 {
38919 if (temp2)
38920 delete arg2;
38921 }
38922 return resultobj;
38923 fail:
38924 {
38925 if (temp2)
38926 delete arg2;
38927 }
38928 return NULL;
38929 }
38930
38931
38932 SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38933 PyObject *obj;
38934 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38935 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38936 return SWIG_Py_Void();
38937 }
38938
38939 SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38940 return SWIG_Python_InitShadowInstance(args);
38941 }
38942
38943 SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38944 PyObject *resultobj = 0;
38945 wxWindow *arg1 = (wxWindow *) 0 ;
38946 int arg2 = (int) (int)-1 ;
38947 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38948 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38949 wxSize const &arg4_defvalue = wxDefaultSize ;
38950 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38951 long arg5 = (long) 0 ;
38952 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38953 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38954 wxString const &arg7_defvalue = wxPyControlNameStr ;
38955 wxString *arg7 = (wxString *) &arg7_defvalue ;
38956 wxPyControl *result = 0 ;
38957 void *argp1 = 0 ;
38958 int res1 = 0 ;
38959 int val2 ;
38960 int ecode2 = 0 ;
38961 wxPoint temp3 ;
38962 wxSize temp4 ;
38963 long val5 ;
38964 int ecode5 = 0 ;
38965 void *argp6 = 0 ;
38966 int res6 = 0 ;
38967 bool temp7 = false ;
38968 PyObject * obj0 = 0 ;
38969 PyObject * obj1 = 0 ;
38970 PyObject * obj2 = 0 ;
38971 PyObject * obj3 = 0 ;
38972 PyObject * obj4 = 0 ;
38973 PyObject * obj5 = 0 ;
38974 PyObject * obj6 = 0 ;
38975 char * kwnames[] = {
38976 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38977 };
38978
38979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38981 if (!SWIG_IsOK(res1)) {
38982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38983 }
38984 arg1 = reinterpret_cast< wxWindow * >(argp1);
38985 if (obj1) {
38986 ecode2 = SWIG_AsVal_int(obj1, &val2);
38987 if (!SWIG_IsOK(ecode2)) {
38988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38989 }
38990 arg2 = static_cast< int >(val2);
38991 }
38992 if (obj2) {
38993 {
38994 arg3 = &temp3;
38995 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38996 }
38997 }
38998 if (obj3) {
38999 {
39000 arg4 = &temp4;
39001 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
39002 }
39003 }
39004 if (obj4) {
39005 ecode5 = SWIG_AsVal_long(obj4, &val5);
39006 if (!SWIG_IsOK(ecode5)) {
39007 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39008 }
39009 arg5 = static_cast< long >(val5);
39010 }
39011 if (obj5) {
39012 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
39013 if (!SWIG_IsOK(res6)) {
39014 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39015 }
39016 if (!argp6) {
39017 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39018 }
39019 arg6 = reinterpret_cast< wxValidator * >(argp6);
39020 }
39021 if (obj6) {
39022 {
39023 arg7 = wxString_in_helper(obj6);
39024 if (arg7 == NULL) SWIG_fail;
39025 temp7 = true;
39026 }
39027 }
39028 {
39029 if (!wxPyCheckForApp()) SWIG_fail;
39030 PyThreadState* __tstate = wxPyBeginAllowThreads();
39031 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
39032 wxPyEndAllowThreads(__tstate);
39033 if (PyErr_Occurred()) SWIG_fail;
39034 }
39035 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
39036 {
39037 if (temp7)
39038 delete arg7;
39039 }
39040 return resultobj;
39041 fail:
39042 {
39043 if (temp7)
39044 delete arg7;
39045 }
39046 return NULL;
39047 }
39048
39049
39050 SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39051 PyObject *resultobj = 0;
39052 wxPyControl *result = 0 ;
39053
39054 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
39055 {
39056 if (!wxPyCheckForApp()) SWIG_fail;
39057 PyThreadState* __tstate = wxPyBeginAllowThreads();
39058 result = (wxPyControl *)new wxPyControl();
39059 wxPyEndAllowThreads(__tstate);
39060 if (PyErr_Occurred()) SWIG_fail;
39061 }
39062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
39063 return resultobj;
39064 fail:
39065 return NULL;
39066 }
39067
39068
39069 SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39070 PyObject *resultobj = 0;
39071 wxPyControl *arg1 = (wxPyControl *) 0 ;
39072 PyObject *arg2 = (PyObject *) 0 ;
39073 PyObject *arg3 = (PyObject *) 0 ;
39074 void *argp1 = 0 ;
39075 int res1 = 0 ;
39076 PyObject * obj0 = 0 ;
39077 PyObject * obj1 = 0 ;
39078 PyObject * obj2 = 0 ;
39079 char * kwnames[] = {
39080 (char *) "self",(char *) "self",(char *) "_class", NULL
39081 };
39082
39083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39085 if (!SWIG_IsOK(res1)) {
39086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39087 }
39088 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39089 arg2 = obj1;
39090 arg3 = obj2;
39091 {
39092 PyThreadState* __tstate = wxPyBeginAllowThreads();
39093 (arg1)->_setCallbackInfo(arg2,arg3);
39094 wxPyEndAllowThreads(__tstate);
39095 if (PyErr_Occurred()) SWIG_fail;
39096 }
39097 resultobj = SWIG_Py_Void();
39098 return resultobj;
39099 fail:
39100 return NULL;
39101 }
39102
39103
39104 SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39105 PyObject *resultobj = 0;
39106 wxPyControl *arg1 = (wxPyControl *) 0 ;
39107 wxDC *arg2 = (wxDC *) 0 ;
39108 bool result;
39109 void *argp1 = 0 ;
39110 int res1 = 0 ;
39111 void *argp2 = 0 ;
39112 int res2 = 0 ;
39113 PyObject * obj0 = 0 ;
39114 PyObject * obj1 = 0 ;
39115 char * kwnames[] = {
39116 (char *) "self",(char *) "dc", NULL
39117 };
39118
39119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
39120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39121 if (!SWIG_IsOK(res1)) {
39122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39123 }
39124 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39125 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
39126 if (!SWIG_IsOK(res2)) {
39127 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39128 }
39129 arg2 = reinterpret_cast< wxDC * >(argp2);
39130 {
39131 PyThreadState* __tstate = wxPyBeginAllowThreads();
39132 result = (bool)(arg1)->DoEraseBackground(arg2);
39133 wxPyEndAllowThreads(__tstate);
39134 if (PyErr_Occurred()) SWIG_fail;
39135 }
39136 {
39137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39138 }
39139 return resultobj;
39140 fail:
39141 return NULL;
39142 }
39143
39144
39145 SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39146 PyObject *resultobj = 0;
39147 wxPyControl *arg1 = (wxPyControl *) 0 ;
39148 int arg2 ;
39149 int arg3 ;
39150 int arg4 ;
39151 int arg5 ;
39152 void *argp1 = 0 ;
39153 int res1 = 0 ;
39154 int val2 ;
39155 int ecode2 = 0 ;
39156 int val3 ;
39157 int ecode3 = 0 ;
39158 int val4 ;
39159 int ecode4 = 0 ;
39160 int val5 ;
39161 int ecode5 = 0 ;
39162 PyObject * obj0 = 0 ;
39163 PyObject * obj1 = 0 ;
39164 PyObject * obj2 = 0 ;
39165 PyObject * obj3 = 0 ;
39166 PyObject * obj4 = 0 ;
39167 char * kwnames[] = {
39168 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39169 };
39170
39171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39173 if (!SWIG_IsOK(res1)) {
39174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39175 }
39176 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39177 ecode2 = SWIG_AsVal_int(obj1, &val2);
39178 if (!SWIG_IsOK(ecode2)) {
39179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39180 }
39181 arg2 = static_cast< int >(val2);
39182 ecode3 = SWIG_AsVal_int(obj2, &val3);
39183 if (!SWIG_IsOK(ecode3)) {
39184 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39185 }
39186 arg3 = static_cast< int >(val3);
39187 ecode4 = SWIG_AsVal_int(obj3, &val4);
39188 if (!SWIG_IsOK(ecode4)) {
39189 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39190 }
39191 arg4 = static_cast< int >(val4);
39192 ecode5 = SWIG_AsVal_int(obj4, &val5);
39193 if (!SWIG_IsOK(ecode5)) {
39194 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39195 }
39196 arg5 = static_cast< int >(val5);
39197 {
39198 PyThreadState* __tstate = wxPyBeginAllowThreads();
39199 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
39200 wxPyEndAllowThreads(__tstate);
39201 if (PyErr_Occurred()) SWIG_fail;
39202 }
39203 resultobj = SWIG_Py_Void();
39204 return resultobj;
39205 fail:
39206 return NULL;
39207 }
39208
39209
39210 SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39211 PyObject *resultobj = 0;
39212 wxPyControl *arg1 = (wxPyControl *) 0 ;
39213 int arg2 ;
39214 int arg3 ;
39215 int arg4 ;
39216 int arg5 ;
39217 int arg6 = (int) wxSIZE_AUTO ;
39218 void *argp1 = 0 ;
39219 int res1 = 0 ;
39220 int val2 ;
39221 int ecode2 = 0 ;
39222 int val3 ;
39223 int ecode3 = 0 ;
39224 int val4 ;
39225 int ecode4 = 0 ;
39226 int val5 ;
39227 int ecode5 = 0 ;
39228 int val6 ;
39229 int ecode6 = 0 ;
39230 PyObject * obj0 = 0 ;
39231 PyObject * obj1 = 0 ;
39232 PyObject * obj2 = 0 ;
39233 PyObject * obj3 = 0 ;
39234 PyObject * obj4 = 0 ;
39235 PyObject * obj5 = 0 ;
39236 char * kwnames[] = {
39237 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39238 };
39239
39240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39242 if (!SWIG_IsOK(res1)) {
39243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39244 }
39245 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39246 ecode2 = SWIG_AsVal_int(obj1, &val2);
39247 if (!SWIG_IsOK(ecode2)) {
39248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39249 }
39250 arg2 = static_cast< int >(val2);
39251 ecode3 = SWIG_AsVal_int(obj2, &val3);
39252 if (!SWIG_IsOK(ecode3)) {
39253 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39254 }
39255 arg3 = static_cast< int >(val3);
39256 ecode4 = SWIG_AsVal_int(obj3, &val4);
39257 if (!SWIG_IsOK(ecode4)) {
39258 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39259 }
39260 arg4 = static_cast< int >(val4);
39261 ecode5 = SWIG_AsVal_int(obj4, &val5);
39262 if (!SWIG_IsOK(ecode5)) {
39263 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39264 }
39265 arg5 = static_cast< int >(val5);
39266 if (obj5) {
39267 ecode6 = SWIG_AsVal_int(obj5, &val6);
39268 if (!SWIG_IsOK(ecode6)) {
39269 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39270 }
39271 arg6 = static_cast< int >(val6);
39272 }
39273 {
39274 PyThreadState* __tstate = wxPyBeginAllowThreads();
39275 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
39276 wxPyEndAllowThreads(__tstate);
39277 if (PyErr_Occurred()) SWIG_fail;
39278 }
39279 resultobj = SWIG_Py_Void();
39280 return resultobj;
39281 fail:
39282 return NULL;
39283 }
39284
39285
39286 SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39287 PyObject *resultobj = 0;
39288 wxPyControl *arg1 = (wxPyControl *) 0 ;
39289 int arg2 ;
39290 int arg3 ;
39291 void *argp1 = 0 ;
39292 int res1 = 0 ;
39293 int val2 ;
39294 int ecode2 = 0 ;
39295 int val3 ;
39296 int ecode3 = 0 ;
39297 PyObject * obj0 = 0 ;
39298 PyObject * obj1 = 0 ;
39299 PyObject * obj2 = 0 ;
39300 char * kwnames[] = {
39301 (char *) "self",(char *) "width",(char *) "height", NULL
39302 };
39303
39304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39306 if (!SWIG_IsOK(res1)) {
39307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39308 }
39309 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39310 ecode2 = SWIG_AsVal_int(obj1, &val2);
39311 if (!SWIG_IsOK(ecode2)) {
39312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39313 }
39314 arg2 = static_cast< int >(val2);
39315 ecode3 = SWIG_AsVal_int(obj2, &val3);
39316 if (!SWIG_IsOK(ecode3)) {
39317 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39318 }
39319 arg3 = static_cast< int >(val3);
39320 {
39321 PyThreadState* __tstate = wxPyBeginAllowThreads();
39322 (arg1)->DoSetClientSize(arg2,arg3);
39323 wxPyEndAllowThreads(__tstate);
39324 if (PyErr_Occurred()) SWIG_fail;
39325 }
39326 resultobj = SWIG_Py_Void();
39327 return resultobj;
39328 fail:
39329 return NULL;
39330 }
39331
39332
39333 SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39334 PyObject *resultobj = 0;
39335 wxPyControl *arg1 = (wxPyControl *) 0 ;
39336 int arg2 ;
39337 int arg3 ;
39338 void *argp1 = 0 ;
39339 int res1 = 0 ;
39340 int val2 ;
39341 int ecode2 = 0 ;
39342 int val3 ;
39343 int ecode3 = 0 ;
39344 PyObject * obj0 = 0 ;
39345 PyObject * obj1 = 0 ;
39346 PyObject * obj2 = 0 ;
39347 char * kwnames[] = {
39348 (char *) "self",(char *) "x",(char *) "y", NULL
39349 };
39350
39351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39353 if (!SWIG_IsOK(res1)) {
39354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39355 }
39356 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39357 ecode2 = SWIG_AsVal_int(obj1, &val2);
39358 if (!SWIG_IsOK(ecode2)) {
39359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39360 }
39361 arg2 = static_cast< int >(val2);
39362 ecode3 = SWIG_AsVal_int(obj2, &val3);
39363 if (!SWIG_IsOK(ecode3)) {
39364 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39365 }
39366 arg3 = static_cast< int >(val3);
39367 {
39368 PyThreadState* __tstate = wxPyBeginAllowThreads();
39369 (arg1)->DoSetVirtualSize(arg2,arg3);
39370 wxPyEndAllowThreads(__tstate);
39371 if (PyErr_Occurred()) SWIG_fail;
39372 }
39373 resultobj = SWIG_Py_Void();
39374 return resultobj;
39375 fail:
39376 return NULL;
39377 }
39378
39379
39380 SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39381 PyObject *resultobj = 0;
39382 wxPyControl *arg1 = (wxPyControl *) 0 ;
39383 int *arg2 = (int *) 0 ;
39384 int *arg3 = (int *) 0 ;
39385 void *argp1 = 0 ;
39386 int res1 = 0 ;
39387 int temp2 ;
39388 int res2 = SWIG_TMPOBJ ;
39389 int temp3 ;
39390 int res3 = SWIG_TMPOBJ ;
39391 PyObject *swig_obj[1] ;
39392
39393 arg2 = &temp2;
39394 arg3 = &temp3;
39395 if (!args) SWIG_fail;
39396 swig_obj[0] = args;
39397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39398 if (!SWIG_IsOK(res1)) {
39399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39400 }
39401 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39402 {
39403 PyThreadState* __tstate = wxPyBeginAllowThreads();
39404 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39405 wxPyEndAllowThreads(__tstate);
39406 if (PyErr_Occurred()) SWIG_fail;
39407 }
39408 resultobj = SWIG_Py_Void();
39409 if (SWIG_IsTmpObj(res2)) {
39410 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39411 } else {
39412 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39413 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39414 }
39415 if (SWIG_IsTmpObj(res3)) {
39416 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39417 } else {
39418 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39419 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39420 }
39421 return resultobj;
39422 fail:
39423 return NULL;
39424 }
39425
39426
39427 SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39428 PyObject *resultobj = 0;
39429 wxPyControl *arg1 = (wxPyControl *) 0 ;
39430 int *arg2 = (int *) 0 ;
39431 int *arg3 = (int *) 0 ;
39432 void *argp1 = 0 ;
39433 int res1 = 0 ;
39434 int temp2 ;
39435 int res2 = SWIG_TMPOBJ ;
39436 int temp3 ;
39437 int res3 = SWIG_TMPOBJ ;
39438 PyObject *swig_obj[1] ;
39439
39440 arg2 = &temp2;
39441 arg3 = &temp3;
39442 if (!args) SWIG_fail;
39443 swig_obj[0] = args;
39444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39445 if (!SWIG_IsOK(res1)) {
39446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39447 }
39448 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39449 {
39450 PyThreadState* __tstate = wxPyBeginAllowThreads();
39451 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39452 wxPyEndAllowThreads(__tstate);
39453 if (PyErr_Occurred()) SWIG_fail;
39454 }
39455 resultobj = SWIG_Py_Void();
39456 if (SWIG_IsTmpObj(res2)) {
39457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39458 } else {
39459 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39460 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39461 }
39462 if (SWIG_IsTmpObj(res3)) {
39463 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39464 } else {
39465 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39466 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39467 }
39468 return resultobj;
39469 fail:
39470 return NULL;
39471 }
39472
39473
39474 SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39475 PyObject *resultobj = 0;
39476 wxPyControl *arg1 = (wxPyControl *) 0 ;
39477 int *arg2 = (int *) 0 ;
39478 int *arg3 = (int *) 0 ;
39479 void *argp1 = 0 ;
39480 int res1 = 0 ;
39481 int temp2 ;
39482 int res2 = SWIG_TMPOBJ ;
39483 int temp3 ;
39484 int res3 = SWIG_TMPOBJ ;
39485 PyObject *swig_obj[1] ;
39486
39487 arg2 = &temp2;
39488 arg3 = &temp3;
39489 if (!args) SWIG_fail;
39490 swig_obj[0] = args;
39491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39492 if (!SWIG_IsOK(res1)) {
39493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39494 }
39495 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39496 {
39497 PyThreadState* __tstate = wxPyBeginAllowThreads();
39498 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39499 wxPyEndAllowThreads(__tstate);
39500 if (PyErr_Occurred()) SWIG_fail;
39501 }
39502 resultobj = SWIG_Py_Void();
39503 if (SWIG_IsTmpObj(res2)) {
39504 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39505 } else {
39506 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39507 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39508 }
39509 if (SWIG_IsTmpObj(res3)) {
39510 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39511 } else {
39512 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39513 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39514 }
39515 return resultobj;
39516 fail:
39517 return NULL;
39518 }
39519
39520
39521 SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39522 PyObject *resultobj = 0;
39523 wxPyControl *arg1 = (wxPyControl *) 0 ;
39524 wxSize result;
39525 void *argp1 = 0 ;
39526 int res1 = 0 ;
39527 PyObject *swig_obj[1] ;
39528
39529 if (!args) SWIG_fail;
39530 swig_obj[0] = args;
39531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39532 if (!SWIG_IsOK(res1)) {
39533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39534 }
39535 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39536 {
39537 PyThreadState* __tstate = wxPyBeginAllowThreads();
39538 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39539 wxPyEndAllowThreads(__tstate);
39540 if (PyErr_Occurred()) SWIG_fail;
39541 }
39542 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39543 return resultobj;
39544 fail:
39545 return NULL;
39546 }
39547
39548
39549 SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39550 PyObject *resultobj = 0;
39551 wxPyControl *arg1 = (wxPyControl *) 0 ;
39552 wxSize result;
39553 void *argp1 = 0 ;
39554 int res1 = 0 ;
39555 PyObject *swig_obj[1] ;
39556
39557 if (!args) SWIG_fail;
39558 swig_obj[0] = args;
39559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39560 if (!SWIG_IsOK(res1)) {
39561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39562 }
39563 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39564 {
39565 PyThreadState* __tstate = wxPyBeginAllowThreads();
39566 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39567 wxPyEndAllowThreads(__tstate);
39568 if (PyErr_Occurred()) SWIG_fail;
39569 }
39570 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39571 return resultobj;
39572 fail:
39573 return NULL;
39574 }
39575
39576
39577 SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39578 PyObject *resultobj = 0;
39579 wxPyControl *arg1 = (wxPyControl *) 0 ;
39580 SwigValueWrapper<wxVisualAttributes > result;
39581 void *argp1 = 0 ;
39582 int res1 = 0 ;
39583 PyObject *swig_obj[1] ;
39584
39585 if (!args) SWIG_fail;
39586 swig_obj[0] = args;
39587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39588 if (!SWIG_IsOK(res1)) {
39589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39590 }
39591 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39592 {
39593 PyThreadState* __tstate = wxPyBeginAllowThreads();
39594 result = (arg1)->GetDefaultAttributes();
39595 wxPyEndAllowThreads(__tstate);
39596 if (PyErr_Occurred()) SWIG_fail;
39597 }
39598 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39599 return resultobj;
39600 fail:
39601 return NULL;
39602 }
39603
39604
39605 SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39606 PyObject *resultobj = 0;
39607 wxPyControl *arg1 = (wxPyControl *) 0 ;
39608 void *argp1 = 0 ;
39609 int res1 = 0 ;
39610 PyObject *swig_obj[1] ;
39611
39612 if (!args) SWIG_fail;
39613 swig_obj[0] = args;
39614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39615 if (!SWIG_IsOK(res1)) {
39616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39617 }
39618 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39619 {
39620 PyThreadState* __tstate = wxPyBeginAllowThreads();
39621 (arg1)->OnInternalIdle();
39622 wxPyEndAllowThreads(__tstate);
39623 if (PyErr_Occurred()) SWIG_fail;
39624 }
39625 resultobj = SWIG_Py_Void();
39626 return resultobj;
39627 fail:
39628 return NULL;
39629 }
39630
39631
39632 SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39633 PyObject *obj;
39634 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39635 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39636 return SWIG_Py_Void();
39637 }
39638
39639 SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39640 return SWIG_Python_InitShadowInstance(args);
39641 }
39642
39643 SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39644 PyObject *resultobj = 0;
39645 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39646 int arg2 = (int) 0 ;
39647 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39648 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39649 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
39650 wxHelpEvent *result = 0 ;
39651 int val1 ;
39652 int ecode1 = 0 ;
39653 int val2 ;
39654 int ecode2 = 0 ;
39655 wxPoint temp3 ;
39656 int val4 ;
39657 int ecode4 = 0 ;
39658 PyObject * obj0 = 0 ;
39659 PyObject * obj1 = 0 ;
39660 PyObject * obj2 = 0 ;
39661 PyObject * obj3 = 0 ;
39662 char * kwnames[] = {
39663 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39664 };
39665
39666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
39667 if (obj0) {
39668 ecode1 = SWIG_AsVal_int(obj0, &val1);
39669 if (!SWIG_IsOK(ecode1)) {
39670 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39671 }
39672 arg1 = static_cast< wxEventType >(val1);
39673 }
39674 if (obj1) {
39675 ecode2 = SWIG_AsVal_int(obj1, &val2);
39676 if (!SWIG_IsOK(ecode2)) {
39677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39678 }
39679 arg2 = static_cast< int >(val2);
39680 }
39681 if (obj2) {
39682 {
39683 arg3 = &temp3;
39684 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39685 }
39686 }
39687 if (obj3) {
39688 ecode4 = SWIG_AsVal_int(obj3, &val4);
39689 if (!SWIG_IsOK(ecode4)) {
39690 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39691 }
39692 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39693 }
39694 {
39695 PyThreadState* __tstate = wxPyBeginAllowThreads();
39696 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
39697 wxPyEndAllowThreads(__tstate);
39698 if (PyErr_Occurred()) SWIG_fail;
39699 }
39700 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39701 return resultobj;
39702 fail:
39703 return NULL;
39704 }
39705
39706
39707 SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39708 PyObject *resultobj = 0;
39709 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39710 wxPoint result;
39711 void *argp1 = 0 ;
39712 int res1 = 0 ;
39713 PyObject *swig_obj[1] ;
39714
39715 if (!args) SWIG_fail;
39716 swig_obj[0] = args;
39717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39718 if (!SWIG_IsOK(res1)) {
39719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39720 }
39721 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39722 {
39723 PyThreadState* __tstate = wxPyBeginAllowThreads();
39724 result = ((wxHelpEvent const *)arg1)->GetPosition();
39725 wxPyEndAllowThreads(__tstate);
39726 if (PyErr_Occurred()) SWIG_fail;
39727 }
39728 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39729 return resultobj;
39730 fail:
39731 return NULL;
39732 }
39733
39734
39735 SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39736 PyObject *resultobj = 0;
39737 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39738 wxPoint *arg2 = 0 ;
39739 void *argp1 = 0 ;
39740 int res1 = 0 ;
39741 wxPoint temp2 ;
39742 PyObject * obj0 = 0 ;
39743 PyObject * obj1 = 0 ;
39744 char * kwnames[] = {
39745 (char *) "self",(char *) "pos", NULL
39746 };
39747
39748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39750 if (!SWIG_IsOK(res1)) {
39751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39752 }
39753 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39754 {
39755 arg2 = &temp2;
39756 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39757 }
39758 {
39759 PyThreadState* __tstate = wxPyBeginAllowThreads();
39760 (arg1)->SetPosition((wxPoint const &)*arg2);
39761 wxPyEndAllowThreads(__tstate);
39762 if (PyErr_Occurred()) SWIG_fail;
39763 }
39764 resultobj = SWIG_Py_Void();
39765 return resultobj;
39766 fail:
39767 return NULL;
39768 }
39769
39770
39771 SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39772 PyObject *resultobj = 0;
39773 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39774 wxString *result = 0 ;
39775 void *argp1 = 0 ;
39776 int res1 = 0 ;
39777 PyObject *swig_obj[1] ;
39778
39779 if (!args) SWIG_fail;
39780 swig_obj[0] = args;
39781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39782 if (!SWIG_IsOK(res1)) {
39783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39784 }
39785 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39786 {
39787 PyThreadState* __tstate = wxPyBeginAllowThreads();
39788 {
39789 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39790 result = (wxString *) &_result_ref;
39791 }
39792 wxPyEndAllowThreads(__tstate);
39793 if (PyErr_Occurred()) SWIG_fail;
39794 }
39795 {
39796 #if wxUSE_UNICODE
39797 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39798 #else
39799 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39800 #endif
39801 }
39802 return resultobj;
39803 fail:
39804 return NULL;
39805 }
39806
39807
39808 SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39809 PyObject *resultobj = 0;
39810 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39811 wxString *arg2 = 0 ;
39812 void *argp1 = 0 ;
39813 int res1 = 0 ;
39814 bool temp2 = false ;
39815 PyObject * obj0 = 0 ;
39816 PyObject * obj1 = 0 ;
39817 char * kwnames[] = {
39818 (char *) "self",(char *) "link", NULL
39819 };
39820
39821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39823 if (!SWIG_IsOK(res1)) {
39824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39825 }
39826 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39827 {
39828 arg2 = wxString_in_helper(obj1);
39829 if (arg2 == NULL) SWIG_fail;
39830 temp2 = true;
39831 }
39832 {
39833 PyThreadState* __tstate = wxPyBeginAllowThreads();
39834 (arg1)->SetLink((wxString const &)*arg2);
39835 wxPyEndAllowThreads(__tstate);
39836 if (PyErr_Occurred()) SWIG_fail;
39837 }
39838 resultobj = SWIG_Py_Void();
39839 {
39840 if (temp2)
39841 delete arg2;
39842 }
39843 return resultobj;
39844 fail:
39845 {
39846 if (temp2)
39847 delete arg2;
39848 }
39849 return NULL;
39850 }
39851
39852
39853 SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39854 PyObject *resultobj = 0;
39855 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39856 wxString *result = 0 ;
39857 void *argp1 = 0 ;
39858 int res1 = 0 ;
39859 PyObject *swig_obj[1] ;
39860
39861 if (!args) SWIG_fail;
39862 swig_obj[0] = args;
39863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39864 if (!SWIG_IsOK(res1)) {
39865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39866 }
39867 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39868 {
39869 PyThreadState* __tstate = wxPyBeginAllowThreads();
39870 {
39871 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39872 result = (wxString *) &_result_ref;
39873 }
39874 wxPyEndAllowThreads(__tstate);
39875 if (PyErr_Occurred()) SWIG_fail;
39876 }
39877 {
39878 #if wxUSE_UNICODE
39879 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39880 #else
39881 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39882 #endif
39883 }
39884 return resultobj;
39885 fail:
39886 return NULL;
39887 }
39888
39889
39890 SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39891 PyObject *resultobj = 0;
39892 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39893 wxString *arg2 = 0 ;
39894 void *argp1 = 0 ;
39895 int res1 = 0 ;
39896 bool temp2 = false ;
39897 PyObject * obj0 = 0 ;
39898 PyObject * obj1 = 0 ;
39899 char * kwnames[] = {
39900 (char *) "self",(char *) "target", NULL
39901 };
39902
39903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39905 if (!SWIG_IsOK(res1)) {
39906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39907 }
39908 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39909 {
39910 arg2 = wxString_in_helper(obj1);
39911 if (arg2 == NULL) SWIG_fail;
39912 temp2 = true;
39913 }
39914 {
39915 PyThreadState* __tstate = wxPyBeginAllowThreads();
39916 (arg1)->SetTarget((wxString const &)*arg2);
39917 wxPyEndAllowThreads(__tstate);
39918 if (PyErr_Occurred()) SWIG_fail;
39919 }
39920 resultobj = SWIG_Py_Void();
39921 {
39922 if (temp2)
39923 delete arg2;
39924 }
39925 return resultobj;
39926 fail:
39927 {
39928 if (temp2)
39929 delete arg2;
39930 }
39931 return NULL;
39932 }
39933
39934
39935 SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39936 PyObject *resultobj = 0;
39937 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39938 wxHelpEvent::Origin result;
39939 void *argp1 = 0 ;
39940 int res1 = 0 ;
39941 PyObject *swig_obj[1] ;
39942
39943 if (!args) SWIG_fail;
39944 swig_obj[0] = args;
39945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39946 if (!SWIG_IsOK(res1)) {
39947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39948 }
39949 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39950 {
39951 PyThreadState* __tstate = wxPyBeginAllowThreads();
39952 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39953 wxPyEndAllowThreads(__tstate);
39954 if (PyErr_Occurred()) SWIG_fail;
39955 }
39956 resultobj = SWIG_From_int(static_cast< int >(result));
39957 return resultobj;
39958 fail:
39959 return NULL;
39960 }
39961
39962
39963 SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39964 PyObject *resultobj = 0;
39965 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39966 wxHelpEvent::Origin arg2 ;
39967 void *argp1 = 0 ;
39968 int res1 = 0 ;
39969 int val2 ;
39970 int ecode2 = 0 ;
39971 PyObject * obj0 = 0 ;
39972 PyObject * obj1 = 0 ;
39973 char * kwnames[] = {
39974 (char *) "self",(char *) "origin", NULL
39975 };
39976
39977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39979 if (!SWIG_IsOK(res1)) {
39980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39981 }
39982 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39983 ecode2 = SWIG_AsVal_int(obj1, &val2);
39984 if (!SWIG_IsOK(ecode2)) {
39985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39986 }
39987 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39988 {
39989 PyThreadState* __tstate = wxPyBeginAllowThreads();
39990 (arg1)->SetOrigin(arg2);
39991 wxPyEndAllowThreads(__tstate);
39992 if (PyErr_Occurred()) SWIG_fail;
39993 }
39994 resultobj = SWIG_Py_Void();
39995 return resultobj;
39996 fail:
39997 return NULL;
39998 }
39999
40000
40001 SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40002 PyObject *obj;
40003 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40004 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
40005 return SWIG_Py_Void();
40006 }
40007
40008 SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40009 return SWIG_Python_InitShadowInstance(args);
40010 }
40011
40012 SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40013 PyObject *resultobj = 0;
40014 wxWindow *arg1 = (wxWindow *) NULL ;
40015 bool arg2 = (bool) true ;
40016 wxContextHelp *result = 0 ;
40017 void *argp1 = 0 ;
40018 int res1 = 0 ;
40019 bool val2 ;
40020 int ecode2 = 0 ;
40021 PyObject * obj0 = 0 ;
40022 PyObject * obj1 = 0 ;
40023 char * kwnames[] = {
40024 (char *) "window",(char *) "doNow", NULL
40025 };
40026
40027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40028 if (obj0) {
40029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40030 if (!SWIG_IsOK(res1)) {
40031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40032 }
40033 arg1 = reinterpret_cast< wxWindow * >(argp1);
40034 }
40035 if (obj1) {
40036 ecode2 = SWIG_AsVal_bool(obj1, &val2);
40037 if (!SWIG_IsOK(ecode2)) {
40038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40039 }
40040 arg2 = static_cast< bool >(val2);
40041 }
40042 {
40043 if (!wxPyCheckForApp()) SWIG_fail;
40044 PyThreadState* __tstate = wxPyBeginAllowThreads();
40045 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
40046 wxPyEndAllowThreads(__tstate);
40047 if (PyErr_Occurred()) SWIG_fail;
40048 }
40049 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
40050 return resultobj;
40051 fail:
40052 return NULL;
40053 }
40054
40055
40056 SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40057 PyObject *resultobj = 0;
40058 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40059 void *argp1 = 0 ;
40060 int res1 = 0 ;
40061 PyObject *swig_obj[1] ;
40062
40063 if (!args) SWIG_fail;
40064 swig_obj[0] = args;
40065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
40066 if (!SWIG_IsOK(res1)) {
40067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40068 }
40069 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40070 {
40071 PyThreadState* __tstate = wxPyBeginAllowThreads();
40072 delete arg1;
40073
40074 wxPyEndAllowThreads(__tstate);
40075 if (PyErr_Occurred()) SWIG_fail;
40076 }
40077 resultobj = SWIG_Py_Void();
40078 return resultobj;
40079 fail:
40080 return NULL;
40081 }
40082
40083
40084 SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40085 PyObject *resultobj = 0;
40086 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40087 wxWindow *arg2 = (wxWindow *) NULL ;
40088 bool result;
40089 void *argp1 = 0 ;
40090 int res1 = 0 ;
40091 void *argp2 = 0 ;
40092 int res2 = 0 ;
40093 PyObject * obj0 = 0 ;
40094 PyObject * obj1 = 0 ;
40095 char * kwnames[] = {
40096 (char *) "self",(char *) "window", NULL
40097 };
40098
40099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40101 if (!SWIG_IsOK(res1)) {
40102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40103 }
40104 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40105 if (obj1) {
40106 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40107 if (!SWIG_IsOK(res2)) {
40108 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40109 }
40110 arg2 = reinterpret_cast< wxWindow * >(argp2);
40111 }
40112 {
40113 PyThreadState* __tstate = wxPyBeginAllowThreads();
40114 result = (bool)(arg1)->BeginContextHelp(arg2);
40115 wxPyEndAllowThreads(__tstate);
40116 if (PyErr_Occurred()) SWIG_fail;
40117 }
40118 {
40119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40120 }
40121 return resultobj;
40122 fail:
40123 return NULL;
40124 }
40125
40126
40127 SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40128 PyObject *resultobj = 0;
40129 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40130 bool result;
40131 void *argp1 = 0 ;
40132 int res1 = 0 ;
40133 PyObject *swig_obj[1] ;
40134
40135 if (!args) SWIG_fail;
40136 swig_obj[0] = args;
40137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40138 if (!SWIG_IsOK(res1)) {
40139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40140 }
40141 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40142 {
40143 PyThreadState* __tstate = wxPyBeginAllowThreads();
40144 result = (bool)(arg1)->EndContextHelp();
40145 wxPyEndAllowThreads(__tstate);
40146 if (PyErr_Occurred()) SWIG_fail;
40147 }
40148 {
40149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40150 }
40151 return resultobj;
40152 fail:
40153 return NULL;
40154 }
40155
40156
40157 SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40158 PyObject *obj;
40159 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40160 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
40161 return SWIG_Py_Void();
40162 }
40163
40164 SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40165 return SWIG_Python_InitShadowInstance(args);
40166 }
40167
40168 SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40169 PyObject *resultobj = 0;
40170 wxWindow *arg1 = (wxWindow *) 0 ;
40171 int arg2 = (int) wxID_CONTEXT_HELP ;
40172 wxPoint const &arg3_defvalue = wxDefaultPosition ;
40173 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
40174 wxSize const &arg4_defvalue = wxDefaultSize ;
40175 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
40176 long arg5 = (long) wxBU_AUTODRAW ;
40177 wxContextHelpButton *result = 0 ;
40178 void *argp1 = 0 ;
40179 int res1 = 0 ;
40180 int val2 ;
40181 int ecode2 = 0 ;
40182 wxPoint temp3 ;
40183 wxSize temp4 ;
40184 long val5 ;
40185 int ecode5 = 0 ;
40186 PyObject * obj0 = 0 ;
40187 PyObject * obj1 = 0 ;
40188 PyObject * obj2 = 0 ;
40189 PyObject * obj3 = 0 ;
40190 PyObject * obj4 = 0 ;
40191 char * kwnames[] = {
40192 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40193 };
40194
40195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40197 if (!SWIG_IsOK(res1)) {
40198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40199 }
40200 arg1 = reinterpret_cast< wxWindow * >(argp1);
40201 if (obj1) {
40202 ecode2 = SWIG_AsVal_int(obj1, &val2);
40203 if (!SWIG_IsOK(ecode2)) {
40204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40205 }
40206 arg2 = static_cast< int >(val2);
40207 }
40208 if (obj2) {
40209 {
40210 arg3 = &temp3;
40211 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40212 }
40213 }
40214 if (obj3) {
40215 {
40216 arg4 = &temp4;
40217 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
40218 }
40219 }
40220 if (obj4) {
40221 ecode5 = SWIG_AsVal_long(obj4, &val5);
40222 if (!SWIG_IsOK(ecode5)) {
40223 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40224 }
40225 arg5 = static_cast< long >(val5);
40226 }
40227 {
40228 if (!wxPyCheckForApp()) SWIG_fail;
40229 PyThreadState* __tstate = wxPyBeginAllowThreads();
40230 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
40231 wxPyEndAllowThreads(__tstate);
40232 if (PyErr_Occurred()) SWIG_fail;
40233 }
40234 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
40235 return resultobj;
40236 fail:
40237 return NULL;
40238 }
40239
40240
40241 SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40242 PyObject *obj;
40243 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40244 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
40245 return SWIG_Py_Void();
40246 }
40247
40248 SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40249 return SWIG_Python_InitShadowInstance(args);
40250 }
40251
40252 SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40253 PyObject *resultobj = 0;
40254 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40255 void *argp1 = 0 ;
40256 int res1 = 0 ;
40257 PyObject *swig_obj[1] ;
40258
40259 if (!args) SWIG_fail;
40260 swig_obj[0] = args;
40261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40262 if (!SWIG_IsOK(res1)) {
40263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40264 }
40265 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40266 {
40267 PyThreadState* __tstate = wxPyBeginAllowThreads();
40268 delete arg1;
40269
40270 wxPyEndAllowThreads(__tstate);
40271 if (PyErr_Occurred()) SWIG_fail;
40272 }
40273 resultobj = SWIG_Py_Void();
40274 return resultobj;
40275 fail:
40276 return NULL;
40277 }
40278
40279
40280 SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40281 PyObject *resultobj = 0;
40282 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40283 wxHelpProvider *result = 0 ;
40284 int res1 = 0 ;
40285 PyObject * obj0 = 0 ;
40286 char * kwnames[] = {
40287 (char *) "helpProvider", NULL
40288 };
40289
40290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
40291 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40292 if (!SWIG_IsOK(res1)) {
40293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40294 }
40295 {
40296 PyThreadState* __tstate = wxPyBeginAllowThreads();
40297 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40298 wxPyEndAllowThreads(__tstate);
40299 if (PyErr_Occurred()) SWIG_fail;
40300 }
40301 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40302 return resultobj;
40303 fail:
40304 return NULL;
40305 }
40306
40307
40308 SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40309 PyObject *resultobj = 0;
40310 wxHelpProvider *result = 0 ;
40311
40312 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40313 {
40314 PyThreadState* __tstate = wxPyBeginAllowThreads();
40315 result = (wxHelpProvider *)wxHelpProvider::Get();
40316 wxPyEndAllowThreads(__tstate);
40317 if (PyErr_Occurred()) SWIG_fail;
40318 }
40319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40320 return resultobj;
40321 fail:
40322 return NULL;
40323 }
40324
40325
40326 SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40327 PyObject *resultobj = 0;
40328 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40329 wxWindow *arg2 = (wxWindow *) 0 ;
40330 wxString result;
40331 void *argp1 = 0 ;
40332 int res1 = 0 ;
40333 void *argp2 = 0 ;
40334 int res2 = 0 ;
40335 PyObject * obj0 = 0 ;
40336 PyObject * obj1 = 0 ;
40337 char * kwnames[] = {
40338 (char *) "self",(char *) "window", NULL
40339 };
40340
40341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40343 if (!SWIG_IsOK(res1)) {
40344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40345 }
40346 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40347 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40348 if (!SWIG_IsOK(res2)) {
40349 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40350 }
40351 arg2 = reinterpret_cast< wxWindow * >(argp2);
40352 {
40353 PyThreadState* __tstate = wxPyBeginAllowThreads();
40354 result = (arg1)->GetHelp((wxWindow const *)arg2);
40355 wxPyEndAllowThreads(__tstate);
40356 if (PyErr_Occurred()) SWIG_fail;
40357 }
40358 {
40359 #if wxUSE_UNICODE
40360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40361 #else
40362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40363 #endif
40364 }
40365 return resultobj;
40366 fail:
40367 return NULL;
40368 }
40369
40370
40371 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40372 PyObject *resultobj = 0;
40373 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40374 wxWindow *arg2 = (wxWindow *) 0 ;
40375 bool result;
40376 void *argp1 = 0 ;
40377 int res1 = 0 ;
40378 void *argp2 = 0 ;
40379 int res2 = 0 ;
40380 PyObject * obj0 = 0 ;
40381 PyObject * obj1 = 0 ;
40382 char * kwnames[] = {
40383 (char *) "self",(char *) "window", NULL
40384 };
40385
40386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40388 if (!SWIG_IsOK(res1)) {
40389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40390 }
40391 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40392 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40393 if (!SWIG_IsOK(res2)) {
40394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40395 }
40396 arg2 = reinterpret_cast< wxWindow * >(argp2);
40397 {
40398 PyThreadState* __tstate = wxPyBeginAllowThreads();
40399 result = (bool)(arg1)->ShowHelp(arg2);
40400 wxPyEndAllowThreads(__tstate);
40401 if (PyErr_Occurred()) SWIG_fail;
40402 }
40403 {
40404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40405 }
40406 return resultobj;
40407 fail:
40408 return NULL;
40409 }
40410
40411
40412 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40413 PyObject *resultobj = 0;
40414 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40415 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40416 wxPoint *arg3 = 0 ;
40417 wxHelpEvent::Origin arg4 ;
40418 bool result;
40419 void *argp1 = 0 ;
40420 int res1 = 0 ;
40421 void *argp2 = 0 ;
40422 int res2 = 0 ;
40423 wxPoint temp3 ;
40424 int val4 ;
40425 int ecode4 = 0 ;
40426 PyObject * obj0 = 0 ;
40427 PyObject * obj1 = 0 ;
40428 PyObject * obj2 = 0 ;
40429 PyObject * obj3 = 0 ;
40430 char * kwnames[] = {
40431 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40432 };
40433
40434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40436 if (!SWIG_IsOK(res1)) {
40437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40438 }
40439 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40440 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40441 if (!SWIG_IsOK(res2)) {
40442 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40443 }
40444 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40445 {
40446 arg3 = &temp3;
40447 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40448 }
40449 ecode4 = SWIG_AsVal_int(obj3, &val4);
40450 if (!SWIG_IsOK(ecode4)) {
40451 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40452 }
40453 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40454 {
40455 PyThreadState* __tstate = wxPyBeginAllowThreads();
40456 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40457 wxPyEndAllowThreads(__tstate);
40458 if (PyErr_Occurred()) SWIG_fail;
40459 }
40460 {
40461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40462 }
40463 return resultobj;
40464 fail:
40465 return NULL;
40466 }
40467
40468
40469 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40470 PyObject *resultobj = 0;
40471 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40472 wxWindow *arg2 = (wxWindow *) 0 ;
40473 wxString *arg3 = 0 ;
40474 void *argp1 = 0 ;
40475 int res1 = 0 ;
40476 void *argp2 = 0 ;
40477 int res2 = 0 ;
40478 bool temp3 = false ;
40479 PyObject * obj0 = 0 ;
40480 PyObject * obj1 = 0 ;
40481 PyObject * obj2 = 0 ;
40482 char * kwnames[] = {
40483 (char *) "self",(char *) "window",(char *) "text", NULL
40484 };
40485
40486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40488 if (!SWIG_IsOK(res1)) {
40489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40490 }
40491 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40492 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40493 if (!SWIG_IsOK(res2)) {
40494 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40495 }
40496 arg2 = reinterpret_cast< wxWindow * >(argp2);
40497 {
40498 arg3 = wxString_in_helper(obj2);
40499 if (arg3 == NULL) SWIG_fail;
40500 temp3 = true;
40501 }
40502 {
40503 PyThreadState* __tstate = wxPyBeginAllowThreads();
40504 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40505 wxPyEndAllowThreads(__tstate);
40506 if (PyErr_Occurred()) SWIG_fail;
40507 }
40508 resultobj = SWIG_Py_Void();
40509 {
40510 if (temp3)
40511 delete arg3;
40512 }
40513 return resultobj;
40514 fail:
40515 {
40516 if (temp3)
40517 delete arg3;
40518 }
40519 return NULL;
40520 }
40521
40522
40523 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40524 PyObject *resultobj = 0;
40525 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40526 int arg2 ;
40527 wxString *arg3 = 0 ;
40528 void *argp1 = 0 ;
40529 int res1 = 0 ;
40530 int val2 ;
40531 int ecode2 = 0 ;
40532 bool temp3 = false ;
40533 PyObject * obj0 = 0 ;
40534 PyObject * obj1 = 0 ;
40535 PyObject * obj2 = 0 ;
40536 char * kwnames[] = {
40537 (char *) "self",(char *) "id",(char *) "text", NULL
40538 };
40539
40540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40542 if (!SWIG_IsOK(res1)) {
40543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40544 }
40545 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40546 ecode2 = SWIG_AsVal_int(obj1, &val2);
40547 if (!SWIG_IsOK(ecode2)) {
40548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40549 }
40550 arg2 = static_cast< int >(val2);
40551 {
40552 arg3 = wxString_in_helper(obj2);
40553 if (arg3 == NULL) SWIG_fail;
40554 temp3 = true;
40555 }
40556 {
40557 PyThreadState* __tstate = wxPyBeginAllowThreads();
40558 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40559 wxPyEndAllowThreads(__tstate);
40560 if (PyErr_Occurred()) SWIG_fail;
40561 }
40562 resultobj = SWIG_Py_Void();
40563 {
40564 if (temp3)
40565 delete arg3;
40566 }
40567 return resultobj;
40568 fail:
40569 {
40570 if (temp3)
40571 delete arg3;
40572 }
40573 return NULL;
40574 }
40575
40576
40577 SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40578 PyObject *resultobj = 0;
40579 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40580 wxWindow *arg2 = (wxWindow *) 0 ;
40581 void *argp1 = 0 ;
40582 int res1 = 0 ;
40583 void *argp2 = 0 ;
40584 int res2 = 0 ;
40585 PyObject * obj0 = 0 ;
40586 PyObject * obj1 = 0 ;
40587 char * kwnames[] = {
40588 (char *) "self",(char *) "window", NULL
40589 };
40590
40591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40593 if (!SWIG_IsOK(res1)) {
40594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40595 }
40596 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40597 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40598 if (!SWIG_IsOK(res2)) {
40599 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40600 }
40601 arg2 = reinterpret_cast< wxWindow * >(argp2);
40602 {
40603 PyThreadState* __tstate = wxPyBeginAllowThreads();
40604 (arg1)->RemoveHelp(arg2);
40605 wxPyEndAllowThreads(__tstate);
40606 if (PyErr_Occurred()) SWIG_fail;
40607 }
40608 resultobj = SWIG_Py_Void();
40609 return resultobj;
40610 fail:
40611 return NULL;
40612 }
40613
40614
40615 SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40616 PyObject *resultobj = 0;
40617 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40618 void *argp1 = 0 ;
40619 int res1 = 0 ;
40620 PyObject *swig_obj[1] ;
40621
40622 if (!args) SWIG_fail;
40623 swig_obj[0] = args;
40624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40625 if (!SWIG_IsOK(res1)) {
40626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40627 }
40628 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40629 {
40630 PyThreadState* __tstate = wxPyBeginAllowThreads();
40631 wxHelpProvider_Destroy(arg1);
40632 wxPyEndAllowThreads(__tstate);
40633 if (PyErr_Occurred()) SWIG_fail;
40634 }
40635 resultobj = SWIG_Py_Void();
40636 return resultobj;
40637 fail:
40638 return NULL;
40639 }
40640
40641
40642 SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40643 PyObject *obj;
40644 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40645 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40646 return SWIG_Py_Void();
40647 }
40648
40649 SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40650 PyObject *resultobj = 0;
40651 wxSimpleHelpProvider *result = 0 ;
40652
40653 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40654 {
40655 PyThreadState* __tstate = wxPyBeginAllowThreads();
40656 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40657 wxPyEndAllowThreads(__tstate);
40658 if (PyErr_Occurred()) SWIG_fail;
40659 }
40660 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40661 return resultobj;
40662 fail:
40663 return NULL;
40664 }
40665
40666
40667 SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40668 PyObject *obj;
40669 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40670 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40671 return SWIG_Py_Void();
40672 }
40673
40674 SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40675 return SWIG_Python_InitShadowInstance(args);
40676 }
40677
40678 SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40679 PyObject *resultobj = 0;
40680 wxBitmap *arg1 = 0 ;
40681 wxCursor const &arg2_defvalue = wxNullCursor ;
40682 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40683 wxGenericDragImage *result = 0 ;
40684 void *argp1 = 0 ;
40685 int res1 = 0 ;
40686 void *argp2 = 0 ;
40687 int res2 = 0 ;
40688 PyObject * obj0 = 0 ;
40689 PyObject * obj1 = 0 ;
40690 char * kwnames[] = {
40691 (char *) "image",(char *) "cursor", NULL
40692 };
40693
40694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40695 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40696 if (!SWIG_IsOK(res1)) {
40697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40698 }
40699 if (!argp1) {
40700 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40701 }
40702 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40703 if (obj1) {
40704 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40705 if (!SWIG_IsOK(res2)) {
40706 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40707 }
40708 if (!argp2) {
40709 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40710 }
40711 arg2 = reinterpret_cast< wxCursor * >(argp2);
40712 }
40713 {
40714 if (!wxPyCheckForApp()) SWIG_fail;
40715 PyThreadState* __tstate = wxPyBeginAllowThreads();
40716 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40717 wxPyEndAllowThreads(__tstate);
40718 if (PyErr_Occurred()) SWIG_fail;
40719 }
40720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40721 return resultobj;
40722 fail:
40723 return NULL;
40724 }
40725
40726
40727 SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40728 PyObject *resultobj = 0;
40729 wxIcon *arg1 = 0 ;
40730 wxCursor const &arg2_defvalue = wxNullCursor ;
40731 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40732 wxGenericDragImage *result = 0 ;
40733 void *argp1 = 0 ;
40734 int res1 = 0 ;
40735 void *argp2 = 0 ;
40736 int res2 = 0 ;
40737 PyObject * obj0 = 0 ;
40738 PyObject * obj1 = 0 ;
40739 char * kwnames[] = {
40740 (char *) "image",(char *) "cursor", NULL
40741 };
40742
40743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40744 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40745 if (!SWIG_IsOK(res1)) {
40746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40747 }
40748 if (!argp1) {
40749 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40750 }
40751 arg1 = reinterpret_cast< wxIcon * >(argp1);
40752 if (obj1) {
40753 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40754 if (!SWIG_IsOK(res2)) {
40755 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40756 }
40757 if (!argp2) {
40758 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40759 }
40760 arg2 = reinterpret_cast< wxCursor * >(argp2);
40761 }
40762 {
40763 if (!wxPyCheckForApp()) SWIG_fail;
40764 PyThreadState* __tstate = wxPyBeginAllowThreads();
40765 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40766 wxPyEndAllowThreads(__tstate);
40767 if (PyErr_Occurred()) SWIG_fail;
40768 }
40769 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40770 return resultobj;
40771 fail:
40772 return NULL;
40773 }
40774
40775
40776 SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40777 PyObject *resultobj = 0;
40778 wxString *arg1 = 0 ;
40779 wxCursor const &arg2_defvalue = wxNullCursor ;
40780 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40781 wxGenericDragImage *result = 0 ;
40782 bool temp1 = false ;
40783 void *argp2 = 0 ;
40784 int res2 = 0 ;
40785 PyObject * obj0 = 0 ;
40786 PyObject * obj1 = 0 ;
40787 char * kwnames[] = {
40788 (char *) "str",(char *) "cursor", NULL
40789 };
40790
40791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40792 {
40793 arg1 = wxString_in_helper(obj0);
40794 if (arg1 == NULL) SWIG_fail;
40795 temp1 = true;
40796 }
40797 if (obj1) {
40798 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40799 if (!SWIG_IsOK(res2)) {
40800 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40801 }
40802 if (!argp2) {
40803 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40804 }
40805 arg2 = reinterpret_cast< wxCursor * >(argp2);
40806 }
40807 {
40808 if (!wxPyCheckForApp()) SWIG_fail;
40809 PyThreadState* __tstate = wxPyBeginAllowThreads();
40810 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40811 wxPyEndAllowThreads(__tstate);
40812 if (PyErr_Occurred()) SWIG_fail;
40813 }
40814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40815 {
40816 if (temp1)
40817 delete arg1;
40818 }
40819 return resultobj;
40820 fail:
40821 {
40822 if (temp1)
40823 delete arg1;
40824 }
40825 return NULL;
40826 }
40827
40828
40829 SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40830 PyObject *resultobj = 0;
40831 wxPyTreeCtrl *arg1 = 0 ;
40832 wxTreeItemId *arg2 = 0 ;
40833 wxGenericDragImage *result = 0 ;
40834 void *argp1 = 0 ;
40835 int res1 = 0 ;
40836 void *argp2 = 0 ;
40837 int res2 = 0 ;
40838 PyObject * obj0 = 0 ;
40839 PyObject * obj1 = 0 ;
40840 char * kwnames[] = {
40841 (char *) "treeCtrl",(char *) "id", NULL
40842 };
40843
40844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40845 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40846 if (!SWIG_IsOK(res1)) {
40847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40848 }
40849 if (!argp1) {
40850 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40851 }
40852 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40853 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40854 if (!SWIG_IsOK(res2)) {
40855 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40856 }
40857 if (!argp2) {
40858 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40859 }
40860 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40861 {
40862 if (!wxPyCheckForApp()) SWIG_fail;
40863 PyThreadState* __tstate = wxPyBeginAllowThreads();
40864 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40865 wxPyEndAllowThreads(__tstate);
40866 if (PyErr_Occurred()) SWIG_fail;
40867 }
40868 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40869 return resultobj;
40870 fail:
40871 return NULL;
40872 }
40873
40874
40875 SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40876 PyObject *resultobj = 0;
40877 wxPyListCtrl *arg1 = 0 ;
40878 long arg2 ;
40879 wxGenericDragImage *result = 0 ;
40880 void *argp1 = 0 ;
40881 int res1 = 0 ;
40882 long val2 ;
40883 int ecode2 = 0 ;
40884 PyObject * obj0 = 0 ;
40885 PyObject * obj1 = 0 ;
40886 char * kwnames[] = {
40887 (char *) "listCtrl",(char *) "id", NULL
40888 };
40889
40890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40891 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40892 if (!SWIG_IsOK(res1)) {
40893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40894 }
40895 if (!argp1) {
40896 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40897 }
40898 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40899 ecode2 = SWIG_AsVal_long(obj1, &val2);
40900 if (!SWIG_IsOK(ecode2)) {
40901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40902 }
40903 arg2 = static_cast< long >(val2);
40904 {
40905 if (!wxPyCheckForApp()) SWIG_fail;
40906 PyThreadState* __tstate = wxPyBeginAllowThreads();
40907 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40908 wxPyEndAllowThreads(__tstate);
40909 if (PyErr_Occurred()) SWIG_fail;
40910 }
40911 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40912 return resultobj;
40913 fail:
40914 return NULL;
40915 }
40916
40917
40918 SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40919 PyObject *resultobj = 0;
40920 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40921 void *argp1 = 0 ;
40922 int res1 = 0 ;
40923 PyObject *swig_obj[1] ;
40924
40925 if (!args) SWIG_fail;
40926 swig_obj[0] = args;
40927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40928 if (!SWIG_IsOK(res1)) {
40929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40930 }
40931 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40932 {
40933 PyThreadState* __tstate = wxPyBeginAllowThreads();
40934 delete arg1;
40935
40936 wxPyEndAllowThreads(__tstate);
40937 if (PyErr_Occurred()) SWIG_fail;
40938 }
40939 resultobj = SWIG_Py_Void();
40940 return resultobj;
40941 fail:
40942 return NULL;
40943 }
40944
40945
40946 SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40947 PyObject *resultobj = 0;
40948 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40949 wxBitmap *arg2 = (wxBitmap *) 0 ;
40950 void *argp1 = 0 ;
40951 int res1 = 0 ;
40952 void *argp2 = 0 ;
40953 int res2 = 0 ;
40954 PyObject * obj0 = 0 ;
40955 PyObject * obj1 = 0 ;
40956 char * kwnames[] = {
40957 (char *) "self",(char *) "bitmap", NULL
40958 };
40959
40960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40962 if (!SWIG_IsOK(res1)) {
40963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40964 }
40965 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40966 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40967 if (!SWIG_IsOK(res2)) {
40968 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40969 }
40970 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40971 {
40972 PyThreadState* __tstate = wxPyBeginAllowThreads();
40973 (arg1)->SetBackingBitmap(arg2);
40974 wxPyEndAllowThreads(__tstate);
40975 if (PyErr_Occurred()) SWIG_fail;
40976 }
40977 resultobj = SWIG_Py_Void();
40978 return resultobj;
40979 fail:
40980 return NULL;
40981 }
40982
40983
40984 SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40985 PyObject *resultobj = 0;
40986 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40987 wxPoint *arg2 = 0 ;
40988 wxWindow *arg3 = (wxWindow *) 0 ;
40989 bool arg4 = (bool) false ;
40990 wxRect *arg5 = (wxRect *) NULL ;
40991 bool result;
40992 void *argp1 = 0 ;
40993 int res1 = 0 ;
40994 wxPoint temp2 ;
40995 void *argp3 = 0 ;
40996 int res3 = 0 ;
40997 bool val4 ;
40998 int ecode4 = 0 ;
40999 void *argp5 = 0 ;
41000 int res5 = 0 ;
41001 PyObject * obj0 = 0 ;
41002 PyObject * obj1 = 0 ;
41003 PyObject * obj2 = 0 ;
41004 PyObject * obj3 = 0 ;
41005 PyObject * obj4 = 0 ;
41006 char * kwnames[] = {
41007 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41008 };
41009
41010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41012 if (!SWIG_IsOK(res1)) {
41013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41014 }
41015 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41016 {
41017 arg2 = &temp2;
41018 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41019 }
41020 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41021 if (!SWIG_IsOK(res3)) {
41022 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41023 }
41024 arg3 = reinterpret_cast< wxWindow * >(argp3);
41025 if (obj3) {
41026 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41027 if (!SWIG_IsOK(ecode4)) {
41028 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41029 }
41030 arg4 = static_cast< bool >(val4);
41031 }
41032 if (obj4) {
41033 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
41034 if (!SWIG_IsOK(res5)) {
41035 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41036 }
41037 arg5 = reinterpret_cast< wxRect * >(argp5);
41038 }
41039 {
41040 PyThreadState* __tstate = wxPyBeginAllowThreads();
41041 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
41042 wxPyEndAllowThreads(__tstate);
41043 if (PyErr_Occurred()) SWIG_fail;
41044 }
41045 {
41046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41047 }
41048 return resultobj;
41049 fail:
41050 return NULL;
41051 }
41052
41053
41054 SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41055 PyObject *resultobj = 0;
41056 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41057 wxPoint *arg2 = 0 ;
41058 wxWindow *arg3 = (wxWindow *) 0 ;
41059 wxWindow *arg4 = (wxWindow *) 0 ;
41060 bool result;
41061 void *argp1 = 0 ;
41062 int res1 = 0 ;
41063 wxPoint temp2 ;
41064 void *argp3 = 0 ;
41065 int res3 = 0 ;
41066 void *argp4 = 0 ;
41067 int res4 = 0 ;
41068 PyObject * obj0 = 0 ;
41069 PyObject * obj1 = 0 ;
41070 PyObject * obj2 = 0 ;
41071 PyObject * obj3 = 0 ;
41072 char * kwnames[] = {
41073 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41074 };
41075
41076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
41077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41078 if (!SWIG_IsOK(res1)) {
41079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41080 }
41081 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41082 {
41083 arg2 = &temp2;
41084 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41085 }
41086 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41087 if (!SWIG_IsOK(res3)) {
41088 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41089 }
41090 arg3 = reinterpret_cast< wxWindow * >(argp3);
41091 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
41092 if (!SWIG_IsOK(res4)) {
41093 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41094 }
41095 arg4 = reinterpret_cast< wxWindow * >(argp4);
41096 {
41097 PyThreadState* __tstate = wxPyBeginAllowThreads();
41098 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
41099 wxPyEndAllowThreads(__tstate);
41100 if (PyErr_Occurred()) SWIG_fail;
41101 }
41102 {
41103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41104 }
41105 return resultobj;
41106 fail:
41107 return NULL;
41108 }
41109
41110
41111 SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41112 PyObject *resultobj = 0;
41113 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41114 bool result;
41115 void *argp1 = 0 ;
41116 int res1 = 0 ;
41117 PyObject *swig_obj[1] ;
41118
41119 if (!args) SWIG_fail;
41120 swig_obj[0] = args;
41121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41122 if (!SWIG_IsOK(res1)) {
41123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41124 }
41125 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41126 {
41127 PyThreadState* __tstate = wxPyBeginAllowThreads();
41128 result = (bool)(arg1)->EndDrag();
41129 wxPyEndAllowThreads(__tstate);
41130 if (PyErr_Occurred()) SWIG_fail;
41131 }
41132 {
41133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41134 }
41135 return resultobj;
41136 fail:
41137 return NULL;
41138 }
41139
41140
41141 SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41142 PyObject *resultobj = 0;
41143 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41144 wxPoint *arg2 = 0 ;
41145 bool result;
41146 void *argp1 = 0 ;
41147 int res1 = 0 ;
41148 wxPoint temp2 ;
41149 PyObject * obj0 = 0 ;
41150 PyObject * obj1 = 0 ;
41151 char * kwnames[] = {
41152 (char *) "self",(char *) "pt", NULL
41153 };
41154
41155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
41156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41157 if (!SWIG_IsOK(res1)) {
41158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41159 }
41160 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41161 {
41162 arg2 = &temp2;
41163 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41164 }
41165 {
41166 PyThreadState* __tstate = wxPyBeginAllowThreads();
41167 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
41168 wxPyEndAllowThreads(__tstate);
41169 if (PyErr_Occurred()) SWIG_fail;
41170 }
41171 {
41172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41173 }
41174 return resultobj;
41175 fail:
41176 return NULL;
41177 }
41178
41179
41180 SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41181 PyObject *resultobj = 0;
41182 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41183 bool result;
41184 void *argp1 = 0 ;
41185 int res1 = 0 ;
41186 PyObject *swig_obj[1] ;
41187
41188 if (!args) SWIG_fail;
41189 swig_obj[0] = args;
41190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41191 if (!SWIG_IsOK(res1)) {
41192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41193 }
41194 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41195 {
41196 PyThreadState* __tstate = wxPyBeginAllowThreads();
41197 result = (bool)(arg1)->Show();
41198 wxPyEndAllowThreads(__tstate);
41199 if (PyErr_Occurred()) SWIG_fail;
41200 }
41201 {
41202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41203 }
41204 return resultobj;
41205 fail:
41206 return NULL;
41207 }
41208
41209
41210 SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41211 PyObject *resultobj = 0;
41212 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41213 bool result;
41214 void *argp1 = 0 ;
41215 int res1 = 0 ;
41216 PyObject *swig_obj[1] ;
41217
41218 if (!args) SWIG_fail;
41219 swig_obj[0] = args;
41220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41221 if (!SWIG_IsOK(res1)) {
41222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41223 }
41224 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41225 {
41226 PyThreadState* __tstate = wxPyBeginAllowThreads();
41227 result = (bool)(arg1)->Hide();
41228 wxPyEndAllowThreads(__tstate);
41229 if (PyErr_Occurred()) SWIG_fail;
41230 }
41231 {
41232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41233 }
41234 return resultobj;
41235 fail:
41236 return NULL;
41237 }
41238
41239
41240 SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41241 PyObject *resultobj = 0;
41242 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41243 wxPoint *arg2 = 0 ;
41244 wxRect result;
41245 void *argp1 = 0 ;
41246 int res1 = 0 ;
41247 wxPoint temp2 ;
41248 PyObject * obj0 = 0 ;
41249 PyObject * obj1 = 0 ;
41250 char * kwnames[] = {
41251 (char *) "self",(char *) "pos", NULL
41252 };
41253
41254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
41255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41256 if (!SWIG_IsOK(res1)) {
41257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41258 }
41259 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41260 {
41261 arg2 = &temp2;
41262 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41263 }
41264 {
41265 PyThreadState* __tstate = wxPyBeginAllowThreads();
41266 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
41267 wxPyEndAllowThreads(__tstate);
41268 if (PyErr_Occurred()) SWIG_fail;
41269 }
41270 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
41271 return resultobj;
41272 fail:
41273 return NULL;
41274 }
41275
41276
41277 SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41278 PyObject *resultobj = 0;
41279 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41280 wxDC *arg2 = 0 ;
41281 wxPoint *arg3 = 0 ;
41282 bool result;
41283 void *argp1 = 0 ;
41284 int res1 = 0 ;
41285 void *argp2 = 0 ;
41286 int res2 = 0 ;
41287 wxPoint temp3 ;
41288 PyObject * obj0 = 0 ;
41289 PyObject * obj1 = 0 ;
41290 PyObject * obj2 = 0 ;
41291 char * kwnames[] = {
41292 (char *) "self",(char *) "dc",(char *) "pos", NULL
41293 };
41294
41295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41297 if (!SWIG_IsOK(res1)) {
41298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41299 }
41300 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41301 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41302 if (!SWIG_IsOK(res2)) {
41303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41304 }
41305 if (!argp2) {
41306 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41307 }
41308 arg2 = reinterpret_cast< wxDC * >(argp2);
41309 {
41310 arg3 = &temp3;
41311 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41312 }
41313 {
41314 PyThreadState* __tstate = wxPyBeginAllowThreads();
41315 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41316 wxPyEndAllowThreads(__tstate);
41317 if (PyErr_Occurred()) SWIG_fail;
41318 }
41319 {
41320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41321 }
41322 return resultobj;
41323 fail:
41324 return NULL;
41325 }
41326
41327
41328 SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41329 PyObject *resultobj = 0;
41330 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41331 wxDC *arg2 = 0 ;
41332 wxMemoryDC *arg3 = 0 ;
41333 wxRect *arg4 = 0 ;
41334 wxRect *arg5 = 0 ;
41335 bool result;
41336 void *argp1 = 0 ;
41337 int res1 = 0 ;
41338 void *argp2 = 0 ;
41339 int res2 = 0 ;
41340 void *argp3 = 0 ;
41341 int res3 = 0 ;
41342 wxRect temp4 ;
41343 wxRect temp5 ;
41344 PyObject * obj0 = 0 ;
41345 PyObject * obj1 = 0 ;
41346 PyObject * obj2 = 0 ;
41347 PyObject * obj3 = 0 ;
41348 PyObject * obj4 = 0 ;
41349 char * kwnames[] = {
41350 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41351 };
41352
41353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41355 if (!SWIG_IsOK(res1)) {
41356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41357 }
41358 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41359 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41360 if (!SWIG_IsOK(res2)) {
41361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41362 }
41363 if (!argp2) {
41364 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41365 }
41366 arg2 = reinterpret_cast< wxDC * >(argp2);
41367 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41368 if (!SWIG_IsOK(res3)) {
41369 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41370 }
41371 if (!argp3) {
41372 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41373 }
41374 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41375 {
41376 arg4 = &temp4;
41377 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41378 }
41379 {
41380 arg5 = &temp5;
41381 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41382 }
41383 {
41384 PyThreadState* __tstate = wxPyBeginAllowThreads();
41385 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41386 wxPyEndAllowThreads(__tstate);
41387 if (PyErr_Occurred()) SWIG_fail;
41388 }
41389 {
41390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41391 }
41392 return resultobj;
41393 fail:
41394 return NULL;
41395 }
41396
41397
41398 SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41399 PyObject *resultobj = 0;
41400 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41401 wxPoint *arg2 = 0 ;
41402 wxPoint *arg3 = 0 ;
41403 bool arg4 ;
41404 bool arg5 ;
41405 bool result;
41406 void *argp1 = 0 ;
41407 int res1 = 0 ;
41408 wxPoint temp2 ;
41409 wxPoint temp3 ;
41410 bool val4 ;
41411 int ecode4 = 0 ;
41412 bool val5 ;
41413 int ecode5 = 0 ;
41414 PyObject * obj0 = 0 ;
41415 PyObject * obj1 = 0 ;
41416 PyObject * obj2 = 0 ;
41417 PyObject * obj3 = 0 ;
41418 PyObject * obj4 = 0 ;
41419 char * kwnames[] = {
41420 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41421 };
41422
41423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41425 if (!SWIG_IsOK(res1)) {
41426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41427 }
41428 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41429 {
41430 arg2 = &temp2;
41431 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41432 }
41433 {
41434 arg3 = &temp3;
41435 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41436 }
41437 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41438 if (!SWIG_IsOK(ecode4)) {
41439 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41440 }
41441 arg4 = static_cast< bool >(val4);
41442 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41443 if (!SWIG_IsOK(ecode5)) {
41444 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41445 }
41446 arg5 = static_cast< bool >(val5);
41447 {
41448 PyThreadState* __tstate = wxPyBeginAllowThreads();
41449 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41450 wxPyEndAllowThreads(__tstate);
41451 if (PyErr_Occurred()) SWIG_fail;
41452 }
41453 {
41454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41455 }
41456 return resultobj;
41457 fail:
41458 return NULL;
41459 }
41460
41461
41462 SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41463 PyObject *obj;
41464 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41465 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41466 return SWIG_Py_Void();
41467 }
41468
41469 SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41470 return SWIG_Python_InitShadowInstance(args);
41471 }
41472
41473 SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41474 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41475 return 1;
41476 }
41477
41478
41479 SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41480 PyObject *pyobj = 0;
41481
41482 {
41483 #if wxUSE_UNICODE
41484 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41485 #else
41486 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41487 #endif
41488 }
41489 return pyobj;
41490 }
41491
41492
41493 SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41494 PyObject *resultobj = 0;
41495 wxWindow *arg1 = (wxWindow *) 0 ;
41496 int arg2 = (int) -1 ;
41497 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41498 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41499 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41500 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41501 wxSize const &arg5_defvalue = wxDefaultSize ;
41502 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41503 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41504 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41505 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41506 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41507 wxString *arg8 = (wxString *) &arg8_defvalue ;
41508 wxDatePickerCtrl *result = 0 ;
41509 void *argp1 = 0 ;
41510 int res1 = 0 ;
41511 int val2 ;
41512 int ecode2 = 0 ;
41513 void *argp3 = 0 ;
41514 int res3 = 0 ;
41515 wxPoint temp4 ;
41516 wxSize temp5 ;
41517 long val6 ;
41518 int ecode6 = 0 ;
41519 void *argp7 = 0 ;
41520 int res7 = 0 ;
41521 bool temp8 = false ;
41522 PyObject * obj0 = 0 ;
41523 PyObject * obj1 = 0 ;
41524 PyObject * obj2 = 0 ;
41525 PyObject * obj3 = 0 ;
41526 PyObject * obj4 = 0 ;
41527 PyObject * obj5 = 0 ;
41528 PyObject * obj6 = 0 ;
41529 PyObject * obj7 = 0 ;
41530 char * kwnames[] = {
41531 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41532 };
41533
41534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41536 if (!SWIG_IsOK(res1)) {
41537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41538 }
41539 arg1 = reinterpret_cast< wxWindow * >(argp1);
41540 if (obj1) {
41541 ecode2 = SWIG_AsVal_int(obj1, &val2);
41542 if (!SWIG_IsOK(ecode2)) {
41543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41544 }
41545 arg2 = static_cast< int >(val2);
41546 }
41547 if (obj2) {
41548 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41549 if (!SWIG_IsOK(res3)) {
41550 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41551 }
41552 if (!argp3) {
41553 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41554 }
41555 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41556 }
41557 if (obj3) {
41558 {
41559 arg4 = &temp4;
41560 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
41561 }
41562 }
41563 if (obj4) {
41564 {
41565 arg5 = &temp5;
41566 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
41567 }
41568 }
41569 if (obj5) {
41570 ecode6 = SWIG_AsVal_long(obj5, &val6);
41571 if (!SWIG_IsOK(ecode6)) {
41572 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41573 }
41574 arg6 = static_cast< long >(val6);
41575 }
41576 if (obj6) {
41577 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41578 if (!SWIG_IsOK(res7)) {
41579 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41580 }
41581 if (!argp7) {
41582 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41583 }
41584 arg7 = reinterpret_cast< wxValidator * >(argp7);
41585 }
41586 if (obj7) {
41587 {
41588 arg8 = wxString_in_helper(obj7);
41589 if (arg8 == NULL) SWIG_fail;
41590 temp8 = true;
41591 }
41592 }
41593 {
41594 if (!wxPyCheckForApp()) SWIG_fail;
41595 PyThreadState* __tstate = wxPyBeginAllowThreads();
41596 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41597 wxPyEndAllowThreads(__tstate);
41598 if (PyErr_Occurred()) SWIG_fail;
41599 }
41600 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41601 {
41602 if (temp8)
41603 delete arg8;
41604 }
41605 return resultobj;
41606 fail:
41607 {
41608 if (temp8)
41609 delete arg8;
41610 }
41611 return NULL;
41612 }
41613
41614
41615 SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41616 PyObject *resultobj = 0;
41617 wxDatePickerCtrl *result = 0 ;
41618
41619 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41620 {
41621 if (!wxPyCheckForApp()) SWIG_fail;
41622 PyThreadState* __tstate = wxPyBeginAllowThreads();
41623 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41624 wxPyEndAllowThreads(__tstate);
41625 if (PyErr_Occurred()) SWIG_fail;
41626 }
41627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41628 return resultobj;
41629 fail:
41630 return NULL;
41631 }
41632
41633
41634 SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41635 PyObject *resultobj = 0;
41636 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41637 wxWindow *arg2 = (wxWindow *) 0 ;
41638 int arg3 = (int) -1 ;
41639 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41640 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41641 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41642 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41643 wxSize const &arg6_defvalue = wxDefaultSize ;
41644 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41645 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41646 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41647 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41648 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41649 wxString *arg9 = (wxString *) &arg9_defvalue ;
41650 bool result;
41651 void *argp1 = 0 ;
41652 int res1 = 0 ;
41653 void *argp2 = 0 ;
41654 int res2 = 0 ;
41655 int val3 ;
41656 int ecode3 = 0 ;
41657 void *argp4 = 0 ;
41658 int res4 = 0 ;
41659 wxPoint temp5 ;
41660 wxSize temp6 ;
41661 long val7 ;
41662 int ecode7 = 0 ;
41663 void *argp8 = 0 ;
41664 int res8 = 0 ;
41665 bool temp9 = false ;
41666 PyObject * obj0 = 0 ;
41667 PyObject * obj1 = 0 ;
41668 PyObject * obj2 = 0 ;
41669 PyObject * obj3 = 0 ;
41670 PyObject * obj4 = 0 ;
41671 PyObject * obj5 = 0 ;
41672 PyObject * obj6 = 0 ;
41673 PyObject * obj7 = 0 ;
41674 PyObject * obj8 = 0 ;
41675 char * kwnames[] = {
41676 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41677 };
41678
41679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41681 if (!SWIG_IsOK(res1)) {
41682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41683 }
41684 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41685 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41686 if (!SWIG_IsOK(res2)) {
41687 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41688 }
41689 arg2 = reinterpret_cast< wxWindow * >(argp2);
41690 if (obj2) {
41691 ecode3 = SWIG_AsVal_int(obj2, &val3);
41692 if (!SWIG_IsOK(ecode3)) {
41693 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41694 }
41695 arg3 = static_cast< int >(val3);
41696 }
41697 if (obj3) {
41698 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41699 if (!SWIG_IsOK(res4)) {
41700 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41701 }
41702 if (!argp4) {
41703 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41704 }
41705 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41706 }
41707 if (obj4) {
41708 {
41709 arg5 = &temp5;
41710 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41711 }
41712 }
41713 if (obj5) {
41714 {
41715 arg6 = &temp6;
41716 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41717 }
41718 }
41719 if (obj6) {
41720 ecode7 = SWIG_AsVal_long(obj6, &val7);
41721 if (!SWIG_IsOK(ecode7)) {
41722 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41723 }
41724 arg7 = static_cast< long >(val7);
41725 }
41726 if (obj7) {
41727 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41728 if (!SWIG_IsOK(res8)) {
41729 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41730 }
41731 if (!argp8) {
41732 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41733 }
41734 arg8 = reinterpret_cast< wxValidator * >(argp8);
41735 }
41736 if (obj8) {
41737 {
41738 arg9 = wxString_in_helper(obj8);
41739 if (arg9 == NULL) SWIG_fail;
41740 temp9 = true;
41741 }
41742 }
41743 {
41744 PyThreadState* __tstate = wxPyBeginAllowThreads();
41745 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41746 wxPyEndAllowThreads(__tstate);
41747 if (PyErr_Occurred()) SWIG_fail;
41748 }
41749 {
41750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41751 }
41752 {
41753 if (temp9)
41754 delete arg9;
41755 }
41756 return resultobj;
41757 fail:
41758 {
41759 if (temp9)
41760 delete arg9;
41761 }
41762 return NULL;
41763 }
41764
41765
41766 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41767 PyObject *resultobj = 0;
41768 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41769 wxDateTime *arg2 = 0 ;
41770 void *argp1 = 0 ;
41771 int res1 = 0 ;
41772 void *argp2 = 0 ;
41773 int res2 = 0 ;
41774 PyObject * obj0 = 0 ;
41775 PyObject * obj1 = 0 ;
41776 char * kwnames[] = {
41777 (char *) "self",(char *) "dt", NULL
41778 };
41779
41780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41782 if (!SWIG_IsOK(res1)) {
41783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41784 }
41785 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41786 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41787 if (!SWIG_IsOK(res2)) {
41788 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41789 }
41790 if (!argp2) {
41791 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41792 }
41793 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41794 {
41795 PyThreadState* __tstate = wxPyBeginAllowThreads();
41796 (arg1)->SetValue((wxDateTime const &)*arg2);
41797 wxPyEndAllowThreads(__tstate);
41798 if (PyErr_Occurred()) SWIG_fail;
41799 }
41800 resultobj = SWIG_Py_Void();
41801 return resultobj;
41802 fail:
41803 return NULL;
41804 }
41805
41806
41807 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41808 PyObject *resultobj = 0;
41809 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41810 wxDateTime result;
41811 void *argp1 = 0 ;
41812 int res1 = 0 ;
41813 PyObject *swig_obj[1] ;
41814
41815 if (!args) SWIG_fail;
41816 swig_obj[0] = args;
41817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41818 if (!SWIG_IsOK(res1)) {
41819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41820 }
41821 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41822 {
41823 PyThreadState* __tstate = wxPyBeginAllowThreads();
41824 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41825 wxPyEndAllowThreads(__tstate);
41826 if (PyErr_Occurred()) SWIG_fail;
41827 }
41828 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41829 return resultobj;
41830 fail:
41831 return NULL;
41832 }
41833
41834
41835 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41836 PyObject *resultobj = 0;
41837 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41838 wxDateTime *arg2 = 0 ;
41839 wxDateTime *arg3 = 0 ;
41840 void *argp1 = 0 ;
41841 int res1 = 0 ;
41842 void *argp2 = 0 ;
41843 int res2 = 0 ;
41844 void *argp3 = 0 ;
41845 int res3 = 0 ;
41846 PyObject * obj0 = 0 ;
41847 PyObject * obj1 = 0 ;
41848 PyObject * obj2 = 0 ;
41849 char * kwnames[] = {
41850 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41851 };
41852
41853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41855 if (!SWIG_IsOK(res1)) {
41856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41857 }
41858 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41859 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41860 if (!SWIG_IsOK(res2)) {
41861 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41862 }
41863 if (!argp2) {
41864 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41865 }
41866 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41867 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41868 if (!SWIG_IsOK(res3)) {
41869 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41870 }
41871 if (!argp3) {
41872 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41873 }
41874 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41875 {
41876 PyThreadState* __tstate = wxPyBeginAllowThreads();
41877 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41878 wxPyEndAllowThreads(__tstate);
41879 if (PyErr_Occurred()) SWIG_fail;
41880 }
41881 resultobj = SWIG_Py_Void();
41882 return resultobj;
41883 fail:
41884 return NULL;
41885 }
41886
41887
41888 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41889 PyObject *resultobj = 0;
41890 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41891 wxDateTime result;
41892 void *argp1 = 0 ;
41893 int res1 = 0 ;
41894 PyObject *swig_obj[1] ;
41895
41896 if (!args) SWIG_fail;
41897 swig_obj[0] = args;
41898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41899 if (!SWIG_IsOK(res1)) {
41900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41901 }
41902 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41903 {
41904 PyThreadState* __tstate = wxPyBeginAllowThreads();
41905 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41906 wxPyEndAllowThreads(__tstate);
41907 if (PyErr_Occurred()) SWIG_fail;
41908 }
41909 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41910 return resultobj;
41911 fail:
41912 return NULL;
41913 }
41914
41915
41916 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41917 PyObject *resultobj = 0;
41918 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41919 wxDateTime result;
41920 void *argp1 = 0 ;
41921 int res1 = 0 ;
41922 PyObject *swig_obj[1] ;
41923
41924 if (!args) SWIG_fail;
41925 swig_obj[0] = args;
41926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41927 if (!SWIG_IsOK(res1)) {
41928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41929 }
41930 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41931 {
41932 PyThreadState* __tstate = wxPyBeginAllowThreads();
41933 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41934 wxPyEndAllowThreads(__tstate);
41935 if (PyErr_Occurred()) SWIG_fail;
41936 }
41937 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41938 return resultobj;
41939 fail:
41940 return NULL;
41941 }
41942
41943
41944 SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41945 PyObject *obj;
41946 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41947 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41948 return SWIG_Py_Void();
41949 }
41950
41951 SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41952 return SWIG_Python_InitShadowInstance(args);
41953 }
41954
41955 SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41956 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41957 return 1;
41958 }
41959
41960
41961 SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41962 PyObject *pyobj = 0;
41963
41964 {
41965 #if wxUSE_UNICODE
41966 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41967 #else
41968 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41969 #endif
41970 }
41971 return pyobj;
41972 }
41973
41974
41975 SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41976 PyObject *resultobj = 0;
41977 wxWindow *arg1 = (wxWindow *) 0 ;
41978 int arg2 ;
41979 wxString *arg3 = 0 ;
41980 wxString *arg4 = 0 ;
41981 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41982 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41983 wxSize const &arg6_defvalue = wxDefaultSize ;
41984 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41985 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41986 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41987 wxString *arg8 = (wxString *) &arg8_defvalue ;
41988 wxHyperlinkCtrl *result = 0 ;
41989 void *argp1 = 0 ;
41990 int res1 = 0 ;
41991 int val2 ;
41992 int ecode2 = 0 ;
41993 bool temp3 = false ;
41994 bool temp4 = false ;
41995 wxPoint temp5 ;
41996 wxSize temp6 ;
41997 long val7 ;
41998 int ecode7 = 0 ;
41999 bool temp8 = false ;
42000 PyObject * obj0 = 0 ;
42001 PyObject * obj1 = 0 ;
42002 PyObject * obj2 = 0 ;
42003 PyObject * obj3 = 0 ;
42004 PyObject * obj4 = 0 ;
42005 PyObject * obj5 = 0 ;
42006 PyObject * obj6 = 0 ;
42007 PyObject * obj7 = 0 ;
42008 char * kwnames[] = {
42009 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42010 };
42011
42012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
42013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
42014 if (!SWIG_IsOK(res1)) {
42015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42016 }
42017 arg1 = reinterpret_cast< wxWindow * >(argp1);
42018 ecode2 = SWIG_AsVal_int(obj1, &val2);
42019 if (!SWIG_IsOK(ecode2)) {
42020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42021 }
42022 arg2 = static_cast< int >(val2);
42023 {
42024 arg3 = wxString_in_helper(obj2);
42025 if (arg3 == NULL) SWIG_fail;
42026 temp3 = true;
42027 }
42028 {
42029 arg4 = wxString_in_helper(obj3);
42030 if (arg4 == NULL) SWIG_fail;
42031 temp4 = true;
42032 }
42033 if (obj4) {
42034 {
42035 arg5 = &temp5;
42036 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42037 }
42038 }
42039 if (obj5) {
42040 {
42041 arg6 = &temp6;
42042 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42043 }
42044 }
42045 if (obj6) {
42046 ecode7 = SWIG_AsVal_long(obj6, &val7);
42047 if (!SWIG_IsOK(ecode7)) {
42048 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42049 }
42050 arg7 = static_cast< long >(val7);
42051 }
42052 if (obj7) {
42053 {
42054 arg8 = wxString_in_helper(obj7);
42055 if (arg8 == NULL) SWIG_fail;
42056 temp8 = true;
42057 }
42058 }
42059 {
42060 if (!wxPyCheckForApp()) SWIG_fail;
42061 PyThreadState* __tstate = wxPyBeginAllowThreads();
42062 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
42063 wxPyEndAllowThreads(__tstate);
42064 if (PyErr_Occurred()) SWIG_fail;
42065 }
42066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
42067 {
42068 if (temp3)
42069 delete arg3;
42070 }
42071 {
42072 if (temp4)
42073 delete arg4;
42074 }
42075 {
42076 if (temp8)
42077 delete arg8;
42078 }
42079 return resultobj;
42080 fail:
42081 {
42082 if (temp3)
42083 delete arg3;
42084 }
42085 {
42086 if (temp4)
42087 delete arg4;
42088 }
42089 {
42090 if (temp8)
42091 delete arg8;
42092 }
42093 return NULL;
42094 }
42095
42096
42097 SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42098 PyObject *resultobj = 0;
42099 wxHyperlinkCtrl *result = 0 ;
42100
42101 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
42102 {
42103 if (!wxPyCheckForApp()) SWIG_fail;
42104 PyThreadState* __tstate = wxPyBeginAllowThreads();
42105 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
42106 wxPyEndAllowThreads(__tstate);
42107 if (PyErr_Occurred()) SWIG_fail;
42108 }
42109 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
42110 return resultobj;
42111 fail:
42112 return NULL;
42113 }
42114
42115
42116 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42117 PyObject *resultobj = 0;
42118 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42119 wxWindow *arg2 = (wxWindow *) 0 ;
42120 int arg3 ;
42121 wxString *arg4 = 0 ;
42122 wxString *arg5 = 0 ;
42123 wxPoint const &arg6_defvalue = wxDefaultPosition ;
42124 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
42125 wxSize const &arg7_defvalue = wxDefaultSize ;
42126 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
42127 long arg8 = (long) wxHL_DEFAULT_STYLE ;
42128 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
42129 wxString *arg9 = (wxString *) &arg9_defvalue ;
42130 bool result;
42131 void *argp1 = 0 ;
42132 int res1 = 0 ;
42133 void *argp2 = 0 ;
42134 int res2 = 0 ;
42135 int val3 ;
42136 int ecode3 = 0 ;
42137 bool temp4 = false ;
42138 bool temp5 = false ;
42139 wxPoint temp6 ;
42140 wxSize temp7 ;
42141 long val8 ;
42142 int ecode8 = 0 ;
42143 bool temp9 = false ;
42144 PyObject * obj0 = 0 ;
42145 PyObject * obj1 = 0 ;
42146 PyObject * obj2 = 0 ;
42147 PyObject * obj3 = 0 ;
42148 PyObject * obj4 = 0 ;
42149 PyObject * obj5 = 0 ;
42150 PyObject * obj6 = 0 ;
42151 PyObject * obj7 = 0 ;
42152 PyObject * obj8 = 0 ;
42153 char * kwnames[] = {
42154 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42155 };
42156
42157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42159 if (!SWIG_IsOK(res1)) {
42160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42161 }
42162 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42163 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42164 if (!SWIG_IsOK(res2)) {
42165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42166 }
42167 arg2 = reinterpret_cast< wxWindow * >(argp2);
42168 ecode3 = SWIG_AsVal_int(obj2, &val3);
42169 if (!SWIG_IsOK(ecode3)) {
42170 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42171 }
42172 arg3 = static_cast< int >(val3);
42173 {
42174 arg4 = wxString_in_helper(obj3);
42175 if (arg4 == NULL) SWIG_fail;
42176 temp4 = true;
42177 }
42178 {
42179 arg5 = wxString_in_helper(obj4);
42180 if (arg5 == NULL) SWIG_fail;
42181 temp5 = true;
42182 }
42183 if (obj5) {
42184 {
42185 arg6 = &temp6;
42186 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
42187 }
42188 }
42189 if (obj6) {
42190 {
42191 arg7 = &temp7;
42192 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
42193 }
42194 }
42195 if (obj7) {
42196 ecode8 = SWIG_AsVal_long(obj7, &val8);
42197 if (!SWIG_IsOK(ecode8)) {
42198 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42199 }
42200 arg8 = static_cast< long >(val8);
42201 }
42202 if (obj8) {
42203 {
42204 arg9 = wxString_in_helper(obj8);
42205 if (arg9 == NULL) SWIG_fail;
42206 temp9 = true;
42207 }
42208 }
42209 {
42210 PyThreadState* __tstate = wxPyBeginAllowThreads();
42211 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
42212 wxPyEndAllowThreads(__tstate);
42213 if (PyErr_Occurred()) SWIG_fail;
42214 }
42215 {
42216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42217 }
42218 {
42219 if (temp4)
42220 delete arg4;
42221 }
42222 {
42223 if (temp5)
42224 delete arg5;
42225 }
42226 {
42227 if (temp9)
42228 delete arg9;
42229 }
42230 return resultobj;
42231 fail:
42232 {
42233 if (temp4)
42234 delete arg4;
42235 }
42236 {
42237 if (temp5)
42238 delete arg5;
42239 }
42240 {
42241 if (temp9)
42242 delete arg9;
42243 }
42244 return NULL;
42245 }
42246
42247
42248 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42249 PyObject *resultobj = 0;
42250 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42251 wxColour result;
42252 void *argp1 = 0 ;
42253 int res1 = 0 ;
42254 PyObject *swig_obj[1] ;
42255
42256 if (!args) SWIG_fail;
42257 swig_obj[0] = args;
42258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42259 if (!SWIG_IsOK(res1)) {
42260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42261 }
42262 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42263 {
42264 PyThreadState* __tstate = wxPyBeginAllowThreads();
42265 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
42266 wxPyEndAllowThreads(__tstate);
42267 if (PyErr_Occurred()) SWIG_fail;
42268 }
42269 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42270 return resultobj;
42271 fail:
42272 return NULL;
42273 }
42274
42275
42276 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42277 PyObject *resultobj = 0;
42278 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42279 wxColour *arg2 = 0 ;
42280 void *argp1 = 0 ;
42281 int res1 = 0 ;
42282 wxColour temp2 ;
42283 PyObject * obj0 = 0 ;
42284 PyObject * obj1 = 0 ;
42285 char * kwnames[] = {
42286 (char *) "self",(char *) "colour", NULL
42287 };
42288
42289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
42290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42291 if (!SWIG_IsOK(res1)) {
42292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42293 }
42294 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42295 {
42296 arg2 = &temp2;
42297 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42298 }
42299 {
42300 PyThreadState* __tstate = wxPyBeginAllowThreads();
42301 (arg1)->SetHoverColour((wxColour const &)*arg2);
42302 wxPyEndAllowThreads(__tstate);
42303 if (PyErr_Occurred()) SWIG_fail;
42304 }
42305 resultobj = SWIG_Py_Void();
42306 return resultobj;
42307 fail:
42308 return NULL;
42309 }
42310
42311
42312 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42313 PyObject *resultobj = 0;
42314 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42315 wxColour result;
42316 void *argp1 = 0 ;
42317 int res1 = 0 ;
42318 PyObject *swig_obj[1] ;
42319
42320 if (!args) SWIG_fail;
42321 swig_obj[0] = args;
42322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42323 if (!SWIG_IsOK(res1)) {
42324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42325 }
42326 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42327 {
42328 PyThreadState* __tstate = wxPyBeginAllowThreads();
42329 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42330 wxPyEndAllowThreads(__tstate);
42331 if (PyErr_Occurred()) SWIG_fail;
42332 }
42333 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42334 return resultobj;
42335 fail:
42336 return NULL;
42337 }
42338
42339
42340 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42341 PyObject *resultobj = 0;
42342 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42343 wxColour *arg2 = 0 ;
42344 void *argp1 = 0 ;
42345 int res1 = 0 ;
42346 wxColour temp2 ;
42347 PyObject * obj0 = 0 ;
42348 PyObject * obj1 = 0 ;
42349 char * kwnames[] = {
42350 (char *) "self",(char *) "colour", NULL
42351 };
42352
42353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42355 if (!SWIG_IsOK(res1)) {
42356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42357 }
42358 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42359 {
42360 arg2 = &temp2;
42361 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42362 }
42363 {
42364 PyThreadState* __tstate = wxPyBeginAllowThreads();
42365 (arg1)->SetNormalColour((wxColour const &)*arg2);
42366 wxPyEndAllowThreads(__tstate);
42367 if (PyErr_Occurred()) SWIG_fail;
42368 }
42369 resultobj = SWIG_Py_Void();
42370 return resultobj;
42371 fail:
42372 return NULL;
42373 }
42374
42375
42376 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42377 PyObject *resultobj = 0;
42378 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42379 wxColour result;
42380 void *argp1 = 0 ;
42381 int res1 = 0 ;
42382 PyObject *swig_obj[1] ;
42383
42384 if (!args) SWIG_fail;
42385 swig_obj[0] = args;
42386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42387 if (!SWIG_IsOK(res1)) {
42388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42389 }
42390 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42391 {
42392 PyThreadState* __tstate = wxPyBeginAllowThreads();
42393 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42394 wxPyEndAllowThreads(__tstate);
42395 if (PyErr_Occurred()) SWIG_fail;
42396 }
42397 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42398 return resultobj;
42399 fail:
42400 return NULL;
42401 }
42402
42403
42404 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42405 PyObject *resultobj = 0;
42406 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42407 wxColour *arg2 = 0 ;
42408 void *argp1 = 0 ;
42409 int res1 = 0 ;
42410 wxColour temp2 ;
42411 PyObject * obj0 = 0 ;
42412 PyObject * obj1 = 0 ;
42413 char * kwnames[] = {
42414 (char *) "self",(char *) "colour", NULL
42415 };
42416
42417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42419 if (!SWIG_IsOK(res1)) {
42420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42421 }
42422 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42423 {
42424 arg2 = &temp2;
42425 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42426 }
42427 {
42428 PyThreadState* __tstate = wxPyBeginAllowThreads();
42429 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42430 wxPyEndAllowThreads(__tstate);
42431 if (PyErr_Occurred()) SWIG_fail;
42432 }
42433 resultobj = SWIG_Py_Void();
42434 return resultobj;
42435 fail:
42436 return NULL;
42437 }
42438
42439
42440 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42441 PyObject *resultobj = 0;
42442 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42443 wxString result;
42444 void *argp1 = 0 ;
42445 int res1 = 0 ;
42446 PyObject *swig_obj[1] ;
42447
42448 if (!args) SWIG_fail;
42449 swig_obj[0] = args;
42450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42451 if (!SWIG_IsOK(res1)) {
42452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42453 }
42454 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42455 {
42456 PyThreadState* __tstate = wxPyBeginAllowThreads();
42457 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42458 wxPyEndAllowThreads(__tstate);
42459 if (PyErr_Occurred()) SWIG_fail;
42460 }
42461 {
42462 #if wxUSE_UNICODE
42463 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42464 #else
42465 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42466 #endif
42467 }
42468 return resultobj;
42469 fail:
42470 return NULL;
42471 }
42472
42473
42474 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42475 PyObject *resultobj = 0;
42476 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42477 wxString *arg2 = 0 ;
42478 void *argp1 = 0 ;
42479 int res1 = 0 ;
42480 bool temp2 = false ;
42481 PyObject * obj0 = 0 ;
42482 PyObject * obj1 = 0 ;
42483 char * kwnames[] = {
42484 (char *) "self",(char *) "url", NULL
42485 };
42486
42487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42489 if (!SWIG_IsOK(res1)) {
42490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42491 }
42492 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42493 {
42494 arg2 = wxString_in_helper(obj1);
42495 if (arg2 == NULL) SWIG_fail;
42496 temp2 = true;
42497 }
42498 {
42499 PyThreadState* __tstate = wxPyBeginAllowThreads();
42500 (arg1)->SetURL((wxString const &)*arg2);
42501 wxPyEndAllowThreads(__tstate);
42502 if (PyErr_Occurred()) SWIG_fail;
42503 }
42504 resultobj = SWIG_Py_Void();
42505 {
42506 if (temp2)
42507 delete arg2;
42508 }
42509 return resultobj;
42510 fail:
42511 {
42512 if (temp2)
42513 delete arg2;
42514 }
42515 return NULL;
42516 }
42517
42518
42519 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42520 PyObject *resultobj = 0;
42521 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42522 bool arg2 = (bool) true ;
42523 void *argp1 = 0 ;
42524 int res1 = 0 ;
42525 bool val2 ;
42526 int ecode2 = 0 ;
42527 PyObject * obj0 = 0 ;
42528 PyObject * obj1 = 0 ;
42529 char * kwnames[] = {
42530 (char *) "self",(char *) "visited", NULL
42531 };
42532
42533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42535 if (!SWIG_IsOK(res1)) {
42536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42537 }
42538 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42539 if (obj1) {
42540 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42541 if (!SWIG_IsOK(ecode2)) {
42542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42543 }
42544 arg2 = static_cast< bool >(val2);
42545 }
42546 {
42547 PyThreadState* __tstate = wxPyBeginAllowThreads();
42548 (arg1)->SetVisited(arg2);
42549 wxPyEndAllowThreads(__tstate);
42550 if (PyErr_Occurred()) SWIG_fail;
42551 }
42552 resultobj = SWIG_Py_Void();
42553 return resultobj;
42554 fail:
42555 return NULL;
42556 }
42557
42558
42559 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42560 PyObject *resultobj = 0;
42561 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42562 bool result;
42563 void *argp1 = 0 ;
42564 int res1 = 0 ;
42565 PyObject *swig_obj[1] ;
42566
42567 if (!args) SWIG_fail;
42568 swig_obj[0] = args;
42569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42570 if (!SWIG_IsOK(res1)) {
42571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42572 }
42573 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42574 {
42575 PyThreadState* __tstate = wxPyBeginAllowThreads();
42576 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42577 wxPyEndAllowThreads(__tstate);
42578 if (PyErr_Occurred()) SWIG_fail;
42579 }
42580 {
42581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42582 }
42583 return resultobj;
42584 fail:
42585 return NULL;
42586 }
42587
42588
42589 SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42590 PyObject *obj;
42591 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42592 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42593 return SWIG_Py_Void();
42594 }
42595
42596 SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42597 return SWIG_Python_InitShadowInstance(args);
42598 }
42599
42600 SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42601 PyObject *resultobj = 0;
42602 wxObject *arg1 = (wxObject *) 0 ;
42603 int arg2 ;
42604 wxString *arg3 = 0 ;
42605 wxHyperlinkEvent *result = 0 ;
42606 void *argp1 = 0 ;
42607 int res1 = 0 ;
42608 int val2 ;
42609 int ecode2 = 0 ;
42610 bool temp3 = false ;
42611 PyObject * obj0 = 0 ;
42612 PyObject * obj1 = 0 ;
42613 PyObject * obj2 = 0 ;
42614 char * kwnames[] = {
42615 (char *) "generator",(char *) "id",(char *) "url", NULL
42616 };
42617
42618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42620 if (!SWIG_IsOK(res1)) {
42621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42622 }
42623 arg1 = reinterpret_cast< wxObject * >(argp1);
42624 ecode2 = SWIG_AsVal_int(obj1, &val2);
42625 if (!SWIG_IsOK(ecode2)) {
42626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42627 }
42628 arg2 = static_cast< int >(val2);
42629 {
42630 arg3 = wxString_in_helper(obj2);
42631 if (arg3 == NULL) SWIG_fail;
42632 temp3 = true;
42633 }
42634 {
42635 PyThreadState* __tstate = wxPyBeginAllowThreads();
42636 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42637 wxPyEndAllowThreads(__tstate);
42638 if (PyErr_Occurred()) SWIG_fail;
42639 }
42640 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42641 {
42642 if (temp3)
42643 delete arg3;
42644 }
42645 return resultobj;
42646 fail:
42647 {
42648 if (temp3)
42649 delete arg3;
42650 }
42651 return NULL;
42652 }
42653
42654
42655 SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42656 PyObject *resultobj = 0;
42657 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42658 wxString result;
42659 void *argp1 = 0 ;
42660 int res1 = 0 ;
42661 PyObject *swig_obj[1] ;
42662
42663 if (!args) SWIG_fail;
42664 swig_obj[0] = args;
42665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42666 if (!SWIG_IsOK(res1)) {
42667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42668 }
42669 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42670 {
42671 PyThreadState* __tstate = wxPyBeginAllowThreads();
42672 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42673 wxPyEndAllowThreads(__tstate);
42674 if (PyErr_Occurred()) SWIG_fail;
42675 }
42676 {
42677 #if wxUSE_UNICODE
42678 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42679 #else
42680 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42681 #endif
42682 }
42683 return resultobj;
42684 fail:
42685 return NULL;
42686 }
42687
42688
42689 SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42690 PyObject *resultobj = 0;
42691 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42692 wxString *arg2 = 0 ;
42693 void *argp1 = 0 ;
42694 int res1 = 0 ;
42695 bool temp2 = false ;
42696 PyObject * obj0 = 0 ;
42697 PyObject * obj1 = 0 ;
42698 char * kwnames[] = {
42699 (char *) "self",(char *) "url", NULL
42700 };
42701
42702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42704 if (!SWIG_IsOK(res1)) {
42705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42706 }
42707 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42708 {
42709 arg2 = wxString_in_helper(obj1);
42710 if (arg2 == NULL) SWIG_fail;
42711 temp2 = true;
42712 }
42713 {
42714 PyThreadState* __tstate = wxPyBeginAllowThreads();
42715 (arg1)->SetURL((wxString const &)*arg2);
42716 wxPyEndAllowThreads(__tstate);
42717 if (PyErr_Occurred()) SWIG_fail;
42718 }
42719 resultobj = SWIG_Py_Void();
42720 {
42721 if (temp2)
42722 delete arg2;
42723 }
42724 return resultobj;
42725 fail:
42726 {
42727 if (temp2)
42728 delete arg2;
42729 }
42730 return NULL;
42731 }
42732
42733
42734 SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42735 PyObject *obj;
42736 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42737 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42738 return SWIG_Py_Void();
42739 }
42740
42741 SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42742 return SWIG_Python_InitShadowInstance(args);
42743 }
42744
42745 SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42746 PyObject *resultobj = 0;
42747 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42748 wxWindow *arg2 = (wxWindow *) 0 ;
42749 int arg3 ;
42750 wxString const &arg4_defvalue = wxEmptyString ;
42751 wxString *arg4 = (wxString *) &arg4_defvalue ;
42752 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42753 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42754 wxSize const &arg6_defvalue = wxDefaultSize ;
42755 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42756 long arg7 = (long) 0 ;
42757 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42758 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42759 wxString const &arg9_defvalue = wxButtonNameStr ;
42760 wxString *arg9 = (wxString *) &arg9_defvalue ;
42761 bool result;
42762 void *argp1 = 0 ;
42763 int res1 = 0 ;
42764 void *argp2 = 0 ;
42765 int res2 = 0 ;
42766 int val3 ;
42767 int ecode3 = 0 ;
42768 bool temp4 = false ;
42769 wxPoint temp5 ;
42770 wxSize temp6 ;
42771 long val7 ;
42772 int ecode7 = 0 ;
42773 void *argp8 = 0 ;
42774 int res8 = 0 ;
42775 bool temp9 = false ;
42776 PyObject * obj0 = 0 ;
42777 PyObject * obj1 = 0 ;
42778 PyObject * obj2 = 0 ;
42779 PyObject * obj3 = 0 ;
42780 PyObject * obj4 = 0 ;
42781 PyObject * obj5 = 0 ;
42782 PyObject * obj6 = 0 ;
42783 PyObject * obj7 = 0 ;
42784 PyObject * obj8 = 0 ;
42785 char * kwnames[] = {
42786 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42787 };
42788
42789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42791 if (!SWIG_IsOK(res1)) {
42792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42793 }
42794 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42795 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42796 if (!SWIG_IsOK(res2)) {
42797 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42798 }
42799 arg2 = reinterpret_cast< wxWindow * >(argp2);
42800 ecode3 = SWIG_AsVal_int(obj2, &val3);
42801 if (!SWIG_IsOK(ecode3)) {
42802 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42803 }
42804 arg3 = static_cast< int >(val3);
42805 if (obj3) {
42806 {
42807 arg4 = wxString_in_helper(obj3);
42808 if (arg4 == NULL) SWIG_fail;
42809 temp4 = true;
42810 }
42811 }
42812 if (obj4) {
42813 {
42814 arg5 = &temp5;
42815 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42816 }
42817 }
42818 if (obj5) {
42819 {
42820 arg6 = &temp6;
42821 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42822 }
42823 }
42824 if (obj6) {
42825 ecode7 = SWIG_AsVal_long(obj6, &val7);
42826 if (!SWIG_IsOK(ecode7)) {
42827 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42828 }
42829 arg7 = static_cast< long >(val7);
42830 }
42831 if (obj7) {
42832 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42833 if (!SWIG_IsOK(res8)) {
42834 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42835 }
42836 if (!argp8) {
42837 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42838 }
42839 arg8 = reinterpret_cast< wxValidator * >(argp8);
42840 }
42841 if (obj8) {
42842 {
42843 arg9 = wxString_in_helper(obj8);
42844 if (arg9 == NULL) SWIG_fail;
42845 temp9 = true;
42846 }
42847 }
42848 {
42849 PyThreadState* __tstate = wxPyBeginAllowThreads();
42850 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42851 wxPyEndAllowThreads(__tstate);
42852 if (PyErr_Occurred()) SWIG_fail;
42853 }
42854 {
42855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42856 }
42857 {
42858 if (temp4)
42859 delete arg4;
42860 }
42861 {
42862 if (temp9)
42863 delete arg9;
42864 }
42865 return resultobj;
42866 fail:
42867 {
42868 if (temp4)
42869 delete arg4;
42870 }
42871 {
42872 if (temp9)
42873 delete arg9;
42874 }
42875 return NULL;
42876 }
42877
42878
42879 SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42880 PyObject *resultobj = 0;
42881 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42882 int arg2 ;
42883 void *argp1 = 0 ;
42884 int res1 = 0 ;
42885 int val2 ;
42886 int ecode2 = 0 ;
42887 PyObject * obj0 = 0 ;
42888 PyObject * obj1 = 0 ;
42889 char * kwnames[] = {
42890 (char *) "self",(char *) "newmargin", NULL
42891 };
42892
42893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42895 if (!SWIG_IsOK(res1)) {
42896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42897 }
42898 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42899 ecode2 = SWIG_AsVal_int(obj1, &val2);
42900 if (!SWIG_IsOK(ecode2)) {
42901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42902 }
42903 arg2 = static_cast< int >(val2);
42904 {
42905 PyThreadState* __tstate = wxPyBeginAllowThreads();
42906 (arg1)->SetInternalMargin(arg2);
42907 wxPyEndAllowThreads(__tstate);
42908 if (PyErr_Occurred()) SWIG_fail;
42909 }
42910 resultobj = SWIG_Py_Void();
42911 return resultobj;
42912 fail:
42913 return NULL;
42914 }
42915
42916
42917 SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42918 PyObject *resultobj = 0;
42919 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42920 int result;
42921 void *argp1 = 0 ;
42922 int res1 = 0 ;
42923 PyObject *swig_obj[1] ;
42924
42925 if (!args) SWIG_fail;
42926 swig_obj[0] = args;
42927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42928 if (!SWIG_IsOK(res1)) {
42929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42930 }
42931 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42932 {
42933 PyThreadState* __tstate = wxPyBeginAllowThreads();
42934 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42935 wxPyEndAllowThreads(__tstate);
42936 if (PyErr_Occurred()) SWIG_fail;
42937 }
42938 resultobj = SWIG_From_int(static_cast< int >(result));
42939 return resultobj;
42940 fail:
42941 return NULL;
42942 }
42943
42944
42945 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42946 PyObject *resultobj = 0;
42947 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42948 int arg2 ;
42949 void *argp1 = 0 ;
42950 int res1 = 0 ;
42951 int val2 ;
42952 int ecode2 = 0 ;
42953 PyObject * obj0 = 0 ;
42954 PyObject * obj1 = 0 ;
42955 char * kwnames[] = {
42956 (char *) "self",(char *) "prop", NULL
42957 };
42958
42959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42961 if (!SWIG_IsOK(res1)) {
42962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42963 }
42964 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42965 ecode2 = SWIG_AsVal_int(obj1, &val2);
42966 if (!SWIG_IsOK(ecode2)) {
42967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42968 }
42969 arg2 = static_cast< int >(val2);
42970 {
42971 PyThreadState* __tstate = wxPyBeginAllowThreads();
42972 (arg1)->SetTextCtrlProportion(arg2);
42973 wxPyEndAllowThreads(__tstate);
42974 if (PyErr_Occurred()) SWIG_fail;
42975 }
42976 resultobj = SWIG_Py_Void();
42977 return resultobj;
42978 fail:
42979 return NULL;
42980 }
42981
42982
42983 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42984 PyObject *resultobj = 0;
42985 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42986 int result;
42987 void *argp1 = 0 ;
42988 int res1 = 0 ;
42989 PyObject *swig_obj[1] ;
42990
42991 if (!args) SWIG_fail;
42992 swig_obj[0] = args;
42993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42994 if (!SWIG_IsOK(res1)) {
42995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42996 }
42997 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42998 {
42999 PyThreadState* __tstate = wxPyBeginAllowThreads();
43000 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
43001 wxPyEndAllowThreads(__tstate);
43002 if (PyErr_Occurred()) SWIG_fail;
43003 }
43004 resultobj = SWIG_From_int(static_cast< int >(result));
43005 return resultobj;
43006 fail:
43007 return NULL;
43008 }
43009
43010
43011 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43012 PyObject *resultobj = 0;
43013 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43014 int arg2 ;
43015 void *argp1 = 0 ;
43016 int res1 = 0 ;
43017 int val2 ;
43018 int ecode2 = 0 ;
43019 PyObject * obj0 = 0 ;
43020 PyObject * obj1 = 0 ;
43021 char * kwnames[] = {
43022 (char *) "self",(char *) "prop", NULL
43023 };
43024
43025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
43026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43027 if (!SWIG_IsOK(res1)) {
43028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43029 }
43030 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43031 ecode2 = SWIG_AsVal_int(obj1, &val2);
43032 if (!SWIG_IsOK(ecode2)) {
43033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43034 }
43035 arg2 = static_cast< int >(val2);
43036 {
43037 PyThreadState* __tstate = wxPyBeginAllowThreads();
43038 (arg1)->SetPickerCtrlProportion(arg2);
43039 wxPyEndAllowThreads(__tstate);
43040 if (PyErr_Occurred()) SWIG_fail;
43041 }
43042 resultobj = SWIG_Py_Void();
43043 return resultobj;
43044 fail:
43045 return NULL;
43046 }
43047
43048
43049 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43050 PyObject *resultobj = 0;
43051 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43052 int result;
43053 void *argp1 = 0 ;
43054 int res1 = 0 ;
43055 PyObject *swig_obj[1] ;
43056
43057 if (!args) SWIG_fail;
43058 swig_obj[0] = args;
43059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43060 if (!SWIG_IsOK(res1)) {
43061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43062 }
43063 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43064 {
43065 PyThreadState* __tstate = wxPyBeginAllowThreads();
43066 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
43067 wxPyEndAllowThreads(__tstate);
43068 if (PyErr_Occurred()) SWIG_fail;
43069 }
43070 resultobj = SWIG_From_int(static_cast< int >(result));
43071 return resultobj;
43072 fail:
43073 return NULL;
43074 }
43075
43076
43077 SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43078 PyObject *resultobj = 0;
43079 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43080 bool result;
43081 void *argp1 = 0 ;
43082 int res1 = 0 ;
43083 PyObject *swig_obj[1] ;
43084
43085 if (!args) SWIG_fail;
43086 swig_obj[0] = args;
43087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43088 if (!SWIG_IsOK(res1)) {
43089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43090 }
43091 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43092 {
43093 PyThreadState* __tstate = wxPyBeginAllowThreads();
43094 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
43095 wxPyEndAllowThreads(__tstate);
43096 if (PyErr_Occurred()) SWIG_fail;
43097 }
43098 {
43099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43100 }
43101 return resultobj;
43102 fail:
43103 return NULL;
43104 }
43105
43106
43107 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43108 PyObject *resultobj = 0;
43109 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43110 bool arg2 = (bool) true ;
43111 void *argp1 = 0 ;
43112 int res1 = 0 ;
43113 bool val2 ;
43114 int ecode2 = 0 ;
43115 PyObject * obj0 = 0 ;
43116 PyObject * obj1 = 0 ;
43117 char * kwnames[] = {
43118 (char *) "self",(char *) "grow", NULL
43119 };
43120
43121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43123 if (!SWIG_IsOK(res1)) {
43124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43125 }
43126 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43127 if (obj1) {
43128 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43129 if (!SWIG_IsOK(ecode2)) {
43130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43131 }
43132 arg2 = static_cast< bool >(val2);
43133 }
43134 {
43135 PyThreadState* __tstate = wxPyBeginAllowThreads();
43136 (arg1)->SetTextCtrlGrowable(arg2);
43137 wxPyEndAllowThreads(__tstate);
43138 if (PyErr_Occurred()) SWIG_fail;
43139 }
43140 resultobj = SWIG_Py_Void();
43141 return resultobj;
43142 fail:
43143 return NULL;
43144 }
43145
43146
43147 SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43148 PyObject *resultobj = 0;
43149 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43150 bool result;
43151 void *argp1 = 0 ;
43152 int res1 = 0 ;
43153 PyObject *swig_obj[1] ;
43154
43155 if (!args) SWIG_fail;
43156 swig_obj[0] = args;
43157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43158 if (!SWIG_IsOK(res1)) {
43159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43160 }
43161 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43162 {
43163 PyThreadState* __tstate = wxPyBeginAllowThreads();
43164 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
43165 wxPyEndAllowThreads(__tstate);
43166 if (PyErr_Occurred()) SWIG_fail;
43167 }
43168 {
43169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43170 }
43171 return resultobj;
43172 fail:
43173 return NULL;
43174 }
43175
43176
43177 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43178 PyObject *resultobj = 0;
43179 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43180 bool arg2 = (bool) true ;
43181 void *argp1 = 0 ;
43182 int res1 = 0 ;
43183 bool val2 ;
43184 int ecode2 = 0 ;
43185 PyObject * obj0 = 0 ;
43186 PyObject * obj1 = 0 ;
43187 char * kwnames[] = {
43188 (char *) "self",(char *) "grow", NULL
43189 };
43190
43191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43193 if (!SWIG_IsOK(res1)) {
43194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43195 }
43196 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43197 if (obj1) {
43198 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43199 if (!SWIG_IsOK(ecode2)) {
43200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43201 }
43202 arg2 = static_cast< bool >(val2);
43203 }
43204 {
43205 PyThreadState* __tstate = wxPyBeginAllowThreads();
43206 (arg1)->SetPickerCtrlGrowable(arg2);
43207 wxPyEndAllowThreads(__tstate);
43208 if (PyErr_Occurred()) SWIG_fail;
43209 }
43210 resultobj = SWIG_Py_Void();
43211 return resultobj;
43212 fail:
43213 return NULL;
43214 }
43215
43216
43217 SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43218 PyObject *resultobj = 0;
43219 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43220 bool result;
43221 void *argp1 = 0 ;
43222 int res1 = 0 ;
43223 PyObject *swig_obj[1] ;
43224
43225 if (!args) SWIG_fail;
43226 swig_obj[0] = args;
43227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43228 if (!SWIG_IsOK(res1)) {
43229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43230 }
43231 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43232 {
43233 PyThreadState* __tstate = wxPyBeginAllowThreads();
43234 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
43235 wxPyEndAllowThreads(__tstate);
43236 if (PyErr_Occurred()) SWIG_fail;
43237 }
43238 {
43239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43240 }
43241 return resultobj;
43242 fail:
43243 return NULL;
43244 }
43245
43246
43247 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43248 PyObject *resultobj = 0;
43249 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43250 wxTextCtrl *result = 0 ;
43251 void *argp1 = 0 ;
43252 int res1 = 0 ;
43253 PyObject *swig_obj[1] ;
43254
43255 if (!args) SWIG_fail;
43256 swig_obj[0] = args;
43257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43258 if (!SWIG_IsOK(res1)) {
43259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43260 }
43261 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43262 {
43263 PyThreadState* __tstate = wxPyBeginAllowThreads();
43264 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
43265 wxPyEndAllowThreads(__tstate);
43266 if (PyErr_Occurred()) SWIG_fail;
43267 }
43268 {
43269 resultobj = wxPyMake_wxObject(result, 0);
43270 }
43271 return resultobj;
43272 fail:
43273 return NULL;
43274 }
43275
43276
43277 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43278 PyObject *resultobj = 0;
43279 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43280 wxControl *result = 0 ;
43281 void *argp1 = 0 ;
43282 int res1 = 0 ;
43283 PyObject *swig_obj[1] ;
43284
43285 if (!args) SWIG_fail;
43286 swig_obj[0] = args;
43287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43288 if (!SWIG_IsOK(res1)) {
43289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43290 }
43291 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43292 {
43293 PyThreadState* __tstate = wxPyBeginAllowThreads();
43294 result = (wxControl *)(arg1)->GetPickerCtrl();
43295 wxPyEndAllowThreads(__tstate);
43296 if (PyErr_Occurred()) SWIG_fail;
43297 }
43298 {
43299 resultobj = wxPyMake_wxObject(result, 0);
43300 }
43301 return resultobj;
43302 fail:
43303 return NULL;
43304 }
43305
43306
43307 SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43308 PyObject *obj;
43309 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43310 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43311 return SWIG_Py_Void();
43312 }
43313
43314 SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43315 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43316 return 1;
43317 }
43318
43319
43320 SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43321 PyObject *pyobj = 0;
43322
43323 {
43324 #if wxUSE_UNICODE
43325 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43326 #else
43327 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43328 #endif
43329 }
43330 return pyobj;
43331 }
43332
43333
43334 SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43335 PyObject *resultobj = 0;
43336 wxWindow *arg1 = (wxWindow *) 0 ;
43337 int arg2 = (int) -1 ;
43338 wxColour const &arg3_defvalue = *wxBLACK ;
43339 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43340 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43341 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43342 wxSize const &arg5_defvalue = wxDefaultSize ;
43343 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43344 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43345 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43346 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43347 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43348 wxString *arg8 = (wxString *) &arg8_defvalue ;
43349 wxColourPickerCtrl *result = 0 ;
43350 void *argp1 = 0 ;
43351 int res1 = 0 ;
43352 int val2 ;
43353 int ecode2 = 0 ;
43354 wxColour temp3 ;
43355 wxPoint temp4 ;
43356 wxSize temp5 ;
43357 long val6 ;
43358 int ecode6 = 0 ;
43359 void *argp7 = 0 ;
43360 int res7 = 0 ;
43361 bool temp8 = false ;
43362 PyObject * obj0 = 0 ;
43363 PyObject * obj1 = 0 ;
43364 PyObject * obj2 = 0 ;
43365 PyObject * obj3 = 0 ;
43366 PyObject * obj4 = 0 ;
43367 PyObject * obj5 = 0 ;
43368 PyObject * obj6 = 0 ;
43369 PyObject * obj7 = 0 ;
43370 char * kwnames[] = {
43371 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43372 };
43373
43374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43376 if (!SWIG_IsOK(res1)) {
43377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43378 }
43379 arg1 = reinterpret_cast< wxWindow * >(argp1);
43380 if (obj1) {
43381 ecode2 = SWIG_AsVal_int(obj1, &val2);
43382 if (!SWIG_IsOK(ecode2)) {
43383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43384 }
43385 arg2 = static_cast< int >(val2);
43386 }
43387 if (obj2) {
43388 {
43389 arg3 = &temp3;
43390 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43391 }
43392 }
43393 if (obj3) {
43394 {
43395 arg4 = &temp4;
43396 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43397 }
43398 }
43399 if (obj4) {
43400 {
43401 arg5 = &temp5;
43402 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43403 }
43404 }
43405 if (obj5) {
43406 ecode6 = SWIG_AsVal_long(obj5, &val6);
43407 if (!SWIG_IsOK(ecode6)) {
43408 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43409 }
43410 arg6 = static_cast< long >(val6);
43411 }
43412 if (obj6) {
43413 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43414 if (!SWIG_IsOK(res7)) {
43415 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43416 }
43417 if (!argp7) {
43418 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43419 }
43420 arg7 = reinterpret_cast< wxValidator * >(argp7);
43421 }
43422 if (obj7) {
43423 {
43424 arg8 = wxString_in_helper(obj7);
43425 if (arg8 == NULL) SWIG_fail;
43426 temp8 = true;
43427 }
43428 }
43429 {
43430 if (!wxPyCheckForApp()) SWIG_fail;
43431 PyThreadState* __tstate = wxPyBeginAllowThreads();
43432 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43433 wxPyEndAllowThreads(__tstate);
43434 if (PyErr_Occurred()) SWIG_fail;
43435 }
43436 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43437 {
43438 if (temp8)
43439 delete arg8;
43440 }
43441 return resultobj;
43442 fail:
43443 {
43444 if (temp8)
43445 delete arg8;
43446 }
43447 return NULL;
43448 }
43449
43450
43451 SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43452 PyObject *resultobj = 0;
43453 wxColourPickerCtrl *result = 0 ;
43454
43455 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43456 {
43457 if (!wxPyCheckForApp()) SWIG_fail;
43458 PyThreadState* __tstate = wxPyBeginAllowThreads();
43459 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43460 wxPyEndAllowThreads(__tstate);
43461 if (PyErr_Occurred()) SWIG_fail;
43462 }
43463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43464 return resultobj;
43465 fail:
43466 return NULL;
43467 }
43468
43469
43470 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43471 PyObject *resultobj = 0;
43472 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43473 wxWindow *arg2 = (wxWindow *) 0 ;
43474 int arg3 ;
43475 wxColour const &arg4_defvalue = *wxBLACK ;
43476 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43477 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43478 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43479 wxSize const &arg6_defvalue = wxDefaultSize ;
43480 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43481 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43482 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43483 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43484 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43485 wxString *arg9 = (wxString *) &arg9_defvalue ;
43486 bool result;
43487 void *argp1 = 0 ;
43488 int res1 = 0 ;
43489 void *argp2 = 0 ;
43490 int res2 = 0 ;
43491 int val3 ;
43492 int ecode3 = 0 ;
43493 wxColour temp4 ;
43494 wxPoint temp5 ;
43495 wxSize temp6 ;
43496 long val7 ;
43497 int ecode7 = 0 ;
43498 void *argp8 = 0 ;
43499 int res8 = 0 ;
43500 bool temp9 = false ;
43501 PyObject * obj0 = 0 ;
43502 PyObject * obj1 = 0 ;
43503 PyObject * obj2 = 0 ;
43504 PyObject * obj3 = 0 ;
43505 PyObject * obj4 = 0 ;
43506 PyObject * obj5 = 0 ;
43507 PyObject * obj6 = 0 ;
43508 PyObject * obj7 = 0 ;
43509 PyObject * obj8 = 0 ;
43510 char * kwnames[] = {
43511 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43512 };
43513
43514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43516 if (!SWIG_IsOK(res1)) {
43517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43518 }
43519 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43520 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43521 if (!SWIG_IsOK(res2)) {
43522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43523 }
43524 arg2 = reinterpret_cast< wxWindow * >(argp2);
43525 ecode3 = SWIG_AsVal_int(obj2, &val3);
43526 if (!SWIG_IsOK(ecode3)) {
43527 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43528 }
43529 arg3 = static_cast< int >(val3);
43530 if (obj3) {
43531 {
43532 arg4 = &temp4;
43533 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43534 }
43535 }
43536 if (obj4) {
43537 {
43538 arg5 = &temp5;
43539 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43540 }
43541 }
43542 if (obj5) {
43543 {
43544 arg6 = &temp6;
43545 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43546 }
43547 }
43548 if (obj6) {
43549 ecode7 = SWIG_AsVal_long(obj6, &val7);
43550 if (!SWIG_IsOK(ecode7)) {
43551 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43552 }
43553 arg7 = static_cast< long >(val7);
43554 }
43555 if (obj7) {
43556 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43557 if (!SWIG_IsOK(res8)) {
43558 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43559 }
43560 if (!argp8) {
43561 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43562 }
43563 arg8 = reinterpret_cast< wxValidator * >(argp8);
43564 }
43565 if (obj8) {
43566 {
43567 arg9 = wxString_in_helper(obj8);
43568 if (arg9 == NULL) SWIG_fail;
43569 temp9 = true;
43570 }
43571 }
43572 {
43573 PyThreadState* __tstate = wxPyBeginAllowThreads();
43574 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43575 wxPyEndAllowThreads(__tstate);
43576 if (PyErr_Occurred()) SWIG_fail;
43577 }
43578 {
43579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43580 }
43581 {
43582 if (temp9)
43583 delete arg9;
43584 }
43585 return resultobj;
43586 fail:
43587 {
43588 if (temp9)
43589 delete arg9;
43590 }
43591 return NULL;
43592 }
43593
43594
43595 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43596 PyObject *resultobj = 0;
43597 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43598 wxColour result;
43599 void *argp1 = 0 ;
43600 int res1 = 0 ;
43601 PyObject *swig_obj[1] ;
43602
43603 if (!args) SWIG_fail;
43604 swig_obj[0] = args;
43605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43606 if (!SWIG_IsOK(res1)) {
43607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43608 }
43609 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43610 {
43611 PyThreadState* __tstate = wxPyBeginAllowThreads();
43612 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
43613 wxPyEndAllowThreads(__tstate);
43614 if (PyErr_Occurred()) SWIG_fail;
43615 }
43616 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43617 return resultobj;
43618 fail:
43619 return NULL;
43620 }
43621
43622
43623 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43624 PyObject *resultobj = 0;
43625 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43626 wxColour *arg2 = 0 ;
43627 void *argp1 = 0 ;
43628 int res1 = 0 ;
43629 wxColour temp2 ;
43630 PyObject * obj0 = 0 ;
43631 PyObject * obj1 = 0 ;
43632 char * kwnames[] = {
43633 (char *) "self",(char *) "col", NULL
43634 };
43635
43636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43638 if (!SWIG_IsOK(res1)) {
43639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43640 }
43641 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43642 {
43643 arg2 = &temp2;
43644 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43645 }
43646 {
43647 PyThreadState* __tstate = wxPyBeginAllowThreads();
43648 (arg1)->SetColour((wxColour const &)*arg2);
43649 wxPyEndAllowThreads(__tstate);
43650 if (PyErr_Occurred()) SWIG_fail;
43651 }
43652 resultobj = SWIG_Py_Void();
43653 return resultobj;
43654 fail:
43655 return NULL;
43656 }
43657
43658
43659 SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43660 PyObject *obj;
43661 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43662 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
43663 return SWIG_Py_Void();
43664 }
43665
43666 SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43667 return SWIG_Python_InitShadowInstance(args);
43668 }
43669
43670 SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43671 PyObject *resultobj = 0;
43672 wxObject *arg1 = (wxObject *) 0 ;
43673 int arg2 ;
43674 wxColour *arg3 = 0 ;
43675 wxColourPickerEvent *result = 0 ;
43676 void *argp1 = 0 ;
43677 int res1 = 0 ;
43678 int val2 ;
43679 int ecode2 = 0 ;
43680 wxColour temp3 ;
43681 PyObject * obj0 = 0 ;
43682 PyObject * obj1 = 0 ;
43683 PyObject * obj2 = 0 ;
43684 char * kwnames[] = {
43685 (char *) "generator",(char *) "id",(char *) "col", NULL
43686 };
43687
43688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43690 if (!SWIG_IsOK(res1)) {
43691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43692 }
43693 arg1 = reinterpret_cast< wxObject * >(argp1);
43694 ecode2 = SWIG_AsVal_int(obj1, &val2);
43695 if (!SWIG_IsOK(ecode2)) {
43696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43697 }
43698 arg2 = static_cast< int >(val2);
43699 {
43700 arg3 = &temp3;
43701 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43702 }
43703 {
43704 PyThreadState* __tstate = wxPyBeginAllowThreads();
43705 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43706 wxPyEndAllowThreads(__tstate);
43707 if (PyErr_Occurred()) SWIG_fail;
43708 }
43709 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43710 return resultobj;
43711 fail:
43712 return NULL;
43713 }
43714
43715
43716 SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43717 PyObject *resultobj = 0;
43718 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43719 wxColour result;
43720 void *argp1 = 0 ;
43721 int res1 = 0 ;
43722 PyObject *swig_obj[1] ;
43723
43724 if (!args) SWIG_fail;
43725 swig_obj[0] = args;
43726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43727 if (!SWIG_IsOK(res1)) {
43728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43729 }
43730 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43731 {
43732 PyThreadState* __tstate = wxPyBeginAllowThreads();
43733 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43734 wxPyEndAllowThreads(__tstate);
43735 if (PyErr_Occurred()) SWIG_fail;
43736 }
43737 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43738 return resultobj;
43739 fail:
43740 return NULL;
43741 }
43742
43743
43744 SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43745 PyObject *resultobj = 0;
43746 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43747 wxColour *arg2 = 0 ;
43748 void *argp1 = 0 ;
43749 int res1 = 0 ;
43750 wxColour temp2 ;
43751 PyObject * obj0 = 0 ;
43752 PyObject * obj1 = 0 ;
43753 char * kwnames[] = {
43754 (char *) "self",(char *) "c", NULL
43755 };
43756
43757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43759 if (!SWIG_IsOK(res1)) {
43760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43761 }
43762 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43763 {
43764 arg2 = &temp2;
43765 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43766 }
43767 {
43768 PyThreadState* __tstate = wxPyBeginAllowThreads();
43769 (arg1)->SetColour((wxColour const &)*arg2);
43770 wxPyEndAllowThreads(__tstate);
43771 if (PyErr_Occurred()) SWIG_fail;
43772 }
43773 resultobj = SWIG_Py_Void();
43774 return resultobj;
43775 fail:
43776 return NULL;
43777 }
43778
43779
43780 SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43781 PyObject *obj;
43782 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43783 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43784 return SWIG_Py_Void();
43785 }
43786
43787 SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43788 return SWIG_Python_InitShadowInstance(args);
43789 }
43790
43791 SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43792 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43793 return 1;
43794 }
43795
43796
43797 SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43798 PyObject *pyobj = 0;
43799
43800 {
43801 #if wxUSE_UNICODE
43802 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43803 #else
43804 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43805 #endif
43806 }
43807 return pyobj;
43808 }
43809
43810
43811 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43812 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43813 return 1;
43814 }
43815
43816
43817 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43818 PyObject *pyobj = 0;
43819
43820 {
43821 #if wxUSE_UNICODE
43822 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43823 #else
43824 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43825 #endif
43826 }
43827 return pyobj;
43828 }
43829
43830
43831 SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43832 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43833 return 1;
43834 }
43835
43836
43837 SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43838 PyObject *pyobj = 0;
43839
43840 {
43841 #if wxUSE_UNICODE
43842 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43843 #else
43844 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43845 #endif
43846 }
43847 return pyobj;
43848 }
43849
43850
43851 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43852 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43853 return 1;
43854 }
43855
43856
43857 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43858 PyObject *pyobj = 0;
43859
43860 {
43861 #if wxUSE_UNICODE
43862 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43863 #else
43864 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43865 #endif
43866 }
43867 return pyobj;
43868 }
43869
43870
43871 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43872 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43873 return 1;
43874 }
43875
43876
43877 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43878 PyObject *pyobj = 0;
43879
43880 {
43881 #if wxUSE_UNICODE
43882 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43883 #else
43884 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43885 #endif
43886 }
43887 return pyobj;
43888 }
43889
43890
43891 SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43892 PyObject *resultobj = 0;
43893 wxWindow *arg1 = (wxWindow *) 0 ;
43894 int arg2 = (int) -1 ;
43895 wxString const &arg3_defvalue = wxPyEmptyString ;
43896 wxString *arg3 = (wxString *) &arg3_defvalue ;
43897 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43898 wxString *arg4 = (wxString *) &arg4_defvalue ;
43899 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43900 wxString *arg5 = (wxString *) &arg5_defvalue ;
43901 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43902 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43903 wxSize const &arg7_defvalue = wxDefaultSize ;
43904 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43905 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43906 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43907 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43908 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43909 wxString *arg10 = (wxString *) &arg10_defvalue ;
43910 wxFilePickerCtrl *result = 0 ;
43911 void *argp1 = 0 ;
43912 int res1 = 0 ;
43913 int val2 ;
43914 int ecode2 = 0 ;
43915 bool temp3 = false ;
43916 bool temp4 = false ;
43917 bool temp5 = false ;
43918 wxPoint temp6 ;
43919 wxSize temp7 ;
43920 long val8 ;
43921 int ecode8 = 0 ;
43922 void *argp9 = 0 ;
43923 int res9 = 0 ;
43924 bool temp10 = false ;
43925 PyObject * obj0 = 0 ;
43926 PyObject * obj1 = 0 ;
43927 PyObject * obj2 = 0 ;
43928 PyObject * obj3 = 0 ;
43929 PyObject * obj4 = 0 ;
43930 PyObject * obj5 = 0 ;
43931 PyObject * obj6 = 0 ;
43932 PyObject * obj7 = 0 ;
43933 PyObject * obj8 = 0 ;
43934 PyObject * obj9 = 0 ;
43935 char * kwnames[] = {
43936 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43937 };
43938
43939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43941 if (!SWIG_IsOK(res1)) {
43942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43943 }
43944 arg1 = reinterpret_cast< wxWindow * >(argp1);
43945 if (obj1) {
43946 ecode2 = SWIG_AsVal_int(obj1, &val2);
43947 if (!SWIG_IsOK(ecode2)) {
43948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43949 }
43950 arg2 = static_cast< int >(val2);
43951 }
43952 if (obj2) {
43953 {
43954 arg3 = wxString_in_helper(obj2);
43955 if (arg3 == NULL) SWIG_fail;
43956 temp3 = true;
43957 }
43958 }
43959 if (obj3) {
43960 {
43961 arg4 = wxString_in_helper(obj3);
43962 if (arg4 == NULL) SWIG_fail;
43963 temp4 = true;
43964 }
43965 }
43966 if (obj4) {
43967 {
43968 arg5 = wxString_in_helper(obj4);
43969 if (arg5 == NULL) SWIG_fail;
43970 temp5 = true;
43971 }
43972 }
43973 if (obj5) {
43974 {
43975 arg6 = &temp6;
43976 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43977 }
43978 }
43979 if (obj6) {
43980 {
43981 arg7 = &temp7;
43982 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43983 }
43984 }
43985 if (obj7) {
43986 ecode8 = SWIG_AsVal_long(obj7, &val8);
43987 if (!SWIG_IsOK(ecode8)) {
43988 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43989 }
43990 arg8 = static_cast< long >(val8);
43991 }
43992 if (obj8) {
43993 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43994 if (!SWIG_IsOK(res9)) {
43995 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43996 }
43997 if (!argp9) {
43998 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43999 }
44000 arg9 = reinterpret_cast< wxValidator * >(argp9);
44001 }
44002 if (obj9) {
44003 {
44004 arg10 = wxString_in_helper(obj9);
44005 if (arg10 == NULL) SWIG_fail;
44006 temp10 = true;
44007 }
44008 }
44009 {
44010 if (!wxPyCheckForApp()) SWIG_fail;
44011 PyThreadState* __tstate = wxPyBeginAllowThreads();
44012 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);
44013 wxPyEndAllowThreads(__tstate);
44014 if (PyErr_Occurred()) SWIG_fail;
44015 }
44016 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
44017 {
44018 if (temp3)
44019 delete arg3;
44020 }
44021 {
44022 if (temp4)
44023 delete arg4;
44024 }
44025 {
44026 if (temp5)
44027 delete arg5;
44028 }
44029 {
44030 if (temp10)
44031 delete arg10;
44032 }
44033 return resultobj;
44034 fail:
44035 {
44036 if (temp3)
44037 delete arg3;
44038 }
44039 {
44040 if (temp4)
44041 delete arg4;
44042 }
44043 {
44044 if (temp5)
44045 delete arg5;
44046 }
44047 {
44048 if (temp10)
44049 delete arg10;
44050 }
44051 return NULL;
44052 }
44053
44054
44055 SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44056 PyObject *resultobj = 0;
44057 wxFilePickerCtrl *result = 0 ;
44058
44059 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
44060 {
44061 if (!wxPyCheckForApp()) SWIG_fail;
44062 PyThreadState* __tstate = wxPyBeginAllowThreads();
44063 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
44064 wxPyEndAllowThreads(__tstate);
44065 if (PyErr_Occurred()) SWIG_fail;
44066 }
44067 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
44068 return resultobj;
44069 fail:
44070 return NULL;
44071 }
44072
44073
44074 SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44075 PyObject *resultobj = 0;
44076 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44077 wxWindow *arg2 = (wxWindow *) 0 ;
44078 int arg3 = (int) -1 ;
44079 wxString const &arg4_defvalue = wxPyEmptyString ;
44080 wxString *arg4 = (wxString *) &arg4_defvalue ;
44081 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
44082 wxString *arg5 = (wxString *) &arg5_defvalue ;
44083 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
44084 wxString *arg6 = (wxString *) &arg6_defvalue ;
44085 wxPoint const &arg7_defvalue = wxDefaultPosition ;
44086 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
44087 wxSize const &arg8_defvalue = wxDefaultSize ;
44088 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
44089 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
44090 wxValidator const &arg10_defvalue = wxDefaultValidator ;
44091 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
44092 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
44093 wxString *arg11 = (wxString *) &arg11_defvalue ;
44094 bool result;
44095 void *argp1 = 0 ;
44096 int res1 = 0 ;
44097 void *argp2 = 0 ;
44098 int res2 = 0 ;
44099 int val3 ;
44100 int ecode3 = 0 ;
44101 bool temp4 = false ;
44102 bool temp5 = false ;
44103 bool temp6 = false ;
44104 wxPoint temp7 ;
44105 wxSize temp8 ;
44106 long val9 ;
44107 int ecode9 = 0 ;
44108 void *argp10 = 0 ;
44109 int res10 = 0 ;
44110 bool temp11 = false ;
44111 PyObject * obj0 = 0 ;
44112 PyObject * obj1 = 0 ;
44113 PyObject * obj2 = 0 ;
44114 PyObject * obj3 = 0 ;
44115 PyObject * obj4 = 0 ;
44116 PyObject * obj5 = 0 ;
44117 PyObject * obj6 = 0 ;
44118 PyObject * obj7 = 0 ;
44119 PyObject * obj8 = 0 ;
44120 PyObject * obj9 = 0 ;
44121 PyObject * obj10 = 0 ;
44122 char * kwnames[] = {
44123 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44124 };
44125
44126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
44127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44128 if (!SWIG_IsOK(res1)) {
44129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44130 }
44131 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44132 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44133 if (!SWIG_IsOK(res2)) {
44134 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44135 }
44136 arg2 = reinterpret_cast< wxWindow * >(argp2);
44137 if (obj2) {
44138 ecode3 = SWIG_AsVal_int(obj2, &val3);
44139 if (!SWIG_IsOK(ecode3)) {
44140 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44141 }
44142 arg3 = static_cast< int >(val3);
44143 }
44144 if (obj3) {
44145 {
44146 arg4 = wxString_in_helper(obj3);
44147 if (arg4 == NULL) SWIG_fail;
44148 temp4 = true;
44149 }
44150 }
44151 if (obj4) {
44152 {
44153 arg5 = wxString_in_helper(obj4);
44154 if (arg5 == NULL) SWIG_fail;
44155 temp5 = true;
44156 }
44157 }
44158 if (obj5) {
44159 {
44160 arg6 = wxString_in_helper(obj5);
44161 if (arg6 == NULL) SWIG_fail;
44162 temp6 = true;
44163 }
44164 }
44165 if (obj6) {
44166 {
44167 arg7 = &temp7;
44168 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
44169 }
44170 }
44171 if (obj7) {
44172 {
44173 arg8 = &temp8;
44174 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
44175 }
44176 }
44177 if (obj8) {
44178 ecode9 = SWIG_AsVal_long(obj8, &val9);
44179 if (!SWIG_IsOK(ecode9)) {
44180 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44181 }
44182 arg9 = static_cast< long >(val9);
44183 }
44184 if (obj9) {
44185 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
44186 if (!SWIG_IsOK(res10)) {
44187 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44188 }
44189 if (!argp10) {
44190 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44191 }
44192 arg10 = reinterpret_cast< wxValidator * >(argp10);
44193 }
44194 if (obj10) {
44195 {
44196 arg11 = wxString_in_helper(obj10);
44197 if (arg11 == NULL) SWIG_fail;
44198 temp11 = true;
44199 }
44200 }
44201 {
44202 PyThreadState* __tstate = wxPyBeginAllowThreads();
44203 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);
44204 wxPyEndAllowThreads(__tstate);
44205 if (PyErr_Occurred()) SWIG_fail;
44206 }
44207 {
44208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44209 }
44210 {
44211 if (temp4)
44212 delete arg4;
44213 }
44214 {
44215 if (temp5)
44216 delete arg5;
44217 }
44218 {
44219 if (temp6)
44220 delete arg6;
44221 }
44222 {
44223 if (temp11)
44224 delete arg11;
44225 }
44226 return resultobj;
44227 fail:
44228 {
44229 if (temp4)
44230 delete arg4;
44231 }
44232 {
44233 if (temp5)
44234 delete arg5;
44235 }
44236 {
44237 if (temp6)
44238 delete arg6;
44239 }
44240 {
44241 if (temp11)
44242 delete arg11;
44243 }
44244 return NULL;
44245 }
44246
44247
44248 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44249 PyObject *resultobj = 0;
44250 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44251 wxString result;
44252 void *argp1 = 0 ;
44253 int res1 = 0 ;
44254 PyObject *swig_obj[1] ;
44255
44256 if (!args) SWIG_fail;
44257 swig_obj[0] = args;
44258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44259 if (!SWIG_IsOK(res1)) {
44260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44261 }
44262 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44263 {
44264 PyThreadState* __tstate = wxPyBeginAllowThreads();
44265 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
44266 wxPyEndAllowThreads(__tstate);
44267 if (PyErr_Occurred()) SWIG_fail;
44268 }
44269 {
44270 #if wxUSE_UNICODE
44271 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44272 #else
44273 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44274 #endif
44275 }
44276 return resultobj;
44277 fail:
44278 return NULL;
44279 }
44280
44281
44282 SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44283 PyObject *resultobj = 0;
44284 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44285 wxString *arg2 = 0 ;
44286 void *argp1 = 0 ;
44287 int res1 = 0 ;
44288 bool temp2 = false ;
44289 PyObject * obj0 = 0 ;
44290 PyObject * obj1 = 0 ;
44291 char * kwnames[] = {
44292 (char *) "self",(char *) "str", NULL
44293 };
44294
44295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44297 if (!SWIG_IsOK(res1)) {
44298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44299 }
44300 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44301 {
44302 arg2 = wxString_in_helper(obj1);
44303 if (arg2 == NULL) SWIG_fail;
44304 temp2 = true;
44305 }
44306 {
44307 PyThreadState* __tstate = wxPyBeginAllowThreads();
44308 (arg1)->SetPath((wxString const &)*arg2);
44309 wxPyEndAllowThreads(__tstate);
44310 if (PyErr_Occurred()) SWIG_fail;
44311 }
44312 resultobj = SWIG_Py_Void();
44313 {
44314 if (temp2)
44315 delete arg2;
44316 }
44317 return resultobj;
44318 fail:
44319 {
44320 if (temp2)
44321 delete arg2;
44322 }
44323 return NULL;
44324 }
44325
44326
44327 SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44328 PyObject *resultobj = 0;
44329 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44330 wxString *arg2 = 0 ;
44331 bool result;
44332 void *argp1 = 0 ;
44333 int res1 = 0 ;
44334 bool temp2 = false ;
44335 PyObject * obj0 = 0 ;
44336 PyObject * obj1 = 0 ;
44337 char * kwnames[] = {
44338 (char *) "self",(char *) "path", NULL
44339 };
44340
44341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44343 if (!SWIG_IsOK(res1)) {
44344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44345 }
44346 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44347 {
44348 arg2 = wxString_in_helper(obj1);
44349 if (arg2 == NULL) SWIG_fail;
44350 temp2 = true;
44351 }
44352 {
44353 PyThreadState* __tstate = wxPyBeginAllowThreads();
44354 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44355 wxPyEndAllowThreads(__tstate);
44356 if (PyErr_Occurred()) SWIG_fail;
44357 }
44358 {
44359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44360 }
44361 {
44362 if (temp2)
44363 delete arg2;
44364 }
44365 return resultobj;
44366 fail:
44367 {
44368 if (temp2)
44369 delete arg2;
44370 }
44371 return NULL;
44372 }
44373
44374
44375 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44376 PyObject *resultobj = 0;
44377 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44378 wxString result;
44379 void *argp1 = 0 ;
44380 int res1 = 0 ;
44381 PyObject *swig_obj[1] ;
44382
44383 if (!args) SWIG_fail;
44384 swig_obj[0] = args;
44385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44386 if (!SWIG_IsOK(res1)) {
44387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44388 }
44389 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44390 {
44391 PyThreadState* __tstate = wxPyBeginAllowThreads();
44392 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44393 wxPyEndAllowThreads(__tstate);
44394 if (PyErr_Occurred()) SWIG_fail;
44395 }
44396 {
44397 #if wxUSE_UNICODE
44398 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44399 #else
44400 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44401 #endif
44402 }
44403 return resultobj;
44404 fail:
44405 return NULL;
44406 }
44407
44408
44409 SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44410 PyObject *obj;
44411 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44412 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44413 return SWIG_Py_Void();
44414 }
44415
44416 SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44417 return SWIG_Python_InitShadowInstance(args);
44418 }
44419
44420 SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44421 PyObject *resultobj = 0;
44422 wxWindow *arg1 = (wxWindow *) 0 ;
44423 int arg2 = (int) -1 ;
44424 wxString const &arg3_defvalue = wxPyEmptyString ;
44425 wxString *arg3 = (wxString *) &arg3_defvalue ;
44426 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44427 wxString *arg4 = (wxString *) &arg4_defvalue ;
44428 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44429 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44430 wxSize const &arg6_defvalue = wxDefaultSize ;
44431 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44432 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44433 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44434 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44435 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44436 wxString *arg9 = (wxString *) &arg9_defvalue ;
44437 wxDirPickerCtrl *result = 0 ;
44438 void *argp1 = 0 ;
44439 int res1 = 0 ;
44440 int val2 ;
44441 int ecode2 = 0 ;
44442 bool temp3 = false ;
44443 bool temp4 = false ;
44444 wxPoint temp5 ;
44445 wxSize temp6 ;
44446 long val7 ;
44447 int ecode7 = 0 ;
44448 void *argp8 = 0 ;
44449 int res8 = 0 ;
44450 bool temp9 = false ;
44451 PyObject * obj0 = 0 ;
44452 PyObject * obj1 = 0 ;
44453 PyObject * obj2 = 0 ;
44454 PyObject * obj3 = 0 ;
44455 PyObject * obj4 = 0 ;
44456 PyObject * obj5 = 0 ;
44457 PyObject * obj6 = 0 ;
44458 PyObject * obj7 = 0 ;
44459 PyObject * obj8 = 0 ;
44460 char * kwnames[] = {
44461 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44462 };
44463
44464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44466 if (!SWIG_IsOK(res1)) {
44467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44468 }
44469 arg1 = reinterpret_cast< wxWindow * >(argp1);
44470 if (obj1) {
44471 ecode2 = SWIG_AsVal_int(obj1, &val2);
44472 if (!SWIG_IsOK(ecode2)) {
44473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44474 }
44475 arg2 = static_cast< int >(val2);
44476 }
44477 if (obj2) {
44478 {
44479 arg3 = wxString_in_helper(obj2);
44480 if (arg3 == NULL) SWIG_fail;
44481 temp3 = true;
44482 }
44483 }
44484 if (obj3) {
44485 {
44486 arg4 = wxString_in_helper(obj3);
44487 if (arg4 == NULL) SWIG_fail;
44488 temp4 = true;
44489 }
44490 }
44491 if (obj4) {
44492 {
44493 arg5 = &temp5;
44494 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44495 }
44496 }
44497 if (obj5) {
44498 {
44499 arg6 = &temp6;
44500 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44501 }
44502 }
44503 if (obj6) {
44504 ecode7 = SWIG_AsVal_long(obj6, &val7);
44505 if (!SWIG_IsOK(ecode7)) {
44506 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44507 }
44508 arg7 = static_cast< long >(val7);
44509 }
44510 if (obj7) {
44511 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44512 if (!SWIG_IsOK(res8)) {
44513 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44514 }
44515 if (!argp8) {
44516 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44517 }
44518 arg8 = reinterpret_cast< wxValidator * >(argp8);
44519 }
44520 if (obj8) {
44521 {
44522 arg9 = wxString_in_helper(obj8);
44523 if (arg9 == NULL) SWIG_fail;
44524 temp9 = true;
44525 }
44526 }
44527 {
44528 if (!wxPyCheckForApp()) SWIG_fail;
44529 PyThreadState* __tstate = wxPyBeginAllowThreads();
44530 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);
44531 wxPyEndAllowThreads(__tstate);
44532 if (PyErr_Occurred()) SWIG_fail;
44533 }
44534 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44535 {
44536 if (temp3)
44537 delete arg3;
44538 }
44539 {
44540 if (temp4)
44541 delete arg4;
44542 }
44543 {
44544 if (temp9)
44545 delete arg9;
44546 }
44547 return resultobj;
44548 fail:
44549 {
44550 if (temp3)
44551 delete arg3;
44552 }
44553 {
44554 if (temp4)
44555 delete arg4;
44556 }
44557 {
44558 if (temp9)
44559 delete arg9;
44560 }
44561 return NULL;
44562 }
44563
44564
44565 SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44566 PyObject *resultobj = 0;
44567 wxDirPickerCtrl *result = 0 ;
44568
44569 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44570 {
44571 if (!wxPyCheckForApp()) SWIG_fail;
44572 PyThreadState* __tstate = wxPyBeginAllowThreads();
44573 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44574 wxPyEndAllowThreads(__tstate);
44575 if (PyErr_Occurred()) SWIG_fail;
44576 }
44577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44578 return resultobj;
44579 fail:
44580 return NULL;
44581 }
44582
44583
44584 SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44585 PyObject *resultobj = 0;
44586 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44587 wxWindow *arg2 = (wxWindow *) 0 ;
44588 int arg3 = (int) -1 ;
44589 wxString const &arg4_defvalue = wxPyEmptyString ;
44590 wxString *arg4 = (wxString *) &arg4_defvalue ;
44591 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44592 wxString *arg5 = (wxString *) &arg5_defvalue ;
44593 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44594 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44595 wxSize const &arg7_defvalue = wxDefaultSize ;
44596 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44597 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44598 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44599 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44600 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
44601 wxString *arg10 = (wxString *) &arg10_defvalue ;
44602 bool result;
44603 void *argp1 = 0 ;
44604 int res1 = 0 ;
44605 void *argp2 = 0 ;
44606 int res2 = 0 ;
44607 int val3 ;
44608 int ecode3 = 0 ;
44609 bool temp4 = false ;
44610 bool temp5 = false ;
44611 wxPoint temp6 ;
44612 wxSize temp7 ;
44613 long val8 ;
44614 int ecode8 = 0 ;
44615 void *argp9 = 0 ;
44616 int res9 = 0 ;
44617 bool temp10 = false ;
44618 PyObject * obj0 = 0 ;
44619 PyObject * obj1 = 0 ;
44620 PyObject * obj2 = 0 ;
44621 PyObject * obj3 = 0 ;
44622 PyObject * obj4 = 0 ;
44623 PyObject * obj5 = 0 ;
44624 PyObject * obj6 = 0 ;
44625 PyObject * obj7 = 0 ;
44626 PyObject * obj8 = 0 ;
44627 PyObject * obj9 = 0 ;
44628 char * kwnames[] = {
44629 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44630 };
44631
44632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44634 if (!SWIG_IsOK(res1)) {
44635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44636 }
44637 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44638 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44639 if (!SWIG_IsOK(res2)) {
44640 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44641 }
44642 arg2 = reinterpret_cast< wxWindow * >(argp2);
44643 if (obj2) {
44644 ecode3 = SWIG_AsVal_int(obj2, &val3);
44645 if (!SWIG_IsOK(ecode3)) {
44646 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44647 }
44648 arg3 = static_cast< int >(val3);
44649 }
44650 if (obj3) {
44651 {
44652 arg4 = wxString_in_helper(obj3);
44653 if (arg4 == NULL) SWIG_fail;
44654 temp4 = true;
44655 }
44656 }
44657 if (obj4) {
44658 {
44659 arg5 = wxString_in_helper(obj4);
44660 if (arg5 == NULL) SWIG_fail;
44661 temp5 = true;
44662 }
44663 }
44664 if (obj5) {
44665 {
44666 arg6 = &temp6;
44667 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44668 }
44669 }
44670 if (obj6) {
44671 {
44672 arg7 = &temp7;
44673 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44674 }
44675 }
44676 if (obj7) {
44677 ecode8 = SWIG_AsVal_long(obj7, &val8);
44678 if (!SWIG_IsOK(ecode8)) {
44679 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44680 }
44681 arg8 = static_cast< long >(val8);
44682 }
44683 if (obj8) {
44684 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44685 if (!SWIG_IsOK(res9)) {
44686 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44687 }
44688 if (!argp9) {
44689 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44690 }
44691 arg9 = reinterpret_cast< wxValidator * >(argp9);
44692 }
44693 if (obj9) {
44694 {
44695 arg10 = wxString_in_helper(obj9);
44696 if (arg10 == NULL) SWIG_fail;
44697 temp10 = true;
44698 }
44699 }
44700 {
44701 PyThreadState* __tstate = wxPyBeginAllowThreads();
44702 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);
44703 wxPyEndAllowThreads(__tstate);
44704 if (PyErr_Occurred()) SWIG_fail;
44705 }
44706 {
44707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44708 }
44709 {
44710 if (temp4)
44711 delete arg4;
44712 }
44713 {
44714 if (temp5)
44715 delete arg5;
44716 }
44717 {
44718 if (temp10)
44719 delete arg10;
44720 }
44721 return resultobj;
44722 fail:
44723 {
44724 if (temp4)
44725 delete arg4;
44726 }
44727 {
44728 if (temp5)
44729 delete arg5;
44730 }
44731 {
44732 if (temp10)
44733 delete arg10;
44734 }
44735 return NULL;
44736 }
44737
44738
44739 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44740 PyObject *resultobj = 0;
44741 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44742 wxString result;
44743 void *argp1 = 0 ;
44744 int res1 = 0 ;
44745 PyObject *swig_obj[1] ;
44746
44747 if (!args) SWIG_fail;
44748 swig_obj[0] = args;
44749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44750 if (!SWIG_IsOK(res1)) {
44751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44752 }
44753 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44754 {
44755 PyThreadState* __tstate = wxPyBeginAllowThreads();
44756 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44757 wxPyEndAllowThreads(__tstate);
44758 if (PyErr_Occurred()) SWIG_fail;
44759 }
44760 {
44761 #if wxUSE_UNICODE
44762 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44763 #else
44764 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44765 #endif
44766 }
44767 return resultobj;
44768 fail:
44769 return NULL;
44770 }
44771
44772
44773 SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44774 PyObject *resultobj = 0;
44775 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44776 wxString *arg2 = 0 ;
44777 void *argp1 = 0 ;
44778 int res1 = 0 ;
44779 bool temp2 = false ;
44780 PyObject * obj0 = 0 ;
44781 PyObject * obj1 = 0 ;
44782 char * kwnames[] = {
44783 (char *) "self",(char *) "str", NULL
44784 };
44785
44786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44788 if (!SWIG_IsOK(res1)) {
44789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44790 }
44791 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44792 {
44793 arg2 = wxString_in_helper(obj1);
44794 if (arg2 == NULL) SWIG_fail;
44795 temp2 = true;
44796 }
44797 {
44798 PyThreadState* __tstate = wxPyBeginAllowThreads();
44799 (arg1)->SetPath((wxString const &)*arg2);
44800 wxPyEndAllowThreads(__tstate);
44801 if (PyErr_Occurred()) SWIG_fail;
44802 }
44803 resultobj = SWIG_Py_Void();
44804 {
44805 if (temp2)
44806 delete arg2;
44807 }
44808 return resultobj;
44809 fail:
44810 {
44811 if (temp2)
44812 delete arg2;
44813 }
44814 return NULL;
44815 }
44816
44817
44818 SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44819 PyObject *resultobj = 0;
44820 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44821 wxString *arg2 = 0 ;
44822 bool result;
44823 void *argp1 = 0 ;
44824 int res1 = 0 ;
44825 bool temp2 = false ;
44826 PyObject * obj0 = 0 ;
44827 PyObject * obj1 = 0 ;
44828 char * kwnames[] = {
44829 (char *) "self",(char *) "path", NULL
44830 };
44831
44832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44834 if (!SWIG_IsOK(res1)) {
44835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44836 }
44837 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44838 {
44839 arg2 = wxString_in_helper(obj1);
44840 if (arg2 == NULL) SWIG_fail;
44841 temp2 = true;
44842 }
44843 {
44844 PyThreadState* __tstate = wxPyBeginAllowThreads();
44845 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44846 wxPyEndAllowThreads(__tstate);
44847 if (PyErr_Occurred()) SWIG_fail;
44848 }
44849 {
44850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44851 }
44852 {
44853 if (temp2)
44854 delete arg2;
44855 }
44856 return resultobj;
44857 fail:
44858 {
44859 if (temp2)
44860 delete arg2;
44861 }
44862 return NULL;
44863 }
44864
44865
44866 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44867 PyObject *resultobj = 0;
44868 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44869 wxString result;
44870 void *argp1 = 0 ;
44871 int res1 = 0 ;
44872 PyObject *swig_obj[1] ;
44873
44874 if (!args) SWIG_fail;
44875 swig_obj[0] = args;
44876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44877 if (!SWIG_IsOK(res1)) {
44878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44879 }
44880 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44881 {
44882 PyThreadState* __tstate = wxPyBeginAllowThreads();
44883 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
44884 wxPyEndAllowThreads(__tstate);
44885 if (PyErr_Occurred()) SWIG_fail;
44886 }
44887 {
44888 #if wxUSE_UNICODE
44889 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44890 #else
44891 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44892 #endif
44893 }
44894 return resultobj;
44895 fail:
44896 return NULL;
44897 }
44898
44899
44900 SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44901 PyObject *obj;
44902 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44903 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
44904 return SWIG_Py_Void();
44905 }
44906
44907 SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44908 return SWIG_Python_InitShadowInstance(args);
44909 }
44910
44911 SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44912 PyObject *resultobj = 0;
44913 wxEventType arg1 ;
44914 wxObject *arg2 = (wxObject *) 0 ;
44915 int arg3 ;
44916 wxString *arg4 = 0 ;
44917 wxFileDirPickerEvent *result = 0 ;
44918 int val1 ;
44919 int ecode1 = 0 ;
44920 void *argp2 = 0 ;
44921 int res2 = 0 ;
44922 int val3 ;
44923 int ecode3 = 0 ;
44924 bool temp4 = false ;
44925 PyObject * obj0 = 0 ;
44926 PyObject * obj1 = 0 ;
44927 PyObject * obj2 = 0 ;
44928 PyObject * obj3 = 0 ;
44929 char * kwnames[] = {
44930 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44931 };
44932
44933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44934 ecode1 = SWIG_AsVal_int(obj0, &val1);
44935 if (!SWIG_IsOK(ecode1)) {
44936 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44937 }
44938 arg1 = static_cast< wxEventType >(val1);
44939 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
44940 if (!SWIG_IsOK(res2)) {
44941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44942 }
44943 arg2 = reinterpret_cast< wxObject * >(argp2);
44944 ecode3 = SWIG_AsVal_int(obj2, &val3);
44945 if (!SWIG_IsOK(ecode3)) {
44946 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44947 }
44948 arg3 = static_cast< int >(val3);
44949 {
44950 arg4 = wxString_in_helper(obj3);
44951 if (arg4 == NULL) SWIG_fail;
44952 temp4 = true;
44953 }
44954 {
44955 PyThreadState* __tstate = wxPyBeginAllowThreads();
44956 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
44957 wxPyEndAllowThreads(__tstate);
44958 if (PyErr_Occurred()) SWIG_fail;
44959 }
44960 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
44961 {
44962 if (temp4)
44963 delete arg4;
44964 }
44965 return resultobj;
44966 fail:
44967 {
44968 if (temp4)
44969 delete arg4;
44970 }
44971 return NULL;
44972 }
44973
44974
44975 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44976 PyObject *resultobj = 0;
44977 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44978 wxString result;
44979 void *argp1 = 0 ;
44980 int res1 = 0 ;
44981 PyObject *swig_obj[1] ;
44982
44983 if (!args) SWIG_fail;
44984 swig_obj[0] = args;
44985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44986 if (!SWIG_IsOK(res1)) {
44987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44988 }
44989 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44990 {
44991 PyThreadState* __tstate = wxPyBeginAllowThreads();
44992 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
44993 wxPyEndAllowThreads(__tstate);
44994 if (PyErr_Occurred()) SWIG_fail;
44995 }
44996 {
44997 #if wxUSE_UNICODE
44998 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44999 #else
45000 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
45001 #endif
45002 }
45003 return resultobj;
45004 fail:
45005 return NULL;
45006 }
45007
45008
45009 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45010 PyObject *resultobj = 0;
45011 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
45012 wxString *arg2 = 0 ;
45013 void *argp1 = 0 ;
45014 int res1 = 0 ;
45015 bool temp2 = false ;
45016 PyObject * obj0 = 0 ;
45017 PyObject * obj1 = 0 ;
45018 char * kwnames[] = {
45019 (char *) "self",(char *) "p", NULL
45020 };
45021
45022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
45023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
45024 if (!SWIG_IsOK(res1)) {
45025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45026 }
45027 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
45028 {
45029 arg2 = wxString_in_helper(obj1);
45030 if (arg2 == NULL) SWIG_fail;
45031 temp2 = true;
45032 }
45033 {
45034 PyThreadState* __tstate = wxPyBeginAllowThreads();
45035 (arg1)->SetPath((wxString const &)*arg2);
45036 wxPyEndAllowThreads(__tstate);
45037 if (PyErr_Occurred()) SWIG_fail;
45038 }
45039 resultobj = SWIG_Py_Void();
45040 {
45041 if (temp2)
45042 delete arg2;
45043 }
45044 return resultobj;
45045 fail:
45046 {
45047 if (temp2)
45048 delete arg2;
45049 }
45050 return NULL;
45051 }
45052
45053
45054 SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45055 PyObject *obj;
45056 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45057 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
45058 return SWIG_Py_Void();
45059 }
45060
45061 SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45062 return SWIG_Python_InitShadowInstance(args);
45063 }
45064
45065 SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
45066 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
45067 return 1;
45068 }
45069
45070
45071 SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
45072 PyObject *pyobj = 0;
45073
45074 {
45075 #if wxUSE_UNICODE
45076 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45077 #else
45078 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45079 #endif
45080 }
45081 return pyobj;
45082 }
45083
45084
45085 SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45086 PyObject *resultobj = 0;
45087 wxWindow *arg1 = (wxWindow *) 0 ;
45088 int arg2 = (int) -1 ;
45089 wxFont const &arg3_defvalue = wxNullFont ;
45090 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
45091 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45092 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45093 wxSize const &arg5_defvalue = wxDefaultSize ;
45094 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45095 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
45096 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45097 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45098 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
45099 wxString *arg8 = (wxString *) &arg8_defvalue ;
45100 wxFontPickerCtrl *result = 0 ;
45101 void *argp1 = 0 ;
45102 int res1 = 0 ;
45103 int val2 ;
45104 int ecode2 = 0 ;
45105 void *argp3 = 0 ;
45106 int res3 = 0 ;
45107 wxPoint temp4 ;
45108 wxSize temp5 ;
45109 long val6 ;
45110 int ecode6 = 0 ;
45111 void *argp7 = 0 ;
45112 int res7 = 0 ;
45113 bool temp8 = false ;
45114 PyObject * obj0 = 0 ;
45115 PyObject * obj1 = 0 ;
45116 PyObject * obj2 = 0 ;
45117 PyObject * obj3 = 0 ;
45118 PyObject * obj4 = 0 ;
45119 PyObject * obj5 = 0 ;
45120 PyObject * obj6 = 0 ;
45121 PyObject * obj7 = 0 ;
45122 char * kwnames[] = {
45123 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45124 };
45125
45126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45128 if (!SWIG_IsOK(res1)) {
45129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45130 }
45131 arg1 = reinterpret_cast< wxWindow * >(argp1);
45132 if (obj1) {
45133 ecode2 = SWIG_AsVal_int(obj1, &val2);
45134 if (!SWIG_IsOK(ecode2)) {
45135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45136 }
45137 arg2 = static_cast< int >(val2);
45138 }
45139 if (obj2) {
45140 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45141 if (!SWIG_IsOK(res3)) {
45142 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45143 }
45144 if (!argp3) {
45145 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45146 }
45147 arg3 = reinterpret_cast< wxFont * >(argp3);
45148 }
45149 if (obj3) {
45150 {
45151 arg4 = &temp4;
45152 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45153 }
45154 }
45155 if (obj4) {
45156 {
45157 arg5 = &temp5;
45158 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45159 }
45160 }
45161 if (obj5) {
45162 ecode6 = SWIG_AsVal_long(obj5, &val6);
45163 if (!SWIG_IsOK(ecode6)) {
45164 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45165 }
45166 arg6 = static_cast< long >(val6);
45167 }
45168 if (obj6) {
45169 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45170 if (!SWIG_IsOK(res7)) {
45171 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45172 }
45173 if (!argp7) {
45174 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45175 }
45176 arg7 = reinterpret_cast< wxValidator * >(argp7);
45177 }
45178 if (obj7) {
45179 {
45180 arg8 = wxString_in_helper(obj7);
45181 if (arg8 == NULL) SWIG_fail;
45182 temp8 = true;
45183 }
45184 }
45185 {
45186 if (!wxPyCheckForApp()) SWIG_fail;
45187 PyThreadState* __tstate = wxPyBeginAllowThreads();
45188 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45189 wxPyEndAllowThreads(__tstate);
45190 if (PyErr_Occurred()) SWIG_fail;
45191 }
45192 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
45193 {
45194 if (temp8)
45195 delete arg8;
45196 }
45197 return resultobj;
45198 fail:
45199 {
45200 if (temp8)
45201 delete arg8;
45202 }
45203 return NULL;
45204 }
45205
45206
45207 SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45208 PyObject *resultobj = 0;
45209 wxFontPickerCtrl *result = 0 ;
45210
45211 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
45212 {
45213 if (!wxPyCheckForApp()) SWIG_fail;
45214 PyThreadState* __tstate = wxPyBeginAllowThreads();
45215 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
45216 wxPyEndAllowThreads(__tstate);
45217 if (PyErr_Occurred()) SWIG_fail;
45218 }
45219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
45220 return resultobj;
45221 fail:
45222 return NULL;
45223 }
45224
45225
45226 SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45227 PyObject *resultobj = 0;
45228 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45229 wxWindow *arg2 = (wxWindow *) 0 ;
45230 int arg3 = (int) -1 ;
45231 wxFont const &arg4_defvalue = wxNullFont ;
45232 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
45233 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45234 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45235 wxSize const &arg6_defvalue = wxDefaultSize ;
45236 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45237 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
45238 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45239 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45240 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
45241 wxString *arg9 = (wxString *) &arg9_defvalue ;
45242 bool result;
45243 void *argp1 = 0 ;
45244 int res1 = 0 ;
45245 void *argp2 = 0 ;
45246 int res2 = 0 ;
45247 int val3 ;
45248 int ecode3 = 0 ;
45249 void *argp4 = 0 ;
45250 int res4 = 0 ;
45251 wxPoint temp5 ;
45252 wxSize temp6 ;
45253 long val7 ;
45254 int ecode7 = 0 ;
45255 void *argp8 = 0 ;
45256 int res8 = 0 ;
45257 bool temp9 = false ;
45258 PyObject * obj0 = 0 ;
45259 PyObject * obj1 = 0 ;
45260 PyObject * obj2 = 0 ;
45261 PyObject * obj3 = 0 ;
45262 PyObject * obj4 = 0 ;
45263 PyObject * obj5 = 0 ;
45264 PyObject * obj6 = 0 ;
45265 PyObject * obj7 = 0 ;
45266 PyObject * obj8 = 0 ;
45267 char * kwnames[] = {
45268 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45269 };
45270
45271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45273 if (!SWIG_IsOK(res1)) {
45274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45275 }
45276 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45277 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45278 if (!SWIG_IsOK(res2)) {
45279 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45280 }
45281 arg2 = reinterpret_cast< wxWindow * >(argp2);
45282 if (obj2) {
45283 ecode3 = SWIG_AsVal_int(obj2, &val3);
45284 if (!SWIG_IsOK(ecode3)) {
45285 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45286 }
45287 arg3 = static_cast< int >(val3);
45288 }
45289 if (obj3) {
45290 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
45291 if (!SWIG_IsOK(res4)) {
45292 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45293 }
45294 if (!argp4) {
45295 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45296 }
45297 arg4 = reinterpret_cast< wxFont * >(argp4);
45298 }
45299 if (obj4) {
45300 {
45301 arg5 = &temp5;
45302 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45303 }
45304 }
45305 if (obj5) {
45306 {
45307 arg6 = &temp6;
45308 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45309 }
45310 }
45311 if (obj6) {
45312 ecode7 = SWIG_AsVal_long(obj6, &val7);
45313 if (!SWIG_IsOK(ecode7)) {
45314 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45315 }
45316 arg7 = static_cast< long >(val7);
45317 }
45318 if (obj7) {
45319 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45320 if (!SWIG_IsOK(res8)) {
45321 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45322 }
45323 if (!argp8) {
45324 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45325 }
45326 arg8 = reinterpret_cast< wxValidator * >(argp8);
45327 }
45328 if (obj8) {
45329 {
45330 arg9 = wxString_in_helper(obj8);
45331 if (arg9 == NULL) SWIG_fail;
45332 temp9 = true;
45333 }
45334 }
45335 {
45336 PyThreadState* __tstate = wxPyBeginAllowThreads();
45337 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45338 wxPyEndAllowThreads(__tstate);
45339 if (PyErr_Occurred()) SWIG_fail;
45340 }
45341 {
45342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45343 }
45344 {
45345 if (temp9)
45346 delete arg9;
45347 }
45348 return resultobj;
45349 fail:
45350 {
45351 if (temp9)
45352 delete arg9;
45353 }
45354 return NULL;
45355 }
45356
45357
45358 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45359 PyObject *resultobj = 0;
45360 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45361 wxFont result;
45362 void *argp1 = 0 ;
45363 int res1 = 0 ;
45364 PyObject *swig_obj[1] ;
45365
45366 if (!args) SWIG_fail;
45367 swig_obj[0] = args;
45368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45369 if (!SWIG_IsOK(res1)) {
45370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45371 }
45372 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45373 {
45374 PyThreadState* __tstate = wxPyBeginAllowThreads();
45375 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45376 wxPyEndAllowThreads(__tstate);
45377 if (PyErr_Occurred()) SWIG_fail;
45378 }
45379 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45380 return resultobj;
45381 fail:
45382 return NULL;
45383 }
45384
45385
45386 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45387 PyObject *resultobj = 0;
45388 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45389 wxFont *arg2 = 0 ;
45390 void *argp1 = 0 ;
45391 int res1 = 0 ;
45392 void *argp2 = 0 ;
45393 int res2 = 0 ;
45394 PyObject * obj0 = 0 ;
45395 PyObject * obj1 = 0 ;
45396 char * kwnames[] = {
45397 (char *) "self",(char *) "f", NULL
45398 };
45399
45400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45402 if (!SWIG_IsOK(res1)) {
45403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45404 }
45405 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45406 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45407 if (!SWIG_IsOK(res2)) {
45408 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45409 }
45410 if (!argp2) {
45411 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45412 }
45413 arg2 = reinterpret_cast< wxFont * >(argp2);
45414 {
45415 PyThreadState* __tstate = wxPyBeginAllowThreads();
45416 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45417 wxPyEndAllowThreads(__tstate);
45418 if (PyErr_Occurred()) SWIG_fail;
45419 }
45420 resultobj = SWIG_Py_Void();
45421 return resultobj;
45422 fail:
45423 return NULL;
45424 }
45425
45426
45427 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45428 PyObject *resultobj = 0;
45429 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45430 unsigned int arg2 ;
45431 void *argp1 = 0 ;
45432 int res1 = 0 ;
45433 unsigned int val2 ;
45434 int ecode2 = 0 ;
45435 PyObject * obj0 = 0 ;
45436 PyObject * obj1 = 0 ;
45437 char * kwnames[] = {
45438 (char *) "self",(char *) "max", NULL
45439 };
45440
45441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45443 if (!SWIG_IsOK(res1)) {
45444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45445 }
45446 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45447 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45448 if (!SWIG_IsOK(ecode2)) {
45449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45450 }
45451 arg2 = static_cast< unsigned int >(val2);
45452 {
45453 PyThreadState* __tstate = wxPyBeginAllowThreads();
45454 (arg1)->SetMaxPointSize(arg2);
45455 wxPyEndAllowThreads(__tstate);
45456 if (PyErr_Occurred()) SWIG_fail;
45457 }
45458 resultobj = SWIG_Py_Void();
45459 return resultobj;
45460 fail:
45461 return NULL;
45462 }
45463
45464
45465 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45466 PyObject *resultobj = 0;
45467 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45468 unsigned int result;
45469 void *argp1 = 0 ;
45470 int res1 = 0 ;
45471 PyObject *swig_obj[1] ;
45472
45473 if (!args) SWIG_fail;
45474 swig_obj[0] = args;
45475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45476 if (!SWIG_IsOK(res1)) {
45477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45478 }
45479 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45480 {
45481 PyThreadState* __tstate = wxPyBeginAllowThreads();
45482 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45483 wxPyEndAllowThreads(__tstate);
45484 if (PyErr_Occurred()) SWIG_fail;
45485 }
45486 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45487 return resultobj;
45488 fail:
45489 return NULL;
45490 }
45491
45492
45493 SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45494 PyObject *obj;
45495 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45496 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45497 return SWIG_Py_Void();
45498 }
45499
45500 SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45501 return SWIG_Python_InitShadowInstance(args);
45502 }
45503
45504 SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45505 PyObject *resultobj = 0;
45506 wxObject *arg1 = (wxObject *) 0 ;
45507 int arg2 ;
45508 wxFont *arg3 = 0 ;
45509 wxFontPickerEvent *result = 0 ;
45510 void *argp1 = 0 ;
45511 int res1 = 0 ;
45512 int val2 ;
45513 int ecode2 = 0 ;
45514 void *argp3 = 0 ;
45515 int res3 = 0 ;
45516 PyObject * obj0 = 0 ;
45517 PyObject * obj1 = 0 ;
45518 PyObject * obj2 = 0 ;
45519 char * kwnames[] = {
45520 (char *) "generator",(char *) "id",(char *) "f", NULL
45521 };
45522
45523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45525 if (!SWIG_IsOK(res1)) {
45526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45527 }
45528 arg1 = reinterpret_cast< wxObject * >(argp1);
45529 ecode2 = SWIG_AsVal_int(obj1, &val2);
45530 if (!SWIG_IsOK(ecode2)) {
45531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45532 }
45533 arg2 = static_cast< int >(val2);
45534 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45535 if (!SWIG_IsOK(res3)) {
45536 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45537 }
45538 if (!argp3) {
45539 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45540 }
45541 arg3 = reinterpret_cast< wxFont * >(argp3);
45542 {
45543 PyThreadState* __tstate = wxPyBeginAllowThreads();
45544 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45545 wxPyEndAllowThreads(__tstate);
45546 if (PyErr_Occurred()) SWIG_fail;
45547 }
45548 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45549 return resultobj;
45550 fail:
45551 return NULL;
45552 }
45553
45554
45555 SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45556 PyObject *resultobj = 0;
45557 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45558 wxFont result;
45559 void *argp1 = 0 ;
45560 int res1 = 0 ;
45561 PyObject *swig_obj[1] ;
45562
45563 if (!args) SWIG_fail;
45564 swig_obj[0] = args;
45565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45566 if (!SWIG_IsOK(res1)) {
45567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45568 }
45569 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45570 {
45571 PyThreadState* __tstate = wxPyBeginAllowThreads();
45572 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45573 wxPyEndAllowThreads(__tstate);
45574 if (PyErr_Occurred()) SWIG_fail;
45575 }
45576 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45577 return resultobj;
45578 fail:
45579 return NULL;
45580 }
45581
45582
45583 SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45584 PyObject *resultobj = 0;
45585 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45586 wxFont *arg2 = 0 ;
45587 void *argp1 = 0 ;
45588 int res1 = 0 ;
45589 void *argp2 = 0 ;
45590 int res2 = 0 ;
45591 PyObject * obj0 = 0 ;
45592 PyObject * obj1 = 0 ;
45593 char * kwnames[] = {
45594 (char *) "self",(char *) "c", NULL
45595 };
45596
45597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45599 if (!SWIG_IsOK(res1)) {
45600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45601 }
45602 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45603 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45604 if (!SWIG_IsOK(res2)) {
45605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45606 }
45607 if (!argp2) {
45608 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45609 }
45610 arg2 = reinterpret_cast< wxFont * >(argp2);
45611 {
45612 PyThreadState* __tstate = wxPyBeginAllowThreads();
45613 (arg1)->SetFont((wxFont const &)*arg2);
45614 wxPyEndAllowThreads(__tstate);
45615 if (PyErr_Occurred()) SWIG_fail;
45616 }
45617 resultobj = SWIG_Py_Void();
45618 return resultobj;
45619 fail:
45620 return NULL;
45621 }
45622
45623
45624 SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45625 PyObject *obj;
45626 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45627 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
45628 return SWIG_Py_Void();
45629 }
45630
45631 SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45632 return SWIG_Python_InitShadowInstance(args);
45633 }
45634
45635 SWIGINTERN int CollapsiblePaneNameStr_set(PyObject *) {
45636 SWIG_Error(SWIG_AttributeError,"Variable CollapsiblePaneNameStr is read-only.");
45637 return 1;
45638 }
45639
45640
45641 SWIGINTERN PyObject *CollapsiblePaneNameStr_get(void) {
45642 PyObject *pyobj = 0;
45643
45644 {
45645 #if wxUSE_UNICODE
45646 pyobj = PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45647 #else
45648 pyobj = PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45649 #endif
45650 }
45651 return pyobj;
45652 }
45653
45654
45655 SWIGINTERN PyObject *_wrap_new_CollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45656 PyObject *resultobj = 0;
45657 wxWindow *arg1 = (wxWindow *) 0 ;
45658 int arg2 = (int) -1 ;
45659 wxString const &arg3_defvalue = wxPyEmptyString ;
45660 wxString *arg3 = (wxString *) &arg3_defvalue ;
45661 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45662 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45663 wxSize const &arg5_defvalue = wxDefaultSize ;
45664 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45665 long arg6 = (long) wxCP_DEFAULT_STYLE ;
45666 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45667 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45668 wxString const &arg8_defvalue = wxPyCollapsiblePaneNameStr ;
45669 wxString *arg8 = (wxString *) &arg8_defvalue ;
45670 wxCollapsiblePane *result = 0 ;
45671 void *argp1 = 0 ;
45672 int res1 = 0 ;
45673 int val2 ;
45674 int ecode2 = 0 ;
45675 bool temp3 = false ;
45676 wxPoint temp4 ;
45677 wxSize temp5 ;
45678 long val6 ;
45679 int ecode6 = 0 ;
45680 void *argp7 = 0 ;
45681 int res7 = 0 ;
45682 bool temp8 = false ;
45683 PyObject * obj0 = 0 ;
45684 PyObject * obj1 = 0 ;
45685 PyObject * obj2 = 0 ;
45686 PyObject * obj3 = 0 ;
45687 PyObject * obj4 = 0 ;
45688 PyObject * obj5 = 0 ;
45689 PyObject * obj6 = 0 ;
45690 PyObject * obj7 = 0 ;
45691 char * kwnames[] = {
45692 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45693 };
45694
45695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45697 if (!SWIG_IsOK(res1)) {
45698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45699 }
45700 arg1 = reinterpret_cast< wxWindow * >(argp1);
45701 if (obj1) {
45702 ecode2 = SWIG_AsVal_int(obj1, &val2);
45703 if (!SWIG_IsOK(ecode2)) {
45704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45705 }
45706 arg2 = static_cast< int >(val2);
45707 }
45708 if (obj2) {
45709 {
45710 arg3 = wxString_in_helper(obj2);
45711 if (arg3 == NULL) SWIG_fail;
45712 temp3 = true;
45713 }
45714 }
45715 if (obj3) {
45716 {
45717 arg4 = &temp4;
45718 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45719 }
45720 }
45721 if (obj4) {
45722 {
45723 arg5 = &temp5;
45724 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45725 }
45726 }
45727 if (obj5) {
45728 ecode6 = SWIG_AsVal_long(obj5, &val6);
45729 if (!SWIG_IsOK(ecode6)) {
45730 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45731 }
45732 arg6 = static_cast< long >(val6);
45733 }
45734 if (obj6) {
45735 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45736 if (!SWIG_IsOK(res7)) {
45737 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45738 }
45739 if (!argp7) {
45740 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45741 }
45742 arg7 = reinterpret_cast< wxValidator * >(argp7);
45743 }
45744 if (obj7) {
45745 {
45746 arg8 = wxString_in_helper(obj7);
45747 if (arg8 == NULL) SWIG_fail;
45748 temp8 = true;
45749 }
45750 }
45751 {
45752 if (!wxPyCheckForApp()) SWIG_fail;
45753 PyThreadState* __tstate = wxPyBeginAllowThreads();
45754 result = (wxCollapsiblePane *)new wxCollapsiblePane(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45755 wxPyEndAllowThreads(__tstate);
45756 if (PyErr_Occurred()) SWIG_fail;
45757 }
45758 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_NEW | 0 );
45759 {
45760 if (temp3)
45761 delete arg3;
45762 }
45763 {
45764 if (temp8)
45765 delete arg8;
45766 }
45767 return resultobj;
45768 fail:
45769 {
45770 if (temp3)
45771 delete arg3;
45772 }
45773 {
45774 if (temp8)
45775 delete arg8;
45776 }
45777 return NULL;
45778 }
45779
45780
45781 SWIGINTERN PyObject *_wrap_new_PreCollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45782 PyObject *resultobj = 0;
45783 wxCollapsiblePane *result = 0 ;
45784
45785 if (!SWIG_Python_UnpackTuple(args,"new_PreCollapsiblePane",0,0,0)) SWIG_fail;
45786 {
45787 if (!wxPyCheckForApp()) SWIG_fail;
45788 PyThreadState* __tstate = wxPyBeginAllowThreads();
45789 result = (wxCollapsiblePane *)new wxCollapsiblePane();
45790 wxPyEndAllowThreads(__tstate);
45791 if (PyErr_Occurred()) SWIG_fail;
45792 }
45793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_OWN | 0 );
45794 return resultobj;
45795 fail:
45796 return NULL;
45797 }
45798
45799
45800 SWIGINTERN PyObject *_wrap_CollapsiblePane_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45801 PyObject *resultobj = 0;
45802 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45803 wxWindow *arg2 = (wxWindow *) 0 ;
45804 int arg3 = (int) -1 ;
45805 wxString const &arg4_defvalue = wxPyEmptyString ;
45806 wxString *arg4 = (wxString *) &arg4_defvalue ;
45807 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45808 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45809 wxSize const &arg6_defvalue = wxDefaultSize ;
45810 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45811 long arg7 = (long) wxCP_DEFAULT_STYLE ;
45812 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45813 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45814 wxString const &arg9_defvalue = wxPyCollapsiblePaneNameStr ;
45815 wxString *arg9 = (wxString *) &arg9_defvalue ;
45816 bool result;
45817 void *argp1 = 0 ;
45818 int res1 = 0 ;
45819 void *argp2 = 0 ;
45820 int res2 = 0 ;
45821 int val3 ;
45822 int ecode3 = 0 ;
45823 bool temp4 = false ;
45824 wxPoint temp5 ;
45825 wxSize temp6 ;
45826 long val7 ;
45827 int ecode7 = 0 ;
45828 void *argp8 = 0 ;
45829 int res8 = 0 ;
45830 bool temp9 = false ;
45831 PyObject * obj0 = 0 ;
45832 PyObject * obj1 = 0 ;
45833 PyObject * obj2 = 0 ;
45834 PyObject * obj3 = 0 ;
45835 PyObject * obj4 = 0 ;
45836 PyObject * obj5 = 0 ;
45837 PyObject * obj6 = 0 ;
45838 PyObject * obj7 = 0 ;
45839 PyObject * obj8 = 0 ;
45840 char * kwnames[] = {
45841 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45842 };
45843
45844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45846 if (!SWIG_IsOK(res1)) {
45847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45848 }
45849 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45850 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45851 if (!SWIG_IsOK(res2)) {
45852 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45853 }
45854 arg2 = reinterpret_cast< wxWindow * >(argp2);
45855 if (obj2) {
45856 ecode3 = SWIG_AsVal_int(obj2, &val3);
45857 if (!SWIG_IsOK(ecode3)) {
45858 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45859 }
45860 arg3 = static_cast< int >(val3);
45861 }
45862 if (obj3) {
45863 {
45864 arg4 = wxString_in_helper(obj3);
45865 if (arg4 == NULL) SWIG_fail;
45866 temp4 = true;
45867 }
45868 }
45869 if (obj4) {
45870 {
45871 arg5 = &temp5;
45872 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45873 }
45874 }
45875 if (obj5) {
45876 {
45877 arg6 = &temp6;
45878 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45879 }
45880 }
45881 if (obj6) {
45882 ecode7 = SWIG_AsVal_long(obj6, &val7);
45883 if (!SWIG_IsOK(ecode7)) {
45884 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45885 }
45886 arg7 = static_cast< long >(val7);
45887 }
45888 if (obj7) {
45889 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45890 if (!SWIG_IsOK(res8)) {
45891 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45892 }
45893 if (!argp8) {
45894 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45895 }
45896 arg8 = reinterpret_cast< wxValidator * >(argp8);
45897 }
45898 if (obj8) {
45899 {
45900 arg9 = wxString_in_helper(obj8);
45901 if (arg9 == NULL) SWIG_fail;
45902 temp9 = true;
45903 }
45904 }
45905 {
45906 PyThreadState* __tstate = wxPyBeginAllowThreads();
45907 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45908 wxPyEndAllowThreads(__tstate);
45909 if (PyErr_Occurred()) SWIG_fail;
45910 }
45911 {
45912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45913 }
45914 {
45915 if (temp4)
45916 delete arg4;
45917 }
45918 {
45919 if (temp9)
45920 delete arg9;
45921 }
45922 return resultobj;
45923 fail:
45924 {
45925 if (temp4)
45926 delete arg4;
45927 }
45928 {
45929 if (temp9)
45930 delete arg9;
45931 }
45932 return NULL;
45933 }
45934
45935
45936 SWIGINTERN PyObject *_wrap_CollapsiblePane_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45937 PyObject *resultobj = 0;
45938 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45939 bool arg2 = (bool) true ;
45940 void *argp1 = 0 ;
45941 int res1 = 0 ;
45942 bool val2 ;
45943 int ecode2 = 0 ;
45944 PyObject * obj0 = 0 ;
45945 PyObject * obj1 = 0 ;
45946 char * kwnames[] = {
45947 (char *) "self",(char *) "collapse", NULL
45948 };
45949
45950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CollapsiblePane_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
45951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45952 if (!SWIG_IsOK(res1)) {
45953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45954 }
45955 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45956 if (obj1) {
45957 ecode2 = SWIG_AsVal_bool(obj1, &val2);
45958 if (!SWIG_IsOK(ecode2)) {
45959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45960 }
45961 arg2 = static_cast< bool >(val2);
45962 }
45963 {
45964 PyThreadState* __tstate = wxPyBeginAllowThreads();
45965 (arg1)->Collapse(arg2);
45966 wxPyEndAllowThreads(__tstate);
45967 if (PyErr_Occurred()) SWIG_fail;
45968 }
45969 resultobj = SWIG_Py_Void();
45970 return resultobj;
45971 fail:
45972 return NULL;
45973 }
45974
45975
45976 SWIGINTERN PyObject *_wrap_CollapsiblePane_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45977 PyObject *resultobj = 0;
45978 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45979 void *argp1 = 0 ;
45980 int res1 = 0 ;
45981 PyObject *swig_obj[1] ;
45982
45983 if (!args) SWIG_fail;
45984 swig_obj[0] = args;
45985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45986 if (!SWIG_IsOK(res1)) {
45987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45988 }
45989 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45990 {
45991 PyThreadState* __tstate = wxPyBeginAllowThreads();
45992 (arg1)->Expand();
45993 wxPyEndAllowThreads(__tstate);
45994 if (PyErr_Occurred()) SWIG_fail;
45995 }
45996 resultobj = SWIG_Py_Void();
45997 return resultobj;
45998 fail:
45999 return NULL;
46000 }
46001
46002
46003 SWIGINTERN PyObject *_wrap_CollapsiblePane_IsCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46004 PyObject *resultobj = 0;
46005 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46006 bool result;
46007 void *argp1 = 0 ;
46008 int res1 = 0 ;
46009 PyObject *swig_obj[1] ;
46010
46011 if (!args) SWIG_fail;
46012 swig_obj[0] = args;
46013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46014 if (!SWIG_IsOK(res1)) {
46015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46016 }
46017 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46018 {
46019 PyThreadState* __tstate = wxPyBeginAllowThreads();
46020 result = (bool)((wxCollapsiblePane const *)arg1)->IsCollapsed();
46021 wxPyEndAllowThreads(__tstate);
46022 if (PyErr_Occurred()) SWIG_fail;
46023 }
46024 {
46025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46026 }
46027 return resultobj;
46028 fail:
46029 return NULL;
46030 }
46031
46032
46033 SWIGINTERN PyObject *_wrap_CollapsiblePane_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46034 PyObject *resultobj = 0;
46035 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46036 bool result;
46037 void *argp1 = 0 ;
46038 int res1 = 0 ;
46039 PyObject *swig_obj[1] ;
46040
46041 if (!args) SWIG_fail;
46042 swig_obj[0] = args;
46043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46044 if (!SWIG_IsOK(res1)) {
46045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46046 }
46047 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46048 {
46049 PyThreadState* __tstate = wxPyBeginAllowThreads();
46050 result = (bool)((wxCollapsiblePane const *)arg1)->IsExpanded();
46051 wxPyEndAllowThreads(__tstate);
46052 if (PyErr_Occurred()) SWIG_fail;
46053 }
46054 {
46055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46056 }
46057 return resultobj;
46058 fail:
46059 return NULL;
46060 }
46061
46062
46063 SWIGINTERN PyObject *_wrap_CollapsiblePane_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46064 PyObject *resultobj = 0;
46065 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46066 wxWindow *result = 0 ;
46067 void *argp1 = 0 ;
46068 int res1 = 0 ;
46069 PyObject *swig_obj[1] ;
46070
46071 if (!args) SWIG_fail;
46072 swig_obj[0] = args;
46073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46074 if (!SWIG_IsOK(res1)) {
46075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46076 }
46077 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46078 {
46079 PyThreadState* __tstate = wxPyBeginAllowThreads();
46080 result = (wxWindow *)((wxCollapsiblePane const *)arg1)->GetPane();
46081 wxPyEndAllowThreads(__tstate);
46082 if (PyErr_Occurred()) SWIG_fail;
46083 }
46084 {
46085 resultobj = wxPyMake_wxObject(result, 0);
46086 }
46087 return resultobj;
46088 fail:
46089 return NULL;
46090 }
46091
46092
46093 SWIGINTERN PyObject *CollapsiblePane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46094 PyObject *obj;
46095 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46096 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane, SWIG_NewClientData(obj));
46097 return SWIG_Py_Void();
46098 }
46099
46100 SWIGINTERN PyObject *CollapsiblePane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46101 return SWIG_Python_InitShadowInstance(args);
46102 }
46103
46104 SWIGINTERN PyObject *_wrap_new_CollapsiblePaneEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46105 PyObject *resultobj = 0;
46106 wxObject *arg1 = (wxObject *) 0 ;
46107 int arg2 ;
46108 bool arg3 ;
46109 wxCollapsiblePaneEvent *result = 0 ;
46110 void *argp1 = 0 ;
46111 int res1 = 0 ;
46112 int val2 ;
46113 int ecode2 = 0 ;
46114 bool val3 ;
46115 int ecode3 = 0 ;
46116 PyObject * obj0 = 0 ;
46117 PyObject * obj1 = 0 ;
46118 PyObject * obj2 = 0 ;
46119 char * kwnames[] = {
46120 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46121 };
46122
46123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_CollapsiblePaneEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
46124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
46125 if (!SWIG_IsOK(res1)) {
46126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46127 }
46128 arg1 = reinterpret_cast< wxObject * >(argp1);
46129 ecode2 = SWIG_AsVal_int(obj1, &val2);
46130 if (!SWIG_IsOK(ecode2)) {
46131 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46132 }
46133 arg2 = static_cast< int >(val2);
46134 ecode3 = SWIG_AsVal_bool(obj2, &val3);
46135 if (!SWIG_IsOK(ecode3)) {
46136 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46137 }
46138 arg3 = static_cast< bool >(val3);
46139 {
46140 PyThreadState* __tstate = wxPyBeginAllowThreads();
46141 result = (wxCollapsiblePaneEvent *)new wxCollapsiblePaneEvent(arg1,arg2,arg3);
46142 wxPyEndAllowThreads(__tstate);
46143 if (PyErr_Occurred()) SWIG_fail;
46144 }
46145 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_POINTER_NEW | 0 );
46146 return resultobj;
46147 fail:
46148 return NULL;
46149 }
46150
46151
46152 SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46153 PyObject *resultobj = 0;
46154 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46155 bool result;
46156 void *argp1 = 0 ;
46157 int res1 = 0 ;
46158 PyObject *swig_obj[1] ;
46159
46160 if (!args) SWIG_fail;
46161 swig_obj[0] = args;
46162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46163 if (!SWIG_IsOK(res1)) {
46164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46165 }
46166 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46167 {
46168 PyThreadState* __tstate = wxPyBeginAllowThreads();
46169 result = (bool)((wxCollapsiblePaneEvent const *)arg1)->GetCollapsed();
46170 wxPyEndAllowThreads(__tstate);
46171 if (PyErr_Occurred()) SWIG_fail;
46172 }
46173 {
46174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46175 }
46176 return resultobj;
46177 fail:
46178 return NULL;
46179 }
46180
46181
46182 SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46183 PyObject *resultobj = 0;
46184 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46185 bool arg2 ;
46186 void *argp1 = 0 ;
46187 int res1 = 0 ;
46188 bool val2 ;
46189 int ecode2 = 0 ;
46190 PyObject * obj0 = 0 ;
46191 PyObject * obj1 = 0 ;
46192 char * kwnames[] = {
46193 (char *) "self",(char *) "c", NULL
46194 };
46195
46196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames,&obj0,&obj1)) SWIG_fail;
46197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46198 if (!SWIG_IsOK(res1)) {
46199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46200 }
46201 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46202 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46203 if (!SWIG_IsOK(ecode2)) {
46204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46205 }
46206 arg2 = static_cast< bool >(val2);
46207 {
46208 PyThreadState* __tstate = wxPyBeginAllowThreads();
46209 (arg1)->SetCollapsed(arg2);
46210 wxPyEndAllowThreads(__tstate);
46211 if (PyErr_Occurred()) SWIG_fail;
46212 }
46213 resultobj = SWIG_Py_Void();
46214 return resultobj;
46215 fail:
46216 return NULL;
46217 }
46218
46219
46220 SWIGINTERN PyObject *CollapsiblePaneEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46221 PyObject *obj;
46222 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46223 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_NewClientData(obj));
46224 return SWIG_Py_Void();
46225 }
46226
46227 SWIGINTERN PyObject *CollapsiblePaneEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46228 return SWIG_Python_InitShadowInstance(args);
46229 }
46230
46231 SWIGINTERN int SearchCtrlNameStr_set(PyObject *) {
46232 SWIG_Error(SWIG_AttributeError,"Variable SearchCtrlNameStr is read-only.");
46233 return 1;
46234 }
46235
46236
46237 SWIGINTERN PyObject *SearchCtrlNameStr_get(void) {
46238 PyObject *pyobj = 0;
46239
46240 {
46241 #if wxUSE_UNICODE
46242 pyobj = PyUnicode_FromWideChar((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46243 #else
46244 pyobj = PyString_FromStringAndSize((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46245 #endif
46246 }
46247 return pyobj;
46248 }
46249
46250
46251 SWIGINTERN PyObject *_wrap_new_SearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46252 PyObject *resultobj = 0;
46253 wxWindow *arg1 = (wxWindow *) 0 ;
46254 int arg2 = (int) -1 ;
46255 wxString const &arg3_defvalue = wxEmptyString ;
46256 wxString *arg3 = (wxString *) &arg3_defvalue ;
46257 wxPoint const &arg4_defvalue = wxDefaultPosition ;
46258 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
46259 wxSize const &arg5_defvalue = wxDefaultSize ;
46260 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
46261 long arg6 = (long) 0 ;
46262 wxValidator const &arg7_defvalue = wxDefaultValidator ;
46263 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
46264 wxString const &arg8_defvalue = wxPySearchCtrlNameStr ;
46265 wxString *arg8 = (wxString *) &arg8_defvalue ;
46266 wxSearchCtrl *result = 0 ;
46267 void *argp1 = 0 ;
46268 int res1 = 0 ;
46269 int val2 ;
46270 int ecode2 = 0 ;
46271 bool temp3 = false ;
46272 wxPoint temp4 ;
46273 wxSize temp5 ;
46274 long val6 ;
46275 int ecode6 = 0 ;
46276 void *argp7 = 0 ;
46277 int res7 = 0 ;
46278 bool temp8 = false ;
46279 PyObject * obj0 = 0 ;
46280 PyObject * obj1 = 0 ;
46281 PyObject * obj2 = 0 ;
46282 PyObject * obj3 = 0 ;
46283 PyObject * obj4 = 0 ;
46284 PyObject * obj5 = 0 ;
46285 PyObject * obj6 = 0 ;
46286 PyObject * obj7 = 0 ;
46287 char * kwnames[] = {
46288 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46289 };
46290
46291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
46292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
46293 if (!SWIG_IsOK(res1)) {
46294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46295 }
46296 arg1 = reinterpret_cast< wxWindow * >(argp1);
46297 if (obj1) {
46298 ecode2 = SWIG_AsVal_int(obj1, &val2);
46299 if (!SWIG_IsOK(ecode2)) {
46300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46301 }
46302 arg2 = static_cast< int >(val2);
46303 }
46304 if (obj2) {
46305 {
46306 arg3 = wxString_in_helper(obj2);
46307 if (arg3 == NULL) SWIG_fail;
46308 temp3 = true;
46309 }
46310 }
46311 if (obj3) {
46312 {
46313 arg4 = &temp4;
46314 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
46315 }
46316 }
46317 if (obj4) {
46318 {
46319 arg5 = &temp5;
46320 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
46321 }
46322 }
46323 if (obj5) {
46324 ecode6 = SWIG_AsVal_long(obj5, &val6);
46325 if (!SWIG_IsOK(ecode6)) {
46326 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46327 }
46328 arg6 = static_cast< long >(val6);
46329 }
46330 if (obj6) {
46331 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
46332 if (!SWIG_IsOK(res7)) {
46333 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46334 }
46335 if (!argp7) {
46336 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46337 }
46338 arg7 = reinterpret_cast< wxValidator * >(argp7);
46339 }
46340 if (obj7) {
46341 {
46342 arg8 = wxString_in_helper(obj7);
46343 if (arg8 == NULL) SWIG_fail;
46344 temp8 = true;
46345 }
46346 }
46347 {
46348 if (!wxPyCheckForApp()) SWIG_fail;
46349 PyThreadState* __tstate = wxPyBeginAllowThreads();
46350 result = (wxSearchCtrl *)new wxSearchCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
46351 wxPyEndAllowThreads(__tstate);
46352 if (PyErr_Occurred()) SWIG_fail;
46353 }
46354 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_NEW | 0 );
46355 {
46356 if (temp3)
46357 delete arg3;
46358 }
46359 {
46360 if (temp8)
46361 delete arg8;
46362 }
46363 return resultobj;
46364 fail:
46365 {
46366 if (temp3)
46367 delete arg3;
46368 }
46369 {
46370 if (temp8)
46371 delete arg8;
46372 }
46373 return NULL;
46374 }
46375
46376
46377 SWIGINTERN PyObject *_wrap_new_PreSearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46378 PyObject *resultobj = 0;
46379 wxSearchCtrl *result = 0 ;
46380
46381 if (!SWIG_Python_UnpackTuple(args,"new_PreSearchCtrl",0,0,0)) SWIG_fail;
46382 {
46383 if (!wxPyCheckForApp()) SWIG_fail;
46384 PyThreadState* __tstate = wxPyBeginAllowThreads();
46385 result = (wxSearchCtrl *)new wxSearchCtrl();
46386 wxPyEndAllowThreads(__tstate);
46387 if (PyErr_Occurred()) SWIG_fail;
46388 }
46389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_OWN | 0 );
46390 return resultobj;
46391 fail:
46392 return NULL;
46393 }
46394
46395
46396 SWIGINTERN PyObject *_wrap_SearchCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46397 PyObject *resultobj = 0;
46398 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46399 wxWindow *arg2 = (wxWindow *) 0 ;
46400 int arg3 = (int) -1 ;
46401 wxString const &arg4_defvalue = wxEmptyString ;
46402 wxString *arg4 = (wxString *) &arg4_defvalue ;
46403 wxPoint const &arg5_defvalue = wxDefaultPosition ;
46404 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
46405 wxSize const &arg6_defvalue = wxDefaultSize ;
46406 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
46407 long arg7 = (long) 0 ;
46408 wxValidator const &arg8_defvalue = wxDefaultValidator ;
46409 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
46410 wxString const &arg9_defvalue = wxPySearchCtrlNameStr ;
46411 wxString *arg9 = (wxString *) &arg9_defvalue ;
46412 bool result;
46413 void *argp1 = 0 ;
46414 int res1 = 0 ;
46415 void *argp2 = 0 ;
46416 int res2 = 0 ;
46417 int val3 ;
46418 int ecode3 = 0 ;
46419 bool temp4 = false ;
46420 wxPoint temp5 ;
46421 wxSize temp6 ;
46422 long val7 ;
46423 int ecode7 = 0 ;
46424 void *argp8 = 0 ;
46425 int res8 = 0 ;
46426 bool temp9 = false ;
46427 PyObject * obj0 = 0 ;
46428 PyObject * obj1 = 0 ;
46429 PyObject * obj2 = 0 ;
46430 PyObject * obj3 = 0 ;
46431 PyObject * obj4 = 0 ;
46432 PyObject * obj5 = 0 ;
46433 PyObject * obj6 = 0 ;
46434 PyObject * obj7 = 0 ;
46435 PyObject * obj8 = 0 ;
46436 char * kwnames[] = {
46437 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46438 };
46439
46440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
46441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46442 if (!SWIG_IsOK(res1)) {
46443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46444 }
46445 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46446 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
46447 if (!SWIG_IsOK(res2)) {
46448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46449 }
46450 arg2 = reinterpret_cast< wxWindow * >(argp2);
46451 if (obj2) {
46452 ecode3 = SWIG_AsVal_int(obj2, &val3);
46453 if (!SWIG_IsOK(ecode3)) {
46454 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46455 }
46456 arg3 = static_cast< int >(val3);
46457 }
46458 if (obj3) {
46459 {
46460 arg4 = wxString_in_helper(obj3);
46461 if (arg4 == NULL) SWIG_fail;
46462 temp4 = true;
46463 }
46464 }
46465 if (obj4) {
46466 {
46467 arg5 = &temp5;
46468 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
46469 }
46470 }
46471 if (obj5) {
46472 {
46473 arg6 = &temp6;
46474 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
46475 }
46476 }
46477 if (obj6) {
46478 ecode7 = SWIG_AsVal_long(obj6, &val7);
46479 if (!SWIG_IsOK(ecode7)) {
46480 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46481 }
46482 arg7 = static_cast< long >(val7);
46483 }
46484 if (obj7) {
46485 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
46486 if (!SWIG_IsOK(res8)) {
46487 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46488 }
46489 if (!argp8) {
46490 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46491 }
46492 arg8 = reinterpret_cast< wxValidator * >(argp8);
46493 }
46494 if (obj8) {
46495 {
46496 arg9 = wxString_in_helper(obj8);
46497 if (arg9 == NULL) SWIG_fail;
46498 temp9 = true;
46499 }
46500 }
46501 {
46502 PyThreadState* __tstate = wxPyBeginAllowThreads();
46503 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
46504 wxPyEndAllowThreads(__tstate);
46505 if (PyErr_Occurred()) SWIG_fail;
46506 }
46507 {
46508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46509 }
46510 {
46511 if (temp4)
46512 delete arg4;
46513 }
46514 {
46515 if (temp9)
46516 delete arg9;
46517 }
46518 return resultobj;
46519 fail:
46520 {
46521 if (temp4)
46522 delete arg4;
46523 }
46524 {
46525 if (temp9)
46526 delete arg9;
46527 }
46528 return NULL;
46529 }
46530
46531
46532 SWIGINTERN PyObject *_wrap_SearchCtrl_SetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46533 PyObject *resultobj = 0;
46534 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46535 wxMenu *arg2 = (wxMenu *) 0 ;
46536 void *argp1 = 0 ;
46537 int res1 = 0 ;
46538 void *argp2 = 0 ;
46539 int res2 = 0 ;
46540 PyObject * obj0 = 0 ;
46541 PyObject * obj1 = 0 ;
46542 char * kwnames[] = {
46543 (char *) "self",(char *) "menu", NULL
46544 };
46545
46546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetMenu",kwnames,&obj0,&obj1)) SWIG_fail;
46547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46548 if (!SWIG_IsOK(res1)) {
46549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46550 }
46551 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46552 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
46553 if (!SWIG_IsOK(res2)) {
46554 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46555 }
46556 arg2 = reinterpret_cast< wxMenu * >(argp2);
46557 {
46558 PyThreadState* __tstate = wxPyBeginAllowThreads();
46559 (arg1)->SetMenu(arg2);
46560 wxPyEndAllowThreads(__tstate);
46561 if (PyErr_Occurred()) SWIG_fail;
46562 }
46563 resultobj = SWIG_Py_Void();
46564 return resultobj;
46565 fail:
46566 return NULL;
46567 }
46568
46569
46570 SWIGINTERN PyObject *_wrap_SearchCtrl_GetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46571 PyObject *resultobj = 0;
46572 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46573 wxMenu *result = 0 ;
46574 void *argp1 = 0 ;
46575 int res1 = 0 ;
46576 PyObject *swig_obj[1] ;
46577
46578 if (!args) SWIG_fail;
46579 swig_obj[0] = args;
46580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46581 if (!SWIG_IsOK(res1)) {
46582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46583 }
46584 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46585 {
46586 PyThreadState* __tstate = wxPyBeginAllowThreads();
46587 result = (wxMenu *)(arg1)->GetMenu();
46588 wxPyEndAllowThreads(__tstate);
46589 if (PyErr_Occurred()) SWIG_fail;
46590 }
46591 {
46592 resultobj = wxPyMake_wxObject(result, 0);
46593 }
46594 return resultobj;
46595 fail:
46596 return NULL;
46597 }
46598
46599
46600 SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46601 PyObject *resultobj = 0;
46602 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46603 bool arg2 ;
46604 void *argp1 = 0 ;
46605 int res1 = 0 ;
46606 bool val2 ;
46607 int ecode2 = 0 ;
46608 PyObject * obj0 = 0 ;
46609 PyObject * obj1 = 0 ;
46610 char * kwnames[] = {
46611 (char *) "self",(char *) "show", NULL
46612 };
46613
46614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchButtonVisible",kwnames,&obj0,&obj1)) SWIG_fail;
46615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46616 if (!SWIG_IsOK(res1)) {
46617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46618 }
46619 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46620 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46621 if (!SWIG_IsOK(ecode2)) {
46622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46623 }
46624 arg2 = static_cast< bool >(val2);
46625 {
46626 PyThreadState* __tstate = wxPyBeginAllowThreads();
46627 (arg1)->SetSearchButtonVisible(arg2);
46628 wxPyEndAllowThreads(__tstate);
46629 if (PyErr_Occurred()) SWIG_fail;
46630 }
46631 resultobj = SWIG_Py_Void();
46632 return resultobj;
46633 fail:
46634 return NULL;
46635 }
46636
46637
46638 SWIGINTERN PyObject *_wrap_SearchCtrl_GetSearchButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46639 PyObject *resultobj = 0;
46640 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46641 bool result;
46642 void *argp1 = 0 ;
46643 int res1 = 0 ;
46644 PyObject *swig_obj[1] ;
46645
46646 if (!args) SWIG_fail;
46647 swig_obj[0] = args;
46648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46649 if (!SWIG_IsOK(res1)) {
46650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46651 }
46652 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46653 {
46654 PyThreadState* __tstate = wxPyBeginAllowThreads();
46655 result = (bool)((wxSearchCtrl const *)arg1)->GetSearchButtonVisible();
46656 wxPyEndAllowThreads(__tstate);
46657 if (PyErr_Occurred()) SWIG_fail;
46658 }
46659 {
46660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46661 }
46662 return resultobj;
46663 fail:
46664 return NULL;
46665 }
46666
46667
46668 SWIGINTERN PyObject *_wrap_SearchCtrl_SetCancelButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46669 PyObject *resultobj = 0;
46670 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46671 bool arg2 ;
46672 void *argp1 = 0 ;
46673 int res1 = 0 ;
46674 bool val2 ;
46675 int ecode2 = 0 ;
46676 PyObject * obj0 = 0 ;
46677 PyObject * obj1 = 0 ;
46678 char * kwnames[] = {
46679 (char *) "self",(char *) "show", NULL
46680 };
46681
46682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetCancelButtonVisible",kwnames,&obj0,&obj1)) SWIG_fail;
46683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46684 if (!SWIG_IsOK(res1)) {
46685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46686 }
46687 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46688 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46689 if (!SWIG_IsOK(ecode2)) {
46690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46691 }
46692 arg2 = static_cast< bool >(val2);
46693 {
46694 PyThreadState* __tstate = wxPyBeginAllowThreads();
46695 (arg1)->SetCancelButtonVisible(arg2);
46696 wxPyEndAllowThreads(__tstate);
46697 if (PyErr_Occurred()) SWIG_fail;
46698 }
46699 resultobj = SWIG_Py_Void();
46700 return resultobj;
46701 fail:
46702 return NULL;
46703 }
46704
46705
46706 SWIGINTERN PyObject *_wrap_SearchCtrl_GetCancelButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46707 PyObject *resultobj = 0;
46708 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46709 bool result;
46710 void *argp1 = 0 ;
46711 int res1 = 0 ;
46712 PyObject *swig_obj[1] ;
46713
46714 if (!args) SWIG_fail;
46715 swig_obj[0] = args;
46716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46717 if (!SWIG_IsOK(res1)) {
46718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46719 }
46720 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46721 {
46722 PyThreadState* __tstate = wxPyBeginAllowThreads();
46723 result = (bool)((wxSearchCtrl const *)arg1)->GetCancelButtonVisible();
46724 wxPyEndAllowThreads(__tstate);
46725 if (PyErr_Occurred()) SWIG_fail;
46726 }
46727 {
46728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46729 }
46730 return resultobj;
46731 fail:
46732 return NULL;
46733 }
46734
46735
46736 SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46737 PyObject *resultobj = 0;
46738 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46739 wxBitmap *arg2 = 0 ;
46740 void *argp1 = 0 ;
46741 int res1 = 0 ;
46742 void *argp2 = 0 ;
46743 int res2 = 0 ;
46744 PyObject * obj0 = 0 ;
46745 PyObject * obj1 = 0 ;
46746 char * kwnames[] = {
46747 (char *) "self",(char *) "bitmap", NULL
46748 };
46749
46750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46752 if (!SWIG_IsOK(res1)) {
46753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46754 }
46755 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46756 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46757 if (!SWIG_IsOK(res2)) {
46758 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46759 }
46760 if (!argp2) {
46761 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46762 }
46763 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46764 {
46765 PyThreadState* __tstate = wxPyBeginAllowThreads();
46766 (arg1)->SetSearchBitmap((wxBitmap const &)*arg2);
46767 wxPyEndAllowThreads(__tstate);
46768 if (PyErr_Occurred()) SWIG_fail;
46769 }
46770 resultobj = SWIG_Py_Void();
46771 return resultobj;
46772 fail:
46773 return NULL;
46774 }
46775
46776
46777 SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46778 PyObject *resultobj = 0;
46779 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46780 wxBitmap *arg2 = 0 ;
46781 void *argp1 = 0 ;
46782 int res1 = 0 ;
46783 void *argp2 = 0 ;
46784 int res2 = 0 ;
46785 PyObject * obj0 = 0 ;
46786 PyObject * obj1 = 0 ;
46787 char * kwnames[] = {
46788 (char *) "self",(char *) "bitmap", NULL
46789 };
46790
46791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46793 if (!SWIG_IsOK(res1)) {
46794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46795 }
46796 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46797 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46798 if (!SWIG_IsOK(res2)) {
46799 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46800 }
46801 if (!argp2) {
46802 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46803 }
46804 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46805 {
46806 PyThreadState* __tstate = wxPyBeginAllowThreads();
46807 (arg1)->SetSearchMenuBitmap((wxBitmap const &)*arg2);
46808 wxPyEndAllowThreads(__tstate);
46809 if (PyErr_Occurred()) SWIG_fail;
46810 }
46811 resultobj = SWIG_Py_Void();
46812 return resultobj;
46813 fail:
46814 return NULL;
46815 }
46816
46817
46818 SWIGINTERN PyObject *_wrap_SearchCtrl_SetCancelBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46819 PyObject *resultobj = 0;
46820 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46821 wxBitmap *arg2 = 0 ;
46822 void *argp1 = 0 ;
46823 int res1 = 0 ;
46824 void *argp2 = 0 ;
46825 int res2 = 0 ;
46826 PyObject * obj0 = 0 ;
46827 PyObject * obj1 = 0 ;
46828 char * kwnames[] = {
46829 (char *) "self",(char *) "bitmap", NULL
46830 };
46831
46832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46834 if (!SWIG_IsOK(res1)) {
46835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46836 }
46837 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46838 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46839 if (!SWIG_IsOK(res2)) {
46840 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46841 }
46842 if (!argp2) {
46843 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46844 }
46845 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46846 {
46847 PyThreadState* __tstate = wxPyBeginAllowThreads();
46848 (arg1)->SetCancelBitmap((wxBitmap const &)*arg2);
46849 wxPyEndAllowThreads(__tstate);
46850 if (PyErr_Occurred()) SWIG_fail;
46851 }
46852 resultobj = SWIG_Py_Void();
46853 return resultobj;
46854 fail:
46855 return NULL;
46856 }
46857
46858
46859 SWIGINTERN PyObject *SearchCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46860 PyObject *obj;
46861 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46862 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl, SWIG_NewClientData(obj));
46863 return SWIG_Py_Void();
46864 }
46865
46866 SWIGINTERN PyObject *SearchCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46867 return SWIG_Python_InitShadowInstance(args);
46868 }
46869
46870 static PyMethodDef SwigMethods[] = {
46871 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
46872 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
46873 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46874 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
46875 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
46876 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46877 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
46878 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
46879 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
46880 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
46881 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46882 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
46883 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
46884 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
46885 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
46886 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
46887 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
46888 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46889 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46890 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46891 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
46892 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
46893 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
46894 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
46895 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
46896 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
46897 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
46898 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
46899 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46900 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
46901 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
46902 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46903 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
46904 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
46905 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
46906 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
46907 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46908 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
46909 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
46910 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
46911 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
46912 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46913 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
46914 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46915 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
46916 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
46917 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
46918 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
46919 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46920 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
46921 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46922 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
46923 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
46924 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
46925 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46926 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
46927 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
46928 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
46929 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
46930 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
46931 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
46932 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46933 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
46934 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
46935 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46936 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
46937 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
46938 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
46939 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
46940 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
46941 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
46942 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
46943 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
46944 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
46945 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46946 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
46947 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
46948 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
46949 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
46950 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46951 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46952 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
46953 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46954 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
46955 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
46956 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
46957 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46958 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
46959 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
46960 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
46961 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46962 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
46963 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
46964 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
46965 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
46966 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46967 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46968 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
46969 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
46970 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
46971 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
46972 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46973 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
46974 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
46975 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46976 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
46977 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
46978 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
46979 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
46980 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46981 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
46982 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46983 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
46984 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
46985 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46986 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
46987 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46988 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
46989 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46990 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46991 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46992 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
46993 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
46994 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
46995 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
46996 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46997 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46998 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
46999 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47000 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47001 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47002 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
47003 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
47004 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
47005 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47006 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
47007 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
47008 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
47009 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47010 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47011 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
47012 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47013 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47014 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47015 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47016 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47017 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
47018 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
47019 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
47020 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
47021 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47022 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
47023 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
47024 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
47025 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
47026 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
47027 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
47028 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
47029 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
47030 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
47031 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47032 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47033 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47034 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
47035 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
47036 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47037 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47038 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
47039 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
47040 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
47041 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
47042 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
47043 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
47044 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
47045 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
47046 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
47047 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
47048 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
47049 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
47050 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
47051 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
47052 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
47053 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
47054 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
47055 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
47056 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
47057 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
47058 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
47059 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
47060 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47061 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
47062 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47063 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
47064 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47065 { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL},
47066 { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
47067 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47068 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
47069 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
47070 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
47071 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
47072 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
47073 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
47074 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
47075 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
47076 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
47077 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
47078 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
47079 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
47080 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
47081 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
47082 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
47083 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
47084 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
47085 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
47086 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
47087 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
47088 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
47089 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47090 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47091 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47092 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
47093 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47094 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
47095 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47096 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47097 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
47098 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
47099 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
47100 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
47101 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
47102 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
47103 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
47104 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
47105 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
47106 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
47107 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
47108 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47109 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
47110 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
47111 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
47112 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47113 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
47114 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
47115 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction) _wrap_TextCtrl_MacCheckSpelling, METH_VARARGS | METH_KEYWORDS, NULL},
47116 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
47117 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
47118 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction)_wrap_TextCtrl_HideNativeCaret, METH_O, NULL},
47119 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
47120 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
47121 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47122 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
47123 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
47124 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47125 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
47126 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
47127 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
47128 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
47129 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
47130 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
47131 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
47132 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47133 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
47134 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
47135 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
47136 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
47137 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
47138 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47139 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47140 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
47141 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
47142 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
47143 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
47144 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47145 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
47146 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
47147 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
47148 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47149 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
47150 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
47151 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47152 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
47153 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47154 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
47155 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
47156 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47157 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
47158 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47159 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
47160 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47161 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
47162 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47163 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
47164 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
47165 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47166 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47167 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
47168 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
47169 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47170 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
47171 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47172 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
47173 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
47174 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
47175 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
47176 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47177 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47178 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
47179 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
47180 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47181 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
47182 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
47183 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
47184 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
47185 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
47186 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
47187 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47188 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
47189 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
47190 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
47191 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
47192 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47193 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47194 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47195 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47196 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47197 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
47198 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
47199 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
47200 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
47201 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47202 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
47203 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47204 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47205 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
47206 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
47207 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
47208 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
47209 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47210 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
47211 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47212 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47213 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
47214 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
47215 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
47216 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
47217 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
47218 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47219 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
47220 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
47221 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
47222 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
47223 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
47224 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
47225 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
47226 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
47227 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
47228 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
47229 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
47230 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47231 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47232 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
47233 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
47234 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
47235 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
47236 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47237 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47238 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
47239 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47240 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
47241 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
47242 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
47243 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
47244 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
47245 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
47246 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47247 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47248 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47249 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47250 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
47251 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47252 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47253 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47254 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
47255 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
47256 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
47257 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
47258 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47259 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
47260 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
47261 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
47262 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
47263 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
47264 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
47265 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
47266 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
47267 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
47268 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47269 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47270 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47271 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47272 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47273 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
47274 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47275 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
47276 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47277 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
47278 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47279 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
47280 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
47281 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
47282 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
47283 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47284 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
47285 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
47286 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
47287 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
47288 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47289 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47290 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47291 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
47292 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
47293 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47294 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
47295 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
47296 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
47297 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
47298 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47299 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
47300 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
47301 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
47302 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47303 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
47304 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
47305 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
47306 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
47307 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47308 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
47309 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
47310 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
47311 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47312 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
47313 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
47314 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
47315 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
47316 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47317 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47318 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47319 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47320 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
47321 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
47322 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
47323 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
47324 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
47325 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
47326 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47327 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
47328 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
47329 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
47330 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
47331 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47332 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
47333 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
47334 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
47335 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
47336 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47337 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
47338 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
47339 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
47340 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
47341 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
47342 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
47343 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
47344 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
47345 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
47346 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
47347 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
47348 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
47349 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
47350 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
47351 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
47352 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
47353 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
47354 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
47355 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
47356 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
47357 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
47358 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47359 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47360 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47361 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47362 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47363 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47364 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
47365 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
47366 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
47367 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47368 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
47369 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
47370 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
47371 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47372 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47373 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
47374 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
47375 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
47376 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
47377 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
47378 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
47379 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
47380 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
47381 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
47382 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
47383 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
47384 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
47385 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47386 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47387 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47388 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
47389 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
47390 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47391 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47392 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47393 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47394 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47395 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
47396 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
47397 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
47398 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
47399 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
47400 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
47401 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
47402 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
47403 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
47404 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
47405 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
47406 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
47407 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
47408 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
47409 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
47410 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47411 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
47412 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
47413 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
47414 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
47415 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
47416 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
47417 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47418 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47419 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
47420 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
47421 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
47422 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
47423 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47424 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47425 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47426 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
47427 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
47428 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
47429 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
47430 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
47431 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
47432 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
47433 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
47434 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
47435 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
47436 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
47437 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
47438 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
47439 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
47440 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
47441 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47442 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47443 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
47444 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
47445 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
47446 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
47447 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
47448 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47449 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
47450 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47451 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47452 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47453 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
47454 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
47455 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
47456 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
47457 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
47458 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
47459 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
47460 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
47461 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
47462 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
47463 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
47464 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
47465 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
47466 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
47467 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
47468 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
47469 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
47470 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
47471 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
47472 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
47473 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
47474 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
47475 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
47476 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
47477 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
47478 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
47479 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
47480 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
47481 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
47482 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
47483 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
47484 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
47485 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
47486 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
47487 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
47488 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
47489 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47490 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
47491 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
47492 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
47493 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
47494 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
47495 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
47496 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
47497 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
47498 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
47499 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
47500 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
47501 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
47502 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
47503 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
47504 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
47505 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
47506 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
47507 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
47508 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
47509 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
47510 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
47511 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
47512 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
47513 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
47514 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
47515 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
47516 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
47517 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47518 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
47519 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47520 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47521 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47522 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47523 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47524 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47525 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
47526 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
47527 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
47528 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47529 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47530 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47531 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
47532 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
47533 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47534 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47535 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47536 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47537 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47538 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47539 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47540 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
47541 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47542 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
47543 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
47544 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
47545 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
47546 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
47547 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47548 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
47549 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47550 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
47551 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47552 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47553 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47554 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
47555 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
47556 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
47557 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
47558 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
47559 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
47560 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
47561 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47562 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
47563 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
47564 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47565 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47566 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47567 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
47568 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47569 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
47570 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47571 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
47572 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47573 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47574 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
47575 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47576 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
47577 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47578 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
47579 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
47580 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47581 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47582 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47583 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47584 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47585 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47586 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
47587 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
47588 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47589 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
47590 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
47591 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
47592 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
47593 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47594 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
47595 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
47596 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
47597 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47598 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
47599 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47600 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47601 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47602 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
47603 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
47604 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
47605 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
47606 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
47607 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
47608 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
47609 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
47610 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
47611 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
47612 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
47613 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47614 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
47615 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
47616 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
47617 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
47618 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47619 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
47620 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
47621 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
47622 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
47623 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
47624 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47625 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
47626 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
47627 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
47628 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47629 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
47630 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
47631 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47632 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
47633 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47634 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
47635 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
47636 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47637 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
47638 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
47639 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
47640 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47641 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
47642 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47643 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47644 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
47645 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
47646 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47647 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
47648 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
47649 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
47650 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
47651 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47652 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47653 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47654 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47655 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47656 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47657 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47658 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
47659 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47660 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47661 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47662 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47663 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47664 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47665 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
47666 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47667 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
47668 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
47669 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47670 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47671 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47672 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47673 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47674 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47675 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47676 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
47677 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
47678 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
47679 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
47680 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
47681 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
47682 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
47683 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
47684 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
47685 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47686 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47687 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
47688 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47689 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47690 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
47691 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
47692 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47693 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
47694 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
47695 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
47696 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47697 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
47698 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
47699 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47700 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
47701 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
47702 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
47703 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
47704 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
47705 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47706 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
47707 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47708 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47709 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47710 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
47711 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47712 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
47713 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47714 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47715 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47716 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
47717 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
47718 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
47719 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47720 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
47721 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
47722 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
47723 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
47724 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47725 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
47726 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47727 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
47728 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
47729 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
47730 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
47731 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
47732 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
47733 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47734 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
47735 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
47736 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
47737 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
47738 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
47739 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
47740 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
47741 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
47742 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
47743 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
47744 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
47745 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
47746 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
47747 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
47748 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47749 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
47750 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47751 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
47752 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
47753 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
47754 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
47755 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
47756 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47757 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
47758 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47759 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
47760 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
47761 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
47762 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
47763 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
47764 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
47765 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
47766 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
47767 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
47768 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
47769 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
47770 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
47771 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47772 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
47773 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47774 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
47775 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
47776 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
47777 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
47778 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
47779 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
47780 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
47781 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
47782 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47783 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
47784 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47785 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
47786 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
47787 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
47788 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
47789 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
47790 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
47791 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
47792 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47793 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
47794 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47795 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47796 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47797 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47798 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
47799 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47800 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
47801 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
47802 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
47803 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
47804 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
47805 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
47806 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
47807 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
47808 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
47809 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
47810 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
47811 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47812 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
47813 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
47814 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
47815 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
47816 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
47817 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
47818 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
47819 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
47820 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47821 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
47822 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
47823 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
47824 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47825 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
47826 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47827 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47828 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
47829 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47830 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
47831 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
47832 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
47833 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
47834 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47835 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
47836 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47837 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
47838 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
47839 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
47840 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
47841 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
47842 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
47843 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
47844 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
47845 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
47846 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
47847 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
47848 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
47849 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47850 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
47851 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
47852 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
47853 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
47854 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
47855 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47856 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
47857 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47858 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
47859 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47860 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
47861 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
47862 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
47863 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
47864 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
47865 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
47866 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
47867 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
47868 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
47869 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47870 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
47871 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47872 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
47873 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47874 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
47875 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
47876 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47877 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
47878 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47879 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
47880 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
47881 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47882 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
47883 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47884 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
47885 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47886 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47887 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
47888 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
47889 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
47890 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47891 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
47892 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47893 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
47894 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47895 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47896 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
47897 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
47898 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
47899 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47900 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
47901 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47902 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
47903 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
47904 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47905 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
47906 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47907 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
47908 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
47909 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
47910 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
47911 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
47912 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
47913 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47914 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
47915 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47916 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
47917 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
47918 { (char *)"new_CollapsiblePane", (PyCFunction) _wrap_new_CollapsiblePane, METH_VARARGS | METH_KEYWORDS, NULL},
47919 { (char *)"new_PreCollapsiblePane", (PyCFunction)_wrap_new_PreCollapsiblePane, METH_NOARGS, NULL},
47920 { (char *)"CollapsiblePane_Create", (PyCFunction) _wrap_CollapsiblePane_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47921 { (char *)"CollapsiblePane_Collapse", (PyCFunction) _wrap_CollapsiblePane_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
47922 { (char *)"CollapsiblePane_Expand", (PyCFunction)_wrap_CollapsiblePane_Expand, METH_O, NULL},
47923 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction)_wrap_CollapsiblePane_IsCollapsed, METH_O, NULL},
47924 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction)_wrap_CollapsiblePane_IsExpanded, METH_O, NULL},
47925 { (char *)"CollapsiblePane_GetPane", (PyCFunction)_wrap_CollapsiblePane_GetPane, METH_O, NULL},
47926 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister, METH_VARARGS, NULL},
47927 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit, METH_VARARGS, NULL},
47928 { (char *)"new_CollapsiblePaneEvent", (PyCFunction) _wrap_new_CollapsiblePaneEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47929 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction)_wrap_CollapsiblePaneEvent_GetCollapsed, METH_O, NULL},
47930 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction) _wrap_CollapsiblePaneEvent_SetCollapsed, METH_VARARGS | METH_KEYWORDS, NULL},
47931 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister, METH_VARARGS, NULL},
47932 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit, METH_VARARGS, NULL},
47933 { (char *)"new_SearchCtrl", (PyCFunction) _wrap_new_SearchCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47934 { (char *)"new_PreSearchCtrl", (PyCFunction)_wrap_new_PreSearchCtrl, METH_NOARGS, NULL},
47935 { (char *)"SearchCtrl_Create", (PyCFunction) _wrap_SearchCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47936 { (char *)"SearchCtrl_SetMenu", (PyCFunction) _wrap_SearchCtrl_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47937 { (char *)"SearchCtrl_GetMenu", (PyCFunction)_wrap_SearchCtrl_GetMenu, METH_O, NULL},
47938 { (char *)"SearchCtrl_SetSearchButtonVisible", (PyCFunction) _wrap_SearchCtrl_SetSearchButtonVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47939 { (char *)"SearchCtrl_GetSearchButtonVisible", (PyCFunction)_wrap_SearchCtrl_GetSearchButtonVisible, METH_O, NULL},
47940 { (char *)"SearchCtrl_SetCancelButtonVisible", (PyCFunction) _wrap_SearchCtrl_SetCancelButtonVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47941 { (char *)"SearchCtrl_GetCancelButtonVisible", (PyCFunction)_wrap_SearchCtrl_GetCancelButtonVisible, METH_O, NULL},
47942 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47943 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchMenuBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47944 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction) _wrap_SearchCtrl_SetCancelBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47945 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister, METH_VARARGS, NULL},
47946 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit, METH_VARARGS, NULL},
47947 { NULL, NULL, 0, NULL }
47948 };
47949
47950
47951 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47952
47953 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
47954 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
47955 }
47956 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
47957 return (void *)((wxEvent *) ((wxMenuEvent *) x));
47958 }
47959 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
47960 return (void *)((wxEvent *) ((wxCloseEvent *) x));
47961 }
47962 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
47963 return (void *)((wxEvent *) ((wxMouseEvent *) x));
47964 }
47965 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
47966 return (void *)((wxEvent *) ((wxEraseEvent *) x));
47967 }
47968 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
47969 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47970 }
47971 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
47972 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47973 }
47974 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
47975 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
47976 }
47977 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
47978 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
47979 }
47980 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
47981 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47982 }
47983 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
47984 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
47985 }
47986 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
47987 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
47988 }
47989 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
47990 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
47991 }
47992 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
47993 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
47994 }
47995 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
47996 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
47997 }
47998 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
47999 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
48000 }
48001 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
48002 return (void *)((wxEvent *) ((wxPyEvent *) x));
48003 }
48004 static void *_p_wxListEventTo_p_wxEvent(void *x) {
48005 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
48006 }
48007 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
48008 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48009 }
48010 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
48011 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48012 }
48013 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
48014 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48015 }
48016 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
48017 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48018 }
48019 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
48020 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48021 }
48022 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
48023 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
48024 }
48025 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
48026 return (void *)((wxEvent *) ((wxIdleEvent *) x));
48027 }
48028 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
48029 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
48030 }
48031 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
48032 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
48033 }
48034 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
48035 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
48036 }
48037 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
48038 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
48039 }
48040 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
48041 return (void *)((wxEvent *) ((wxActivateEvent *) x));
48042 }
48043 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
48044 return (void *)((wxEvent *) ((wxSizeEvent *) x));
48045 }
48046 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
48047 return (void *)((wxEvent *) ((wxMoveEvent *) x));
48048 }
48049 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
48050 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
48051 }
48052 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
48053 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48054 }
48055 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
48056 return (void *)((wxEvent *) ((wxPaintEvent *) x));
48057 }
48058 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
48059 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
48060 }
48061 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
48062 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
48063 }
48064 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
48065 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
48066 }
48067 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
48068 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
48069 }
48070 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
48071 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
48072 }
48073 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
48074 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
48075 }
48076 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
48077 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
48078 }
48079 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
48080 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
48081 }
48082 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
48083 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
48084 }
48085 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
48086 return (void *)((wxEvent *) ((wxFocusEvent *) x));
48087 }
48088 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
48089 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
48090 }
48091 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
48092 return (void *)((wxEvent *) ((wxShowEvent *) x));
48093 }
48094 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
48095 return (void *)((wxEvent *) ((wxCommandEvent *) x));
48096 }
48097 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
48098 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
48099 }
48100 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
48101 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48102 }
48103 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
48104 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
48105 }
48106 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
48107 return (void *)((wxEvent *) ((wxKeyEvent *) x));
48108 }
48109 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
48110 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
48111 }
48112 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
48113 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
48114 }
48115 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
48116 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
48117 }
48118 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
48119 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
48120 }
48121 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
48122 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
48123 }
48124 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
48125 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
48126 }
48127 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
48128 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48129 }
48130 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
48131 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48132 }
48133 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
48134 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
48135 }
48136 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
48137 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
48138 }
48139 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
48140 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
48141 }
48142 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
48143 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48144 }
48145 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
48146 return (void *)((wxPyListCtrl *) ((wxListView *) x));
48147 }
48148 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
48149 return (void *)((wxControl *) ((wxCollapsiblePane *) x));
48150 }
48151 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
48152 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
48153 }
48154 static void *_p_wxToolBarTo_p_wxControl(void *x) {
48155 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
48156 }
48157 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
48158 return (void *)((wxControl *) ((wxPickerBase *) x));
48159 }
48160 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
48161 return (void *)((wxControl *) ((wxToggleButton *) x));
48162 }
48163 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
48164 return (void *)((wxControl *) ((wxRadioButton *) x));
48165 }
48166 static void *_p_wxSearchCtrlTo_p_wxControl(void *x) {
48167 return (void *)((wxControl *) (wxTextCtrl *) ((wxSearchCtrl *) x));
48168 }
48169 static void *_p_wxToolbookTo_p_wxControl(void *x) {
48170 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
48171 }
48172 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
48173 return (void *)((wxControl *) ((wxToolBarBase *) x));
48174 }
48175 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
48176 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48177 }
48178 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
48179 return (void *)((wxControl *) ((wxPyListCtrl *) x));
48180 }
48181 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
48182 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48183 }
48184 static void *_p_wxPyControlTo_p_wxControl(void *x) {
48185 return (void *)((wxControl *) ((wxPyControl *) x));
48186 }
48187 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
48188 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
48189 }
48190 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
48191 return (void *)((wxControl *) ((wxScrollBar *) x));
48192 }
48193 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
48194 return (void *)((wxControl *) ((wxControlWithItems *) x));
48195 }
48196 static void *_p_wxGaugeTo_p_wxControl(void *x) {
48197 return (void *)((wxControl *) ((wxGauge *) x));
48198 }
48199 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
48200 return (void *)((wxControl *) ((wxStaticLine *) x));
48201 }
48202 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
48203 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
48204 }
48205 static void *_p_wxListbookTo_p_wxControl(void *x) {
48206 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
48207 }
48208 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
48209 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
48210 }
48211 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
48212 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
48213 }
48214 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
48215 return (void *)((wxControl *) ((wxCheckBox *) x));
48216 }
48217 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
48218 return (void *)((wxControl *) ((wxRadioBox *) x));
48219 }
48220 static void *_p_wxChoiceTo_p_wxControl(void *x) {
48221 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
48222 }
48223 static void *_p_wxListBoxTo_p_wxControl(void *x) {
48224 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
48225 }
48226 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
48227 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48228 }
48229 static void *_p_wxListViewTo_p_wxControl(void *x) {
48230 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
48231 }
48232 static void *_p_wxNotebookTo_p_wxControl(void *x) {
48233 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
48234 }
48235 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
48236 return (void *)((wxControl *) ((wxStaticBitmap *) x));
48237 }
48238 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
48239 return (void *)((wxControl *) ((wxSpinCtrl *) x));
48240 }
48241 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
48242 return (void *)((wxControl *) ((wxStaticText *) x));
48243 }
48244 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
48245 return (void *)((wxControl *) ((wxStaticBox *) x));
48246 }
48247 static void *_p_wxSliderTo_p_wxControl(void *x) {
48248 return (void *)((wxControl *) ((wxSlider *) x));
48249 }
48250 static void *_p_wxTreebookTo_p_wxControl(void *x) {
48251 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
48252 }
48253 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
48254 return (void *)((wxControl *) ((wxSpinButton *) x));
48255 }
48256 static void *_p_wxButtonTo_p_wxControl(void *x) {
48257 return (void *)((wxControl *) ((wxButton *) x));
48258 }
48259 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
48260 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
48261 }
48262 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
48263 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48264 }
48265 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
48266 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
48267 }
48268 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
48269 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
48270 }
48271 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
48272 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
48273 }
48274 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
48275 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
48276 }
48277 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
48278 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
48279 }
48280 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
48281 return (void *)((wxControl *) ((wxTextCtrl *) x));
48282 }
48283 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
48284 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
48285 }
48286 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
48287 return (void *)((wxChoice *) ((wxComboBox *) x));
48288 }
48289 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
48290 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
48291 }
48292 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x) {
48293 return (void *)((wxTextCtrl *) ((wxSearchCtrl *) x));
48294 }
48295 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
48296 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48297 }
48298 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
48299 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
48300 }
48301 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
48302 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
48303 }
48304 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
48305 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
48306 }
48307 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
48308 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48309 }
48310 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
48311 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48312 }
48313 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
48314 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48315 }
48316 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
48317 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48318 }
48319 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
48320 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48321 }
48322 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
48323 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
48324 }
48325 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
48326 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
48327 }
48328 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
48329 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
48330 }
48331 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
48332 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
48333 }
48334 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
48335 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
48336 }
48337 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
48338 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
48339 }
48340 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
48341 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
48342 }
48343 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
48344 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48345 }
48346 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
48347 return (void *)((wxEvtHandler *) ((wxValidator *) x));
48348 }
48349 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
48350 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
48351 }
48352 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
48353 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48354 }
48355 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
48356 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
48357 }
48358 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
48359 return (void *)((wxEvtHandler *) ((wxMenu *) x));
48360 }
48361 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
48362 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
48363 }
48364 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
48365 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
48366 }
48367 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x) {
48368 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48369 }
48370 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
48371 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48372 }
48373 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
48374 return (void *)((wxEvtHandler *) ((wxWindow *) x));
48375 }
48376 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
48377 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
48378 }
48379 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
48380 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48381 }
48382 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
48383 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
48384 }
48385 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
48386 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
48387 }
48388 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
48389 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48390 }
48391 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
48392 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
48393 }
48394 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
48395 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
48396 }
48397 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
48398 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
48399 }
48400 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
48401 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
48402 }
48403 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
48404 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48405 }
48406 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
48407 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
48408 }
48409 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
48410 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
48411 }
48412 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
48413 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48414 }
48415 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
48416 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48417 }
48418 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
48419 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48420 }
48421 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
48422 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
48423 }
48424 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
48425 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
48426 }
48427 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
48428 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
48429 }
48430 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
48431 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48432 }
48433 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
48434 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48435 }
48436 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
48437 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48438 }
48439 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
48440 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48441 }
48442 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
48443 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
48444 }
48445 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
48446 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48447 }
48448 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
48449 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
48450 }
48451 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
48452 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
48453 }
48454 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
48455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
48456 }
48457 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
48458 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
48459 }
48460 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
48461 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48462 }
48463 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
48464 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
48465 }
48466 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
48467 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
48468 }
48469 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
48470 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48471 }
48472 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
48473 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48474 }
48475 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
48476 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48477 }
48478 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
48479 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48480 }
48481 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
48482 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48483 }
48484 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
48485 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48486 }
48487 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
48488 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48489 }
48490 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
48491 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
48492 }
48493 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
48494 return (void *)((wxListBox *) ((wxCheckListBox *) x));
48495 }
48496 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
48497 return (void *)((wxButton *) ((wxBitmapButton *) x));
48498 }
48499 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
48500 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
48501 }
48502 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
48503 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
48504 }
48505 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
48506 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
48507 }
48508 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
48509 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
48510 }
48511 static void *_p_wxToolbookTo_p_wxObject(void *x) {
48512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48513 }
48514 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
48515 return (void *)((wxObject *) ((wxSizerItem *) x));
48516 }
48517 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
48518 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
48519 }
48520 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
48521 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
48522 }
48523 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
48524 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
48525 }
48526 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
48527 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
48528 }
48529 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
48530 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
48531 }
48532 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
48533 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
48534 }
48535 static void *_p_wxSizerTo_p_wxObject(void *x) {
48536 return (void *)((wxObject *) ((wxSizer *) x));
48537 }
48538 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
48539 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
48540 }
48541 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
48542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
48543 }
48544 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
48545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
48546 }
48547 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
48548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
48549 }
48550 static void *_p_wxEventTo_p_wxObject(void *x) {
48551 return (void *)((wxObject *) ((wxEvent *) x));
48552 }
48553 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
48554 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
48555 }
48556 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
48557 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
48558 }
48559 static void *_p_wxSearchCtrlTo_p_wxObject(void *x) {
48560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48561 }
48562 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
48563 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
48564 }
48565 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
48566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
48567 }
48568 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
48569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
48570 }
48571 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
48572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
48573 }
48574 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
48575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48576 }
48577 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
48578 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
48579 }
48580 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
48581 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
48582 }
48583 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
48584 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
48585 }
48586 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
48587 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
48588 }
48589 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
48590 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
48591 }
48592 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
48593 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
48594 }
48595 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
48596 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
48597 }
48598 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
48599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
48600 }
48601 static void *_p_wxControlTo_p_wxObject(void *x) {
48602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
48603 }
48604 static void *_p_wxPyControlTo_p_wxObject(void *x) {
48605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
48606 }
48607 static void *_p_wxGaugeTo_p_wxObject(void *x) {
48608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
48609 }
48610 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
48611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
48612 }
48613 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
48614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
48615 }
48616 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
48617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
48618 }
48619 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
48620 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
48621 }
48622 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
48623 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
48624 }
48625 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
48626 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
48627 }
48628 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
48629 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
48630 }
48631 static void *_p_wxChoiceTo_p_wxObject(void *x) {
48632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48633 }
48634 static void *_p_wxFSFileTo_p_wxObject(void *x) {
48635 return (void *)((wxObject *) ((wxFSFile *) x));
48636 }
48637 static void *_p_wxPySizerTo_p_wxObject(void *x) {
48638 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
48639 }
48640 static void *_p_wxTreebookTo_p_wxObject(void *x) {
48641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48642 }
48643 static void *_p_wxListViewTo_p_wxObject(void *x) {
48644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48645 }
48646 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
48647 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
48648 }
48649 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
48650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
48651 }
48652 static void *_p_wxNotebookTo_p_wxObject(void *x) {
48653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48654 }
48655 static void *_p_wxPyEventTo_p_wxObject(void *x) {
48656 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
48657 }
48658 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
48659 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
48660 }
48661 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
48662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48663 }
48664 static void *_p_wxListbookTo_p_wxObject(void *x) {
48665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48666 }
48667 static void *_p_wxShowEventTo_p_wxObject(void *x) {
48668 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
48669 }
48670 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
48671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
48672 }
48673 static void *_p_wxSliderTo_p_wxObject(void *x) {
48674 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
48675 }
48676 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
48677 return (void *)((wxObject *) ((wxMenuItem *) x));
48678 }
48679 static void *_p_wxDateEventTo_p_wxObject(void *x) {
48680 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
48681 }
48682 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
48683 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
48684 }
48685 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
48686 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
48687 }
48688 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
48689 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
48690 }
48691 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
48692 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
48693 }
48694 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
48695 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
48696 }
48697 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
48698 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
48699 }
48700 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
48701 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
48702 }
48703 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
48704 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
48705 }
48706 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
48707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
48708 }
48709 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
48710 return (void *)((wxObject *) ((wxContextHelp *) x));
48711 }
48712 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
48713 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48714 }
48715 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
48716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48717 }
48718 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
48719 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
48720 }
48721 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
48722 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
48723 }
48724 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
48725 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
48726 }
48727 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
48728 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
48729 }
48730 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
48731 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
48732 }
48733 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
48734 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
48735 }
48736 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
48737 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
48738 }
48739 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
48740 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
48741 }
48742 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
48743 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
48744 }
48745 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
48746 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
48747 }
48748 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
48749 return (void *)((wxObject *) ((wxImageHandler *) x));
48750 }
48751 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
48752 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
48753 }
48754 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
48755 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
48756 }
48757 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
48758 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
48759 }
48760 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
48761 return (void *)((wxObject *) ((wxEvtHandler *) x));
48762 }
48763 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
48764 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
48765 }
48766 static void *_p_wxListEventTo_p_wxObject(void *x) {
48767 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
48768 }
48769 static void *_p_wxListBoxTo_p_wxObject(void *x) {
48770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48771 }
48772 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
48773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48774 }
48775 static void *_p_wxButtonTo_p_wxObject(void *x) {
48776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
48777 }
48778 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
48779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48780 }
48781 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
48782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
48783 }
48784 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
48785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48786 }
48787 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
48788 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
48789 }
48790 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
48791 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
48792 }
48793 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
48794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
48795 }
48796 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
48797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
48798 }
48799 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
48800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48801 }
48802 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
48803 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
48804 }
48805 static void *_p_wxListItemTo_p_wxObject(void *x) {
48806 return (void *)((wxObject *) ((wxListItem *) x));
48807 }
48808 static void *_p_wxImageTo_p_wxObject(void *x) {
48809 return (void *)((wxObject *) ((wxImage *) x));
48810 }
48811 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
48812 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
48813 }
48814 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
48815 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
48816 }
48817 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
48818 return (void *)((wxObject *) ((wxGenericDragImage *) x));
48819 }
48820 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
48821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
48822 }
48823 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
48824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48825 }
48826 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
48827 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48828 }
48829 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
48830 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48831 }
48832 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
48833 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48834 }
48835 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
48836 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48837 }
48838 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
48839 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48840 }
48841 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
48842 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
48843 }
48844 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
48845 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
48846 }
48847 static void *_p_wxWindowTo_p_wxObject(void *x) {
48848 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
48849 }
48850 static void *_p_wxMenuTo_p_wxObject(void *x) {
48851 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
48852 }
48853 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
48854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
48855 }
48856 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
48857 return (void *)((wxObject *) ((wxFileSystem *) x));
48858 }
48859 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
48860 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
48861 }
48862 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
48863 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
48864 }
48865 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
48866 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
48867 }
48868 static void *_p_wxPyAppTo_p_wxObject(void *x) {
48869 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
48870 }
48871 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
48872 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
48873 }
48874 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
48875 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
48876 }
48877 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
48878 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
48879 }
48880 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
48881 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48882 }
48883 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
48884 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
48885 }
48886 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
48887 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
48888 }
48889 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
48890 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
48891 }
48892 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
48893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
48894 }
48895 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
48896 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
48897 }
48898 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
48899 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
48900 }
48901 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
48902 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
48903 }
48904 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
48905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48906 }
48907 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
48908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48909 }
48910 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
48911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48912 }
48913 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
48914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48915 }
48916 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
48917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48918 }
48919 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
48920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48921 }
48922 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
48923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48924 }
48925 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
48926 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
48927 }
48928 static void *_p_wxToolBarTo_p_wxObject(void *x) {
48929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48930 }
48931 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
48932 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
48933 }
48934 static void *_p_wxValidatorTo_p_wxObject(void *x) {
48935 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
48936 }
48937 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
48938 return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
48939 }
48940 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
48941 return (void *)((wxWindow *) ((wxMenuBar *) x));
48942 }
48943 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
48944 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
48945 }
48946 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
48947 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48948 }
48949 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
48950 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
48951 }
48952 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
48953 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
48954 }
48955 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
48956 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
48957 }
48958 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x) {
48959 return (void *)((wxWindow *) (wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48960 }
48961 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
48962 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48963 }
48964 static void *_p_wxControlTo_p_wxWindow(void *x) {
48965 return (void *)((wxWindow *) ((wxControl *) x));
48966 }
48967 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
48968 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
48969 }
48970 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
48971 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
48972 }
48973 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
48974 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48975 }
48976 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
48977 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48978 }
48979 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
48980 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
48981 }
48982 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
48983 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
48984 }
48985 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
48986 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
48987 }
48988 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
48989 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
48990 }
48991 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
48992 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
48993 }
48994 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
48995 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
48996 }
48997 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
48998 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48999 }
49000 static void *_p_wxListbookTo_p_wxWindow(void *x) {
49001 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
49002 }
49003 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
49004 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
49005 }
49006 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
49007 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
49008 }
49009 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
49010 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
49011 }
49012 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
49013 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
49014 }
49015 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
49016 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
49017 }
49018 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
49019 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
49020 }
49021 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
49022 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
49023 }
49024 static void *_p_wxListViewTo_p_wxWindow(void *x) {
49025 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
49026 }
49027 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
49028 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
49029 }
49030 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
49031 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
49032 }
49033 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
49034 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
49035 }
49036 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
49037 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
49038 }
49039 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
49040 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
49041 }
49042 static void *_p_wxSliderTo_p_wxWindow(void *x) {
49043 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
49044 }
49045 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
49046 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
49047 }
49048 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
49049 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
49050 }
49051 static void *_p_wxButtonTo_p_wxWindow(void *x) {
49052 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
49053 }
49054 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
49055 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
49056 }
49057 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
49058 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
49059 }
49060 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
49061 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
49062 }
49063 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
49064 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
49065 }
49066 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
49067 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
49068 }
49069 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
49070 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
49071 }
49072 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
49073 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
49074 }
49075 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
49076 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
49077 }
49078 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49079 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49080 }
49081 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49082 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49083 }
49084 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49085 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49086 }
49087 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49088 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49089 }
49090 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49091 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49092 }
49093 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
49094 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
49095 }
49096 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
49097 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
49098 }
49099 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
49100 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
49101 }
49102 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
49103 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
49104 }
49105 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
49106 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
49107 }
49108 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
49109 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
49110 }
49111 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
49112 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
49113 }
49114 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
49115 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
49116 }
49117 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
49118 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
49119 }
49120 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
49121 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
49122 }
49123 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
49124 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
49125 }
49126 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
49127 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49128 }
49129 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
49130 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49131 }
49132 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
49133 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49134 }
49135 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
49136 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49137 }
49138 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
49139 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49140 }
49141 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
49142 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
49143 }
49144 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
49145 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
49146 }
49147 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
49148 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
49149 }
49150 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
49151 return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
49152 }
49153 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
49154 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
49155 }
49156 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
49157 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
49158 }
49159 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
49160 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
49161 }
49162 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
49163 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
49164 }
49165 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
49166 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
49167 }
49168 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
49169 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
49170 }
49171 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
49172 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
49173 }
49174 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
49175 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
49176 }
49177 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
49178 return (void *)((wxControlWithItems *) ((wxChoice *) x));
49179 }
49180 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
49181 return (void *)((wxControlWithItems *) ((wxListBox *) x));
49182 }
49183 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
49184 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
49185 }
49186 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
49187 return (void *)((wxValidator *) ((wxPyValidator *) x));
49188 }
49189 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49190 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
49191 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};
49192 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
49193 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
49194 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49195 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49196 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49197 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
49198 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49199 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49200 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49201 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49202 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49203 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49204 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49205 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49206 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49207 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49208 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49209 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49210 static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49211 static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49212 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49213 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49214 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49215 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49216 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49217 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49218 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49219 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49220 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49221 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49222 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49223 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49224 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49225 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49226 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49227 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49228 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49229 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49230 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49231 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49232 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49233 static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49234 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49235 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49236 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49237 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49238 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49239 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49240 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49241 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49242 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49243 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49244 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49245 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49246 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49247 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49248 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49249 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49250 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49251 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49252 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49253 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49254 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49255 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49256 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49257 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49258 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49259 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49260 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49261 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49262 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49263 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49264 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49265 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49266 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
49267 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49268 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49269 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49270 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49271 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49272 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49273 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49274 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49275 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49276 static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49277 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49278 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49279 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49280 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49281 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49282 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49283 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49284 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49285 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49286 static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49287 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49288 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49289 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49290 static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49291 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49292 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49293 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49294 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49295 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49296 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49297 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49298 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49299 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49300 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49301 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49302 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49303 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
49304 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49305 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49306 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49307 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
49308 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
49309 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49310 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49311 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49312 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49313 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49314 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49315 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49316 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49317 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49318 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49319 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49320 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49321 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49322 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49323 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49324 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49325 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49326 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
49327 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49328 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49329 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49330 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49331 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49332 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49333 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49334 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49335 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49336 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49337 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49338 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49339 static swig_type_info _swigt__p_wxSearchCtrl = {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49340 static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49341 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49342 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49343 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49344 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49345 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49346 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49347 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49348 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49349 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49350 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49351 static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49352 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49353 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49354 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49355 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49356 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49357 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49358 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49359 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49360 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49361 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49362 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49363 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49364 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49365 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49366 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49367 static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49368
49369 static swig_type_info *swig_type_initial[] = {
49370 &_swigt__p_bool,
49371 &_swigt__p_char,
49372 &_swigt__p_form_ops_t,
49373 &_swigt__p_int,
49374 &_swigt__p_long,
49375 &_swigt__p_unsigned_char,
49376 &_swigt__p_unsigned_int,
49377 &_swigt__p_unsigned_long,
49378 &_swigt__p_void,
49379 &_swigt__p_wxANIHandler,
49380 &_swigt__p_wxAcceleratorTable,
49381 &_swigt__p_wxActivateEvent,
49382 &_swigt__p_wxArrayInt,
49383 &_swigt__p_wxArrayString,
49384 &_swigt__p_wxBMPHandler,
49385 &_swigt__p_wxBitmap,
49386 &_swigt__p_wxBitmapButton,
49387 &_swigt__p_wxBookCtrlBase,
49388 &_swigt__p_wxBookCtrlBaseEvent,
49389 &_swigt__p_wxBoxSizer,
49390 &_swigt__p_wxButton,
49391 &_swigt__p_wxCURHandler,
49392 &_swigt__p_wxCheckBox,
49393 &_swigt__p_wxCheckListBox,
49394 &_swigt__p_wxChildFocusEvent,
49395 &_swigt__p_wxChoice,
49396 &_swigt__p_wxChoicebook,
49397 &_swigt__p_wxChoicebookEvent,
49398 &_swigt__p_wxClipboardTextEvent,
49399 &_swigt__p_wxCloseEvent,
49400 &_swigt__p_wxCollapsiblePane,
49401 &_swigt__p_wxCollapsiblePaneEvent,
49402 &_swigt__p_wxColour,
49403 &_swigt__p_wxColourPickerCtrl,
49404 &_swigt__p_wxColourPickerEvent,
49405 &_swigt__p_wxComboBox,
49406 &_swigt__p_wxCommandEvent,
49407 &_swigt__p_wxContextHelp,
49408 &_swigt__p_wxContextHelpButton,
49409 &_swigt__p_wxContextMenuEvent,
49410 &_swigt__p_wxControl,
49411 &_swigt__p_wxControlWithItems,
49412 &_swigt__p_wxCursor,
49413 &_swigt__p_wxDC,
49414 &_swigt__p_wxDateEvent,
49415 &_swigt__p_wxDatePickerCtrl,
49416 &_swigt__p_wxDateTime,
49417 &_swigt__p_wxDirFilterListCtrl,
49418 &_swigt__p_wxDirPickerCtrl,
49419 &_swigt__p_wxDisplayChangedEvent,
49420 &_swigt__p_wxDropFilesEvent,
49421 &_swigt__p_wxDuplexMode,
49422 &_swigt__p_wxEraseEvent,
49423 &_swigt__p_wxEvent,
49424 &_swigt__p_wxEvtHandler,
49425 &_swigt__p_wxFSFile,
49426 &_swigt__p_wxFileDirPickerEvent,
49427 &_swigt__p_wxFilePickerCtrl,
49428 &_swigt__p_wxFileSystem,
49429 &_swigt__p_wxFlexGridSizer,
49430 &_swigt__p_wxFocusEvent,
49431 &_swigt__p_wxFont,
49432 &_swigt__p_wxFontPickerCtrl,
49433 &_swigt__p_wxFontPickerEvent,
49434 &_swigt__p_wxGBSizerItem,
49435 &_swigt__p_wxGIFHandler,
49436 &_swigt__p_wxGauge,
49437 &_swigt__p_wxGenericDirCtrl,
49438 &_swigt__p_wxGenericDragImage,
49439 &_swigt__p_wxGridBagSizer,
49440 &_swigt__p_wxGridSizer,
49441 &_swigt__p_wxHelpEvent,
49442 &_swigt__p_wxHelpProvider,
49443 &_swigt__p_wxHyperlinkCtrl,
49444 &_swigt__p_wxHyperlinkEvent,
49445 &_swigt__p_wxICOHandler,
49446 &_swigt__p_wxIcon,
49447 &_swigt__p_wxIconizeEvent,
49448 &_swigt__p_wxIdleEvent,
49449 &_swigt__p_wxImage,
49450 &_swigt__p_wxImageHandler,
49451 &_swigt__p_wxImageList,
49452 &_swigt__p_wxIndividualLayoutConstraint,
49453 &_swigt__p_wxInitDialogEvent,
49454 &_swigt__p_wxItemContainer,
49455 &_swigt__p_wxJPEGHandler,
49456 &_swigt__p_wxKeyEvent,
49457 &_swigt__p_wxLayoutConstraints,
49458 &_swigt__p_wxListBox,
49459 &_swigt__p_wxListEvent,
49460 &_swigt__p_wxListItem,
49461 &_swigt__p_wxListItemAttr,
49462 &_swigt__p_wxListView,
49463 &_swigt__p_wxListbook,
49464 &_swigt__p_wxListbookEvent,
49465 &_swigt__p_wxMaximizeEvent,
49466 &_swigt__p_wxMemoryDC,
49467 &_swigt__p_wxMenu,
49468 &_swigt__p_wxMenuBar,
49469 &_swigt__p_wxMenuEvent,
49470 &_swigt__p_wxMenuItem,
49471 &_swigt__p_wxMouseCaptureChangedEvent,
49472 &_swigt__p_wxMouseCaptureLostEvent,
49473 &_swigt__p_wxMouseEvent,
49474 &_swigt__p_wxMoveEvent,
49475 &_swigt__p_wxNavigationKeyEvent,
49476 &_swigt__p_wxNcPaintEvent,
49477 &_swigt__p_wxNotebook,
49478 &_swigt__p_wxNotebookEvent,
49479 &_swigt__p_wxNotifyEvent,
49480 &_swigt__p_wxObject,
49481 &_swigt__p_wxPCXHandler,
49482 &_swigt__p_wxPNGHandler,
49483 &_swigt__p_wxPNMHandler,
49484 &_swigt__p_wxPaintEvent,
49485 &_swigt__p_wxPaletteChangedEvent,
49486 &_swigt__p_wxPaperSize,
49487 &_swigt__p_wxPickerBase,
49488 &_swigt__p_wxPoint,
49489 &_swigt__p_wxPyApp,
49490 &_swigt__p_wxPyCommandEvent,
49491 &_swigt__p_wxPyControl,
49492 &_swigt__p_wxPyEvent,
49493 &_swigt__p_wxPyImageHandler,
49494 &_swigt__p_wxPyListCtrl,
49495 &_swigt__p_wxPySizer,
49496 &_swigt__p_wxPyTreeCtrl,
49497 &_swigt__p_wxPyTreeItemData,
49498 &_swigt__p_wxPyValidator,
49499 &_swigt__p_wxQueryNewPaletteEvent,
49500 &_swigt__p_wxRadioBox,
49501 &_swigt__p_wxRadioButton,
49502 &_swigt__p_wxRect,
49503 &_swigt__p_wxScrollBar,
49504 &_swigt__p_wxScrollEvent,
49505 &_swigt__p_wxScrollWinEvent,
49506 &_swigt__p_wxSearchCtrl,
49507 &_swigt__p_wxSetCursorEvent,
49508 &_swigt__p_wxShowEvent,
49509 &_swigt__p_wxSimpleHelpProvider,
49510 &_swigt__p_wxSize,
49511 &_swigt__p_wxSizeEvent,
49512 &_swigt__p_wxSizer,
49513 &_swigt__p_wxSizerItem,
49514 &_swigt__p_wxSlider,
49515 &_swigt__p_wxSpinButton,
49516 &_swigt__p_wxSpinCtrl,
49517 &_swigt__p_wxSpinEvent,
49518 &_swigt__p_wxStaticBitmap,
49519 &_swigt__p_wxStaticBox,
49520 &_swigt__p_wxStaticBoxSizer,
49521 &_swigt__p_wxStaticLine,
49522 &_swigt__p_wxStaticText,
49523 &_swigt__p_wxStdDialogButtonSizer,
49524 &_swigt__p_wxString,
49525 &_swigt__p_wxSysColourChangedEvent,
49526 &_swigt__p_wxTGAHandler,
49527 &_swigt__p_wxTIFFHandler,
49528 &_swigt__p_wxTextAttr,
49529 &_swigt__p_wxTextCtrl,
49530 &_swigt__p_wxTextUrlEvent,
49531 &_swigt__p_wxToggleButton,
49532 &_swigt__p_wxToolBar,
49533 &_swigt__p_wxToolBarBase,
49534 &_swigt__p_wxToolBarToolBase,
49535 &_swigt__p_wxToolbook,
49536 &_swigt__p_wxToolbookEvent,
49537 &_swigt__p_wxTreeEvent,
49538 &_swigt__p_wxTreeItemId,
49539 &_swigt__p_wxTreebook,
49540 &_swigt__p_wxTreebookEvent,
49541 &_swigt__p_wxUpdateUIEvent,
49542 &_swigt__p_wxValidator,
49543 &_swigt__p_wxVisualAttributes,
49544 &_swigt__p_wxWindow,
49545 &_swigt__p_wxWindowBase,
49546 &_swigt__p_wxWindowCreateEvent,
49547 &_swigt__p_wxWindowDestroyEvent,
49548 &_swigt__p_wxXPMHandler,
49549 };
49550
49551 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
49552 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
49553 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
49554 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
49555 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
49556 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
49557 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
49558 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
49559 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
49560 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
49561 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
49562 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
49563 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}};
49564 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}};
49565 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}};
49566 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}};
49567 static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
49568 static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
49569 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}};
49570 static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
49571 static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49572 static swig_cast_info _swigc__p_wxCollapsiblePane[] = { {&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
49573 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = { {&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
49574 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
49575 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49576 static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
49577 static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
49578 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
49579 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
49580 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
49581 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
49582 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
49583 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
49584 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
49585 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
49586 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
49587 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
49588 static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
49589 static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
49590 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxControl, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
49591 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}};
49592 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
49593 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
49594 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49595 static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
49596 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
49597 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49598 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
49599 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
49600 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
49601 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
49602 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
49603 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
49604 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
49605 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
49606 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
49607 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49608 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49609 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
49610 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49611 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
49612 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
49613 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
49614 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
49615 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49616 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49617 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49618 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49619 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
49620 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
49621 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
49622 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
49623 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
49624 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
49625 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
49626 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
49627 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
49628 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
49629 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
49630 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49631 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
49632 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49633 static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
49634 static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
49635 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
49636 static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
49637 static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
49638 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}};
49639 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
49640 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
49641 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
49642 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
49643 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}};
49644 static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
49645 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}};
49646 static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
49647 static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
49648 static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
49649 static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
49650 static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
49651 static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
49652 static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
49653 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
49654 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
49655 static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
49656 static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49657 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}};
49658 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
49659 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
49660 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
49661 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
49662 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
49663 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
49664 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
49665 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
49666 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
49667 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
49668 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
49669 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
49670 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
49671 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
49672 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
49673 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
49674 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
49675 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
49676 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
49677 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
49678 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
49679 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
49680 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
49681 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
49682 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
49683 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
49684 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
49685 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
49686 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
49687 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
49688 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
49689 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_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
49690 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
49691 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}};
49692 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
49693 static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
49694 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}};
49695 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
49696 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
49697 static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
49698 static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
49699 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
49700 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
49701 static swig_cast_info _swigc__p_wxSearchCtrl[] = { {&_swigt__p_wxSearchCtrl, 0, 0, 0},{0, 0, 0, 0}};
49702 static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
49703 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
49704 static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
49705 static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
49706 static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
49707 static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
49708 static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
49709 static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
49710 static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
49711 static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
49712 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
49713 static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
49714 static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxTextCtrl, 0, 0},{0, 0, 0, 0}};
49715 static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
49716 static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
49717 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
49718 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}};
49719 static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
49720 static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
49721 static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
49722 static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
49723 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
49724 static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
49725 static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49726 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}};
49727 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
49728 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
49729 static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
49730
49731 static swig_cast_info *swig_cast_initial[] = {
49732 _swigc__p_bool,
49733 _swigc__p_char,
49734 _swigc__p_form_ops_t,
49735 _swigc__p_int,
49736 _swigc__p_long,
49737 _swigc__p_unsigned_char,
49738 _swigc__p_unsigned_int,
49739 _swigc__p_unsigned_long,
49740 _swigc__p_void,
49741 _swigc__p_wxANIHandler,
49742 _swigc__p_wxAcceleratorTable,
49743 _swigc__p_wxActivateEvent,
49744 _swigc__p_wxArrayInt,
49745 _swigc__p_wxArrayString,
49746 _swigc__p_wxBMPHandler,
49747 _swigc__p_wxBitmap,
49748 _swigc__p_wxBitmapButton,
49749 _swigc__p_wxBookCtrlBase,
49750 _swigc__p_wxBookCtrlBaseEvent,
49751 _swigc__p_wxBoxSizer,
49752 _swigc__p_wxButton,
49753 _swigc__p_wxCURHandler,
49754 _swigc__p_wxCheckBox,
49755 _swigc__p_wxCheckListBox,
49756 _swigc__p_wxChildFocusEvent,
49757 _swigc__p_wxChoice,
49758 _swigc__p_wxChoicebook,
49759 _swigc__p_wxChoicebookEvent,
49760 _swigc__p_wxClipboardTextEvent,
49761 _swigc__p_wxCloseEvent,
49762 _swigc__p_wxCollapsiblePane,
49763 _swigc__p_wxCollapsiblePaneEvent,
49764 _swigc__p_wxColour,
49765 _swigc__p_wxColourPickerCtrl,
49766 _swigc__p_wxColourPickerEvent,
49767 _swigc__p_wxComboBox,
49768 _swigc__p_wxCommandEvent,
49769 _swigc__p_wxContextHelp,
49770 _swigc__p_wxContextHelpButton,
49771 _swigc__p_wxContextMenuEvent,
49772 _swigc__p_wxControl,
49773 _swigc__p_wxControlWithItems,
49774 _swigc__p_wxCursor,
49775 _swigc__p_wxDC,
49776 _swigc__p_wxDateEvent,
49777 _swigc__p_wxDatePickerCtrl,
49778 _swigc__p_wxDateTime,
49779 _swigc__p_wxDirFilterListCtrl,
49780 _swigc__p_wxDirPickerCtrl,
49781 _swigc__p_wxDisplayChangedEvent,
49782 _swigc__p_wxDropFilesEvent,
49783 _swigc__p_wxDuplexMode,
49784 _swigc__p_wxEraseEvent,
49785 _swigc__p_wxEvent,
49786 _swigc__p_wxEvtHandler,
49787 _swigc__p_wxFSFile,
49788 _swigc__p_wxFileDirPickerEvent,
49789 _swigc__p_wxFilePickerCtrl,
49790 _swigc__p_wxFileSystem,
49791 _swigc__p_wxFlexGridSizer,
49792 _swigc__p_wxFocusEvent,
49793 _swigc__p_wxFont,
49794 _swigc__p_wxFontPickerCtrl,
49795 _swigc__p_wxFontPickerEvent,
49796 _swigc__p_wxGBSizerItem,
49797 _swigc__p_wxGIFHandler,
49798 _swigc__p_wxGauge,
49799 _swigc__p_wxGenericDirCtrl,
49800 _swigc__p_wxGenericDragImage,
49801 _swigc__p_wxGridBagSizer,
49802 _swigc__p_wxGridSizer,
49803 _swigc__p_wxHelpEvent,
49804 _swigc__p_wxHelpProvider,
49805 _swigc__p_wxHyperlinkCtrl,
49806 _swigc__p_wxHyperlinkEvent,
49807 _swigc__p_wxICOHandler,
49808 _swigc__p_wxIcon,
49809 _swigc__p_wxIconizeEvent,
49810 _swigc__p_wxIdleEvent,
49811 _swigc__p_wxImage,
49812 _swigc__p_wxImageHandler,
49813 _swigc__p_wxImageList,
49814 _swigc__p_wxIndividualLayoutConstraint,
49815 _swigc__p_wxInitDialogEvent,
49816 _swigc__p_wxItemContainer,
49817 _swigc__p_wxJPEGHandler,
49818 _swigc__p_wxKeyEvent,
49819 _swigc__p_wxLayoutConstraints,
49820 _swigc__p_wxListBox,
49821 _swigc__p_wxListEvent,
49822 _swigc__p_wxListItem,
49823 _swigc__p_wxListItemAttr,
49824 _swigc__p_wxListView,
49825 _swigc__p_wxListbook,
49826 _swigc__p_wxListbookEvent,
49827 _swigc__p_wxMaximizeEvent,
49828 _swigc__p_wxMemoryDC,
49829 _swigc__p_wxMenu,
49830 _swigc__p_wxMenuBar,
49831 _swigc__p_wxMenuEvent,
49832 _swigc__p_wxMenuItem,
49833 _swigc__p_wxMouseCaptureChangedEvent,
49834 _swigc__p_wxMouseCaptureLostEvent,
49835 _swigc__p_wxMouseEvent,
49836 _swigc__p_wxMoveEvent,
49837 _swigc__p_wxNavigationKeyEvent,
49838 _swigc__p_wxNcPaintEvent,
49839 _swigc__p_wxNotebook,
49840 _swigc__p_wxNotebookEvent,
49841 _swigc__p_wxNotifyEvent,
49842 _swigc__p_wxObject,
49843 _swigc__p_wxPCXHandler,
49844 _swigc__p_wxPNGHandler,
49845 _swigc__p_wxPNMHandler,
49846 _swigc__p_wxPaintEvent,
49847 _swigc__p_wxPaletteChangedEvent,
49848 _swigc__p_wxPaperSize,
49849 _swigc__p_wxPickerBase,
49850 _swigc__p_wxPoint,
49851 _swigc__p_wxPyApp,
49852 _swigc__p_wxPyCommandEvent,
49853 _swigc__p_wxPyControl,
49854 _swigc__p_wxPyEvent,
49855 _swigc__p_wxPyImageHandler,
49856 _swigc__p_wxPyListCtrl,
49857 _swigc__p_wxPySizer,
49858 _swigc__p_wxPyTreeCtrl,
49859 _swigc__p_wxPyTreeItemData,
49860 _swigc__p_wxPyValidator,
49861 _swigc__p_wxQueryNewPaletteEvent,
49862 _swigc__p_wxRadioBox,
49863 _swigc__p_wxRadioButton,
49864 _swigc__p_wxRect,
49865 _swigc__p_wxScrollBar,
49866 _swigc__p_wxScrollEvent,
49867 _swigc__p_wxScrollWinEvent,
49868 _swigc__p_wxSearchCtrl,
49869 _swigc__p_wxSetCursorEvent,
49870 _swigc__p_wxShowEvent,
49871 _swigc__p_wxSimpleHelpProvider,
49872 _swigc__p_wxSize,
49873 _swigc__p_wxSizeEvent,
49874 _swigc__p_wxSizer,
49875 _swigc__p_wxSizerItem,
49876 _swigc__p_wxSlider,
49877 _swigc__p_wxSpinButton,
49878 _swigc__p_wxSpinCtrl,
49879 _swigc__p_wxSpinEvent,
49880 _swigc__p_wxStaticBitmap,
49881 _swigc__p_wxStaticBox,
49882 _swigc__p_wxStaticBoxSizer,
49883 _swigc__p_wxStaticLine,
49884 _swigc__p_wxStaticText,
49885 _swigc__p_wxStdDialogButtonSizer,
49886 _swigc__p_wxString,
49887 _swigc__p_wxSysColourChangedEvent,
49888 _swigc__p_wxTGAHandler,
49889 _swigc__p_wxTIFFHandler,
49890 _swigc__p_wxTextAttr,
49891 _swigc__p_wxTextCtrl,
49892 _swigc__p_wxTextUrlEvent,
49893 _swigc__p_wxToggleButton,
49894 _swigc__p_wxToolBar,
49895 _swigc__p_wxToolBarBase,
49896 _swigc__p_wxToolBarToolBase,
49897 _swigc__p_wxToolbook,
49898 _swigc__p_wxToolbookEvent,
49899 _swigc__p_wxTreeEvent,
49900 _swigc__p_wxTreeItemId,
49901 _swigc__p_wxTreebook,
49902 _swigc__p_wxTreebookEvent,
49903 _swigc__p_wxUpdateUIEvent,
49904 _swigc__p_wxValidator,
49905 _swigc__p_wxVisualAttributes,
49906 _swigc__p_wxWindow,
49907 _swigc__p_wxWindowBase,
49908 _swigc__p_wxWindowCreateEvent,
49909 _swigc__p_wxWindowDestroyEvent,
49910 _swigc__p_wxXPMHandler,
49911 };
49912
49913
49914 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49915
49916 static swig_const_info swig_const_table[] = {
49917 {0, 0, 0, 0.0, 0, 0}};
49918
49919 #ifdef __cplusplus
49920 }
49921 #endif
49922 /* -----------------------------------------------------------------------------
49923 * Type initialization:
49924 * This problem is tough by the requirement that no dynamic
49925 * memory is used. Also, since swig_type_info structures store pointers to
49926 * swig_cast_info structures and swig_cast_info structures store pointers back
49927 * to swig_type_info structures, we need some lookup code at initialization.
49928 * The idea is that swig generates all the structures that are needed.
49929 * The runtime then collects these partially filled structures.
49930 * The SWIG_InitializeModule function takes these initial arrays out of
49931 * swig_module, and does all the lookup, filling in the swig_module.types
49932 * array with the correct data and linking the correct swig_cast_info
49933 * structures together.
49934 *
49935 * The generated swig_type_info structures are assigned staticly to an initial
49936 * array. We just loop though that array, and handle each type individually.
49937 * First we lookup if this type has been already loaded, and if so, use the
49938 * loaded structure instead of the generated one. Then we have to fill in the
49939 * cast linked list. The cast data is initially stored in something like a
49940 * two-dimensional array. Each row corresponds to a type (there are the same
49941 * number of rows as there are in the swig_type_initial array). Each entry in
49942 * a column is one of the swig_cast_info structures for that type.
49943 * The cast_initial array is actually an array of arrays, because each row has
49944 * a variable number of columns. So to actually build the cast linked list,
49945 * we find the array of casts associated with the type, and loop through it
49946 * adding the casts to the list. The one last trick we need to do is making
49947 * sure the type pointer in the swig_cast_info struct is correct.
49948 *
49949 * First off, we lookup the cast->type name to see if it is already loaded.
49950 * There are three cases to handle:
49951 * 1) If the cast->type has already been loaded AND the type we are adding
49952 * casting info to has not been loaded (it is in this module), THEN we
49953 * replace the cast->type pointer with the type pointer that has already
49954 * been loaded.
49955 * 2) If BOTH types (the one we are adding casting info to, and the
49956 * cast->type) are loaded, THEN the cast info has already been loaded by
49957 * the previous module so we just ignore it.
49958 * 3) Finally, if cast->type has not already been loaded, then we add that
49959 * swig_cast_info to the linked list (because the cast->type) pointer will
49960 * be correct.
49961 * ----------------------------------------------------------------------------- */
49962
49963 #ifdef __cplusplus
49964 extern "C" {
49965 #if 0
49966 } /* c-mode */
49967 #endif
49968 #endif
49969
49970 #if 0
49971 #define SWIGRUNTIME_DEBUG
49972 #endif
49973
49974 SWIGRUNTIME void
49975 SWIG_InitializeModule(void *clientdata) {
49976 size_t i;
49977 swig_module_info *module_head;
49978 static int init_run = 0;
49979
49980 clientdata = clientdata;
49981
49982 if (init_run) return;
49983 init_run = 1;
49984
49985 /* Initialize the swig_module */
49986 swig_module.type_initial = swig_type_initial;
49987 swig_module.cast_initial = swig_cast_initial;
49988
49989 /* Try and load any already created modules */
49990 module_head = SWIG_GetModule(clientdata);
49991 if (module_head) {
49992 swig_module.next = module_head->next;
49993 module_head->next = &swig_module;
49994 } else {
49995 /* This is the first module loaded */
49996 swig_module.next = &swig_module;
49997 SWIG_SetModule(clientdata, &swig_module);
49998 }
49999
50000 /* Now work on filling in swig_module.types */
50001 #ifdef SWIGRUNTIME_DEBUG
50002 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
50003 #endif
50004 for (i = 0; i < swig_module.size; ++i) {
50005 swig_type_info *type = 0;
50006 swig_type_info *ret;
50007 swig_cast_info *cast;
50008
50009 #ifdef SWIGRUNTIME_DEBUG
50010 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
50011 #endif
50012
50013 /* if there is another module already loaded */
50014 if (swig_module.next != &swig_module) {
50015 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
50016 }
50017 if (type) {
50018 /* Overwrite clientdata field */
50019 #ifdef SWIGRUNTIME_DEBUG
50020 printf("SWIG_InitializeModule: found type %s\n", type->name);
50021 #endif
50022 if (swig_module.type_initial[i]->clientdata) {
50023 type->clientdata = swig_module.type_initial[i]->clientdata;
50024 #ifdef SWIGRUNTIME_DEBUG
50025 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
50026 #endif
50027 }
50028 } else {
50029 type = swig_module.type_initial[i];
50030 }
50031
50032 /* Insert casting types */
50033 cast = swig_module.cast_initial[i];
50034 while (cast->type) {
50035 /* Don't need to add information already in the list */
50036 ret = 0;
50037 #ifdef SWIGRUNTIME_DEBUG
50038 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
50039 #endif
50040 if (swig_module.next != &swig_module) {
50041 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
50042 #ifdef SWIGRUNTIME_DEBUG
50043 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
50044 #endif
50045 }
50046 if (ret) {
50047 if (type == swig_module.type_initial[i]) {
50048 #ifdef SWIGRUNTIME_DEBUG
50049 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
50050 #endif
50051 cast->type = ret;
50052 ret = 0;
50053 } else {
50054 /* Check for casting already in the list */
50055 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
50056 #ifdef SWIGRUNTIME_DEBUG
50057 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
50058 #endif
50059 if (!ocast) ret = 0;
50060 }
50061 }
50062
50063 if (!ret) {
50064 #ifdef SWIGRUNTIME_DEBUG
50065 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
50066 #endif
50067 if (type->cast) {
50068 type->cast->prev = cast;
50069 cast->next = type->cast;
50070 }
50071 type->cast = cast;
50072 }
50073 cast++;
50074 }
50075 /* Set entry in modules->types array equal to the type */
50076 swig_module.types[i] = type;
50077 }
50078 swig_module.types[i] = 0;
50079
50080 #ifdef SWIGRUNTIME_DEBUG
50081 printf("**** SWIG_InitializeModule: Cast List ******\n");
50082 for (i = 0; i < swig_module.size; ++i) {
50083 int j = 0;
50084 swig_cast_info *cast = swig_module.cast_initial[i];
50085 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
50086 while (cast->type) {
50087 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
50088 cast++;
50089 ++j;
50090 }
50091 printf("---- Total casts: %d\n",j);
50092 }
50093 printf("**** SWIG_InitializeModule: Cast List ******\n");
50094 #endif
50095 }
50096
50097 /* This function will propagate the clientdata field of type to
50098 * any new swig_type_info structures that have been added into the list
50099 * of equivalent types. It is like calling
50100 * SWIG_TypeClientData(type, clientdata) a second time.
50101 */
50102 SWIGRUNTIME void
50103 SWIG_PropagateClientData(void) {
50104 size_t i;
50105 swig_cast_info *equiv;
50106 static int init_run = 0;
50107
50108 if (init_run) return;
50109 init_run = 1;
50110
50111 for (i = 0; i < swig_module.size; i++) {
50112 if (swig_module.types[i]->clientdata) {
50113 equiv = swig_module.types[i]->cast;
50114 while (equiv) {
50115 if (!equiv->converter) {
50116 if (equiv->type && !equiv->type->clientdata)
50117 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
50118 }
50119 equiv = equiv->next;
50120 }
50121 }
50122 }
50123 }
50124
50125 #ifdef __cplusplus
50126 #if 0
50127 {
50128 /* c-mode */
50129 #endif
50130 }
50131 #endif
50132
50133
50134
50135 #ifdef __cplusplus
50136 extern "C" {
50137 #endif
50138
50139 /* Python-specific SWIG API */
50140 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50141 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50142 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50143
50144 /* -----------------------------------------------------------------------------
50145 * global variable support code.
50146 * ----------------------------------------------------------------------------- */
50147
50148 typedef struct swig_globalvar {
50149 char *name; /* Name of global variable */
50150 PyObject *(*get_attr)(void); /* Return the current value */
50151 int (*set_attr)(PyObject *); /* Set the value */
50152 struct swig_globalvar *next;
50153 } swig_globalvar;
50154
50155 typedef struct swig_varlinkobject {
50156 PyObject_HEAD
50157 swig_globalvar *vars;
50158 } swig_varlinkobject;
50159
50160 SWIGINTERN PyObject *
50161 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
50162 return PyString_FromString("<Swig global variables>");
50163 }
50164
50165 SWIGINTERN PyObject *
50166 swig_varlink_str(swig_varlinkobject *v) {
50167 PyObject *str = PyString_FromString("(");
50168 swig_globalvar *var;
50169 for (var = v->vars; var; var=var->next) {
50170 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
50171 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
50172 }
50173 PyString_ConcatAndDel(&str,PyString_FromString(")"));
50174 return str;
50175 }
50176
50177 SWIGINTERN int
50178 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
50179 PyObject *str = swig_varlink_str(v);
50180 fprintf(fp,"Swig global variables ");
50181 fprintf(fp,"%s\n", PyString_AsString(str));
50182 Py_DECREF(str);
50183 return 0;
50184 }
50185
50186 SWIGINTERN void
50187 swig_varlink_dealloc(swig_varlinkobject *v) {
50188 swig_globalvar *var = v->vars;
50189 while (var) {
50190 swig_globalvar *n = var->next;
50191 free(var->name);
50192 free(var);
50193 var = n;
50194 }
50195 }
50196
50197 SWIGINTERN PyObject *
50198 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
50199 PyObject *res = NULL;
50200 swig_globalvar *var = v->vars;
50201 while (var) {
50202 if (strcmp(var->name,n) == 0) {
50203 res = (*var->get_attr)();
50204 break;
50205 }
50206 var = var->next;
50207 }
50208 if (res == NULL && !PyErr_Occurred()) {
50209 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
50210 }
50211 return res;
50212 }
50213
50214 SWIGINTERN int
50215 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
50216 int res = 1;
50217 swig_globalvar *var = v->vars;
50218 while (var) {
50219 if (strcmp(var->name,n) == 0) {
50220 res = (*var->set_attr)(p);
50221 break;
50222 }
50223 var = var->next;
50224 }
50225 if (res == 1 && !PyErr_Occurred()) {
50226 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
50227 }
50228 return res;
50229 }
50230
50231 SWIGINTERN PyTypeObject*
50232 swig_varlink_type(void) {
50233 static char varlink__doc__[] = "Swig var link object";
50234 static PyTypeObject varlink_type;
50235 static int type_init = 0;
50236 if (!type_init) {
50237 const PyTypeObject tmp
50238 = {
50239 PyObject_HEAD_INIT(NULL)
50240 0, /* Number of items in variable part (ob_size) */
50241 (char *)"swigvarlink", /* Type name (tp_name) */
50242 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
50243 0, /* Itemsize (tp_itemsize) */
50244 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
50245 (printfunc) swig_varlink_print, /* Print (tp_print) */
50246 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
50247 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
50248 0, /* tp_compare */
50249 (reprfunc) swig_varlink_repr, /* tp_repr */
50250 0, /* tp_as_number */
50251 0, /* tp_as_sequence */
50252 0, /* tp_as_mapping */
50253 0, /* tp_hash */
50254 0, /* tp_call */
50255 (reprfunc)swig_varlink_str, /* tp_str */
50256 0, /* tp_getattro */
50257 0, /* tp_setattro */
50258 0, /* tp_as_buffer */
50259 0, /* tp_flags */
50260 varlink__doc__, /* tp_doc */
50261 0, /* tp_traverse */
50262 0, /* tp_clear */
50263 0, /* tp_richcompare */
50264 0, /* tp_weaklistoffset */
50265 #if PY_VERSION_HEX >= 0x02020000
50266 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50267 #endif
50268 #if PY_VERSION_HEX >= 0x02030000
50269 0, /* tp_del */
50270 #endif
50271 #ifdef COUNT_ALLOCS
50272 0,0,0,0 /* tp_alloc -> tp_next */
50273 #endif
50274 };
50275 varlink_type = tmp;
50276 varlink_type.ob_type = &PyType_Type;
50277 type_init = 1;
50278 }
50279 return &varlink_type;
50280 }
50281
50282 /* Create a variable linking object for use later */
50283 SWIGINTERN PyObject *
50284 SWIG_Python_newvarlink(void) {
50285 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
50286 if (result) {
50287 result->vars = 0;
50288 }
50289 return ((PyObject*) result);
50290 }
50291
50292 SWIGINTERN void
50293 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
50294 swig_varlinkobject *v = (swig_varlinkobject *) p;
50295 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
50296 if (gv) {
50297 size_t size = strlen(name)+1;
50298 gv->name = (char *)malloc(size);
50299 if (gv->name) {
50300 strncpy(gv->name,name,size);
50301 gv->get_attr = get_attr;
50302 gv->set_attr = set_attr;
50303 gv->next = v->vars;
50304 }
50305 }
50306 v->vars = gv;
50307 }
50308
50309 SWIGINTERN PyObject *
50310 SWIG_globals() {
50311 static PyObject *_SWIG_globals = 0;
50312 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
50313 return _SWIG_globals;
50314 }
50315
50316 /* -----------------------------------------------------------------------------
50317 * constants/methods manipulation
50318 * ----------------------------------------------------------------------------- */
50319
50320 /* Install Constants */
50321 SWIGINTERN void
50322 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
50323 PyObject *obj = 0;
50324 size_t i;
50325 for (i = 0; constants[i].type; ++i) {
50326 switch(constants[i].type) {
50327 case SWIG_PY_POINTER:
50328 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
50329 break;
50330 case SWIG_PY_BINARY:
50331 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
50332 break;
50333 default:
50334 obj = 0;
50335 break;
50336 }
50337 if (obj) {
50338 PyDict_SetItemString(d, constants[i].name, obj);
50339 Py_DECREF(obj);
50340 }
50341 }
50342 }
50343
50344 /* -----------------------------------------------------------------------------*/
50345 /* Fix SwigMethods to carry the callback ptrs when needed */
50346 /* -----------------------------------------------------------------------------*/
50347
50348 SWIGINTERN void
50349 SWIG_Python_FixMethods(PyMethodDef *methods,
50350 swig_const_info *const_table,
50351 swig_type_info **types,
50352 swig_type_info **types_initial) {
50353 size_t i;
50354 for (i = 0; methods[i].ml_name; ++i) {
50355 const char *c = methods[i].ml_doc;
50356 if (c && (c = strstr(c, "swig_ptr: "))) {
50357 int j;
50358 swig_const_info *ci = 0;
50359 const char *name = c + 10;
50360 for (j = 0; const_table[j].type; ++j) {
50361 if (strncmp(const_table[j].name, name,
50362 strlen(const_table[j].name)) == 0) {
50363 ci = &(const_table[j]);
50364 break;
50365 }
50366 }
50367 if (ci) {
50368 size_t shift = (ci->ptype) - types;
50369 swig_type_info *ty = types_initial[shift];
50370 size_t ldoc = (c - methods[i].ml_doc);
50371 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
50372 char *ndoc = (char*)malloc(ldoc + lptr + 10);
50373 if (ndoc) {
50374 char *buff = ndoc;
50375 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
50376 if (ptr) {
50377 strncpy(buff, methods[i].ml_doc, ldoc);
50378 buff += ldoc;
50379 strncpy(buff, "swig_ptr: ", 10);
50380 buff += 10;
50381 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
50382 methods[i].ml_doc = ndoc;
50383 }
50384 }
50385 }
50386 }
50387 }
50388 }
50389
50390 #ifdef __cplusplus
50391 }
50392 #endif
50393
50394 /* -----------------------------------------------------------------------------*
50395 * Partial Init method
50396 * -----------------------------------------------------------------------------*/
50397
50398 #ifdef __cplusplus
50399 extern "C"
50400 #endif
50401 SWIGEXPORT void SWIG_init(void) {
50402 PyObject *m, *d;
50403
50404 /* Fix SwigMethods to carry the callback ptrs when needed */
50405 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
50406
50407 m = Py_InitModule((char *) SWIG_name, SwigMethods);
50408 d = PyModule_GetDict(m);
50409
50410 SWIG_InitializeModule(0);
50411 SWIG_InstallConstants(d,swig_const_table);
50412
50413
50414 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
50415 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
50416 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
50417 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
50418 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
50419 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
50420 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
50421 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
50422 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
50423 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
50424 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
50425 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
50426 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
50427 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
50428 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
50429 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
50430 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
50431 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
50432 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
50433 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
50434 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
50435 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
50436 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
50437 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
50438 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
50439 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get, StaticLineNameStr_set);
50440 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
50441 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
50442 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
50443 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
50444 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
50445 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
50446 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
50447 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
50448 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
50449 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
50450 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
50451 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
50452 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
50453 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
50454 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
50455 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
50456 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
50457 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
50458 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
50459 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
50460 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
50461 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
50462 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
50463 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
50464 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
50465 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
50466 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
50467 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
50468 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
50469 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
50470 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
50471 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
50472 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
50473 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
50474 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
50475 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
50476 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
50477 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
50478 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
50479 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
50480 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
50481 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
50482 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
50483 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
50484 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
50485 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
50486 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
50487 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
50488 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
50489 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
50490 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
50491 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
50492 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
50493 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
50494 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
50495 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
50496 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
50497 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
50498 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
50499 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
50500 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
50501 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
50502 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
50503 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
50504 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
50505 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
50506 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
50507 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
50508 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
50509 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
50510 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
50511 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
50512 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
50513 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
50514 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
50515 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
50516 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
50517 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
50518 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
50519 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
50520 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
50521 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
50522 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
50523 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
50524 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
50525 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
50526 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
50527 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
50528 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
50529 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
50530 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
50531 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
50532 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
50533 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
50534 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
50535 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
50536 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
50537 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
50538 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
50539 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
50540 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
50541 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
50542 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
50543 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
50544 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
50545 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
50546 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
50547 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
50548 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
50549 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
50550 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
50551 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
50552 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
50553 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
50554 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
50555 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
50556 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
50557 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
50558 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
50559 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
50560 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
50561 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
50562 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
50563 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
50564 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
50565 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
50566 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
50567 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
50568 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
50569 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
50570 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
50571 SWIG_Python_SetConstant(d, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP)));
50572 SWIG_Python_SetConstant(d, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT)));
50573 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
50574 SWIG_Python_SetConstant(d, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT)));
50575 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
50576 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
50577 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
50578 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
50579 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
50580 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
50581 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
50582 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
50583 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
50584 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
50585 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
50586 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
50587 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
50588 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
50589 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
50590 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
50591 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
50592 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
50593 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
50594 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
50595 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
50596 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
50597 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
50598 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
50599 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
50600 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
50601 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
50602 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
50603 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
50604 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
50605 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
50606 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
50607 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
50608 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
50609 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
50610 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
50611 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
50612 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
50613 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
50614 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
50615 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
50616 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
50617 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
50618 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
50619 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
50620 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
50621 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
50622 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
50623 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
50624 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
50625 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
50626 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
50627 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
50628 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
50629 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
50630 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
50631 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
50632 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
50633 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
50634 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
50635 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
50636 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
50637 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
50638 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
50639 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
50640 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
50641 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
50642 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
50643 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
50644 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
50645 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
50646 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
50647 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
50648 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
50649 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
50650 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
50651 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
50652 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
50653 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
50654 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
50655 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
50656 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
50657 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
50658 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
50659 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
50660 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
50661 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
50662 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
50663 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
50664 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
50665 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
50666 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
50667 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
50668 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
50669 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
50670 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
50671 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
50672 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
50673 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
50674 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
50675
50676 // Map renamed classes back to their common name for OOR
50677 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50678
50679 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
50680 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
50681 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
50682 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
50683 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
50684 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
50685 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
50686 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
50687 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
50688 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
50689 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
50690 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
50691 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
50692 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
50693 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
50694 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
50695 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
50696 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
50697 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
50698 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
50699 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
50700 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
50701 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
50702 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
50703 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
50704 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
50705 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
50706 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
50707 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
50708 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
50709 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
50710 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
50711 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
50712 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
50713 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
50714 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
50715 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
50716 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
50717 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
50718 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
50719 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
50720 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
50721 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
50722 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
50723 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
50724 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
50725 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
50726 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
50727 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
50728 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
50729 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
50730 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
50731 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
50732 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
50733 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
50734 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
50735
50736 // Map renamed classes back to their common name for OOR
50737 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50738 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50739
50740 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
50741 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
50742 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
50743 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
50744 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
50745 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
50746 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
50747 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
50748 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
50749 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
50750 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
50751
50752 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50753
50754 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
50755 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
50756 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
50757 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
50758 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
50759 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
50760 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
50761 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
50762 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
50763 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
50764 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
50765 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
50766 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
50767 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
50768 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
50769 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
50770 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
50771 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
50772 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
50773 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
50774 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
50775 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
50776 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
50777 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
50778 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
50779 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
50780 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
50781 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
50782 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
50783 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
50784 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
50785 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
50786 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
50787 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
50788 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
50789 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
50790 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
50791 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
50792 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
50793 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
50794 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
50795 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
50796 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
50797 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get, CollapsiblePaneNameStr_set);
50798 SWIG_Python_SetConstant(d, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE)));
50799 SWIG_Python_SetConstant(d, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE)));
50800 PyDict_SetItemString(d, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED));
50801 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get, SearchCtrlNameStr_set);
50802 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_CANCEL", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL));
50803 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_SEARCH", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH));
50804 }
50805