]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_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
3117
3118 return (wxWindow*)self->m_mainWin;
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 static const wxString wxPySearchCtrlNameStr(wxSearchCtrlNameStr);
3382 #ifdef __cplusplus
3383 extern "C" {
3384 #endif
3385 SWIGINTERN int ButtonNameStr_set(PyObject *) {
3386 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3387 return 1;
3388 }
3389
3390
3391 SWIGINTERN PyObject *ButtonNameStr_get(void) {
3392 PyObject *pyobj = 0;
3393
3394 {
3395 #if wxUSE_UNICODE
3396 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3397 #else
3398 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3399 #endif
3400 }
3401 return pyobj;
3402 }
3403
3404
3405 SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj = 0;
3407 wxWindow *arg1 = (wxWindow *) 0 ;
3408 int arg2 = (int) -1 ;
3409 wxString const &arg3_defvalue = wxPyEmptyString ;
3410 wxString *arg3 = (wxString *) &arg3_defvalue ;
3411 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3412 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3413 wxSize const &arg5_defvalue = wxDefaultSize ;
3414 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3415 long arg6 = (long) 0 ;
3416 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3417 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3418 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3419 wxString *arg8 = (wxString *) &arg8_defvalue ;
3420 wxButton *result = 0 ;
3421 void *argp1 = 0 ;
3422 int res1 = 0 ;
3423 int val2 ;
3424 int ecode2 = 0 ;
3425 bool temp3 = false ;
3426 wxPoint temp4 ;
3427 wxSize temp5 ;
3428 long val6 ;
3429 int ecode6 = 0 ;
3430 void *argp7 = 0 ;
3431 int res7 = 0 ;
3432 bool temp8 = false ;
3433 PyObject * obj0 = 0 ;
3434 PyObject * obj1 = 0 ;
3435 PyObject * obj2 = 0 ;
3436 PyObject * obj3 = 0 ;
3437 PyObject * obj4 = 0 ;
3438 PyObject * obj5 = 0 ;
3439 PyObject * obj6 = 0 ;
3440 PyObject * obj7 = 0 ;
3441 char * kwnames[] = {
3442 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3443 };
3444
3445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3447 if (!SWIG_IsOK(res1)) {
3448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3449 }
3450 arg1 = reinterpret_cast< wxWindow * >(argp1);
3451 if (obj1) {
3452 ecode2 = SWIG_AsVal_int(obj1, &val2);
3453 if (!SWIG_IsOK(ecode2)) {
3454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3455 }
3456 arg2 = static_cast< int >(val2);
3457 }
3458 if (obj2) {
3459 {
3460 arg3 = wxString_in_helper(obj2);
3461 if (arg3 == NULL) SWIG_fail;
3462 temp3 = true;
3463 }
3464 }
3465 if (obj3) {
3466 {
3467 arg4 = &temp4;
3468 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3469 }
3470 }
3471 if (obj4) {
3472 {
3473 arg5 = &temp5;
3474 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3475 }
3476 }
3477 if (obj5) {
3478 ecode6 = SWIG_AsVal_long(obj5, &val6);
3479 if (!SWIG_IsOK(ecode6)) {
3480 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3481 }
3482 arg6 = static_cast< long >(val6);
3483 }
3484 if (obj6) {
3485 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3486 if (!SWIG_IsOK(res7)) {
3487 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3488 }
3489 if (!argp7) {
3490 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3491 }
3492 arg7 = reinterpret_cast< wxValidator * >(argp7);
3493 }
3494 if (obj7) {
3495 {
3496 arg8 = wxString_in_helper(obj7);
3497 if (arg8 == NULL) SWIG_fail;
3498 temp8 = true;
3499 }
3500 }
3501 {
3502 if (!wxPyCheckForApp()) SWIG_fail;
3503 PyThreadState* __tstate = wxPyBeginAllowThreads();
3504 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3505 wxPyEndAllowThreads(__tstate);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3509 {
3510 if (temp3)
3511 delete arg3;
3512 }
3513 {
3514 if (temp8)
3515 delete arg8;
3516 }
3517 return resultobj;
3518 fail:
3519 {
3520 if (temp3)
3521 delete arg3;
3522 }
3523 {
3524 if (temp8)
3525 delete arg8;
3526 }
3527 return NULL;
3528 }
3529
3530
3531 SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3532 PyObject *resultobj = 0;
3533 wxButton *result = 0 ;
3534
3535 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3536 {
3537 if (!wxPyCheckForApp()) SWIG_fail;
3538 PyThreadState* __tstate = wxPyBeginAllowThreads();
3539 result = (wxButton *)new wxButton();
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3544 return resultobj;
3545 fail:
3546 return NULL;
3547 }
3548
3549
3550 SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj = 0;
3552 wxButton *arg1 = (wxButton *) 0 ;
3553 wxWindow *arg2 = (wxWindow *) 0 ;
3554 int arg3 = (int) -1 ;
3555 wxString const &arg4_defvalue = wxPyEmptyString ;
3556 wxString *arg4 = (wxString *) &arg4_defvalue ;
3557 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3558 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3559 wxSize const &arg6_defvalue = wxDefaultSize ;
3560 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3561 long arg7 = (long) 0 ;
3562 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3563 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3564 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3565 wxString *arg9 = (wxString *) &arg9_defvalue ;
3566 bool result;
3567 void *argp1 = 0 ;
3568 int res1 = 0 ;
3569 void *argp2 = 0 ;
3570 int res2 = 0 ;
3571 int val3 ;
3572 int ecode3 = 0 ;
3573 bool temp4 = false ;
3574 wxPoint temp5 ;
3575 wxSize temp6 ;
3576 long val7 ;
3577 int ecode7 = 0 ;
3578 void *argp8 = 0 ;
3579 int res8 = 0 ;
3580 bool temp9 = false ;
3581 PyObject * obj0 = 0 ;
3582 PyObject * obj1 = 0 ;
3583 PyObject * obj2 = 0 ;
3584 PyObject * obj3 = 0 ;
3585 PyObject * obj4 = 0 ;
3586 PyObject * obj5 = 0 ;
3587 PyObject * obj6 = 0 ;
3588 PyObject * obj7 = 0 ;
3589 PyObject * obj8 = 0 ;
3590 char * kwnames[] = {
3591 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3592 };
3593
3594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3596 if (!SWIG_IsOK(res1)) {
3597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3598 }
3599 arg1 = reinterpret_cast< wxButton * >(argp1);
3600 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3601 if (!SWIG_IsOK(res2)) {
3602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3603 }
3604 arg2 = reinterpret_cast< wxWindow * >(argp2);
3605 if (obj2) {
3606 ecode3 = SWIG_AsVal_int(obj2, &val3);
3607 if (!SWIG_IsOK(ecode3)) {
3608 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3609 }
3610 arg3 = static_cast< int >(val3);
3611 }
3612 if (obj3) {
3613 {
3614 arg4 = wxString_in_helper(obj3);
3615 if (arg4 == NULL) SWIG_fail;
3616 temp4 = true;
3617 }
3618 }
3619 if (obj4) {
3620 {
3621 arg5 = &temp5;
3622 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3623 }
3624 }
3625 if (obj5) {
3626 {
3627 arg6 = &temp6;
3628 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3629 }
3630 }
3631 if (obj6) {
3632 ecode7 = SWIG_AsVal_long(obj6, &val7);
3633 if (!SWIG_IsOK(ecode7)) {
3634 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3635 }
3636 arg7 = static_cast< long >(val7);
3637 }
3638 if (obj7) {
3639 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3640 if (!SWIG_IsOK(res8)) {
3641 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3642 }
3643 if (!argp8) {
3644 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3645 }
3646 arg8 = reinterpret_cast< wxValidator * >(argp8);
3647 }
3648 if (obj8) {
3649 {
3650 arg9 = wxString_in_helper(obj8);
3651 if (arg9 == NULL) SWIG_fail;
3652 temp9 = true;
3653 }
3654 }
3655 {
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
3657 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3658 wxPyEndAllowThreads(__tstate);
3659 if (PyErr_Occurred()) SWIG_fail;
3660 }
3661 {
3662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3663 }
3664 {
3665 if (temp4)
3666 delete arg4;
3667 }
3668 {
3669 if (temp9)
3670 delete arg9;
3671 }
3672 return resultobj;
3673 fail:
3674 {
3675 if (temp4)
3676 delete arg4;
3677 }
3678 {
3679 if (temp9)
3680 delete arg9;
3681 }
3682 return NULL;
3683 }
3684
3685
3686 SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3687 PyObject *resultobj = 0;
3688 wxButton *arg1 = (wxButton *) 0 ;
3689 void *argp1 = 0 ;
3690 int res1 = 0 ;
3691 PyObject *swig_obj[1] ;
3692
3693 if (!args) SWIG_fail;
3694 swig_obj[0] = args;
3695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3696 if (!SWIG_IsOK(res1)) {
3697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3698 }
3699 arg1 = reinterpret_cast< wxButton * >(argp1);
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 (arg1)->SetDefault();
3703 wxPyEndAllowThreads(__tstate);
3704 if (PyErr_Occurred()) SWIG_fail;
3705 }
3706 resultobj = SWIG_Py_Void();
3707 return resultobj;
3708 fail:
3709 return NULL;
3710 }
3711
3712
3713 SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3714 PyObject *resultobj = 0;
3715 wxSize result;
3716
3717 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3718 {
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
3720 result = wxButton::GetDefaultSize();
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3725 return resultobj;
3726 fail:
3727 return NULL;
3728 }
3729
3730
3731 SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3732 PyObject *resultobj = 0;
3733 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3734 SwigValueWrapper<wxVisualAttributes > result;
3735 int val1 ;
3736 int ecode1 = 0 ;
3737 PyObject * obj0 = 0 ;
3738 char * kwnames[] = {
3739 (char *) "variant", NULL
3740 };
3741
3742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3743 if (obj0) {
3744 ecode1 = SWIG_AsVal_int(obj0, &val1);
3745 if (!SWIG_IsOK(ecode1)) {
3746 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3747 }
3748 arg1 = static_cast< wxWindowVariant >(val1);
3749 }
3750 {
3751 if (!wxPyCheckForApp()) SWIG_fail;
3752 PyThreadState* __tstate = wxPyBeginAllowThreads();
3753 result = wxButton::GetClassDefaultAttributes(arg1);
3754 wxPyEndAllowThreads(__tstate);
3755 if (PyErr_Occurred()) SWIG_fail;
3756 }
3757 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3758 return resultobj;
3759 fail:
3760 return NULL;
3761 }
3762
3763
3764 SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3765 PyObject *obj;
3766 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3767 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3768 return SWIG_Py_Void();
3769 }
3770
3771 SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3772 return SWIG_Python_InitShadowInstance(args);
3773 }
3774
3775 SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3776 PyObject *resultobj = 0;
3777 wxWindow *arg1 = (wxWindow *) 0 ;
3778 int arg2 = (int) -1 ;
3779 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3780 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3781 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3782 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3783 wxSize const &arg5_defvalue = wxDefaultSize ;
3784 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3785 long arg6 = (long) wxBU_AUTODRAW ;
3786 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3787 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3788 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3789 wxString *arg8 = (wxString *) &arg8_defvalue ;
3790 wxBitmapButton *result = 0 ;
3791 void *argp1 = 0 ;
3792 int res1 = 0 ;
3793 int val2 ;
3794 int ecode2 = 0 ;
3795 void *argp3 = 0 ;
3796 int res3 = 0 ;
3797 wxPoint temp4 ;
3798 wxSize temp5 ;
3799 long val6 ;
3800 int ecode6 = 0 ;
3801 void *argp7 = 0 ;
3802 int res7 = 0 ;
3803 bool temp8 = false ;
3804 PyObject * obj0 = 0 ;
3805 PyObject * obj1 = 0 ;
3806 PyObject * obj2 = 0 ;
3807 PyObject * obj3 = 0 ;
3808 PyObject * obj4 = 0 ;
3809 PyObject * obj5 = 0 ;
3810 PyObject * obj6 = 0 ;
3811 PyObject * obj7 = 0 ;
3812 char * kwnames[] = {
3813 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3814 };
3815
3816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3818 if (!SWIG_IsOK(res1)) {
3819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3820 }
3821 arg1 = reinterpret_cast< wxWindow * >(argp1);
3822 if (obj1) {
3823 ecode2 = SWIG_AsVal_int(obj1, &val2);
3824 if (!SWIG_IsOK(ecode2)) {
3825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3826 }
3827 arg2 = static_cast< int >(val2);
3828 }
3829 if (obj2) {
3830 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3831 if (!SWIG_IsOK(res3)) {
3832 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3833 }
3834 if (!argp3) {
3835 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3836 }
3837 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3838 }
3839 if (obj3) {
3840 {
3841 arg4 = &temp4;
3842 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3843 }
3844 }
3845 if (obj4) {
3846 {
3847 arg5 = &temp5;
3848 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3849 }
3850 }
3851 if (obj5) {
3852 ecode6 = SWIG_AsVal_long(obj5, &val6);
3853 if (!SWIG_IsOK(ecode6)) {
3854 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3855 }
3856 arg6 = static_cast< long >(val6);
3857 }
3858 if (obj6) {
3859 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3860 if (!SWIG_IsOK(res7)) {
3861 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3862 }
3863 if (!argp7) {
3864 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3865 }
3866 arg7 = reinterpret_cast< wxValidator * >(argp7);
3867 }
3868 if (obj7) {
3869 {
3870 arg8 = wxString_in_helper(obj7);
3871 if (arg8 == NULL) SWIG_fail;
3872 temp8 = true;
3873 }
3874 }
3875 {
3876 if (!wxPyCheckForApp()) SWIG_fail;
3877 PyThreadState* __tstate = wxPyBeginAllowThreads();
3878 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3883 {
3884 if (temp8)
3885 delete arg8;
3886 }
3887 return resultobj;
3888 fail:
3889 {
3890 if (temp8)
3891 delete arg8;
3892 }
3893 return NULL;
3894 }
3895
3896
3897 SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3898 PyObject *resultobj = 0;
3899 wxBitmapButton *result = 0 ;
3900
3901 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3902 {
3903 if (!wxPyCheckForApp()) SWIG_fail;
3904 PyThreadState* __tstate = wxPyBeginAllowThreads();
3905 result = (wxBitmapButton *)new wxBitmapButton();
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3910 return resultobj;
3911 fail:
3912 return NULL;
3913 }
3914
3915
3916 SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3917 PyObject *resultobj = 0;
3918 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3919 wxWindow *arg2 = (wxWindow *) 0 ;
3920 int arg3 = (int) -1 ;
3921 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3922 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3923 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3924 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3925 wxSize const &arg6_defvalue = wxDefaultSize ;
3926 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3927 long arg7 = (long) wxBU_AUTODRAW ;
3928 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3929 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3930 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3931 wxString *arg9 = (wxString *) &arg9_defvalue ;
3932 bool result;
3933 void *argp1 = 0 ;
3934 int res1 = 0 ;
3935 void *argp2 = 0 ;
3936 int res2 = 0 ;
3937 int val3 ;
3938 int ecode3 = 0 ;
3939 void *argp4 = 0 ;
3940 int res4 = 0 ;
3941 wxPoint temp5 ;
3942 wxSize temp6 ;
3943 long val7 ;
3944 int ecode7 = 0 ;
3945 void *argp8 = 0 ;
3946 int res8 = 0 ;
3947 bool temp9 = false ;
3948 PyObject * obj0 = 0 ;
3949 PyObject * obj1 = 0 ;
3950 PyObject * obj2 = 0 ;
3951 PyObject * obj3 = 0 ;
3952 PyObject * obj4 = 0 ;
3953 PyObject * obj5 = 0 ;
3954 PyObject * obj6 = 0 ;
3955 PyObject * obj7 = 0 ;
3956 PyObject * obj8 = 0 ;
3957 char * kwnames[] = {
3958 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3959 };
3960
3961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
3963 if (!SWIG_IsOK(res1)) {
3964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3965 }
3966 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
3967 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3968 if (!SWIG_IsOK(res2)) {
3969 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3970 }
3971 arg2 = reinterpret_cast< wxWindow * >(argp2);
3972 if (obj2) {
3973 ecode3 = SWIG_AsVal_int(obj2, &val3);
3974 if (!SWIG_IsOK(ecode3)) {
3975 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3976 }
3977 arg3 = static_cast< int >(val3);
3978 }
3979 if (obj3) {
3980 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
3981 if (!SWIG_IsOK(res4)) {
3982 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3983 }
3984 if (!argp4) {
3985 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3986 }
3987 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3988 }
3989 if (obj4) {
3990 {
3991 arg5 = &temp5;
3992 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3993 }
3994 }
3995 if (obj5) {
3996 {
3997 arg6 = &temp6;
3998 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3999 }
4000 }
4001 if (obj6) {
4002 ecode7 = SWIG_AsVal_long(obj6, &val7);
4003 if (!SWIG_IsOK(ecode7)) {
4004 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4005 }
4006 arg7 = static_cast< long >(val7);
4007 }
4008 if (obj7) {
4009 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4010 if (!SWIG_IsOK(res8)) {
4011 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4012 }
4013 if (!argp8) {
4014 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4015 }
4016 arg8 = reinterpret_cast< wxValidator * >(argp8);
4017 }
4018 if (obj8) {
4019 {
4020 arg9 = wxString_in_helper(obj8);
4021 if (arg9 == NULL) SWIG_fail;
4022 temp9 = true;
4023 }
4024 }
4025 {
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 {
4032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4033 }
4034 {
4035 if (temp9)
4036 delete arg9;
4037 }
4038 return resultobj;
4039 fail:
4040 {
4041 if (temp9)
4042 delete arg9;
4043 }
4044 return NULL;
4045 }
4046
4047
4048 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4049 PyObject *resultobj = 0;
4050 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4051 wxBitmap result;
4052 void *argp1 = 0 ;
4053 int res1 = 0 ;
4054 PyObject *swig_obj[1] ;
4055
4056 if (!args) SWIG_fail;
4057 swig_obj[0] = args;
4058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4059 if (!SWIG_IsOK(res1)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4061 }
4062 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 result = (arg1)->GetBitmapLabel();
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4077 PyObject *resultobj = 0;
4078 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4079 wxBitmap result;
4080 void *argp1 = 0 ;
4081 int res1 = 0 ;
4082 PyObject *swig_obj[1] ;
4083
4084 if (!args) SWIG_fail;
4085 swig_obj[0] = args;
4086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4087 if (!SWIG_IsOK(res1)) {
4088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4089 }
4090 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4091 {
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 result = (arg1)->GetBitmapDisabled();
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4098 return resultobj;
4099 fail:
4100 return NULL;
4101 }
4102
4103
4104 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4105 PyObject *resultobj = 0;
4106 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4107 wxBitmap result;
4108 void *argp1 = 0 ;
4109 int res1 = 0 ;
4110 PyObject *swig_obj[1] ;
4111
4112 if (!args) SWIG_fail;
4113 swig_obj[0] = args;
4114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4115 if (!SWIG_IsOK(res1)) {
4116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4117 }
4118 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4119 {
4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4121 result = (arg1)->GetBitmapFocus();
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 }
4125 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4126 return resultobj;
4127 fail:
4128 return NULL;
4129 }
4130
4131
4132 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4133 PyObject *resultobj = 0;
4134 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4135 wxBitmap result;
4136 void *argp1 = 0 ;
4137 int res1 = 0 ;
4138 PyObject *swig_obj[1] ;
4139
4140 if (!args) SWIG_fail;
4141 swig_obj[0] = args;
4142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4143 if (!SWIG_IsOK(res1)) {
4144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4145 }
4146 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4147 {
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 result = (arg1)->GetBitmapSelected();
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4154 return resultobj;
4155 fail:
4156 return NULL;
4157 }
4158
4159
4160 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4161 PyObject *resultobj = 0;
4162 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4163 wxBitmap result;
4164 void *argp1 = 0 ;
4165 int res1 = 0 ;
4166 PyObject *swig_obj[1] ;
4167
4168 if (!args) SWIG_fail;
4169 swig_obj[0] = args;
4170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4171 if (!SWIG_IsOK(res1)) {
4172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4173 }
4174 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4175 {
4176 PyThreadState* __tstate = wxPyBeginAllowThreads();
4177 result = (arg1)->GetBitmapHover();
4178 wxPyEndAllowThreads(__tstate);
4179 if (PyErr_Occurred()) SWIG_fail;
4180 }
4181 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4182 return resultobj;
4183 fail:
4184 return NULL;
4185 }
4186
4187
4188 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4189 PyObject *resultobj = 0;
4190 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4191 wxBitmap *arg2 = 0 ;
4192 void *argp1 = 0 ;
4193 int res1 = 0 ;
4194 void *argp2 = 0 ;
4195 int res2 = 0 ;
4196 PyObject * obj0 = 0 ;
4197 PyObject * obj1 = 0 ;
4198 char * kwnames[] = {
4199 (char *) "self",(char *) "bitmap", NULL
4200 };
4201
4202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4204 if (!SWIG_IsOK(res1)) {
4205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4206 }
4207 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4208 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4209 if (!SWIG_IsOK(res2)) {
4210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4211 }
4212 if (!argp2) {
4213 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4214 }
4215 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4216 {
4217 PyThreadState* __tstate = wxPyBeginAllowThreads();
4218 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4219 wxPyEndAllowThreads(__tstate);
4220 if (PyErr_Occurred()) SWIG_fail;
4221 }
4222 resultobj = SWIG_Py_Void();
4223 return resultobj;
4224 fail:
4225 return NULL;
4226 }
4227
4228
4229 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4230 PyObject *resultobj = 0;
4231 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4232 wxBitmap *arg2 = 0 ;
4233 void *argp1 = 0 ;
4234 int res1 = 0 ;
4235 void *argp2 = 0 ;
4236 int res2 = 0 ;
4237 PyObject * obj0 = 0 ;
4238 PyObject * obj1 = 0 ;
4239 char * kwnames[] = {
4240 (char *) "self",(char *) "bitmap", NULL
4241 };
4242
4243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4245 if (!SWIG_IsOK(res1)) {
4246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4247 }
4248 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4249 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4250 if (!SWIG_IsOK(res2)) {
4251 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4252 }
4253 if (!argp2) {
4254 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4255 }
4256 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4257 {
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4260 wxPyEndAllowThreads(__tstate);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 }
4263 resultobj = SWIG_Py_Void();
4264 return resultobj;
4265 fail:
4266 return NULL;
4267 }
4268
4269
4270 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4271 PyObject *resultobj = 0;
4272 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4273 wxBitmap *arg2 = 0 ;
4274 void *argp1 = 0 ;
4275 int res1 = 0 ;
4276 void *argp2 = 0 ;
4277 int res2 = 0 ;
4278 PyObject * obj0 = 0 ;
4279 PyObject * obj1 = 0 ;
4280 char * kwnames[] = {
4281 (char *) "self",(char *) "bitmap", NULL
4282 };
4283
4284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4286 if (!SWIG_IsOK(res1)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4288 }
4289 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4290 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4291 if (!SWIG_IsOK(res2)) {
4292 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4293 }
4294 if (!argp2) {
4295 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4296 }
4297 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4298 {
4299 PyThreadState* __tstate = wxPyBeginAllowThreads();
4300 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4301 wxPyEndAllowThreads(__tstate);
4302 if (PyErr_Occurred()) SWIG_fail;
4303 }
4304 resultobj = SWIG_Py_Void();
4305 return resultobj;
4306 fail:
4307 return NULL;
4308 }
4309
4310
4311 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4312 PyObject *resultobj = 0;
4313 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4314 wxBitmap *arg2 = 0 ;
4315 void *argp1 = 0 ;
4316 int res1 = 0 ;
4317 void *argp2 = 0 ;
4318 int res2 = 0 ;
4319 PyObject * obj0 = 0 ;
4320 PyObject * obj1 = 0 ;
4321 char * kwnames[] = {
4322 (char *) "self",(char *) "bitmap", NULL
4323 };
4324
4325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4327 if (!SWIG_IsOK(res1)) {
4328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4329 }
4330 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4331 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4332 if (!SWIG_IsOK(res2)) {
4333 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4334 }
4335 if (!argp2) {
4336 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4337 }
4338 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4342 wxPyEndAllowThreads(__tstate);
4343 if (PyErr_Occurred()) SWIG_fail;
4344 }
4345 resultobj = SWIG_Py_Void();
4346 return resultobj;
4347 fail:
4348 return NULL;
4349 }
4350
4351
4352 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4353 PyObject *resultobj = 0;
4354 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4355 wxBitmap *arg2 = 0 ;
4356 void *argp1 = 0 ;
4357 int res1 = 0 ;
4358 void *argp2 = 0 ;
4359 int res2 = 0 ;
4360 PyObject * obj0 = 0 ;
4361 PyObject * obj1 = 0 ;
4362 char * kwnames[] = {
4363 (char *) "self",(char *) "hover", NULL
4364 };
4365
4366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4368 if (!SWIG_IsOK(res1)) {
4369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4370 }
4371 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4372 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4373 if (!SWIG_IsOK(res2)) {
4374 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4375 }
4376 if (!argp2) {
4377 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4378 }
4379 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 resultobj = SWIG_Py_Void();
4387 return resultobj;
4388 fail:
4389 return NULL;
4390 }
4391
4392
4393 SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj = 0;
4395 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4396 int arg2 ;
4397 int arg3 ;
4398 void *argp1 = 0 ;
4399 int res1 = 0 ;
4400 int val2 ;
4401 int ecode2 = 0 ;
4402 int val3 ;
4403 int ecode3 = 0 ;
4404 PyObject * obj0 = 0 ;
4405 PyObject * obj1 = 0 ;
4406 PyObject * obj2 = 0 ;
4407 char * kwnames[] = {
4408 (char *) "self",(char *) "x",(char *) "y", NULL
4409 };
4410
4411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4413 if (!SWIG_IsOK(res1)) {
4414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4415 }
4416 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4417 ecode2 = SWIG_AsVal_int(obj1, &val2);
4418 if (!SWIG_IsOK(ecode2)) {
4419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4420 }
4421 arg2 = static_cast< int >(val2);
4422 ecode3 = SWIG_AsVal_int(obj2, &val3);
4423 if (!SWIG_IsOK(ecode3)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4425 }
4426 arg3 = static_cast< int >(val3);
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 (arg1)->SetMargins(arg2,arg3);
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 resultobj = SWIG_Py_Void();
4434 return resultobj;
4435 fail:
4436 return NULL;
4437 }
4438
4439
4440 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4441 PyObject *resultobj = 0;
4442 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4443 int result;
4444 void *argp1 = 0 ;
4445 int res1 = 0 ;
4446 PyObject *swig_obj[1] ;
4447
4448 if (!args) SWIG_fail;
4449 swig_obj[0] = args;
4450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4451 if (!SWIG_IsOK(res1)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4453 }
4454 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
4461 resultobj = SWIG_From_int(static_cast< int >(result));
4462 return resultobj;
4463 fail:
4464 return NULL;
4465 }
4466
4467
4468 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4469 PyObject *resultobj = 0;
4470 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4471 int result;
4472 void *argp1 = 0 ;
4473 int res1 = 0 ;
4474 PyObject *swig_obj[1] ;
4475
4476 if (!args) SWIG_fail;
4477 swig_obj[0] = args;
4478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4479 if (!SWIG_IsOK(res1)) {
4480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4481 }
4482 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4483 {
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
4485 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 resultobj = SWIG_From_int(static_cast< int >(result));
4490 return resultobj;
4491 fail:
4492 return NULL;
4493 }
4494
4495
4496 SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4497 PyObject *obj;
4498 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4499 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4500 return SWIG_Py_Void();
4501 }
4502
4503 SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4504 return SWIG_Python_InitShadowInstance(args);
4505 }
4506
4507 SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4508 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4509 return 1;
4510 }
4511
4512
4513 SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4514 PyObject *pyobj = 0;
4515
4516 {
4517 #if wxUSE_UNICODE
4518 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4519 #else
4520 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4521 #endif
4522 }
4523 return pyobj;
4524 }
4525
4526
4527 SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj = 0;
4529 wxWindow *arg1 = (wxWindow *) 0 ;
4530 int arg2 = (int) -1 ;
4531 wxString const &arg3_defvalue = wxPyEmptyString ;
4532 wxString *arg3 = (wxString *) &arg3_defvalue ;
4533 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4534 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4535 wxSize const &arg5_defvalue = wxDefaultSize ;
4536 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4537 long arg6 = (long) 0 ;
4538 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4539 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4540 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4541 wxString *arg8 = (wxString *) &arg8_defvalue ;
4542 wxCheckBox *result = 0 ;
4543 void *argp1 = 0 ;
4544 int res1 = 0 ;
4545 int val2 ;
4546 int ecode2 = 0 ;
4547 bool temp3 = false ;
4548 wxPoint temp4 ;
4549 wxSize temp5 ;
4550 long val6 ;
4551 int ecode6 = 0 ;
4552 void *argp7 = 0 ;
4553 int res7 = 0 ;
4554 bool temp8 = false ;
4555 PyObject * obj0 = 0 ;
4556 PyObject * obj1 = 0 ;
4557 PyObject * obj2 = 0 ;
4558 PyObject * obj3 = 0 ;
4559 PyObject * obj4 = 0 ;
4560 PyObject * obj5 = 0 ;
4561 PyObject * obj6 = 0 ;
4562 PyObject * obj7 = 0 ;
4563 char * kwnames[] = {
4564 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4565 };
4566
4567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4569 if (!SWIG_IsOK(res1)) {
4570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4571 }
4572 arg1 = reinterpret_cast< wxWindow * >(argp1);
4573 if (obj1) {
4574 ecode2 = SWIG_AsVal_int(obj1, &val2);
4575 if (!SWIG_IsOK(ecode2)) {
4576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4577 }
4578 arg2 = static_cast< int >(val2);
4579 }
4580 if (obj2) {
4581 {
4582 arg3 = wxString_in_helper(obj2);
4583 if (arg3 == NULL) SWIG_fail;
4584 temp3 = true;
4585 }
4586 }
4587 if (obj3) {
4588 {
4589 arg4 = &temp4;
4590 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4591 }
4592 }
4593 if (obj4) {
4594 {
4595 arg5 = &temp5;
4596 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4597 }
4598 }
4599 if (obj5) {
4600 ecode6 = SWIG_AsVal_long(obj5, &val6);
4601 if (!SWIG_IsOK(ecode6)) {
4602 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4603 }
4604 arg6 = static_cast< long >(val6);
4605 }
4606 if (obj6) {
4607 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4608 if (!SWIG_IsOK(res7)) {
4609 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4610 }
4611 if (!argp7) {
4612 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4613 }
4614 arg7 = reinterpret_cast< wxValidator * >(argp7);
4615 }
4616 if (obj7) {
4617 {
4618 arg8 = wxString_in_helper(obj7);
4619 if (arg8 == NULL) SWIG_fail;
4620 temp8 = true;
4621 }
4622 }
4623 {
4624 if (!wxPyCheckForApp()) SWIG_fail;
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4627 wxPyEndAllowThreads(__tstate);
4628 if (PyErr_Occurred()) SWIG_fail;
4629 }
4630 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4631 {
4632 if (temp3)
4633 delete arg3;
4634 }
4635 {
4636 if (temp8)
4637 delete arg8;
4638 }
4639 return resultobj;
4640 fail:
4641 {
4642 if (temp3)
4643 delete arg3;
4644 }
4645 {
4646 if (temp8)
4647 delete arg8;
4648 }
4649 return NULL;
4650 }
4651
4652
4653 SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4654 PyObject *resultobj = 0;
4655 wxCheckBox *result = 0 ;
4656
4657 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4658 {
4659 if (!wxPyCheckForApp()) SWIG_fail;
4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
4661 result = (wxCheckBox *)new wxCheckBox();
4662 wxPyEndAllowThreads(__tstate);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 }
4665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4666 return resultobj;
4667 fail:
4668 return NULL;
4669 }
4670
4671
4672 SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4673 PyObject *resultobj = 0;
4674 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4675 wxWindow *arg2 = (wxWindow *) 0 ;
4676 int arg3 = (int) -1 ;
4677 wxString const &arg4_defvalue = wxPyEmptyString ;
4678 wxString *arg4 = (wxString *) &arg4_defvalue ;
4679 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4680 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4681 wxSize const &arg6_defvalue = wxDefaultSize ;
4682 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4683 long arg7 = (long) 0 ;
4684 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4685 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4686 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4687 wxString *arg9 = (wxString *) &arg9_defvalue ;
4688 bool result;
4689 void *argp1 = 0 ;
4690 int res1 = 0 ;
4691 void *argp2 = 0 ;
4692 int res2 = 0 ;
4693 int val3 ;
4694 int ecode3 = 0 ;
4695 bool temp4 = false ;
4696 wxPoint temp5 ;
4697 wxSize temp6 ;
4698 long val7 ;
4699 int ecode7 = 0 ;
4700 void *argp8 = 0 ;
4701 int res8 = 0 ;
4702 bool temp9 = false ;
4703 PyObject * obj0 = 0 ;
4704 PyObject * obj1 = 0 ;
4705 PyObject * obj2 = 0 ;
4706 PyObject * obj3 = 0 ;
4707 PyObject * obj4 = 0 ;
4708 PyObject * obj5 = 0 ;
4709 PyObject * obj6 = 0 ;
4710 PyObject * obj7 = 0 ;
4711 PyObject * obj8 = 0 ;
4712 char * kwnames[] = {
4713 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4714 };
4715
4716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4718 if (!SWIG_IsOK(res1)) {
4719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4720 }
4721 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4722 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4723 if (!SWIG_IsOK(res2)) {
4724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4725 }
4726 arg2 = reinterpret_cast< wxWindow * >(argp2);
4727 if (obj2) {
4728 ecode3 = SWIG_AsVal_int(obj2, &val3);
4729 if (!SWIG_IsOK(ecode3)) {
4730 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4731 }
4732 arg3 = static_cast< int >(val3);
4733 }
4734 if (obj3) {
4735 {
4736 arg4 = wxString_in_helper(obj3);
4737 if (arg4 == NULL) SWIG_fail;
4738 temp4 = true;
4739 }
4740 }
4741 if (obj4) {
4742 {
4743 arg5 = &temp5;
4744 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4745 }
4746 }
4747 if (obj5) {
4748 {
4749 arg6 = &temp6;
4750 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4751 }
4752 }
4753 if (obj6) {
4754 ecode7 = SWIG_AsVal_long(obj6, &val7);
4755 if (!SWIG_IsOK(ecode7)) {
4756 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4757 }
4758 arg7 = static_cast< long >(val7);
4759 }
4760 if (obj7) {
4761 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4762 if (!SWIG_IsOK(res8)) {
4763 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4764 }
4765 if (!argp8) {
4766 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4767 }
4768 arg8 = reinterpret_cast< wxValidator * >(argp8);
4769 }
4770 if (obj8) {
4771 {
4772 arg9 = wxString_in_helper(obj8);
4773 if (arg9 == NULL) SWIG_fail;
4774 temp9 = true;
4775 }
4776 }
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 {
4784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4785 }
4786 {
4787 if (temp4)
4788 delete arg4;
4789 }
4790 {
4791 if (temp9)
4792 delete arg9;
4793 }
4794 return resultobj;
4795 fail:
4796 {
4797 if (temp4)
4798 delete arg4;
4799 }
4800 {
4801 if (temp9)
4802 delete arg9;
4803 }
4804 return NULL;
4805 }
4806
4807
4808 SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4809 PyObject *resultobj = 0;
4810 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4811 bool result;
4812 void *argp1 = 0 ;
4813 int res1 = 0 ;
4814 PyObject *swig_obj[1] ;
4815
4816 if (!args) SWIG_fail;
4817 swig_obj[0] = args;
4818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4819 if (!SWIG_IsOK(res1)) {
4820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4821 }
4822 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4823 {
4824 PyThreadState* __tstate = wxPyBeginAllowThreads();
4825 result = (bool)(arg1)->GetValue();
4826 wxPyEndAllowThreads(__tstate);
4827 if (PyErr_Occurred()) SWIG_fail;
4828 }
4829 {
4830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4831 }
4832 return resultobj;
4833 fail:
4834 return NULL;
4835 }
4836
4837
4838 SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4839 PyObject *resultobj = 0;
4840 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4841 bool result;
4842 void *argp1 = 0 ;
4843 int res1 = 0 ;
4844 PyObject *swig_obj[1] ;
4845
4846 if (!args) SWIG_fail;
4847 swig_obj[0] = args;
4848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4849 if (!SWIG_IsOK(res1)) {
4850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4851 }
4852 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 result = (bool)(arg1)->IsChecked();
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 {
4860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4861 }
4862 return resultobj;
4863 fail:
4864 return NULL;
4865 }
4866
4867
4868 SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj = 0;
4870 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4871 bool arg2 ;
4872 void *argp1 = 0 ;
4873 int res1 = 0 ;
4874 bool val2 ;
4875 int ecode2 = 0 ;
4876 PyObject * obj0 = 0 ;
4877 PyObject * obj1 = 0 ;
4878 char * kwnames[] = {
4879 (char *) "self",(char *) "state", NULL
4880 };
4881
4882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4884 if (!SWIG_IsOK(res1)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4886 }
4887 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4888 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4889 if (!SWIG_IsOK(ecode2)) {
4890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4891 }
4892 arg2 = static_cast< bool >(val2);
4893 {
4894 PyThreadState* __tstate = wxPyBeginAllowThreads();
4895 (arg1)->SetValue(arg2);
4896 wxPyEndAllowThreads(__tstate);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 }
4899 resultobj = SWIG_Py_Void();
4900 return resultobj;
4901 fail:
4902 return NULL;
4903 }
4904
4905
4906 SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4907 PyObject *resultobj = 0;
4908 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4909 wxCheckBoxState result;
4910 void *argp1 = 0 ;
4911 int res1 = 0 ;
4912 PyObject *swig_obj[1] ;
4913
4914 if (!args) SWIG_fail;
4915 swig_obj[0] = args;
4916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4917 if (!SWIG_IsOK(res1)) {
4918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4919 }
4920 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4921 {
4922 PyThreadState* __tstate = wxPyBeginAllowThreads();
4923 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4924 wxPyEndAllowThreads(__tstate);
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
4927 resultobj = SWIG_From_int(static_cast< int >(result));
4928 return resultobj;
4929 fail:
4930 return NULL;
4931 }
4932
4933
4934 SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4935 PyObject *resultobj = 0;
4936 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4937 wxCheckBoxState arg2 ;
4938 void *argp1 = 0 ;
4939 int res1 = 0 ;
4940 int val2 ;
4941 int ecode2 = 0 ;
4942 PyObject * obj0 = 0 ;
4943 PyObject * obj1 = 0 ;
4944 char * kwnames[] = {
4945 (char *) "self",(char *) "state", NULL
4946 };
4947
4948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4950 if (!SWIG_IsOK(res1)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4952 }
4953 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4954 ecode2 = SWIG_AsVal_int(obj1, &val2);
4955 if (!SWIG_IsOK(ecode2)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4957 }
4958 arg2 = static_cast< wxCheckBoxState >(val2);
4959 {
4960 PyThreadState* __tstate = wxPyBeginAllowThreads();
4961 (arg1)->Set3StateValue(arg2);
4962 wxPyEndAllowThreads(__tstate);
4963 if (PyErr_Occurred()) SWIG_fail;
4964 }
4965 resultobj = SWIG_Py_Void();
4966 return resultobj;
4967 fail:
4968 return NULL;
4969 }
4970
4971
4972 SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4973 PyObject *resultobj = 0;
4974 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4975 bool result;
4976 void *argp1 = 0 ;
4977 int res1 = 0 ;
4978 PyObject *swig_obj[1] ;
4979
4980 if (!args) SWIG_fail;
4981 swig_obj[0] = args;
4982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4983 if (!SWIG_IsOK(res1)) {
4984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4985 }
4986 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 result = (bool)((wxCheckBox const *)arg1)->Is3State();
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 {
4994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4995 }
4996 return resultobj;
4997 fail:
4998 return NULL;
4999 }
5000
5001
5002 SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5003 PyObject *resultobj = 0;
5004 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5005 bool result;
5006 void *argp1 = 0 ;
5007 int res1 = 0 ;
5008 PyObject *swig_obj[1] ;
5009
5010 if (!args) SWIG_fail;
5011 swig_obj[0] = args;
5012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5013 if (!SWIG_IsOK(res1)) {
5014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5015 }
5016 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5020 wxPyEndAllowThreads(__tstate);
5021 if (PyErr_Occurred()) SWIG_fail;
5022 }
5023 {
5024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5025 }
5026 return resultobj;
5027 fail:
5028 return NULL;
5029 }
5030
5031
5032 SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5033 PyObject *resultobj = 0;
5034 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5035 SwigValueWrapper<wxVisualAttributes > result;
5036 int val1 ;
5037 int ecode1 = 0 ;
5038 PyObject * obj0 = 0 ;
5039 char * kwnames[] = {
5040 (char *) "variant", NULL
5041 };
5042
5043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5044 if (obj0) {
5045 ecode1 = SWIG_AsVal_int(obj0, &val1);
5046 if (!SWIG_IsOK(ecode1)) {
5047 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5048 }
5049 arg1 = static_cast< wxWindowVariant >(val1);
5050 }
5051 {
5052 if (!wxPyCheckForApp()) SWIG_fail;
5053 PyThreadState* __tstate = wxPyBeginAllowThreads();
5054 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5055 wxPyEndAllowThreads(__tstate);
5056 if (PyErr_Occurred()) SWIG_fail;
5057 }
5058 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5059 return resultobj;
5060 fail:
5061 return NULL;
5062 }
5063
5064
5065 SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5066 PyObject *obj;
5067 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5068 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5069 return SWIG_Py_Void();
5070 }
5071
5072 SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5073 return SWIG_Python_InitShadowInstance(args);
5074 }
5075
5076 SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5077 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5078 return 1;
5079 }
5080
5081
5082 SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5083 PyObject *pyobj = 0;
5084
5085 {
5086 #if wxUSE_UNICODE
5087 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5088 #else
5089 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5090 #endif
5091 }
5092 return pyobj;
5093 }
5094
5095
5096 SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5097 PyObject *resultobj = 0;
5098 wxWindow *arg1 = (wxWindow *) 0 ;
5099 int arg2 = (int) -1 ;
5100 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5101 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5102 wxSize const &arg4_defvalue = wxDefaultSize ;
5103 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5104 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5105 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5106 long arg6 = (long) 0 ;
5107 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5108 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5109 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5110 wxString *arg8 = (wxString *) &arg8_defvalue ;
5111 wxChoice *result = 0 ;
5112 void *argp1 = 0 ;
5113 int res1 = 0 ;
5114 int val2 ;
5115 int ecode2 = 0 ;
5116 wxPoint temp3 ;
5117 wxSize temp4 ;
5118 bool temp5 = false ;
5119 long val6 ;
5120 int ecode6 = 0 ;
5121 void *argp7 = 0 ;
5122 int res7 = 0 ;
5123 bool temp8 = false ;
5124 PyObject * obj0 = 0 ;
5125 PyObject * obj1 = 0 ;
5126 PyObject * obj2 = 0 ;
5127 PyObject * obj3 = 0 ;
5128 PyObject * obj4 = 0 ;
5129 PyObject * obj5 = 0 ;
5130 PyObject * obj6 = 0 ;
5131 PyObject * obj7 = 0 ;
5132 char * kwnames[] = {
5133 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5134 };
5135
5136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5138 if (!SWIG_IsOK(res1)) {
5139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5140 }
5141 arg1 = reinterpret_cast< wxWindow * >(argp1);
5142 if (obj1) {
5143 ecode2 = SWIG_AsVal_int(obj1, &val2);
5144 if (!SWIG_IsOK(ecode2)) {
5145 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5146 }
5147 arg2 = static_cast< int >(val2);
5148 }
5149 if (obj2) {
5150 {
5151 arg3 = &temp3;
5152 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5153 }
5154 }
5155 if (obj3) {
5156 {
5157 arg4 = &temp4;
5158 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5159 }
5160 }
5161 if (obj4) {
5162 {
5163 if (! PySequence_Check(obj4)) {
5164 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5165 SWIG_fail;
5166 }
5167 arg5 = new wxArrayString;
5168 temp5 = true;
5169 int i, len=PySequence_Length(obj4);
5170 for (i=0; i<len; i++) {
5171 PyObject* item = PySequence_GetItem(obj4, i);
5172 wxString* s = wxString_in_helper(item);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 arg5->Add(*s);
5175 delete s;
5176 Py_DECREF(item);
5177 }
5178 }
5179 }
5180 if (obj5) {
5181 ecode6 = SWIG_AsVal_long(obj5, &val6);
5182 if (!SWIG_IsOK(ecode6)) {
5183 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5184 }
5185 arg6 = static_cast< long >(val6);
5186 }
5187 if (obj6) {
5188 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5189 if (!SWIG_IsOK(res7)) {
5190 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5191 }
5192 if (!argp7) {
5193 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5194 }
5195 arg7 = reinterpret_cast< wxValidator * >(argp7);
5196 }
5197 if (obj7) {
5198 {
5199 arg8 = wxString_in_helper(obj7);
5200 if (arg8 == NULL) SWIG_fail;
5201 temp8 = true;
5202 }
5203 }
5204 {
5205 if (!wxPyCheckForApp()) SWIG_fail;
5206 PyThreadState* __tstate = wxPyBeginAllowThreads();
5207 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5212 {
5213 if (temp5) delete arg5;
5214 }
5215 {
5216 if (temp8)
5217 delete arg8;
5218 }
5219 return resultobj;
5220 fail:
5221 {
5222 if (temp5) delete arg5;
5223 }
5224 {
5225 if (temp8)
5226 delete arg8;
5227 }
5228 return NULL;
5229 }
5230
5231
5232 SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5233 PyObject *resultobj = 0;
5234 wxChoice *result = 0 ;
5235
5236 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5237 {
5238 if (!wxPyCheckForApp()) SWIG_fail;
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 result = (wxChoice *)new wxChoice();
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5245 return resultobj;
5246 fail:
5247 return NULL;
5248 }
5249
5250
5251 SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5252 PyObject *resultobj = 0;
5253 wxChoice *arg1 = (wxChoice *) 0 ;
5254 wxWindow *arg2 = (wxWindow *) 0 ;
5255 int arg3 = (int) -1 ;
5256 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5257 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5258 wxSize const &arg5_defvalue = wxDefaultSize ;
5259 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5260 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5261 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5262 long arg7 = (long) 0 ;
5263 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5264 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5265 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5266 wxString *arg9 = (wxString *) &arg9_defvalue ;
5267 bool result;
5268 void *argp1 = 0 ;
5269 int res1 = 0 ;
5270 void *argp2 = 0 ;
5271 int res2 = 0 ;
5272 int val3 ;
5273 int ecode3 = 0 ;
5274 wxPoint temp4 ;
5275 wxSize temp5 ;
5276 bool temp6 = false ;
5277 long val7 ;
5278 int ecode7 = 0 ;
5279 void *argp8 = 0 ;
5280 int res8 = 0 ;
5281 bool temp9 = false ;
5282 PyObject * obj0 = 0 ;
5283 PyObject * obj1 = 0 ;
5284 PyObject * obj2 = 0 ;
5285 PyObject * obj3 = 0 ;
5286 PyObject * obj4 = 0 ;
5287 PyObject * obj5 = 0 ;
5288 PyObject * obj6 = 0 ;
5289 PyObject * obj7 = 0 ;
5290 PyObject * obj8 = 0 ;
5291 char * kwnames[] = {
5292 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5293 };
5294
5295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5297 if (!SWIG_IsOK(res1)) {
5298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5299 }
5300 arg1 = reinterpret_cast< wxChoice * >(argp1);
5301 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5302 if (!SWIG_IsOK(res2)) {
5303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5304 }
5305 arg2 = reinterpret_cast< wxWindow * >(argp2);
5306 if (obj2) {
5307 ecode3 = SWIG_AsVal_int(obj2, &val3);
5308 if (!SWIG_IsOK(ecode3)) {
5309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5310 }
5311 arg3 = static_cast< int >(val3);
5312 }
5313 if (obj3) {
5314 {
5315 arg4 = &temp4;
5316 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5317 }
5318 }
5319 if (obj4) {
5320 {
5321 arg5 = &temp5;
5322 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5323 }
5324 }
5325 if (obj5) {
5326 {
5327 if (! PySequence_Check(obj5)) {
5328 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5329 SWIG_fail;
5330 }
5331 arg6 = new wxArrayString;
5332 temp6 = true;
5333 int i, len=PySequence_Length(obj5);
5334 for (i=0; i<len; i++) {
5335 PyObject* item = PySequence_GetItem(obj5, i);
5336 wxString* s = wxString_in_helper(item);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 arg6->Add(*s);
5339 delete s;
5340 Py_DECREF(item);
5341 }
5342 }
5343 }
5344 if (obj6) {
5345 ecode7 = SWIG_AsVal_long(obj6, &val7);
5346 if (!SWIG_IsOK(ecode7)) {
5347 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5348 }
5349 arg7 = static_cast< long >(val7);
5350 }
5351 if (obj7) {
5352 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5353 if (!SWIG_IsOK(res8)) {
5354 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5355 }
5356 if (!argp8) {
5357 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5358 }
5359 arg8 = reinterpret_cast< wxValidator * >(argp8);
5360 }
5361 if (obj8) {
5362 {
5363 arg9 = wxString_in_helper(obj8);
5364 if (arg9 == NULL) SWIG_fail;
5365 temp9 = true;
5366 }
5367 }
5368 {
5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
5370 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5371 wxPyEndAllowThreads(__tstate);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 }
5374 {
5375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5376 }
5377 {
5378 if (temp6) delete arg6;
5379 }
5380 {
5381 if (temp9)
5382 delete arg9;
5383 }
5384 return resultobj;
5385 fail:
5386 {
5387 if (temp6) delete arg6;
5388 }
5389 {
5390 if (temp9)
5391 delete arg9;
5392 }
5393 return NULL;
5394 }
5395
5396
5397 SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5398 PyObject *resultobj = 0;
5399 wxChoice *arg1 = (wxChoice *) 0 ;
5400 int result;
5401 void *argp1 = 0 ;
5402 int res1 = 0 ;
5403 PyObject *swig_obj[1] ;
5404
5405 if (!args) SWIG_fail;
5406 swig_obj[0] = args;
5407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5408 if (!SWIG_IsOK(res1)) {
5409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5410 }
5411 arg1 = reinterpret_cast< wxChoice * >(argp1);
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 resultobj = SWIG_From_int(static_cast< int >(result));
5419 return resultobj;
5420 fail:
5421 return NULL;
5422 }
5423
5424
5425 SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj = 0;
5427 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5428 SwigValueWrapper<wxVisualAttributes > result;
5429 int val1 ;
5430 int ecode1 = 0 ;
5431 PyObject * obj0 = 0 ;
5432 char * kwnames[] = {
5433 (char *) "variant", NULL
5434 };
5435
5436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5437 if (obj0) {
5438 ecode1 = SWIG_AsVal_int(obj0, &val1);
5439 if (!SWIG_IsOK(ecode1)) {
5440 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5441 }
5442 arg1 = static_cast< wxWindowVariant >(val1);
5443 }
5444 {
5445 if (!wxPyCheckForApp()) SWIG_fail;
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 result = wxChoice::GetClassDefaultAttributes(arg1);
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5452 return resultobj;
5453 fail:
5454 return NULL;
5455 }
5456
5457
5458 SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5459 PyObject *obj;
5460 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5461 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5462 return SWIG_Py_Void();
5463 }
5464
5465 SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5466 return SWIG_Python_InitShadowInstance(args);
5467 }
5468
5469 SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5470 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5471 return 1;
5472 }
5473
5474
5475 SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5476 PyObject *pyobj = 0;
5477
5478 {
5479 #if wxUSE_UNICODE
5480 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5481 #else
5482 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5483 #endif
5484 }
5485 return pyobj;
5486 }
5487
5488
5489 SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5490 PyObject *resultobj = 0;
5491 wxWindow *arg1 = (wxWindow *) 0 ;
5492 int arg2 = (int) -1 ;
5493 wxString const &arg3_defvalue = wxPyEmptyString ;
5494 wxString *arg3 = (wxString *) &arg3_defvalue ;
5495 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5496 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5497 wxSize const &arg5_defvalue = wxDefaultSize ;
5498 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5499 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5500 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5501 long arg7 = (long) 0 ;
5502 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5503 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5504 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5505 wxString *arg9 = (wxString *) &arg9_defvalue ;
5506 wxComboBox *result = 0 ;
5507 void *argp1 = 0 ;
5508 int res1 = 0 ;
5509 int val2 ;
5510 int ecode2 = 0 ;
5511 bool temp3 = false ;
5512 wxPoint temp4 ;
5513 wxSize temp5 ;
5514 bool temp6 = false ;
5515 long val7 ;
5516 int ecode7 = 0 ;
5517 void *argp8 = 0 ;
5518 int res8 = 0 ;
5519 bool temp9 = false ;
5520 PyObject * obj0 = 0 ;
5521 PyObject * obj1 = 0 ;
5522 PyObject * obj2 = 0 ;
5523 PyObject * obj3 = 0 ;
5524 PyObject * obj4 = 0 ;
5525 PyObject * obj5 = 0 ;
5526 PyObject * obj6 = 0 ;
5527 PyObject * obj7 = 0 ;
5528 PyObject * obj8 = 0 ;
5529 char * kwnames[] = {
5530 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5531 };
5532
5533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5535 if (!SWIG_IsOK(res1)) {
5536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5537 }
5538 arg1 = reinterpret_cast< wxWindow * >(argp1);
5539 if (obj1) {
5540 ecode2 = SWIG_AsVal_int(obj1, &val2);
5541 if (!SWIG_IsOK(ecode2)) {
5542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5543 }
5544 arg2 = static_cast< int >(val2);
5545 }
5546 if (obj2) {
5547 {
5548 arg3 = wxString_in_helper(obj2);
5549 if (arg3 == NULL) SWIG_fail;
5550 temp3 = true;
5551 }
5552 }
5553 if (obj3) {
5554 {
5555 arg4 = &temp4;
5556 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5557 }
5558 }
5559 if (obj4) {
5560 {
5561 arg5 = &temp5;
5562 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5563 }
5564 }
5565 if (obj5) {
5566 {
5567 if (! PySequence_Check(obj5)) {
5568 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5569 SWIG_fail;
5570 }
5571 arg6 = new wxArrayString;
5572 temp6 = true;
5573 int i, len=PySequence_Length(obj5);
5574 for (i=0; i<len; i++) {
5575 PyObject* item = PySequence_GetItem(obj5, i);
5576 wxString* s = wxString_in_helper(item);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 arg6->Add(*s);
5579 delete s;
5580 Py_DECREF(item);
5581 }
5582 }
5583 }
5584 if (obj6) {
5585 ecode7 = SWIG_AsVal_long(obj6, &val7);
5586 if (!SWIG_IsOK(ecode7)) {
5587 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5588 }
5589 arg7 = static_cast< long >(val7);
5590 }
5591 if (obj7) {
5592 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5593 if (!SWIG_IsOK(res8)) {
5594 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5595 }
5596 if (!argp8) {
5597 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5598 }
5599 arg8 = reinterpret_cast< wxValidator * >(argp8);
5600 }
5601 if (obj8) {
5602 {
5603 arg9 = wxString_in_helper(obj8);
5604 if (arg9 == NULL) SWIG_fail;
5605 temp9 = true;
5606 }
5607 }
5608 {
5609 if (!wxPyCheckForApp()) SWIG_fail;
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 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);
5612 wxPyEndAllowThreads(__tstate);
5613 if (PyErr_Occurred()) SWIG_fail;
5614 }
5615 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5616 {
5617 if (temp3)
5618 delete arg3;
5619 }
5620 {
5621 if (temp6) delete arg6;
5622 }
5623 {
5624 if (temp9)
5625 delete arg9;
5626 }
5627 return resultobj;
5628 fail:
5629 {
5630 if (temp3)
5631 delete arg3;
5632 }
5633 {
5634 if (temp6) delete arg6;
5635 }
5636 {
5637 if (temp9)
5638 delete arg9;
5639 }
5640 return NULL;
5641 }
5642
5643
5644 SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5645 PyObject *resultobj = 0;
5646 wxComboBox *result = 0 ;
5647
5648 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5649 {
5650 if (!wxPyCheckForApp()) SWIG_fail;
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 result = (wxComboBox *)new wxComboBox();
5653 wxPyEndAllowThreads(__tstate);
5654 if (PyErr_Occurred()) SWIG_fail;
5655 }
5656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5657 return resultobj;
5658 fail:
5659 return NULL;
5660 }
5661
5662
5663 SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5664 PyObject *resultobj = 0;
5665 wxComboBox *arg1 = (wxComboBox *) 0 ;
5666 wxWindow *arg2 = (wxWindow *) 0 ;
5667 int arg3 = (int) -1 ;
5668 wxString const &arg4_defvalue = wxPyEmptyString ;
5669 wxString *arg4 = (wxString *) &arg4_defvalue ;
5670 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5671 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5672 wxSize const &arg6_defvalue = wxDefaultSize ;
5673 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5674 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5675 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5676 long arg8 = (long) 0 ;
5677 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5678 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5679 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5680 wxString *arg10 = (wxString *) &arg10_defvalue ;
5681 bool result;
5682 void *argp1 = 0 ;
5683 int res1 = 0 ;
5684 void *argp2 = 0 ;
5685 int res2 = 0 ;
5686 int val3 ;
5687 int ecode3 = 0 ;
5688 bool temp4 = false ;
5689 wxPoint temp5 ;
5690 wxSize temp6 ;
5691 bool temp7 = false ;
5692 long val8 ;
5693 int ecode8 = 0 ;
5694 void *argp9 = 0 ;
5695 int res9 = 0 ;
5696 bool temp10 = false ;
5697 PyObject * obj0 = 0 ;
5698 PyObject * obj1 = 0 ;
5699 PyObject * obj2 = 0 ;
5700 PyObject * obj3 = 0 ;
5701 PyObject * obj4 = 0 ;
5702 PyObject * obj5 = 0 ;
5703 PyObject * obj6 = 0 ;
5704 PyObject * obj7 = 0 ;
5705 PyObject * obj8 = 0 ;
5706 PyObject * obj9 = 0 ;
5707 char * kwnames[] = {
5708 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5709 };
5710
5711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5713 if (!SWIG_IsOK(res1)) {
5714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5715 }
5716 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5717 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5718 if (!SWIG_IsOK(res2)) {
5719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5720 }
5721 arg2 = reinterpret_cast< wxWindow * >(argp2);
5722 if (obj2) {
5723 ecode3 = SWIG_AsVal_int(obj2, &val3);
5724 if (!SWIG_IsOK(ecode3)) {
5725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5726 }
5727 arg3 = static_cast< int >(val3);
5728 }
5729 if (obj3) {
5730 {
5731 arg4 = wxString_in_helper(obj3);
5732 if (arg4 == NULL) SWIG_fail;
5733 temp4 = true;
5734 }
5735 }
5736 if (obj4) {
5737 {
5738 arg5 = &temp5;
5739 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5740 }
5741 }
5742 if (obj5) {
5743 {
5744 arg6 = &temp6;
5745 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5746 }
5747 }
5748 if (obj6) {
5749 {
5750 if (! PySequence_Check(obj6)) {
5751 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5752 SWIG_fail;
5753 }
5754 arg7 = new wxArrayString;
5755 temp7 = true;
5756 int i, len=PySequence_Length(obj6);
5757 for (i=0; i<len; i++) {
5758 PyObject* item = PySequence_GetItem(obj6, i);
5759 wxString* s = wxString_in_helper(item);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 arg7->Add(*s);
5762 delete s;
5763 Py_DECREF(item);
5764 }
5765 }
5766 }
5767 if (obj7) {
5768 ecode8 = SWIG_AsVal_long(obj7, &val8);
5769 if (!SWIG_IsOK(ecode8)) {
5770 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5771 }
5772 arg8 = static_cast< long >(val8);
5773 }
5774 if (obj8) {
5775 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5776 if (!SWIG_IsOK(res9)) {
5777 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5778 }
5779 if (!argp9) {
5780 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5781 }
5782 arg9 = reinterpret_cast< wxValidator * >(argp9);
5783 }
5784 if (obj9) {
5785 {
5786 arg10 = wxString_in_helper(obj9);
5787 if (arg10 == NULL) SWIG_fail;
5788 temp10 = true;
5789 }
5790 }
5791 {
5792 PyThreadState* __tstate = wxPyBeginAllowThreads();
5793 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);
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 {
5798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5799 }
5800 {
5801 if (temp4)
5802 delete arg4;
5803 }
5804 {
5805 if (temp7) delete arg7;
5806 }
5807 {
5808 if (temp10)
5809 delete arg10;
5810 }
5811 return resultobj;
5812 fail:
5813 {
5814 if (temp4)
5815 delete arg4;
5816 }
5817 {
5818 if (temp7) delete arg7;
5819 }
5820 {
5821 if (temp10)
5822 delete arg10;
5823 }
5824 return NULL;
5825 }
5826
5827
5828 SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5829 PyObject *resultobj = 0;
5830 wxComboBox *arg1 = (wxComboBox *) 0 ;
5831 wxString result;
5832 void *argp1 = 0 ;
5833 int res1 = 0 ;
5834 PyObject *swig_obj[1] ;
5835
5836 if (!args) SWIG_fail;
5837 swig_obj[0] = args;
5838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5839 if (!SWIG_IsOK(res1)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5841 }
5842 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5843 {
5844 PyThreadState* __tstate = wxPyBeginAllowThreads();
5845 result = ((wxComboBox const *)arg1)->GetValue();
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 {
5850 #if wxUSE_UNICODE
5851 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5852 #else
5853 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5854 #endif
5855 }
5856 return resultobj;
5857 fail:
5858 return NULL;
5859 }
5860
5861
5862 SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5863 PyObject *resultobj = 0;
5864 wxComboBox *arg1 = (wxComboBox *) 0 ;
5865 wxString *arg2 = 0 ;
5866 void *argp1 = 0 ;
5867 int res1 = 0 ;
5868 bool temp2 = false ;
5869 PyObject * obj0 = 0 ;
5870 PyObject * obj1 = 0 ;
5871 char * kwnames[] = {
5872 (char *) "self",(char *) "value", NULL
5873 };
5874
5875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5877 if (!SWIG_IsOK(res1)) {
5878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5879 }
5880 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5881 {
5882 arg2 = wxString_in_helper(obj1);
5883 if (arg2 == NULL) SWIG_fail;
5884 temp2 = true;
5885 }
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 (arg1)->SetValue((wxString const &)*arg2);
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 resultobj = SWIG_Py_Void();
5893 {
5894 if (temp2)
5895 delete arg2;
5896 }
5897 return resultobj;
5898 fail:
5899 {
5900 if (temp2)
5901 delete arg2;
5902 }
5903 return NULL;
5904 }
5905
5906
5907 SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5908 PyObject *resultobj = 0;
5909 wxComboBox *arg1 = (wxComboBox *) 0 ;
5910 void *argp1 = 0 ;
5911 int res1 = 0 ;
5912 PyObject *swig_obj[1] ;
5913
5914 if (!args) SWIG_fail;
5915 swig_obj[0] = args;
5916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5917 if (!SWIG_IsOK(res1)) {
5918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5919 }
5920 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5921 {
5922 PyThreadState* __tstate = wxPyBeginAllowThreads();
5923 (arg1)->Copy();
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 resultobj = SWIG_Py_Void();
5928 return resultobj;
5929 fail:
5930 return NULL;
5931 }
5932
5933
5934 SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5935 PyObject *resultobj = 0;
5936 wxComboBox *arg1 = (wxComboBox *) 0 ;
5937 void *argp1 = 0 ;
5938 int res1 = 0 ;
5939 PyObject *swig_obj[1] ;
5940
5941 if (!args) SWIG_fail;
5942 swig_obj[0] = args;
5943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5944 if (!SWIG_IsOK(res1)) {
5945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5946 }
5947 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 (arg1)->Cut();
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 resultobj = SWIG_Py_Void();
5955 return resultobj;
5956 fail:
5957 return NULL;
5958 }
5959
5960
5961 SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5962 PyObject *resultobj = 0;
5963 wxComboBox *arg1 = (wxComboBox *) 0 ;
5964 void *argp1 = 0 ;
5965 int res1 = 0 ;
5966 PyObject *swig_obj[1] ;
5967
5968 if (!args) SWIG_fail;
5969 swig_obj[0] = args;
5970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5971 if (!SWIG_IsOK(res1)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5973 }
5974 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5975 {
5976 PyThreadState* __tstate = wxPyBeginAllowThreads();
5977 (arg1)->Paste();
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 resultobj = SWIG_Py_Void();
5982 return resultobj;
5983 fail:
5984 return NULL;
5985 }
5986
5987
5988 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5989 PyObject *resultobj = 0;
5990 wxComboBox *arg1 = (wxComboBox *) 0 ;
5991 long arg2 ;
5992 void *argp1 = 0 ;
5993 int res1 = 0 ;
5994 long val2 ;
5995 int ecode2 = 0 ;
5996 PyObject * obj0 = 0 ;
5997 PyObject * obj1 = 0 ;
5998 char * kwnames[] = {
5999 (char *) "self",(char *) "pos", NULL
6000 };
6001
6002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
6003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6004 if (!SWIG_IsOK(res1)) {
6005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6006 }
6007 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6008 ecode2 = SWIG_AsVal_long(obj1, &val2);
6009 if (!SWIG_IsOK(ecode2)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6011 }
6012 arg2 = static_cast< long >(val2);
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 (arg1)->SetInsertionPoint(arg2);
6016 wxPyEndAllowThreads(__tstate);
6017 if (PyErr_Occurred()) SWIG_fail;
6018 }
6019 resultobj = SWIG_Py_Void();
6020 return resultobj;
6021 fail:
6022 return NULL;
6023 }
6024
6025
6026 SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6027 PyObject *resultobj = 0;
6028 wxComboBox *arg1 = (wxComboBox *) 0 ;
6029 long result;
6030 void *argp1 = 0 ;
6031 int res1 = 0 ;
6032 PyObject *swig_obj[1] ;
6033
6034 if (!args) SWIG_fail;
6035 swig_obj[0] = args;
6036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6037 if (!SWIG_IsOK(res1)) {
6038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6039 }
6040 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6041 {
6042 PyThreadState* __tstate = wxPyBeginAllowThreads();
6043 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6044 wxPyEndAllowThreads(__tstate);
6045 if (PyErr_Occurred()) SWIG_fail;
6046 }
6047 resultobj = SWIG_From_long(static_cast< long >(result));
6048 return resultobj;
6049 fail:
6050 return NULL;
6051 }
6052
6053
6054 SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6055 PyObject *resultobj = 0;
6056 wxComboBox *arg1 = (wxComboBox *) 0 ;
6057 long result;
6058 void *argp1 = 0 ;
6059 int res1 = 0 ;
6060 PyObject *swig_obj[1] ;
6061
6062 if (!args) SWIG_fail;
6063 swig_obj[0] = args;
6064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6065 if (!SWIG_IsOK(res1)) {
6066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6067 }
6068 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6069 {
6070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6071 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6072 wxPyEndAllowThreads(__tstate);
6073 if (PyErr_Occurred()) SWIG_fail;
6074 }
6075 resultobj = SWIG_From_long(static_cast< long >(result));
6076 return resultobj;
6077 fail:
6078 return NULL;
6079 }
6080
6081
6082 SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6083 PyObject *resultobj = 0;
6084 wxComboBox *arg1 = (wxComboBox *) 0 ;
6085 long arg2 ;
6086 long arg3 ;
6087 wxString *arg4 = 0 ;
6088 void *argp1 = 0 ;
6089 int res1 = 0 ;
6090 long val2 ;
6091 int ecode2 = 0 ;
6092 long val3 ;
6093 int ecode3 = 0 ;
6094 bool temp4 = false ;
6095 PyObject * obj0 = 0 ;
6096 PyObject * obj1 = 0 ;
6097 PyObject * obj2 = 0 ;
6098 PyObject * obj3 = 0 ;
6099 char * kwnames[] = {
6100 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6101 };
6102
6103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6105 if (!SWIG_IsOK(res1)) {
6106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6107 }
6108 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6109 ecode2 = SWIG_AsVal_long(obj1, &val2);
6110 if (!SWIG_IsOK(ecode2)) {
6111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6112 }
6113 arg2 = static_cast< long >(val2);
6114 ecode3 = SWIG_AsVal_long(obj2, &val3);
6115 if (!SWIG_IsOK(ecode3)) {
6116 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6117 }
6118 arg3 = static_cast< long >(val3);
6119 {
6120 arg4 = wxString_in_helper(obj3);
6121 if (arg4 == NULL) SWIG_fail;
6122 temp4 = true;
6123 }
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
6126 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6127 wxPyEndAllowThreads(__tstate);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 }
6130 resultobj = SWIG_Py_Void();
6131 {
6132 if (temp4)
6133 delete arg4;
6134 }
6135 return resultobj;
6136 fail:
6137 {
6138 if (temp4)
6139 delete arg4;
6140 }
6141 return NULL;
6142 }
6143
6144
6145 SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj = 0;
6147 wxComboBox *arg1 = (wxComboBox *) 0 ;
6148 long arg2 ;
6149 long arg3 ;
6150 void *argp1 = 0 ;
6151 int res1 = 0 ;
6152 long val2 ;
6153 int ecode2 = 0 ;
6154 long val3 ;
6155 int ecode3 = 0 ;
6156 PyObject * obj0 = 0 ;
6157 PyObject * obj1 = 0 ;
6158 PyObject * obj2 = 0 ;
6159 char * kwnames[] = {
6160 (char *) "self",(char *) "from",(char *) "to", NULL
6161 };
6162
6163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6165 if (!SWIG_IsOK(res1)) {
6166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6167 }
6168 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6169 ecode2 = SWIG_AsVal_long(obj1, &val2);
6170 if (!SWIG_IsOK(ecode2)) {
6171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6172 }
6173 arg2 = static_cast< long >(val2);
6174 ecode3 = SWIG_AsVal_long(obj2, &val3);
6175 if (!SWIG_IsOK(ecode3)) {
6176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6177 }
6178 arg3 = static_cast< long >(val3);
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 (arg1)->SetSelection(arg2,arg3);
6182 wxPyEndAllowThreads(__tstate);
6183 if (PyErr_Occurred()) SWIG_fail;
6184 }
6185 resultobj = SWIG_Py_Void();
6186 return resultobj;
6187 fail:
6188 return NULL;
6189 }
6190
6191
6192 SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6193 PyObject *resultobj = 0;
6194 wxComboBox *arg1 = (wxComboBox *) 0 ;
6195 long *arg2 = (long *) 0 ;
6196 long *arg3 = (long *) 0 ;
6197 void *argp1 = 0 ;
6198 int res1 = 0 ;
6199 long temp2 ;
6200 int res2 = SWIG_TMPOBJ ;
6201 long temp3 ;
6202 int res3 = SWIG_TMPOBJ ;
6203 PyObject *swig_obj[1] ;
6204
6205 arg2 = &temp2;
6206 arg3 = &temp3;
6207 if (!args) SWIG_fail;
6208 swig_obj[0] = args;
6209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6210 if (!SWIG_IsOK(res1)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6212 }
6213 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6214 {
6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6216 (arg1)->GetSelection(arg2,arg3);
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
6220 resultobj = SWIG_Py_Void();
6221 if (SWIG_IsTmpObj(res2)) {
6222 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6223 } else {
6224 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6225 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6226 }
6227 if (SWIG_IsTmpObj(res3)) {
6228 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6229 } else {
6230 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6231 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6232 }
6233 return resultobj;
6234 fail:
6235 return NULL;
6236 }
6237
6238
6239 SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6240 PyObject *resultobj = 0;
6241 wxComboBox *arg1 = (wxComboBox *) 0 ;
6242 int result;
6243 void *argp1 = 0 ;
6244 int res1 = 0 ;
6245 PyObject *swig_obj[1] ;
6246
6247 if (!args) SWIG_fail;
6248 swig_obj[0] = args;
6249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6250 if (!SWIG_IsOK(res1)) {
6251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6252 }
6253 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6254 {
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6257 wxPyEndAllowThreads(__tstate);
6258 if (PyErr_Occurred()) SWIG_fail;
6259 }
6260 resultobj = SWIG_From_int(static_cast< int >(result));
6261 return resultobj;
6262 fail:
6263 return NULL;
6264 }
6265
6266
6267 SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6268 PyObject *resultobj = 0;
6269 wxComboBox *arg1 = (wxComboBox *) 0 ;
6270 wxString *arg2 = 0 ;
6271 bool result;
6272 void *argp1 = 0 ;
6273 int res1 = 0 ;
6274 bool temp2 = false ;
6275 PyObject * obj0 = 0 ;
6276 PyObject * obj1 = 0 ;
6277 char * kwnames[] = {
6278 (char *) "self",(char *) "string", NULL
6279 };
6280
6281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6283 if (!SWIG_IsOK(res1)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6285 }
6286 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6287 {
6288 arg2 = wxString_in_helper(obj1);
6289 if (arg2 == NULL) SWIG_fail;
6290 temp2 = true;
6291 }
6292 {
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6294 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6295 wxPyEndAllowThreads(__tstate);
6296 if (PyErr_Occurred()) SWIG_fail;
6297 }
6298 {
6299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6300 }
6301 {
6302 if (temp2)
6303 delete arg2;
6304 }
6305 return resultobj;
6306 fail:
6307 {
6308 if (temp2)
6309 delete arg2;
6310 }
6311 return NULL;
6312 }
6313
6314
6315 SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj = 0;
6317 wxComboBox *arg1 = (wxComboBox *) 0 ;
6318 bool arg2 ;
6319 void *argp1 = 0 ;
6320 int res1 = 0 ;
6321 bool val2 ;
6322 int ecode2 = 0 ;
6323 PyObject * obj0 = 0 ;
6324 PyObject * obj1 = 0 ;
6325 char * kwnames[] = {
6326 (char *) "self",(char *) "editable", NULL
6327 };
6328
6329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6331 if (!SWIG_IsOK(res1)) {
6332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6333 }
6334 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6335 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6336 if (!SWIG_IsOK(ecode2)) {
6337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6338 }
6339 arg2 = static_cast< bool >(val2);
6340 {
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 (arg1)->SetEditable(arg2);
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 resultobj = SWIG_Py_Void();
6347 return resultobj;
6348 fail:
6349 return NULL;
6350 }
6351
6352
6353 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6354 PyObject *resultobj = 0;
6355 wxComboBox *arg1 = (wxComboBox *) 0 ;
6356 void *argp1 = 0 ;
6357 int res1 = 0 ;
6358 PyObject *swig_obj[1] ;
6359
6360 if (!args) SWIG_fail;
6361 swig_obj[0] = args;
6362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6363 if (!SWIG_IsOK(res1)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6365 }
6366 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6367 {
6368 PyThreadState* __tstate = wxPyBeginAllowThreads();
6369 (arg1)->SetInsertionPointEnd();
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
6373 resultobj = SWIG_Py_Void();
6374 return resultobj;
6375 fail:
6376 return NULL;
6377 }
6378
6379
6380 SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6381 PyObject *resultobj = 0;
6382 wxComboBox *arg1 = (wxComboBox *) 0 ;
6383 long arg2 ;
6384 long arg3 ;
6385 void *argp1 = 0 ;
6386 int res1 = 0 ;
6387 long val2 ;
6388 int ecode2 = 0 ;
6389 long val3 ;
6390 int ecode3 = 0 ;
6391 PyObject * obj0 = 0 ;
6392 PyObject * obj1 = 0 ;
6393 PyObject * obj2 = 0 ;
6394 char * kwnames[] = {
6395 (char *) "self",(char *) "from",(char *) "to", NULL
6396 };
6397
6398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6400 if (!SWIG_IsOK(res1)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6402 }
6403 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6404 ecode2 = SWIG_AsVal_long(obj1, &val2);
6405 if (!SWIG_IsOK(ecode2)) {
6406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6407 }
6408 arg2 = static_cast< long >(val2);
6409 ecode3 = SWIG_AsVal_long(obj2, &val3);
6410 if (!SWIG_IsOK(ecode3)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6412 }
6413 arg3 = static_cast< long >(val3);
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 (arg1)->Remove(arg2,arg3);
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 resultobj = SWIG_Py_Void();
6421 return resultobj;
6422 fail:
6423 return NULL;
6424 }
6425
6426
6427 SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6428 PyObject *resultobj = 0;
6429 wxComboBox *arg1 = (wxComboBox *) 0 ;
6430 bool result;
6431 void *argp1 = 0 ;
6432 int res1 = 0 ;
6433 PyObject *swig_obj[1] ;
6434
6435 if (!args) SWIG_fail;
6436 swig_obj[0] = args;
6437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6438 if (!SWIG_IsOK(res1)) {
6439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6440 }
6441 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6442 {
6443 PyThreadState* __tstate = wxPyBeginAllowThreads();
6444 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 {
6449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6450 }
6451 return resultobj;
6452 fail:
6453 return NULL;
6454 }
6455
6456
6457 SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6458 PyObject *resultobj = 0;
6459 wxComboBox *arg1 = (wxComboBox *) 0 ;
6460 void *argp1 = 0 ;
6461 int res1 = 0 ;
6462 PyObject *swig_obj[1] ;
6463
6464 if (!args) SWIG_fail;
6465 swig_obj[0] = args;
6466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6467 if (!SWIG_IsOK(res1)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6469 }
6470 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 (arg1)->Undo();
6474 wxPyEndAllowThreads(__tstate);
6475 if (PyErr_Occurred()) SWIG_fail;
6476 }
6477 resultobj = SWIG_Py_Void();
6478 return resultobj;
6479 fail:
6480 return NULL;
6481 }
6482
6483
6484 SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6485 PyObject *resultobj = 0;
6486 wxComboBox *arg1 = (wxComboBox *) 0 ;
6487 void *argp1 = 0 ;
6488 int res1 = 0 ;
6489 PyObject *swig_obj[1] ;
6490
6491 if (!args) SWIG_fail;
6492 swig_obj[0] = args;
6493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6494 if (!SWIG_IsOK(res1)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6496 }
6497 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6498 {
6499 PyThreadState* __tstate = wxPyBeginAllowThreads();
6500 (arg1)->Redo();
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 resultobj = SWIG_Py_Void();
6505 return resultobj;
6506 fail:
6507 return NULL;
6508 }
6509
6510
6511 SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6512 PyObject *resultobj = 0;
6513 wxComboBox *arg1 = (wxComboBox *) 0 ;
6514 void *argp1 = 0 ;
6515 int res1 = 0 ;
6516 PyObject *swig_obj[1] ;
6517
6518 if (!args) SWIG_fail;
6519 swig_obj[0] = args;
6520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6521 if (!SWIG_IsOK(res1)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6523 }
6524 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6525 {
6526 PyThreadState* __tstate = wxPyBeginAllowThreads();
6527 (arg1)->SelectAll();
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 resultobj = SWIG_Py_Void();
6532 return resultobj;
6533 fail:
6534 return NULL;
6535 }
6536
6537
6538 SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6539 PyObject *resultobj = 0;
6540 wxComboBox *arg1 = (wxComboBox *) 0 ;
6541 bool result;
6542 void *argp1 = 0 ;
6543 int res1 = 0 ;
6544 PyObject *swig_obj[1] ;
6545
6546 if (!args) SWIG_fail;
6547 swig_obj[0] = args;
6548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6549 if (!SWIG_IsOK(res1)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6551 }
6552 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6553 {
6554 PyThreadState* __tstate = wxPyBeginAllowThreads();
6555 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
6559 {
6560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6561 }
6562 return resultobj;
6563 fail:
6564 return NULL;
6565 }
6566
6567
6568 SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6569 PyObject *resultobj = 0;
6570 wxComboBox *arg1 = (wxComboBox *) 0 ;
6571 bool result;
6572 void *argp1 = 0 ;
6573 int res1 = 0 ;
6574 PyObject *swig_obj[1] ;
6575
6576 if (!args) SWIG_fail;
6577 swig_obj[0] = args;
6578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6579 if (!SWIG_IsOK(res1)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6581 }
6582 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 result = (bool)((wxComboBox const *)arg1)->CanCut();
6586 wxPyEndAllowThreads(__tstate);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
6589 {
6590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6591 }
6592 return resultobj;
6593 fail:
6594 return NULL;
6595 }
6596
6597
6598 SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6599 PyObject *resultobj = 0;
6600 wxComboBox *arg1 = (wxComboBox *) 0 ;
6601 bool result;
6602 void *argp1 = 0 ;
6603 int res1 = 0 ;
6604 PyObject *swig_obj[1] ;
6605
6606 if (!args) SWIG_fail;
6607 swig_obj[0] = args;
6608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6609 if (!SWIG_IsOK(res1)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6611 }
6612 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6613 {
6614 PyThreadState* __tstate = wxPyBeginAllowThreads();
6615 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6616 wxPyEndAllowThreads(__tstate);
6617 if (PyErr_Occurred()) SWIG_fail;
6618 }
6619 {
6620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6621 }
6622 return resultobj;
6623 fail:
6624 return NULL;
6625 }
6626
6627
6628 SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6629 PyObject *resultobj = 0;
6630 wxComboBox *arg1 = (wxComboBox *) 0 ;
6631 bool result;
6632 void *argp1 = 0 ;
6633 int res1 = 0 ;
6634 PyObject *swig_obj[1] ;
6635
6636 if (!args) SWIG_fail;
6637 swig_obj[0] = args;
6638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6639 if (!SWIG_IsOK(res1)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6641 }
6642 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 {
6650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6651 }
6652 return resultobj;
6653 fail:
6654 return NULL;
6655 }
6656
6657
6658 SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6659 PyObject *resultobj = 0;
6660 wxComboBox *arg1 = (wxComboBox *) 0 ;
6661 bool result;
6662 void *argp1 = 0 ;
6663 int res1 = 0 ;
6664 PyObject *swig_obj[1] ;
6665
6666 if (!args) SWIG_fail;
6667 swig_obj[0] = args;
6668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6669 if (!SWIG_IsOK(res1)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6671 }
6672 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
6679 {
6680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6681 }
6682 return resultobj;
6683 fail:
6684 return NULL;
6685 }
6686
6687
6688 SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6689 PyObject *resultobj = 0;
6690 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6691 SwigValueWrapper<wxVisualAttributes > result;
6692 int val1 ;
6693 int ecode1 = 0 ;
6694 PyObject * obj0 = 0 ;
6695 char * kwnames[] = {
6696 (char *) "variant", NULL
6697 };
6698
6699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6700 if (obj0) {
6701 ecode1 = SWIG_AsVal_int(obj0, &val1);
6702 if (!SWIG_IsOK(ecode1)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6704 }
6705 arg1 = static_cast< wxWindowVariant >(val1);
6706 }
6707 {
6708 if (!wxPyCheckForApp()) SWIG_fail;
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 result = wxComboBox::GetClassDefaultAttributes(arg1);
6711 wxPyEndAllowThreads(__tstate);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 }
6714 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6715 return resultobj;
6716 fail:
6717 return NULL;
6718 }
6719
6720
6721 SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6722 PyObject *obj;
6723 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6724 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6725 return SWIG_Py_Void();
6726 }
6727
6728 SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6729 return SWIG_Python_InitShadowInstance(args);
6730 }
6731
6732 SWIGINTERN int GaugeNameStr_set(PyObject *) {
6733 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6734 return 1;
6735 }
6736
6737
6738 SWIGINTERN PyObject *GaugeNameStr_get(void) {
6739 PyObject *pyobj = 0;
6740
6741 {
6742 #if wxUSE_UNICODE
6743 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6744 #else
6745 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6746 #endif
6747 }
6748 return pyobj;
6749 }
6750
6751
6752 SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6753 PyObject *resultobj = 0;
6754 wxWindow *arg1 = (wxWindow *) 0 ;
6755 int arg2 = (int) -1 ;
6756 int arg3 = (int) 100 ;
6757 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6758 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6759 wxSize const &arg5_defvalue = wxDefaultSize ;
6760 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6761 long arg6 = (long) wxGA_HORIZONTAL ;
6762 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6763 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6764 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6765 wxString *arg8 = (wxString *) &arg8_defvalue ;
6766 wxGauge *result = 0 ;
6767 void *argp1 = 0 ;
6768 int res1 = 0 ;
6769 int val2 ;
6770 int ecode2 = 0 ;
6771 int val3 ;
6772 int ecode3 = 0 ;
6773 wxPoint temp4 ;
6774 wxSize temp5 ;
6775 long val6 ;
6776 int ecode6 = 0 ;
6777 void *argp7 = 0 ;
6778 int res7 = 0 ;
6779 bool temp8 = false ;
6780 PyObject * obj0 = 0 ;
6781 PyObject * obj1 = 0 ;
6782 PyObject * obj2 = 0 ;
6783 PyObject * obj3 = 0 ;
6784 PyObject * obj4 = 0 ;
6785 PyObject * obj5 = 0 ;
6786 PyObject * obj6 = 0 ;
6787 PyObject * obj7 = 0 ;
6788 char * kwnames[] = {
6789 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6790 };
6791
6792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6794 if (!SWIG_IsOK(res1)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6796 }
6797 arg1 = reinterpret_cast< wxWindow * >(argp1);
6798 if (obj1) {
6799 ecode2 = SWIG_AsVal_int(obj1, &val2);
6800 if (!SWIG_IsOK(ecode2)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6802 }
6803 arg2 = static_cast< int >(val2);
6804 }
6805 if (obj2) {
6806 ecode3 = SWIG_AsVal_int(obj2, &val3);
6807 if (!SWIG_IsOK(ecode3)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6809 }
6810 arg3 = static_cast< int >(val3);
6811 }
6812 if (obj3) {
6813 {
6814 arg4 = &temp4;
6815 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6816 }
6817 }
6818 if (obj4) {
6819 {
6820 arg5 = &temp5;
6821 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6822 }
6823 }
6824 if (obj5) {
6825 ecode6 = SWIG_AsVal_long(obj5, &val6);
6826 if (!SWIG_IsOK(ecode6)) {
6827 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6828 }
6829 arg6 = static_cast< long >(val6);
6830 }
6831 if (obj6) {
6832 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6833 if (!SWIG_IsOK(res7)) {
6834 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6835 }
6836 if (!argp7) {
6837 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6838 }
6839 arg7 = reinterpret_cast< wxValidator * >(argp7);
6840 }
6841 if (obj7) {
6842 {
6843 arg8 = wxString_in_helper(obj7);
6844 if (arg8 == NULL) SWIG_fail;
6845 temp8 = true;
6846 }
6847 }
6848 {
6849 if (!wxPyCheckForApp()) SWIG_fail;
6850 PyThreadState* __tstate = wxPyBeginAllowThreads();
6851 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6852 wxPyEndAllowThreads(__tstate);
6853 if (PyErr_Occurred()) SWIG_fail;
6854 }
6855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6856 {
6857 if (temp8)
6858 delete arg8;
6859 }
6860 return resultobj;
6861 fail:
6862 {
6863 if (temp8)
6864 delete arg8;
6865 }
6866 return NULL;
6867 }
6868
6869
6870 SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6871 PyObject *resultobj = 0;
6872 wxGauge *result = 0 ;
6873
6874 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6875 {
6876 if (!wxPyCheckForApp()) SWIG_fail;
6877 PyThreadState* __tstate = wxPyBeginAllowThreads();
6878 result = (wxGauge *)new wxGauge();
6879 wxPyEndAllowThreads(__tstate);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 }
6882 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6883 return resultobj;
6884 fail:
6885 return NULL;
6886 }
6887
6888
6889 SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6890 PyObject *resultobj = 0;
6891 wxGauge *arg1 = (wxGauge *) 0 ;
6892 wxWindow *arg2 = (wxWindow *) 0 ;
6893 int arg3 = (int) -1 ;
6894 int arg4 = (int) 100 ;
6895 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6896 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6897 wxSize const &arg6_defvalue = wxDefaultSize ;
6898 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6899 long arg7 = (long) wxGA_HORIZONTAL ;
6900 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6901 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6902 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6903 wxString *arg9 = (wxString *) &arg9_defvalue ;
6904 bool result;
6905 void *argp1 = 0 ;
6906 int res1 = 0 ;
6907 void *argp2 = 0 ;
6908 int res2 = 0 ;
6909 int val3 ;
6910 int ecode3 = 0 ;
6911 int val4 ;
6912 int ecode4 = 0 ;
6913 wxPoint temp5 ;
6914 wxSize temp6 ;
6915 long val7 ;
6916 int ecode7 = 0 ;
6917 void *argp8 = 0 ;
6918 int res8 = 0 ;
6919 bool temp9 = false ;
6920 PyObject * obj0 = 0 ;
6921 PyObject * obj1 = 0 ;
6922 PyObject * obj2 = 0 ;
6923 PyObject * obj3 = 0 ;
6924 PyObject * obj4 = 0 ;
6925 PyObject * obj5 = 0 ;
6926 PyObject * obj6 = 0 ;
6927 PyObject * obj7 = 0 ;
6928 PyObject * obj8 = 0 ;
6929 char * kwnames[] = {
6930 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6931 };
6932
6933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6935 if (!SWIG_IsOK(res1)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6937 }
6938 arg1 = reinterpret_cast< wxGauge * >(argp1);
6939 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6940 if (!SWIG_IsOK(res2)) {
6941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6942 }
6943 arg2 = reinterpret_cast< wxWindow * >(argp2);
6944 if (obj2) {
6945 ecode3 = SWIG_AsVal_int(obj2, &val3);
6946 if (!SWIG_IsOK(ecode3)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6948 }
6949 arg3 = static_cast< int >(val3);
6950 }
6951 if (obj3) {
6952 ecode4 = SWIG_AsVal_int(obj3, &val4);
6953 if (!SWIG_IsOK(ecode4)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6955 }
6956 arg4 = static_cast< int >(val4);
6957 }
6958 if (obj4) {
6959 {
6960 arg5 = &temp5;
6961 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6962 }
6963 }
6964 if (obj5) {
6965 {
6966 arg6 = &temp6;
6967 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6968 }
6969 }
6970 if (obj6) {
6971 ecode7 = SWIG_AsVal_long(obj6, &val7);
6972 if (!SWIG_IsOK(ecode7)) {
6973 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6974 }
6975 arg7 = static_cast< long >(val7);
6976 }
6977 if (obj7) {
6978 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
6979 if (!SWIG_IsOK(res8)) {
6980 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6981 }
6982 if (!argp8) {
6983 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6984 }
6985 arg8 = reinterpret_cast< wxValidator * >(argp8);
6986 }
6987 if (obj8) {
6988 {
6989 arg9 = wxString_in_helper(obj8);
6990 if (arg9 == NULL) SWIG_fail;
6991 temp9 = true;
6992 }
6993 }
6994 {
6995 PyThreadState* __tstate = wxPyBeginAllowThreads();
6996 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 {
7001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7002 }
7003 {
7004 if (temp9)
7005 delete arg9;
7006 }
7007 return resultobj;
7008 fail:
7009 {
7010 if (temp9)
7011 delete arg9;
7012 }
7013 return NULL;
7014 }
7015
7016
7017 SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj = 0;
7019 wxGauge *arg1 = (wxGauge *) 0 ;
7020 int arg2 ;
7021 void *argp1 = 0 ;
7022 int res1 = 0 ;
7023 int val2 ;
7024 int ecode2 = 0 ;
7025 PyObject * obj0 = 0 ;
7026 PyObject * obj1 = 0 ;
7027 char * kwnames[] = {
7028 (char *) "self",(char *) "range", NULL
7029 };
7030
7031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7033 if (!SWIG_IsOK(res1)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7035 }
7036 arg1 = reinterpret_cast< wxGauge * >(argp1);
7037 ecode2 = SWIG_AsVal_int(obj1, &val2);
7038 if (!SWIG_IsOK(ecode2)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7040 }
7041 arg2 = static_cast< int >(val2);
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 (arg1)->SetRange(arg2);
7045 wxPyEndAllowThreads(__tstate);
7046 if (PyErr_Occurred()) SWIG_fail;
7047 }
7048 resultobj = SWIG_Py_Void();
7049 return resultobj;
7050 fail:
7051 return NULL;
7052 }
7053
7054
7055 SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7056 PyObject *resultobj = 0;
7057 wxGauge *arg1 = (wxGauge *) 0 ;
7058 int result;
7059 void *argp1 = 0 ;
7060 int res1 = 0 ;
7061 PyObject *swig_obj[1] ;
7062
7063 if (!args) SWIG_fail;
7064 swig_obj[0] = args;
7065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7066 if (!SWIG_IsOK(res1)) {
7067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7068 }
7069 arg1 = reinterpret_cast< wxGauge * >(argp1);
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 result = (int)((wxGauge const *)arg1)->GetRange();
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 resultobj = SWIG_From_int(static_cast< int >(result));
7077 return resultobj;
7078 fail:
7079 return NULL;
7080 }
7081
7082
7083 SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj = 0;
7085 wxGauge *arg1 = (wxGauge *) 0 ;
7086 int arg2 ;
7087 void *argp1 = 0 ;
7088 int res1 = 0 ;
7089 int val2 ;
7090 int ecode2 = 0 ;
7091 PyObject * obj0 = 0 ;
7092 PyObject * obj1 = 0 ;
7093 char * kwnames[] = {
7094 (char *) "self",(char *) "pos", NULL
7095 };
7096
7097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7099 if (!SWIG_IsOK(res1)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7101 }
7102 arg1 = reinterpret_cast< wxGauge * >(argp1);
7103 ecode2 = SWIG_AsVal_int(obj1, &val2);
7104 if (!SWIG_IsOK(ecode2)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7106 }
7107 arg2 = static_cast< int >(val2);
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 (arg1)->SetValue(arg2);
7111 wxPyEndAllowThreads(__tstate);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 resultobj = SWIG_Py_Void();
7115 return resultobj;
7116 fail:
7117 return NULL;
7118 }
7119
7120
7121 SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7122 PyObject *resultobj = 0;
7123 wxGauge *arg1 = (wxGauge *) 0 ;
7124 int result;
7125 void *argp1 = 0 ;
7126 int res1 = 0 ;
7127 PyObject *swig_obj[1] ;
7128
7129 if (!args) SWIG_fail;
7130 swig_obj[0] = args;
7131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7132 if (!SWIG_IsOK(res1)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7134 }
7135 arg1 = reinterpret_cast< wxGauge * >(argp1);
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 result = (int)((wxGauge const *)arg1)->GetValue();
7139 wxPyEndAllowThreads(__tstate);
7140 if (PyErr_Occurred()) SWIG_fail;
7141 }
7142 resultobj = SWIG_From_int(static_cast< int >(result));
7143 return resultobj;
7144 fail:
7145 return NULL;
7146 }
7147
7148
7149 SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7150 PyObject *resultobj = 0;
7151 wxGauge *arg1 = (wxGauge *) 0 ;
7152 void *argp1 = 0 ;
7153 int res1 = 0 ;
7154 PyObject *swig_obj[1] ;
7155
7156 if (!args) SWIG_fail;
7157 swig_obj[0] = args;
7158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7159 if (!SWIG_IsOK(res1)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7161 }
7162 arg1 = reinterpret_cast< wxGauge * >(argp1);
7163 {
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 (arg1)->Pulse();
7166 wxPyEndAllowThreads(__tstate);
7167 if (PyErr_Occurred()) SWIG_fail;
7168 }
7169 resultobj = SWIG_Py_Void();
7170 return resultobj;
7171 fail:
7172 return NULL;
7173 }
7174
7175
7176 SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7177 PyObject *resultobj = 0;
7178 wxGauge *arg1 = (wxGauge *) 0 ;
7179 bool result;
7180 void *argp1 = 0 ;
7181 int res1 = 0 ;
7182 PyObject *swig_obj[1] ;
7183
7184 if (!args) SWIG_fail;
7185 swig_obj[0] = args;
7186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7187 if (!SWIG_IsOK(res1)) {
7188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7189 }
7190 arg1 = reinterpret_cast< wxGauge * >(argp1);
7191 {
7192 PyThreadState* __tstate = wxPyBeginAllowThreads();
7193 result = (bool)((wxGauge const *)arg1)->IsVertical();
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 {
7198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7199 }
7200 return resultobj;
7201 fail:
7202 return NULL;
7203 }
7204
7205
7206 SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7207 PyObject *resultobj = 0;
7208 wxGauge *arg1 = (wxGauge *) 0 ;
7209 int arg2 ;
7210 void *argp1 = 0 ;
7211 int res1 = 0 ;
7212 int val2 ;
7213 int ecode2 = 0 ;
7214 PyObject * obj0 = 0 ;
7215 PyObject * obj1 = 0 ;
7216 char * kwnames[] = {
7217 (char *) "self",(char *) "w", NULL
7218 };
7219
7220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7222 if (!SWIG_IsOK(res1)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7224 }
7225 arg1 = reinterpret_cast< wxGauge * >(argp1);
7226 ecode2 = SWIG_AsVal_int(obj1, &val2);
7227 if (!SWIG_IsOK(ecode2)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7229 }
7230 arg2 = static_cast< int >(val2);
7231 {
7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
7233 (arg1)->SetShadowWidth(arg2);
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 resultobj = SWIG_Py_Void();
7238 return resultobj;
7239 fail:
7240 return NULL;
7241 }
7242
7243
7244 SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7245 PyObject *resultobj = 0;
7246 wxGauge *arg1 = (wxGauge *) 0 ;
7247 int result;
7248 void *argp1 = 0 ;
7249 int res1 = 0 ;
7250 PyObject *swig_obj[1] ;
7251
7252 if (!args) SWIG_fail;
7253 swig_obj[0] = args;
7254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7255 if (!SWIG_IsOK(res1)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7257 }
7258 arg1 = reinterpret_cast< wxGauge * >(argp1);
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 resultobj = SWIG_From_int(static_cast< int >(result));
7266 return resultobj;
7267 fail:
7268 return NULL;
7269 }
7270
7271
7272 SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7273 PyObject *resultobj = 0;
7274 wxGauge *arg1 = (wxGauge *) 0 ;
7275 int arg2 ;
7276 void *argp1 = 0 ;
7277 int res1 = 0 ;
7278 int val2 ;
7279 int ecode2 = 0 ;
7280 PyObject * obj0 = 0 ;
7281 PyObject * obj1 = 0 ;
7282 char * kwnames[] = {
7283 (char *) "self",(char *) "w", NULL
7284 };
7285
7286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7288 if (!SWIG_IsOK(res1)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7290 }
7291 arg1 = reinterpret_cast< wxGauge * >(argp1);
7292 ecode2 = SWIG_AsVal_int(obj1, &val2);
7293 if (!SWIG_IsOK(ecode2)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7295 }
7296 arg2 = static_cast< int >(val2);
7297 {
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 (arg1)->SetBezelFace(arg2);
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 resultobj = SWIG_Py_Void();
7304 return resultobj;
7305 fail:
7306 return NULL;
7307 }
7308
7309
7310 SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7311 PyObject *resultobj = 0;
7312 wxGauge *arg1 = (wxGauge *) 0 ;
7313 int result;
7314 void *argp1 = 0 ;
7315 int res1 = 0 ;
7316 PyObject *swig_obj[1] ;
7317
7318 if (!args) SWIG_fail;
7319 swig_obj[0] = args;
7320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7321 if (!SWIG_IsOK(res1)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7323 }
7324 arg1 = reinterpret_cast< wxGauge * >(argp1);
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7328 wxPyEndAllowThreads(__tstate);
7329 if (PyErr_Occurred()) SWIG_fail;
7330 }
7331 resultobj = SWIG_From_int(static_cast< int >(result));
7332 return resultobj;
7333 fail:
7334 return NULL;
7335 }
7336
7337
7338 SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7339 PyObject *resultobj = 0;
7340 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7341 SwigValueWrapper<wxVisualAttributes > result;
7342 int val1 ;
7343 int ecode1 = 0 ;
7344 PyObject * obj0 = 0 ;
7345 char * kwnames[] = {
7346 (char *) "variant", NULL
7347 };
7348
7349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7350 if (obj0) {
7351 ecode1 = SWIG_AsVal_int(obj0, &val1);
7352 if (!SWIG_IsOK(ecode1)) {
7353 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7354 }
7355 arg1 = static_cast< wxWindowVariant >(val1);
7356 }
7357 {
7358 if (!wxPyCheckForApp()) SWIG_fail;
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 result = wxGauge::GetClassDefaultAttributes(arg1);
7361 wxPyEndAllowThreads(__tstate);
7362 if (PyErr_Occurred()) SWIG_fail;
7363 }
7364 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7365 return resultobj;
7366 fail:
7367 return NULL;
7368 }
7369
7370
7371 SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7372 PyObject *obj;
7373 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7374 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7375 return SWIG_Py_Void();
7376 }
7377
7378 SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7379 return SWIG_Python_InitShadowInstance(args);
7380 }
7381
7382 SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7383 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7384 return 1;
7385 }
7386
7387
7388 SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7389 PyObject *pyobj = 0;
7390
7391 {
7392 #if wxUSE_UNICODE
7393 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7394 #else
7395 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7396 #endif
7397 }
7398 return pyobj;
7399 }
7400
7401
7402 SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7403 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7404 return 1;
7405 }
7406
7407
7408 SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7409 PyObject *pyobj = 0;
7410
7411 {
7412 #if wxUSE_UNICODE
7413 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7414 #else
7415 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7416 #endif
7417 }
7418 return pyobj;
7419 }
7420
7421
7422 SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7423 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7424 return 1;
7425 }
7426
7427
7428 SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7429 PyObject *pyobj = 0;
7430
7431 {
7432 #if wxUSE_UNICODE
7433 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7434 #else
7435 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7436 #endif
7437 }
7438 return pyobj;
7439 }
7440
7441
7442 SWIGINTERN int StaticLineNameStr_set(PyObject *) {
7443 SWIG_Error(SWIG_AttributeError,"Variable StaticLineNameStr is read-only.");
7444 return 1;
7445 }
7446
7447
7448 SWIGINTERN PyObject *StaticLineNameStr_get(void) {
7449 PyObject *pyobj = 0;
7450
7451 {
7452 #if wxUSE_UNICODE
7453 pyobj = PyUnicode_FromWideChar((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7454 #else
7455 pyobj = PyString_FromStringAndSize((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7456 #endif
7457 }
7458 return pyobj;
7459 }
7460
7461
7462 SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj = 0;
7464 wxWindow *arg1 = (wxWindow *) 0 ;
7465 int arg2 = (int) -1 ;
7466 wxString const &arg3_defvalue = wxPyEmptyString ;
7467 wxString *arg3 = (wxString *) &arg3_defvalue ;
7468 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7469 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7470 wxSize const &arg5_defvalue = wxDefaultSize ;
7471 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7472 long arg6 = (long) 0 ;
7473 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7474 wxString *arg7 = (wxString *) &arg7_defvalue ;
7475 wxStaticBox *result = 0 ;
7476 void *argp1 = 0 ;
7477 int res1 = 0 ;
7478 int val2 ;
7479 int ecode2 = 0 ;
7480 bool temp3 = false ;
7481 wxPoint temp4 ;
7482 wxSize temp5 ;
7483 long val6 ;
7484 int ecode6 = 0 ;
7485 bool temp7 = false ;
7486 PyObject * obj0 = 0 ;
7487 PyObject * obj1 = 0 ;
7488 PyObject * obj2 = 0 ;
7489 PyObject * obj3 = 0 ;
7490 PyObject * obj4 = 0 ;
7491 PyObject * obj5 = 0 ;
7492 PyObject * obj6 = 0 ;
7493 char * kwnames[] = {
7494 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7495 };
7496
7497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7499 if (!SWIG_IsOK(res1)) {
7500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7501 }
7502 arg1 = reinterpret_cast< wxWindow * >(argp1);
7503 if (obj1) {
7504 ecode2 = SWIG_AsVal_int(obj1, &val2);
7505 if (!SWIG_IsOK(ecode2)) {
7506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7507 }
7508 arg2 = static_cast< int >(val2);
7509 }
7510 if (obj2) {
7511 {
7512 arg3 = wxString_in_helper(obj2);
7513 if (arg3 == NULL) SWIG_fail;
7514 temp3 = true;
7515 }
7516 }
7517 if (obj3) {
7518 {
7519 arg4 = &temp4;
7520 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7521 }
7522 }
7523 if (obj4) {
7524 {
7525 arg5 = &temp5;
7526 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7527 }
7528 }
7529 if (obj5) {
7530 ecode6 = SWIG_AsVal_long(obj5, &val6);
7531 if (!SWIG_IsOK(ecode6)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7533 }
7534 arg6 = static_cast< long >(val6);
7535 }
7536 if (obj6) {
7537 {
7538 arg7 = wxString_in_helper(obj6);
7539 if (arg7 == NULL) SWIG_fail;
7540 temp7 = true;
7541 }
7542 }
7543 {
7544 if (!wxPyCheckForApp()) SWIG_fail;
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7551 {
7552 if (temp3)
7553 delete arg3;
7554 }
7555 {
7556 if (temp7)
7557 delete arg7;
7558 }
7559 return resultobj;
7560 fail:
7561 {
7562 if (temp3)
7563 delete arg3;
7564 }
7565 {
7566 if (temp7)
7567 delete arg7;
7568 }
7569 return NULL;
7570 }
7571
7572
7573 SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7574 PyObject *resultobj = 0;
7575 wxStaticBox *result = 0 ;
7576
7577 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7578 {
7579 if (!wxPyCheckForApp()) SWIG_fail;
7580 PyThreadState* __tstate = wxPyBeginAllowThreads();
7581 result = (wxStaticBox *)new wxStaticBox();
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 }
7585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7586 return resultobj;
7587 fail:
7588 return NULL;
7589 }
7590
7591
7592 SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7593 PyObject *resultobj = 0;
7594 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7595 wxWindow *arg2 = (wxWindow *) 0 ;
7596 int arg3 = (int) -1 ;
7597 wxString const &arg4_defvalue = wxPyEmptyString ;
7598 wxString *arg4 = (wxString *) &arg4_defvalue ;
7599 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7600 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7601 wxSize const &arg6_defvalue = wxDefaultSize ;
7602 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7603 long arg7 = (long) 0 ;
7604 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7605 wxString *arg8 = (wxString *) &arg8_defvalue ;
7606 bool result;
7607 void *argp1 = 0 ;
7608 int res1 = 0 ;
7609 void *argp2 = 0 ;
7610 int res2 = 0 ;
7611 int val3 ;
7612 int ecode3 = 0 ;
7613 bool temp4 = false ;
7614 wxPoint temp5 ;
7615 wxSize temp6 ;
7616 long val7 ;
7617 int ecode7 = 0 ;
7618 bool temp8 = false ;
7619 PyObject * obj0 = 0 ;
7620 PyObject * obj1 = 0 ;
7621 PyObject * obj2 = 0 ;
7622 PyObject * obj3 = 0 ;
7623 PyObject * obj4 = 0 ;
7624 PyObject * obj5 = 0 ;
7625 PyObject * obj6 = 0 ;
7626 PyObject * obj7 = 0 ;
7627 char * kwnames[] = {
7628 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7629 };
7630
7631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7633 if (!SWIG_IsOK(res1)) {
7634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7635 }
7636 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7637 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7638 if (!SWIG_IsOK(res2)) {
7639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7640 }
7641 arg2 = reinterpret_cast< wxWindow * >(argp2);
7642 if (obj2) {
7643 ecode3 = SWIG_AsVal_int(obj2, &val3);
7644 if (!SWIG_IsOK(ecode3)) {
7645 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7646 }
7647 arg3 = static_cast< int >(val3);
7648 }
7649 if (obj3) {
7650 {
7651 arg4 = wxString_in_helper(obj3);
7652 if (arg4 == NULL) SWIG_fail;
7653 temp4 = true;
7654 }
7655 }
7656 if (obj4) {
7657 {
7658 arg5 = &temp5;
7659 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7660 }
7661 }
7662 if (obj5) {
7663 {
7664 arg6 = &temp6;
7665 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7666 }
7667 }
7668 if (obj6) {
7669 ecode7 = SWIG_AsVal_long(obj6, &val7);
7670 if (!SWIG_IsOK(ecode7)) {
7671 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7672 }
7673 arg7 = static_cast< long >(val7);
7674 }
7675 if (obj7) {
7676 {
7677 arg8 = wxString_in_helper(obj7);
7678 if (arg8 == NULL) SWIG_fail;
7679 temp8 = true;
7680 }
7681 }
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 {
7689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7690 }
7691 {
7692 if (temp4)
7693 delete arg4;
7694 }
7695 {
7696 if (temp8)
7697 delete arg8;
7698 }
7699 return resultobj;
7700 fail:
7701 {
7702 if (temp4)
7703 delete arg4;
7704 }
7705 {
7706 if (temp8)
7707 delete arg8;
7708 }
7709 return NULL;
7710 }
7711
7712
7713 SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7714 PyObject *resultobj = 0;
7715 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7716 SwigValueWrapper<wxVisualAttributes > result;
7717 int val1 ;
7718 int ecode1 = 0 ;
7719 PyObject * obj0 = 0 ;
7720 char * kwnames[] = {
7721 (char *) "variant", NULL
7722 };
7723
7724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7725 if (obj0) {
7726 ecode1 = SWIG_AsVal_int(obj0, &val1);
7727 if (!SWIG_IsOK(ecode1)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7729 }
7730 arg1 = static_cast< wxWindowVariant >(val1);
7731 }
7732 {
7733 if (!wxPyCheckForApp()) SWIG_fail;
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7740 return resultobj;
7741 fail:
7742 return NULL;
7743 }
7744
7745
7746 SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7747 PyObject *obj;
7748 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7749 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7750 return SWIG_Py_Void();
7751 }
7752
7753 SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7754 return SWIG_Python_InitShadowInstance(args);
7755 }
7756
7757 SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj = 0;
7759 wxWindow *arg1 = (wxWindow *) 0 ;
7760 int arg2 = (int) -1 ;
7761 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7762 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7763 wxSize const &arg4_defvalue = wxDefaultSize ;
7764 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7765 long arg5 = (long) wxLI_HORIZONTAL ;
7766 wxString const &arg6_defvalue = wxPyStaticLineNameStr ;
7767 wxString *arg6 = (wxString *) &arg6_defvalue ;
7768 wxStaticLine *result = 0 ;
7769 void *argp1 = 0 ;
7770 int res1 = 0 ;
7771 int val2 ;
7772 int ecode2 = 0 ;
7773 wxPoint temp3 ;
7774 wxSize temp4 ;
7775 long val5 ;
7776 int ecode5 = 0 ;
7777 bool temp6 = false ;
7778 PyObject * obj0 = 0 ;
7779 PyObject * obj1 = 0 ;
7780 PyObject * obj2 = 0 ;
7781 PyObject * obj3 = 0 ;
7782 PyObject * obj4 = 0 ;
7783 PyObject * obj5 = 0 ;
7784 char * kwnames[] = {
7785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7786 };
7787
7788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7790 if (!SWIG_IsOK(res1)) {
7791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7792 }
7793 arg1 = reinterpret_cast< wxWindow * >(argp1);
7794 if (obj1) {
7795 ecode2 = SWIG_AsVal_int(obj1, &val2);
7796 if (!SWIG_IsOK(ecode2)) {
7797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7798 }
7799 arg2 = static_cast< int >(val2);
7800 }
7801 if (obj2) {
7802 {
7803 arg3 = &temp3;
7804 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7805 }
7806 }
7807 if (obj3) {
7808 {
7809 arg4 = &temp4;
7810 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7811 }
7812 }
7813 if (obj4) {
7814 ecode5 = SWIG_AsVal_long(obj4, &val5);
7815 if (!SWIG_IsOK(ecode5)) {
7816 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7817 }
7818 arg5 = static_cast< long >(val5);
7819 }
7820 if (obj5) {
7821 {
7822 arg6 = wxString_in_helper(obj5);
7823 if (arg6 == NULL) SWIG_fail;
7824 temp6 = true;
7825 }
7826 }
7827 {
7828 if (!wxPyCheckForApp()) SWIG_fail;
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7831 wxPyEndAllowThreads(__tstate);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
7834 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7835 {
7836 if (temp6)
7837 delete arg6;
7838 }
7839 return resultobj;
7840 fail:
7841 {
7842 if (temp6)
7843 delete arg6;
7844 }
7845 return NULL;
7846 }
7847
7848
7849 SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7850 PyObject *resultobj = 0;
7851 wxStaticLine *result = 0 ;
7852
7853 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7854 {
7855 if (!wxPyCheckForApp()) SWIG_fail;
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 result = (wxStaticLine *)new wxStaticLine();
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7862 return resultobj;
7863 fail:
7864 return NULL;
7865 }
7866
7867
7868 SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7869 PyObject *resultobj = 0;
7870 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7871 wxWindow *arg2 = (wxWindow *) 0 ;
7872 int arg3 = (int) -1 ;
7873 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7874 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7875 wxSize const &arg5_defvalue = wxDefaultSize ;
7876 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7877 long arg6 = (long) wxLI_HORIZONTAL ;
7878 wxString const &arg7_defvalue = wxPyStaticLineNameStr ;
7879 wxString *arg7 = (wxString *) &arg7_defvalue ;
7880 bool result;
7881 void *argp1 = 0 ;
7882 int res1 = 0 ;
7883 void *argp2 = 0 ;
7884 int res2 = 0 ;
7885 int val3 ;
7886 int ecode3 = 0 ;
7887 wxPoint temp4 ;
7888 wxSize temp5 ;
7889 long val6 ;
7890 int ecode6 = 0 ;
7891 bool temp7 = false ;
7892 PyObject * obj0 = 0 ;
7893 PyObject * obj1 = 0 ;
7894 PyObject * obj2 = 0 ;
7895 PyObject * obj3 = 0 ;
7896 PyObject * obj4 = 0 ;
7897 PyObject * obj5 = 0 ;
7898 PyObject * obj6 = 0 ;
7899 char * kwnames[] = {
7900 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7901 };
7902
7903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7905 if (!SWIG_IsOK(res1)) {
7906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7907 }
7908 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7909 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7910 if (!SWIG_IsOK(res2)) {
7911 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7912 }
7913 arg2 = reinterpret_cast< wxWindow * >(argp2);
7914 if (obj2) {
7915 ecode3 = SWIG_AsVal_int(obj2, &val3);
7916 if (!SWIG_IsOK(ecode3)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7918 }
7919 arg3 = static_cast< int >(val3);
7920 }
7921 if (obj3) {
7922 {
7923 arg4 = &temp4;
7924 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7925 }
7926 }
7927 if (obj4) {
7928 {
7929 arg5 = &temp5;
7930 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7931 }
7932 }
7933 if (obj5) {
7934 ecode6 = SWIG_AsVal_long(obj5, &val6);
7935 if (!SWIG_IsOK(ecode6)) {
7936 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7937 }
7938 arg6 = static_cast< long >(val6);
7939 }
7940 if (obj6) {
7941 {
7942 arg7 = wxString_in_helper(obj6);
7943 if (arg7 == NULL) SWIG_fail;
7944 temp7 = true;
7945 }
7946 }
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 {
7954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7955 }
7956 {
7957 if (temp7)
7958 delete arg7;
7959 }
7960 return resultobj;
7961 fail:
7962 {
7963 if (temp7)
7964 delete arg7;
7965 }
7966 return NULL;
7967 }
7968
7969
7970 SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7971 PyObject *resultobj = 0;
7972 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7973 bool result;
7974 void *argp1 = 0 ;
7975 int res1 = 0 ;
7976 PyObject *swig_obj[1] ;
7977
7978 if (!args) SWIG_fail;
7979 swig_obj[0] = args;
7980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7981 if (!SWIG_IsOK(res1)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7983 }
7984 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7985 {
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 {
7992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7993 }
7994 return resultobj;
7995 fail:
7996 return NULL;
7997 }
7998
7999
8000 SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8001 PyObject *resultobj = 0;
8002 int result;
8003
8004 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8005 {
8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8007 result = (int)wxStaticLine::GetDefaultSize();
8008 wxPyEndAllowThreads(__tstate);
8009 if (PyErr_Occurred()) SWIG_fail;
8010 }
8011 resultobj = SWIG_From_int(static_cast< int >(result));
8012 return resultobj;
8013 fail:
8014 return NULL;
8015 }
8016
8017
8018 SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8019 PyObject *resultobj = 0;
8020 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8021 SwigValueWrapper<wxVisualAttributes > result;
8022 int val1 ;
8023 int ecode1 = 0 ;
8024 PyObject * obj0 = 0 ;
8025 char * kwnames[] = {
8026 (char *) "variant", NULL
8027 };
8028
8029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8030 if (obj0) {
8031 ecode1 = SWIG_AsVal_int(obj0, &val1);
8032 if (!SWIG_IsOK(ecode1)) {
8033 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8034 }
8035 arg1 = static_cast< wxWindowVariant >(val1);
8036 }
8037 {
8038 if (!wxPyCheckForApp()) SWIG_fail;
8039 PyThreadState* __tstate = wxPyBeginAllowThreads();
8040 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 }
8044 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8045 return resultobj;
8046 fail:
8047 return NULL;
8048 }
8049
8050
8051 SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8052 PyObject *obj;
8053 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8054 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8055 return SWIG_Py_Void();
8056 }
8057
8058 SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8059 return SWIG_Python_InitShadowInstance(args);
8060 }
8061
8062 SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj = 0;
8064 wxWindow *arg1 = (wxWindow *) 0 ;
8065 int arg2 = (int) -1 ;
8066 wxString const &arg3_defvalue = wxPyEmptyString ;
8067 wxString *arg3 = (wxString *) &arg3_defvalue ;
8068 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8069 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8070 wxSize const &arg5_defvalue = wxDefaultSize ;
8071 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8072 long arg6 = (long) 0 ;
8073 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8074 wxString *arg7 = (wxString *) &arg7_defvalue ;
8075 wxStaticText *result = 0 ;
8076 void *argp1 = 0 ;
8077 int res1 = 0 ;
8078 int val2 ;
8079 int ecode2 = 0 ;
8080 bool temp3 = false ;
8081 wxPoint temp4 ;
8082 wxSize temp5 ;
8083 long val6 ;
8084 int ecode6 = 0 ;
8085 bool temp7 = false ;
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8088 PyObject * obj2 = 0 ;
8089 PyObject * obj3 = 0 ;
8090 PyObject * obj4 = 0 ;
8091 PyObject * obj5 = 0 ;
8092 PyObject * obj6 = 0 ;
8093 char * kwnames[] = {
8094 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8095 };
8096
8097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8099 if (!SWIG_IsOK(res1)) {
8100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8101 }
8102 arg1 = reinterpret_cast< wxWindow * >(argp1);
8103 if (obj1) {
8104 ecode2 = SWIG_AsVal_int(obj1, &val2);
8105 if (!SWIG_IsOK(ecode2)) {
8106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8107 }
8108 arg2 = static_cast< int >(val2);
8109 }
8110 if (obj2) {
8111 {
8112 arg3 = wxString_in_helper(obj2);
8113 if (arg3 == NULL) SWIG_fail;
8114 temp3 = true;
8115 }
8116 }
8117 if (obj3) {
8118 {
8119 arg4 = &temp4;
8120 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8121 }
8122 }
8123 if (obj4) {
8124 {
8125 arg5 = &temp5;
8126 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8127 }
8128 }
8129 if (obj5) {
8130 ecode6 = SWIG_AsVal_long(obj5, &val6);
8131 if (!SWIG_IsOK(ecode6)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8133 }
8134 arg6 = static_cast< long >(val6);
8135 }
8136 if (obj6) {
8137 {
8138 arg7 = wxString_in_helper(obj6);
8139 if (arg7 == NULL) SWIG_fail;
8140 temp7 = true;
8141 }
8142 }
8143 {
8144 if (!wxPyCheckForApp()) SWIG_fail;
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8151 {
8152 if (temp3)
8153 delete arg3;
8154 }
8155 {
8156 if (temp7)
8157 delete arg7;
8158 }
8159 return resultobj;
8160 fail:
8161 {
8162 if (temp3)
8163 delete arg3;
8164 }
8165 {
8166 if (temp7)
8167 delete arg7;
8168 }
8169 return NULL;
8170 }
8171
8172
8173 SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8174 PyObject *resultobj = 0;
8175 wxStaticText *result = 0 ;
8176
8177 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8178 {
8179 if (!wxPyCheckForApp()) SWIG_fail;
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 result = (wxStaticText *)new wxStaticText();
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
8185 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8186 return resultobj;
8187 fail:
8188 return NULL;
8189 }
8190
8191
8192 SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8193 PyObject *resultobj = 0;
8194 wxStaticText *arg1 = (wxStaticText *) 0 ;
8195 wxWindow *arg2 = (wxWindow *) 0 ;
8196 int arg3 = (int) -1 ;
8197 wxString const &arg4_defvalue = wxPyEmptyString ;
8198 wxString *arg4 = (wxString *) &arg4_defvalue ;
8199 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8200 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8201 wxSize const &arg6_defvalue = wxDefaultSize ;
8202 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8203 long arg7 = (long) 0 ;
8204 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8205 wxString *arg8 = (wxString *) &arg8_defvalue ;
8206 bool result;
8207 void *argp1 = 0 ;
8208 int res1 = 0 ;
8209 void *argp2 = 0 ;
8210 int res2 = 0 ;
8211 int val3 ;
8212 int ecode3 = 0 ;
8213 bool temp4 = false ;
8214 wxPoint temp5 ;
8215 wxSize temp6 ;
8216 long val7 ;
8217 int ecode7 = 0 ;
8218 bool temp8 = false ;
8219 PyObject * obj0 = 0 ;
8220 PyObject * obj1 = 0 ;
8221 PyObject * obj2 = 0 ;
8222 PyObject * obj3 = 0 ;
8223 PyObject * obj4 = 0 ;
8224 PyObject * obj5 = 0 ;
8225 PyObject * obj6 = 0 ;
8226 PyObject * obj7 = 0 ;
8227 char * kwnames[] = {
8228 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8229 };
8230
8231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8233 if (!SWIG_IsOK(res1)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8235 }
8236 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8237 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8238 if (!SWIG_IsOK(res2)) {
8239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8240 }
8241 arg2 = reinterpret_cast< wxWindow * >(argp2);
8242 if (obj2) {
8243 ecode3 = SWIG_AsVal_int(obj2, &val3);
8244 if (!SWIG_IsOK(ecode3)) {
8245 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8246 }
8247 arg3 = static_cast< int >(val3);
8248 }
8249 if (obj3) {
8250 {
8251 arg4 = wxString_in_helper(obj3);
8252 if (arg4 == NULL) SWIG_fail;
8253 temp4 = true;
8254 }
8255 }
8256 if (obj4) {
8257 {
8258 arg5 = &temp5;
8259 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8260 }
8261 }
8262 if (obj5) {
8263 {
8264 arg6 = &temp6;
8265 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8266 }
8267 }
8268 if (obj6) {
8269 ecode7 = SWIG_AsVal_long(obj6, &val7);
8270 if (!SWIG_IsOK(ecode7)) {
8271 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8272 }
8273 arg7 = static_cast< long >(val7);
8274 }
8275 if (obj7) {
8276 {
8277 arg8 = wxString_in_helper(obj7);
8278 if (arg8 == NULL) SWIG_fail;
8279 temp8 = true;
8280 }
8281 }
8282 {
8283 PyThreadState* __tstate = wxPyBeginAllowThreads();
8284 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) SWIG_fail;
8287 }
8288 {
8289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8290 }
8291 {
8292 if (temp4)
8293 delete arg4;
8294 }
8295 {
8296 if (temp8)
8297 delete arg8;
8298 }
8299 return resultobj;
8300 fail:
8301 {
8302 if (temp4)
8303 delete arg4;
8304 }
8305 {
8306 if (temp8)
8307 delete arg8;
8308 }
8309 return NULL;
8310 }
8311
8312
8313 SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8314 PyObject *resultobj = 0;
8315 wxStaticText *arg1 = (wxStaticText *) 0 ;
8316 int arg2 ;
8317 void *argp1 = 0 ;
8318 int res1 = 0 ;
8319 int val2 ;
8320 int ecode2 = 0 ;
8321 PyObject * obj0 = 0 ;
8322 PyObject * obj1 = 0 ;
8323 char * kwnames[] = {
8324 (char *) "self",(char *) "width", NULL
8325 };
8326
8327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8329 if (!SWIG_IsOK(res1)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8331 }
8332 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8333 ecode2 = SWIG_AsVal_int(obj1, &val2);
8334 if (!SWIG_IsOK(ecode2)) {
8335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8336 }
8337 arg2 = static_cast< int >(val2);
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 (arg1)->Wrap(arg2);
8341 wxPyEndAllowThreads(__tstate);
8342 if (PyErr_Occurred()) SWIG_fail;
8343 }
8344 resultobj = SWIG_Py_Void();
8345 return resultobj;
8346 fail:
8347 return NULL;
8348 }
8349
8350
8351 SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8352 PyObject *resultobj = 0;
8353 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8354 SwigValueWrapper<wxVisualAttributes > result;
8355 int val1 ;
8356 int ecode1 = 0 ;
8357 PyObject * obj0 = 0 ;
8358 char * kwnames[] = {
8359 (char *) "variant", NULL
8360 };
8361
8362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8363 if (obj0) {
8364 ecode1 = SWIG_AsVal_int(obj0, &val1);
8365 if (!SWIG_IsOK(ecode1)) {
8366 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8367 }
8368 arg1 = static_cast< wxWindowVariant >(val1);
8369 }
8370 {
8371 if (!wxPyCheckForApp()) SWIG_fail;
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = wxStaticText::GetClassDefaultAttributes(arg1);
8374 wxPyEndAllowThreads(__tstate);
8375 if (PyErr_Occurred()) SWIG_fail;
8376 }
8377 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8378 return resultobj;
8379 fail:
8380 return NULL;
8381 }
8382
8383
8384 SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8385 PyObject *obj;
8386 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8387 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8388 return SWIG_Py_Void();
8389 }
8390
8391 SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8392 return SWIG_Python_InitShadowInstance(args);
8393 }
8394
8395 SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8396 PyObject *resultobj = 0;
8397 wxWindow *arg1 = (wxWindow *) 0 ;
8398 int arg2 = (int) -1 ;
8399 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8400 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8401 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8402 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8403 wxSize const &arg5_defvalue = wxDefaultSize ;
8404 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8405 long arg6 = (long) 0 ;
8406 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8407 wxString *arg7 = (wxString *) &arg7_defvalue ;
8408 wxStaticBitmap *result = 0 ;
8409 void *argp1 = 0 ;
8410 int res1 = 0 ;
8411 int val2 ;
8412 int ecode2 = 0 ;
8413 void *argp3 = 0 ;
8414 int res3 = 0 ;
8415 wxPoint temp4 ;
8416 wxSize temp5 ;
8417 long val6 ;
8418 int ecode6 = 0 ;
8419 bool temp7 = false ;
8420 PyObject * obj0 = 0 ;
8421 PyObject * obj1 = 0 ;
8422 PyObject * obj2 = 0 ;
8423 PyObject * obj3 = 0 ;
8424 PyObject * obj4 = 0 ;
8425 PyObject * obj5 = 0 ;
8426 PyObject * obj6 = 0 ;
8427 char * kwnames[] = {
8428 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8429 };
8430
8431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8433 if (!SWIG_IsOK(res1)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8435 }
8436 arg1 = reinterpret_cast< wxWindow * >(argp1);
8437 if (obj1) {
8438 ecode2 = SWIG_AsVal_int(obj1, &val2);
8439 if (!SWIG_IsOK(ecode2)) {
8440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8441 }
8442 arg2 = static_cast< int >(val2);
8443 }
8444 if (obj2) {
8445 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8446 if (!SWIG_IsOK(res3)) {
8447 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8448 }
8449 if (!argp3) {
8450 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8451 }
8452 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8453 }
8454 if (obj3) {
8455 {
8456 arg4 = &temp4;
8457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8458 }
8459 }
8460 if (obj4) {
8461 {
8462 arg5 = &temp5;
8463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8464 }
8465 }
8466 if (obj5) {
8467 ecode6 = SWIG_AsVal_long(obj5, &val6);
8468 if (!SWIG_IsOK(ecode6)) {
8469 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8470 }
8471 arg6 = static_cast< long >(val6);
8472 }
8473 if (obj6) {
8474 {
8475 arg7 = wxString_in_helper(obj6);
8476 if (arg7 == NULL) SWIG_fail;
8477 temp7 = true;
8478 }
8479 }
8480 {
8481 if (!wxPyCheckForApp()) SWIG_fail;
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
8483 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8484 wxPyEndAllowThreads(__tstate);
8485 if (PyErr_Occurred()) SWIG_fail;
8486 }
8487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8488 {
8489 if (temp7)
8490 delete arg7;
8491 }
8492 return resultobj;
8493 fail:
8494 {
8495 if (temp7)
8496 delete arg7;
8497 }
8498 return NULL;
8499 }
8500
8501
8502 SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8503 PyObject *resultobj = 0;
8504 wxStaticBitmap *result = 0 ;
8505
8506 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8507 {
8508 if (!wxPyCheckForApp()) SWIG_fail;
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 result = (wxStaticBitmap *)new wxStaticBitmap();
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8515 return resultobj;
8516 fail:
8517 return NULL;
8518 }
8519
8520
8521 SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8522 PyObject *resultobj = 0;
8523 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8524 wxWindow *arg2 = (wxWindow *) 0 ;
8525 int arg3 = (int) -1 ;
8526 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8527 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8528 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8529 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8530 wxSize const &arg6_defvalue = wxDefaultSize ;
8531 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8532 long arg7 = (long) 0 ;
8533 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8534 wxString *arg8 = (wxString *) &arg8_defvalue ;
8535 bool result;
8536 void *argp1 = 0 ;
8537 int res1 = 0 ;
8538 void *argp2 = 0 ;
8539 int res2 = 0 ;
8540 int val3 ;
8541 int ecode3 = 0 ;
8542 void *argp4 = 0 ;
8543 int res4 = 0 ;
8544 wxPoint temp5 ;
8545 wxSize temp6 ;
8546 long val7 ;
8547 int ecode7 = 0 ;
8548 bool temp8 = false ;
8549 PyObject * obj0 = 0 ;
8550 PyObject * obj1 = 0 ;
8551 PyObject * obj2 = 0 ;
8552 PyObject * obj3 = 0 ;
8553 PyObject * obj4 = 0 ;
8554 PyObject * obj5 = 0 ;
8555 PyObject * obj6 = 0 ;
8556 PyObject * obj7 = 0 ;
8557 char * kwnames[] = {
8558 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8559 };
8560
8561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8563 if (!SWIG_IsOK(res1)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8565 }
8566 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8567 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8568 if (!SWIG_IsOK(res2)) {
8569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8570 }
8571 arg2 = reinterpret_cast< wxWindow * >(argp2);
8572 if (obj2) {
8573 ecode3 = SWIG_AsVal_int(obj2, &val3);
8574 if (!SWIG_IsOK(ecode3)) {
8575 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8576 }
8577 arg3 = static_cast< int >(val3);
8578 }
8579 if (obj3) {
8580 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8581 if (!SWIG_IsOK(res4)) {
8582 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8583 }
8584 if (!argp4) {
8585 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8586 }
8587 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8588 }
8589 if (obj4) {
8590 {
8591 arg5 = &temp5;
8592 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8593 }
8594 }
8595 if (obj5) {
8596 {
8597 arg6 = &temp6;
8598 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8599 }
8600 }
8601 if (obj6) {
8602 ecode7 = SWIG_AsVal_long(obj6, &val7);
8603 if (!SWIG_IsOK(ecode7)) {
8604 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8605 }
8606 arg7 = static_cast< long >(val7);
8607 }
8608 if (obj7) {
8609 {
8610 arg8 = wxString_in_helper(obj7);
8611 if (arg8 == NULL) SWIG_fail;
8612 temp8 = true;
8613 }
8614 }
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 {
8622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8623 }
8624 {
8625 if (temp8)
8626 delete arg8;
8627 }
8628 return resultobj;
8629 fail:
8630 {
8631 if (temp8)
8632 delete arg8;
8633 }
8634 return NULL;
8635 }
8636
8637
8638 SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8639 PyObject *resultobj = 0;
8640 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8641 wxBitmap result;
8642 void *argp1 = 0 ;
8643 int res1 = 0 ;
8644 PyObject *swig_obj[1] ;
8645
8646 if (!args) SWIG_fail;
8647 swig_obj[0] = args;
8648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8649 if (!SWIG_IsOK(res1)) {
8650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8651 }
8652 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8653 {
8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
8655 result = (arg1)->GetBitmap();
8656 wxPyEndAllowThreads(__tstate);
8657 if (PyErr_Occurred()) SWIG_fail;
8658 }
8659 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8660 return resultobj;
8661 fail:
8662 return NULL;
8663 }
8664
8665
8666 SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8667 PyObject *resultobj = 0;
8668 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8669 wxBitmap *arg2 = 0 ;
8670 void *argp1 = 0 ;
8671 int res1 = 0 ;
8672 void *argp2 = 0 ;
8673 int res2 = 0 ;
8674 PyObject * obj0 = 0 ;
8675 PyObject * obj1 = 0 ;
8676 char * kwnames[] = {
8677 (char *) "self",(char *) "bitmap", NULL
8678 };
8679
8680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8682 if (!SWIG_IsOK(res1)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8684 }
8685 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8686 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8687 if (!SWIG_IsOK(res2)) {
8688 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8689 }
8690 if (!argp2) {
8691 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8692 }
8693 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 resultobj = SWIG_Py_Void();
8701 return resultobj;
8702 fail:
8703 return NULL;
8704 }
8705
8706
8707 SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8708 PyObject *resultobj = 0;
8709 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8710 wxIcon *arg2 = 0 ;
8711 void *argp1 = 0 ;
8712 int res1 = 0 ;
8713 void *argp2 = 0 ;
8714 int res2 = 0 ;
8715 PyObject * obj0 = 0 ;
8716 PyObject * obj1 = 0 ;
8717 char * kwnames[] = {
8718 (char *) "self",(char *) "icon", NULL
8719 };
8720
8721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8723 if (!SWIG_IsOK(res1)) {
8724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8725 }
8726 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8727 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8728 if (!SWIG_IsOK(res2)) {
8729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8730 }
8731 if (!argp2) {
8732 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8733 }
8734 arg2 = reinterpret_cast< wxIcon * >(argp2);
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 (arg1)->SetIcon((wxIcon const &)*arg2);
8738 wxPyEndAllowThreads(__tstate);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 resultobj = SWIG_Py_Void();
8742 return resultobj;
8743 fail:
8744 return NULL;
8745 }
8746
8747
8748 SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8749 PyObject *resultobj = 0;
8750 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8751 SwigValueWrapper<wxVisualAttributes > result;
8752 int val1 ;
8753 int ecode1 = 0 ;
8754 PyObject * obj0 = 0 ;
8755 char * kwnames[] = {
8756 (char *) "variant", NULL
8757 };
8758
8759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8760 if (obj0) {
8761 ecode1 = SWIG_AsVal_int(obj0, &val1);
8762 if (!SWIG_IsOK(ecode1)) {
8763 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8764 }
8765 arg1 = static_cast< wxWindowVariant >(val1);
8766 }
8767 {
8768 if (!wxPyCheckForApp()) SWIG_fail;
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8775 return resultobj;
8776 fail:
8777 return NULL;
8778 }
8779
8780
8781 SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8782 PyObject *obj;
8783 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8784 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8785 return SWIG_Py_Void();
8786 }
8787
8788 SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8789 return SWIG_Python_InitShadowInstance(args);
8790 }
8791
8792 SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8793 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8794 return 1;
8795 }
8796
8797
8798 SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8799 PyObject *pyobj = 0;
8800
8801 {
8802 #if wxUSE_UNICODE
8803 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8804 #else
8805 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8806 #endif
8807 }
8808 return pyobj;
8809 }
8810
8811
8812 SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8813 PyObject *resultobj = 0;
8814 wxWindow *arg1 = (wxWindow *) 0 ;
8815 int arg2 = (int) -1 ;
8816 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8817 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8818 wxSize const &arg4_defvalue = wxDefaultSize ;
8819 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8820 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8821 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8822 long arg6 = (long) 0 ;
8823 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8824 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8825 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8826 wxString *arg8 = (wxString *) &arg8_defvalue ;
8827 wxListBox *result = 0 ;
8828 void *argp1 = 0 ;
8829 int res1 = 0 ;
8830 int val2 ;
8831 int ecode2 = 0 ;
8832 wxPoint temp3 ;
8833 wxSize temp4 ;
8834 bool temp5 = false ;
8835 long val6 ;
8836 int ecode6 = 0 ;
8837 void *argp7 = 0 ;
8838 int res7 = 0 ;
8839 bool temp8 = false ;
8840 PyObject * obj0 = 0 ;
8841 PyObject * obj1 = 0 ;
8842 PyObject * obj2 = 0 ;
8843 PyObject * obj3 = 0 ;
8844 PyObject * obj4 = 0 ;
8845 PyObject * obj5 = 0 ;
8846 PyObject * obj6 = 0 ;
8847 PyObject * obj7 = 0 ;
8848 char * kwnames[] = {
8849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8850 };
8851
8852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8854 if (!SWIG_IsOK(res1)) {
8855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8856 }
8857 arg1 = reinterpret_cast< wxWindow * >(argp1);
8858 if (obj1) {
8859 ecode2 = SWIG_AsVal_int(obj1, &val2);
8860 if (!SWIG_IsOK(ecode2)) {
8861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8862 }
8863 arg2 = static_cast< int >(val2);
8864 }
8865 if (obj2) {
8866 {
8867 arg3 = &temp3;
8868 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8869 }
8870 }
8871 if (obj3) {
8872 {
8873 arg4 = &temp4;
8874 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8875 }
8876 }
8877 if (obj4) {
8878 {
8879 if (! PySequence_Check(obj4)) {
8880 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8881 SWIG_fail;
8882 }
8883 arg5 = new wxArrayString;
8884 temp5 = true;
8885 int i, len=PySequence_Length(obj4);
8886 for (i=0; i<len; i++) {
8887 PyObject* item = PySequence_GetItem(obj4, i);
8888 wxString* s = wxString_in_helper(item);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 arg5->Add(*s);
8891 delete s;
8892 Py_DECREF(item);
8893 }
8894 }
8895 }
8896 if (obj5) {
8897 ecode6 = SWIG_AsVal_long(obj5, &val6);
8898 if (!SWIG_IsOK(ecode6)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8900 }
8901 arg6 = static_cast< long >(val6);
8902 }
8903 if (obj6) {
8904 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8905 if (!SWIG_IsOK(res7)) {
8906 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8907 }
8908 if (!argp7) {
8909 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8910 }
8911 arg7 = reinterpret_cast< wxValidator * >(argp7);
8912 }
8913 if (obj7) {
8914 {
8915 arg8 = wxString_in_helper(obj7);
8916 if (arg8 == NULL) SWIG_fail;
8917 temp8 = true;
8918 }
8919 }
8920 {
8921 if (!wxPyCheckForApp()) SWIG_fail;
8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
8923 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8928 {
8929 if (temp5) delete arg5;
8930 }
8931 {
8932 if (temp8)
8933 delete arg8;
8934 }
8935 return resultobj;
8936 fail:
8937 {
8938 if (temp5) delete arg5;
8939 }
8940 {
8941 if (temp8)
8942 delete arg8;
8943 }
8944 return NULL;
8945 }
8946
8947
8948 SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8949 PyObject *resultobj = 0;
8950 wxListBox *result = 0 ;
8951
8952 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8953 {
8954 if (!wxPyCheckForApp()) SWIG_fail;
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 result = (wxListBox *)new wxListBox();
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8961 return resultobj;
8962 fail:
8963 return NULL;
8964 }
8965
8966
8967 SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8968 PyObject *resultobj = 0;
8969 wxListBox *arg1 = (wxListBox *) 0 ;
8970 wxWindow *arg2 = (wxWindow *) 0 ;
8971 int arg3 = (int) -1 ;
8972 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8973 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8974 wxSize const &arg5_defvalue = wxDefaultSize ;
8975 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8976 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8977 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8978 long arg7 = (long) 0 ;
8979 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8980 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8981 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8982 wxString *arg9 = (wxString *) &arg9_defvalue ;
8983 bool result;
8984 void *argp1 = 0 ;
8985 int res1 = 0 ;
8986 void *argp2 = 0 ;
8987 int res2 = 0 ;
8988 int val3 ;
8989 int ecode3 = 0 ;
8990 wxPoint temp4 ;
8991 wxSize temp5 ;
8992 bool temp6 = false ;
8993 long val7 ;
8994 int ecode7 = 0 ;
8995 void *argp8 = 0 ;
8996 int res8 = 0 ;
8997 bool temp9 = false ;
8998 PyObject * obj0 = 0 ;
8999 PyObject * obj1 = 0 ;
9000 PyObject * obj2 = 0 ;
9001 PyObject * obj3 = 0 ;
9002 PyObject * obj4 = 0 ;
9003 PyObject * obj5 = 0 ;
9004 PyObject * obj6 = 0 ;
9005 PyObject * obj7 = 0 ;
9006 PyObject * obj8 = 0 ;
9007 char * kwnames[] = {
9008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9009 };
9010
9011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9013 if (!SWIG_IsOK(res1)) {
9014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9015 }
9016 arg1 = reinterpret_cast< wxListBox * >(argp1);
9017 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9018 if (!SWIG_IsOK(res2)) {
9019 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9020 }
9021 arg2 = reinterpret_cast< wxWindow * >(argp2);
9022 if (obj2) {
9023 ecode3 = SWIG_AsVal_int(obj2, &val3);
9024 if (!SWIG_IsOK(ecode3)) {
9025 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9026 }
9027 arg3 = static_cast< int >(val3);
9028 }
9029 if (obj3) {
9030 {
9031 arg4 = &temp4;
9032 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9033 }
9034 }
9035 if (obj4) {
9036 {
9037 arg5 = &temp5;
9038 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9039 }
9040 }
9041 if (obj5) {
9042 {
9043 if (! PySequence_Check(obj5)) {
9044 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9045 SWIG_fail;
9046 }
9047 arg6 = new wxArrayString;
9048 temp6 = true;
9049 int i, len=PySequence_Length(obj5);
9050 for (i=0; i<len; i++) {
9051 PyObject* item = PySequence_GetItem(obj5, i);
9052 wxString* s = wxString_in_helper(item);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 arg6->Add(*s);
9055 delete s;
9056 Py_DECREF(item);
9057 }
9058 }
9059 }
9060 if (obj6) {
9061 ecode7 = SWIG_AsVal_long(obj6, &val7);
9062 if (!SWIG_IsOK(ecode7)) {
9063 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9064 }
9065 arg7 = static_cast< long >(val7);
9066 }
9067 if (obj7) {
9068 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9069 if (!SWIG_IsOK(res8)) {
9070 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9071 }
9072 if (!argp8) {
9073 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9074 }
9075 arg8 = reinterpret_cast< wxValidator * >(argp8);
9076 }
9077 if (obj8) {
9078 {
9079 arg9 = wxString_in_helper(obj8);
9080 if (arg9 == NULL) SWIG_fail;
9081 temp9 = true;
9082 }
9083 }
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9087 wxPyEndAllowThreads(__tstate);
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
9090 {
9091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9092 }
9093 {
9094 if (temp6) delete arg6;
9095 }
9096 {
9097 if (temp9)
9098 delete arg9;
9099 }
9100 return resultobj;
9101 fail:
9102 {
9103 if (temp6) delete arg6;
9104 }
9105 {
9106 if (temp9)
9107 delete arg9;
9108 }
9109 return NULL;
9110 }
9111
9112
9113 SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj = 0;
9115 wxListBox *arg1 = (wxListBox *) 0 ;
9116 wxString *arg2 = 0 ;
9117 int arg3 ;
9118 PyObject *arg4 = (PyObject *) NULL ;
9119 void *argp1 = 0 ;
9120 int res1 = 0 ;
9121 bool temp2 = false ;
9122 int val3 ;
9123 int ecode3 = 0 ;
9124 PyObject * obj0 = 0 ;
9125 PyObject * obj1 = 0 ;
9126 PyObject * obj2 = 0 ;
9127 PyObject * obj3 = 0 ;
9128 char * kwnames[] = {
9129 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9130 };
9131
9132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9134 if (!SWIG_IsOK(res1)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9136 }
9137 arg1 = reinterpret_cast< wxListBox * >(argp1);
9138 {
9139 arg2 = wxString_in_helper(obj1);
9140 if (arg2 == NULL) SWIG_fail;
9141 temp2 = true;
9142 }
9143 ecode3 = SWIG_AsVal_int(obj2, &val3);
9144 if (!SWIG_IsOK(ecode3)) {
9145 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9146 }
9147 arg3 = static_cast< int >(val3);
9148 if (obj3) {
9149 arg4 = obj3;
9150 }
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 resultobj = SWIG_Py_Void();
9158 {
9159 if (temp2)
9160 delete arg2;
9161 }
9162 return resultobj;
9163 fail:
9164 {
9165 if (temp2)
9166 delete arg2;
9167 }
9168 return NULL;
9169 }
9170
9171
9172 SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9173 PyObject *resultobj = 0;
9174 wxListBox *arg1 = (wxListBox *) 0 ;
9175 wxArrayString *arg2 = 0 ;
9176 unsigned int arg3 ;
9177 void *argp1 = 0 ;
9178 int res1 = 0 ;
9179 bool temp2 = false ;
9180 unsigned int val3 ;
9181 int ecode3 = 0 ;
9182 PyObject * obj0 = 0 ;
9183 PyObject * obj1 = 0 ;
9184 PyObject * obj2 = 0 ;
9185 char * kwnames[] = {
9186 (char *) "self",(char *) "items",(char *) "pos", NULL
9187 };
9188
9189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9191 if (!SWIG_IsOK(res1)) {
9192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9193 }
9194 arg1 = reinterpret_cast< wxListBox * >(argp1);
9195 {
9196 if (! PySequence_Check(obj1)) {
9197 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9198 SWIG_fail;
9199 }
9200 arg2 = new wxArrayString;
9201 temp2 = true;
9202 int i, len=PySequence_Length(obj1);
9203 for (i=0; i<len; i++) {
9204 PyObject* item = PySequence_GetItem(obj1, i);
9205 wxString* s = wxString_in_helper(item);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 arg2->Add(*s);
9208 delete s;
9209 Py_DECREF(item);
9210 }
9211 }
9212 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
9213 if (!SWIG_IsOK(ecode3)) {
9214 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9215 }
9216 arg3 = static_cast< unsigned int >(val3);
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 resultobj = SWIG_Py_Void();
9224 {
9225 if (temp2) delete arg2;
9226 }
9227 return resultobj;
9228 fail:
9229 {
9230 if (temp2) delete arg2;
9231 }
9232 return NULL;
9233 }
9234
9235
9236 SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9237 PyObject *resultobj = 0;
9238 wxListBox *arg1 = (wxListBox *) 0 ;
9239 wxArrayString *arg2 = 0 ;
9240 void *argp1 = 0 ;
9241 int res1 = 0 ;
9242 bool temp2 = false ;
9243 PyObject * obj0 = 0 ;
9244 PyObject * obj1 = 0 ;
9245 char * kwnames[] = {
9246 (char *) "self",(char *) "items", NULL
9247 };
9248
9249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9251 if (!SWIG_IsOK(res1)) {
9252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9253 }
9254 arg1 = reinterpret_cast< wxListBox * >(argp1);
9255 {
9256 if (! PySequence_Check(obj1)) {
9257 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9258 SWIG_fail;
9259 }
9260 arg2 = new wxArrayString;
9261 temp2 = true;
9262 int i, len=PySequence_Length(obj1);
9263 for (i=0; i<len; i++) {
9264 PyObject* item = PySequence_GetItem(obj1, i);
9265 wxString* s = wxString_in_helper(item);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 arg2->Add(*s);
9268 delete s;
9269 Py_DECREF(item);
9270 }
9271 }
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 (arg1)->Set((wxArrayString const &)*arg2);
9275 wxPyEndAllowThreads(__tstate);
9276 if (PyErr_Occurred()) SWIG_fail;
9277 }
9278 resultobj = SWIG_Py_Void();
9279 {
9280 if (temp2) delete arg2;
9281 }
9282 return resultobj;
9283 fail:
9284 {
9285 if (temp2) delete arg2;
9286 }
9287 return NULL;
9288 }
9289
9290
9291 SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9292 PyObject *resultobj = 0;
9293 wxListBox *arg1 = (wxListBox *) 0 ;
9294 int arg2 ;
9295 bool result;
9296 void *argp1 = 0 ;
9297 int res1 = 0 ;
9298 int val2 ;
9299 int ecode2 = 0 ;
9300 PyObject * obj0 = 0 ;
9301 PyObject * obj1 = 0 ;
9302 char * kwnames[] = {
9303 (char *) "self",(char *) "n", NULL
9304 };
9305
9306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9308 if (!SWIG_IsOK(res1)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9310 }
9311 arg1 = reinterpret_cast< wxListBox * >(argp1);
9312 ecode2 = SWIG_AsVal_int(obj1, &val2);
9313 if (!SWIG_IsOK(ecode2)) {
9314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9315 }
9316 arg2 = static_cast< int >(val2);
9317 {
9318 PyThreadState* __tstate = wxPyBeginAllowThreads();
9319 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 {
9324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9325 }
9326 return resultobj;
9327 fail:
9328 return NULL;
9329 }
9330
9331
9332 SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9333 PyObject *resultobj = 0;
9334 wxListBox *arg1 = (wxListBox *) 0 ;
9335 int arg2 ;
9336 bool arg3 = (bool) true ;
9337 void *argp1 = 0 ;
9338 int res1 = 0 ;
9339 int val2 ;
9340 int ecode2 = 0 ;
9341 bool val3 ;
9342 int ecode3 = 0 ;
9343 PyObject * obj0 = 0 ;
9344 PyObject * obj1 = 0 ;
9345 PyObject * obj2 = 0 ;
9346 char * kwnames[] = {
9347 (char *) "self",(char *) "n",(char *) "select", NULL
9348 };
9349
9350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9352 if (!SWIG_IsOK(res1)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9354 }
9355 arg1 = reinterpret_cast< wxListBox * >(argp1);
9356 ecode2 = SWIG_AsVal_int(obj1, &val2);
9357 if (!SWIG_IsOK(ecode2)) {
9358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9359 }
9360 arg2 = static_cast< int >(val2);
9361 if (obj2) {
9362 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9363 if (!SWIG_IsOK(ecode3)) {
9364 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9365 }
9366 arg3 = static_cast< bool >(val3);
9367 }
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 (arg1)->SetSelection(arg2,arg3);
9371 wxPyEndAllowThreads(__tstate);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 }
9374 resultobj = SWIG_Py_Void();
9375 return resultobj;
9376 fail:
9377 return NULL;
9378 }
9379
9380
9381 SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9382 PyObject *resultobj = 0;
9383 wxListBox *arg1 = (wxListBox *) 0 ;
9384 int arg2 ;
9385 void *argp1 = 0 ;
9386 int res1 = 0 ;
9387 int val2 ;
9388 int ecode2 = 0 ;
9389 PyObject * obj0 = 0 ;
9390 PyObject * obj1 = 0 ;
9391 char * kwnames[] = {
9392 (char *) "self",(char *) "n", NULL
9393 };
9394
9395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9397 if (!SWIG_IsOK(res1)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9399 }
9400 arg1 = reinterpret_cast< wxListBox * >(argp1);
9401 ecode2 = SWIG_AsVal_int(obj1, &val2);
9402 if (!SWIG_IsOK(ecode2)) {
9403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9404 }
9405 arg2 = static_cast< int >(val2);
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 (arg1)->Select(arg2);
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 resultobj = SWIG_Py_Void();
9413 return resultobj;
9414 fail:
9415 return NULL;
9416 }
9417
9418
9419 SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9420 PyObject *resultobj = 0;
9421 wxListBox *arg1 = (wxListBox *) 0 ;
9422 int arg2 ;
9423 void *argp1 = 0 ;
9424 int res1 = 0 ;
9425 int val2 ;
9426 int ecode2 = 0 ;
9427 PyObject * obj0 = 0 ;
9428 PyObject * obj1 = 0 ;
9429 char * kwnames[] = {
9430 (char *) "self",(char *) "n", NULL
9431 };
9432
9433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9435 if (!SWIG_IsOK(res1)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9437 }
9438 arg1 = reinterpret_cast< wxListBox * >(argp1);
9439 ecode2 = SWIG_AsVal_int(obj1, &val2);
9440 if (!SWIG_IsOK(ecode2)) {
9441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9442 }
9443 arg2 = static_cast< int >(val2);
9444 {
9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
9446 (arg1)->Deselect(arg2);
9447 wxPyEndAllowThreads(__tstate);
9448 if (PyErr_Occurred()) SWIG_fail;
9449 }
9450 resultobj = SWIG_Py_Void();
9451 return resultobj;
9452 fail:
9453 return NULL;
9454 }
9455
9456
9457 SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9458 PyObject *resultobj = 0;
9459 wxListBox *arg1 = (wxListBox *) 0 ;
9460 int arg2 = (int) -1 ;
9461 void *argp1 = 0 ;
9462 int res1 = 0 ;
9463 int val2 ;
9464 int ecode2 = 0 ;
9465 PyObject * obj0 = 0 ;
9466 PyObject * obj1 = 0 ;
9467 char * kwnames[] = {
9468 (char *) "self",(char *) "itemToLeaveSelected", NULL
9469 };
9470
9471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9473 if (!SWIG_IsOK(res1)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9475 }
9476 arg1 = reinterpret_cast< wxListBox * >(argp1);
9477 if (obj1) {
9478 ecode2 = SWIG_AsVal_int(obj1, &val2);
9479 if (!SWIG_IsOK(ecode2)) {
9480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9481 }
9482 arg2 = static_cast< int >(val2);
9483 }
9484 {
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
9486 (arg1)->DeselectAll(arg2);
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
9490 resultobj = SWIG_Py_Void();
9491 return resultobj;
9492 fail:
9493 return NULL;
9494 }
9495
9496
9497 SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9498 PyObject *resultobj = 0;
9499 wxListBox *arg1 = (wxListBox *) 0 ;
9500 wxString *arg2 = 0 ;
9501 bool arg3 = (bool) true ;
9502 bool result;
9503 void *argp1 = 0 ;
9504 int res1 = 0 ;
9505 bool temp2 = false ;
9506 bool val3 ;
9507 int ecode3 = 0 ;
9508 PyObject * obj0 = 0 ;
9509 PyObject * obj1 = 0 ;
9510 PyObject * obj2 = 0 ;
9511 char * kwnames[] = {
9512 (char *) "self",(char *) "s",(char *) "select", NULL
9513 };
9514
9515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9517 if (!SWIG_IsOK(res1)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9519 }
9520 arg1 = reinterpret_cast< wxListBox * >(argp1);
9521 {
9522 arg2 = wxString_in_helper(obj1);
9523 if (arg2 == NULL) SWIG_fail;
9524 temp2 = true;
9525 }
9526 if (obj2) {
9527 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9528 if (!SWIG_IsOK(ecode3)) {
9529 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9530 }
9531 arg3 = static_cast< bool >(val3);
9532 }
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9536 wxPyEndAllowThreads(__tstate);
9537 if (PyErr_Occurred()) SWIG_fail;
9538 }
9539 {
9540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9541 }
9542 {
9543 if (temp2)
9544 delete arg2;
9545 }
9546 return resultobj;
9547 fail:
9548 {
9549 if (temp2)
9550 delete arg2;
9551 }
9552 return NULL;
9553 }
9554
9555
9556 SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9557 PyObject *resultobj = 0;
9558 wxListBox *arg1 = (wxListBox *) 0 ;
9559 PyObject *result = 0 ;
9560 void *argp1 = 0 ;
9561 int res1 = 0 ;
9562 PyObject *swig_obj[1] ;
9563
9564 if (!args) SWIG_fail;
9565 swig_obj[0] = args;
9566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9567 if (!SWIG_IsOK(res1)) {
9568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9569 }
9570 arg1 = reinterpret_cast< wxListBox * >(argp1);
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 result = (PyObject *)wxListBox_GetSelections(arg1);
9574 wxPyEndAllowThreads(__tstate);
9575 if (PyErr_Occurred()) SWIG_fail;
9576 }
9577 resultobj = result;
9578 return resultobj;
9579 fail:
9580 return NULL;
9581 }
9582
9583
9584 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9585 PyObject *resultobj = 0;
9586 wxListBox *arg1 = (wxListBox *) 0 ;
9587 int arg2 ;
9588 void *argp1 = 0 ;
9589 int res1 = 0 ;
9590 int val2 ;
9591 int ecode2 = 0 ;
9592 PyObject * obj0 = 0 ;
9593 PyObject * obj1 = 0 ;
9594 char * kwnames[] = {
9595 (char *) "self",(char *) "n", NULL
9596 };
9597
9598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9600 if (!SWIG_IsOK(res1)) {
9601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9602 }
9603 arg1 = reinterpret_cast< wxListBox * >(argp1);
9604 ecode2 = SWIG_AsVal_int(obj1, &val2);
9605 if (!SWIG_IsOK(ecode2)) {
9606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9607 }
9608 arg2 = static_cast< int >(val2);
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 (arg1)->SetFirstItem(arg2);
9612 wxPyEndAllowThreads(__tstate);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 }
9615 resultobj = SWIG_Py_Void();
9616 return resultobj;
9617 fail:
9618 return NULL;
9619 }
9620
9621
9622 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9623 PyObject *resultobj = 0;
9624 wxListBox *arg1 = (wxListBox *) 0 ;
9625 wxString *arg2 = 0 ;
9626 void *argp1 = 0 ;
9627 int res1 = 0 ;
9628 bool temp2 = false ;
9629 PyObject * obj0 = 0 ;
9630 PyObject * obj1 = 0 ;
9631 char * kwnames[] = {
9632 (char *) "self",(char *) "s", NULL
9633 };
9634
9635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9637 if (!SWIG_IsOK(res1)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9639 }
9640 arg1 = reinterpret_cast< wxListBox * >(argp1);
9641 {
9642 arg2 = wxString_in_helper(obj1);
9643 if (arg2 == NULL) SWIG_fail;
9644 temp2 = true;
9645 }
9646 {
9647 PyThreadState* __tstate = wxPyBeginAllowThreads();
9648 (arg1)->SetFirstItem((wxString const &)*arg2);
9649 wxPyEndAllowThreads(__tstate);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 resultobj = SWIG_Py_Void();
9653 {
9654 if (temp2)
9655 delete arg2;
9656 }
9657 return resultobj;
9658 fail:
9659 {
9660 if (temp2)
9661 delete arg2;
9662 }
9663 return NULL;
9664 }
9665
9666
9667 SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9668 PyObject *resultobj = 0;
9669 wxListBox *arg1 = (wxListBox *) 0 ;
9670 int arg2 ;
9671 void *argp1 = 0 ;
9672 int res1 = 0 ;
9673 int val2 ;
9674 int ecode2 = 0 ;
9675 PyObject * obj0 = 0 ;
9676 PyObject * obj1 = 0 ;
9677 char * kwnames[] = {
9678 (char *) "self",(char *) "n", NULL
9679 };
9680
9681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9683 if (!SWIG_IsOK(res1)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9685 }
9686 arg1 = reinterpret_cast< wxListBox * >(argp1);
9687 ecode2 = SWIG_AsVal_int(obj1, &val2);
9688 if (!SWIG_IsOK(ecode2)) {
9689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9690 }
9691 arg2 = static_cast< int >(val2);
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 (arg1)->EnsureVisible(arg2);
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = SWIG_Py_Void();
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj = 0;
9707 wxListBox *arg1 = (wxListBox *) 0 ;
9708 wxString *arg2 = 0 ;
9709 void *argp1 = 0 ;
9710 int res1 = 0 ;
9711 bool temp2 = false ;
9712 PyObject * obj0 = 0 ;
9713 PyObject * obj1 = 0 ;
9714 char * kwnames[] = {
9715 (char *) "self",(char *) "s", NULL
9716 };
9717
9718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9720 if (!SWIG_IsOK(res1)) {
9721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9722 }
9723 arg1 = reinterpret_cast< wxListBox * >(argp1);
9724 {
9725 arg2 = wxString_in_helper(obj1);
9726 if (arg2 == NULL) SWIG_fail;
9727 temp2 = true;
9728 }
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 resultobj = SWIG_Py_Void();
9736 {
9737 if (temp2)
9738 delete arg2;
9739 }
9740 return resultobj;
9741 fail:
9742 {
9743 if (temp2)
9744 delete arg2;
9745 }
9746 return NULL;
9747 }
9748
9749
9750 SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9751 PyObject *resultobj = 0;
9752 wxListBox *arg1 = (wxListBox *) 0 ;
9753 bool result;
9754 void *argp1 = 0 ;
9755 int res1 = 0 ;
9756 PyObject *swig_obj[1] ;
9757
9758 if (!args) SWIG_fail;
9759 swig_obj[0] = args;
9760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9761 if (!SWIG_IsOK(res1)) {
9762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9763 }
9764 arg1 = reinterpret_cast< wxListBox * >(argp1);
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 result = (bool)((wxListBox const *)arg1)->IsSorted();
9768 wxPyEndAllowThreads(__tstate);
9769 if (PyErr_Occurred()) SWIG_fail;
9770 }
9771 {
9772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9773 }
9774 return resultobj;
9775 fail:
9776 return NULL;
9777 }
9778
9779
9780 SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9781 PyObject *resultobj = 0;
9782 wxListBox *arg1 = (wxListBox *) 0 ;
9783 wxPoint *arg2 = 0 ;
9784 int result;
9785 void *argp1 = 0 ;
9786 int res1 = 0 ;
9787 wxPoint temp2 ;
9788 PyObject * obj0 = 0 ;
9789 PyObject * obj1 = 0 ;
9790 char * kwnames[] = {
9791 (char *) "self",(char *) "pt", NULL
9792 };
9793
9794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9796 if (!SWIG_IsOK(res1)) {
9797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9798 }
9799 arg1 = reinterpret_cast< wxListBox * >(argp1);
9800 {
9801 arg2 = &temp2;
9802 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9803 }
9804 {
9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
9806 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9807 wxPyEndAllowThreads(__tstate);
9808 if (PyErr_Occurred()) SWIG_fail;
9809 }
9810 resultobj = SWIG_From_int(static_cast< int >(result));
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj = 0;
9819 wxListBox *arg1 = (wxListBox *) 0 ;
9820 int arg2 ;
9821 wxColour *arg3 = 0 ;
9822 void *argp1 = 0 ;
9823 int res1 = 0 ;
9824 int val2 ;
9825 int ecode2 = 0 ;
9826 wxColour temp3 ;
9827 PyObject * obj0 = 0 ;
9828 PyObject * obj1 = 0 ;
9829 PyObject * obj2 = 0 ;
9830 char * kwnames[] = {
9831 (char *) "self",(char *) "item",(char *) "c", NULL
9832 };
9833
9834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9836 if (!SWIG_IsOK(res1)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9838 }
9839 arg1 = reinterpret_cast< wxListBox * >(argp1);
9840 ecode2 = SWIG_AsVal_int(obj1, &val2);
9841 if (!SWIG_IsOK(ecode2)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9843 }
9844 arg2 = static_cast< int >(val2);
9845 {
9846 arg3 = &temp3;
9847 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9848 }
9849 {
9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
9851 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 resultobj = SWIG_Py_Void();
9856 return resultobj;
9857 fail:
9858 return NULL;
9859 }
9860
9861
9862 SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9863 PyObject *resultobj = 0;
9864 wxListBox *arg1 = (wxListBox *) 0 ;
9865 int arg2 ;
9866 wxColour *arg3 = 0 ;
9867 void *argp1 = 0 ;
9868 int res1 = 0 ;
9869 int val2 ;
9870 int ecode2 = 0 ;
9871 wxColour temp3 ;
9872 PyObject * obj0 = 0 ;
9873 PyObject * obj1 = 0 ;
9874 PyObject * obj2 = 0 ;
9875 char * kwnames[] = {
9876 (char *) "self",(char *) "item",(char *) "c", NULL
9877 };
9878
9879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9881 if (!SWIG_IsOK(res1)) {
9882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9883 }
9884 arg1 = reinterpret_cast< wxListBox * >(argp1);
9885 ecode2 = SWIG_AsVal_int(obj1, &val2);
9886 if (!SWIG_IsOK(ecode2)) {
9887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9888 }
9889 arg2 = static_cast< int >(val2);
9890 {
9891 arg3 = &temp3;
9892 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9893 }
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9897 wxPyEndAllowThreads(__tstate);
9898 if (PyErr_Occurred()) SWIG_fail;
9899 }
9900 resultobj = SWIG_Py_Void();
9901 return resultobj;
9902 fail:
9903 return NULL;
9904 }
9905
9906
9907 SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9908 PyObject *resultobj = 0;
9909 wxListBox *arg1 = (wxListBox *) 0 ;
9910 int arg2 ;
9911 wxFont *arg3 = 0 ;
9912 void *argp1 = 0 ;
9913 int res1 = 0 ;
9914 int val2 ;
9915 int ecode2 = 0 ;
9916 void *argp3 = 0 ;
9917 int res3 = 0 ;
9918 PyObject * obj0 = 0 ;
9919 PyObject * obj1 = 0 ;
9920 PyObject * obj2 = 0 ;
9921 char * kwnames[] = {
9922 (char *) "self",(char *) "item",(char *) "f", NULL
9923 };
9924
9925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9927 if (!SWIG_IsOK(res1)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9929 }
9930 arg1 = reinterpret_cast< wxListBox * >(argp1);
9931 ecode2 = SWIG_AsVal_int(obj1, &val2);
9932 if (!SWIG_IsOK(ecode2)) {
9933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9934 }
9935 arg2 = static_cast< int >(val2);
9936 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9937 if (!SWIG_IsOK(res3)) {
9938 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9939 }
9940 if (!argp3) {
9941 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9942 }
9943 arg3 = reinterpret_cast< wxFont * >(argp3);
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9947 wxPyEndAllowThreads(__tstate);
9948 if (PyErr_Occurred()) SWIG_fail;
9949 }
9950 resultobj = SWIG_Py_Void();
9951 return resultobj;
9952 fail:
9953 return NULL;
9954 }
9955
9956
9957 SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9958 PyObject *resultobj = 0;
9959 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9960 SwigValueWrapper<wxVisualAttributes > result;
9961 int val1 ;
9962 int ecode1 = 0 ;
9963 PyObject * obj0 = 0 ;
9964 char * kwnames[] = {
9965 (char *) "variant", NULL
9966 };
9967
9968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9969 if (obj0) {
9970 ecode1 = SWIG_AsVal_int(obj0, &val1);
9971 if (!SWIG_IsOK(ecode1)) {
9972 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9973 }
9974 arg1 = static_cast< wxWindowVariant >(val1);
9975 }
9976 {
9977 if (!wxPyCheckForApp()) SWIG_fail;
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 result = wxListBox::GetClassDefaultAttributes(arg1);
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9984 return resultobj;
9985 fail:
9986 return NULL;
9987 }
9988
9989
9990 SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9991 PyObject *obj;
9992 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9993 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
9994 return SWIG_Py_Void();
9995 }
9996
9997 SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9998 return SWIG_Python_InitShadowInstance(args);
9999 }
10000
10001 SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10002 PyObject *resultobj = 0;
10003 wxWindow *arg1 = (wxWindow *) 0 ;
10004 int arg2 = (int) -1 ;
10005 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10006 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10007 wxSize const &arg4_defvalue = wxDefaultSize ;
10008 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10009 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10010 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10011 long arg6 = (long) 0 ;
10012 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10013 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10014 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10015 wxString *arg8 = (wxString *) &arg8_defvalue ;
10016 wxCheckListBox *result = 0 ;
10017 void *argp1 = 0 ;
10018 int res1 = 0 ;
10019 int val2 ;
10020 int ecode2 = 0 ;
10021 wxPoint temp3 ;
10022 wxSize temp4 ;
10023 bool temp5 = false ;
10024 long val6 ;
10025 int ecode6 = 0 ;
10026 void *argp7 = 0 ;
10027 int res7 = 0 ;
10028 bool temp8 = false ;
10029 PyObject * obj0 = 0 ;
10030 PyObject * obj1 = 0 ;
10031 PyObject * obj2 = 0 ;
10032 PyObject * obj3 = 0 ;
10033 PyObject * obj4 = 0 ;
10034 PyObject * obj5 = 0 ;
10035 PyObject * obj6 = 0 ;
10036 PyObject * obj7 = 0 ;
10037 char * kwnames[] = {
10038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10039 };
10040
10041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10043 if (!SWIG_IsOK(res1)) {
10044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10045 }
10046 arg1 = reinterpret_cast< wxWindow * >(argp1);
10047 if (obj1) {
10048 ecode2 = SWIG_AsVal_int(obj1, &val2);
10049 if (!SWIG_IsOK(ecode2)) {
10050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10051 }
10052 arg2 = static_cast< int >(val2);
10053 }
10054 if (obj2) {
10055 {
10056 arg3 = &temp3;
10057 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10058 }
10059 }
10060 if (obj3) {
10061 {
10062 arg4 = &temp4;
10063 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10064 }
10065 }
10066 if (obj4) {
10067 {
10068 if (! PySequence_Check(obj4)) {
10069 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10070 SWIG_fail;
10071 }
10072 arg5 = new wxArrayString;
10073 temp5 = true;
10074 int i, len=PySequence_Length(obj4);
10075 for (i=0; i<len; i++) {
10076 PyObject* item = PySequence_GetItem(obj4, i);
10077 wxString* s = wxString_in_helper(item);
10078 if (PyErr_Occurred()) SWIG_fail;
10079 arg5->Add(*s);
10080 delete s;
10081 Py_DECREF(item);
10082 }
10083 }
10084 }
10085 if (obj5) {
10086 ecode6 = SWIG_AsVal_long(obj5, &val6);
10087 if (!SWIG_IsOK(ecode6)) {
10088 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10089 }
10090 arg6 = static_cast< long >(val6);
10091 }
10092 if (obj6) {
10093 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10094 if (!SWIG_IsOK(res7)) {
10095 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10096 }
10097 if (!argp7) {
10098 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10099 }
10100 arg7 = reinterpret_cast< wxValidator * >(argp7);
10101 }
10102 if (obj7) {
10103 {
10104 arg8 = wxString_in_helper(obj7);
10105 if (arg8 == NULL) SWIG_fail;
10106 temp8 = true;
10107 }
10108 }
10109 {
10110 if (!wxPyCheckForApp()) SWIG_fail;
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10117 {
10118 if (temp5) delete arg5;
10119 }
10120 {
10121 if (temp8)
10122 delete arg8;
10123 }
10124 return resultobj;
10125 fail:
10126 {
10127 if (temp5) delete arg5;
10128 }
10129 {
10130 if (temp8)
10131 delete arg8;
10132 }
10133 return NULL;
10134 }
10135
10136
10137 SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10138 PyObject *resultobj = 0;
10139 wxCheckListBox *result = 0 ;
10140
10141 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10142 {
10143 if (!wxPyCheckForApp()) SWIG_fail;
10144 PyThreadState* __tstate = wxPyBeginAllowThreads();
10145 result = (wxCheckListBox *)new wxCheckListBox();
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10150 return resultobj;
10151 fail:
10152 return NULL;
10153 }
10154
10155
10156 SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10157 PyObject *resultobj = 0;
10158 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10159 wxWindow *arg2 = (wxWindow *) 0 ;
10160 int arg3 = (int) -1 ;
10161 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10162 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10163 wxSize const &arg5_defvalue = wxDefaultSize ;
10164 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10165 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10166 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10167 long arg7 = (long) 0 ;
10168 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10169 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10170 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10171 wxString *arg9 = (wxString *) &arg9_defvalue ;
10172 bool result;
10173 void *argp1 = 0 ;
10174 int res1 = 0 ;
10175 void *argp2 = 0 ;
10176 int res2 = 0 ;
10177 int val3 ;
10178 int ecode3 = 0 ;
10179 wxPoint temp4 ;
10180 wxSize temp5 ;
10181 bool temp6 = false ;
10182 long val7 ;
10183 int ecode7 = 0 ;
10184 void *argp8 = 0 ;
10185 int res8 = 0 ;
10186 bool temp9 = false ;
10187 PyObject * obj0 = 0 ;
10188 PyObject * obj1 = 0 ;
10189 PyObject * obj2 = 0 ;
10190 PyObject * obj3 = 0 ;
10191 PyObject * obj4 = 0 ;
10192 PyObject * obj5 = 0 ;
10193 PyObject * obj6 = 0 ;
10194 PyObject * obj7 = 0 ;
10195 PyObject * obj8 = 0 ;
10196 char * kwnames[] = {
10197 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10198 };
10199
10200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10202 if (!SWIG_IsOK(res1)) {
10203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10204 }
10205 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10206 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10207 if (!SWIG_IsOK(res2)) {
10208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10209 }
10210 arg2 = reinterpret_cast< wxWindow * >(argp2);
10211 if (obj2) {
10212 ecode3 = SWIG_AsVal_int(obj2, &val3);
10213 if (!SWIG_IsOK(ecode3)) {
10214 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10215 }
10216 arg3 = static_cast< int >(val3);
10217 }
10218 if (obj3) {
10219 {
10220 arg4 = &temp4;
10221 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10222 }
10223 }
10224 if (obj4) {
10225 {
10226 arg5 = &temp5;
10227 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10228 }
10229 }
10230 if (obj5) {
10231 {
10232 if (! PySequence_Check(obj5)) {
10233 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10234 SWIG_fail;
10235 }
10236 arg6 = new wxArrayString;
10237 temp6 = true;
10238 int i, len=PySequence_Length(obj5);
10239 for (i=0; i<len; i++) {
10240 PyObject* item = PySequence_GetItem(obj5, i);
10241 wxString* s = wxString_in_helper(item);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 arg6->Add(*s);
10244 delete s;
10245 Py_DECREF(item);
10246 }
10247 }
10248 }
10249 if (obj6) {
10250 ecode7 = SWIG_AsVal_long(obj6, &val7);
10251 if (!SWIG_IsOK(ecode7)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10253 }
10254 arg7 = static_cast< long >(val7);
10255 }
10256 if (obj7) {
10257 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10258 if (!SWIG_IsOK(res8)) {
10259 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10260 }
10261 if (!argp8) {
10262 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10263 }
10264 arg8 = reinterpret_cast< wxValidator * >(argp8);
10265 }
10266 if (obj8) {
10267 {
10268 arg9 = wxString_in_helper(obj8);
10269 if (arg9 == NULL) SWIG_fail;
10270 temp9 = true;
10271 }
10272 }
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10276 wxPyEndAllowThreads(__tstate);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 {
10280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10281 }
10282 {
10283 if (temp6) delete arg6;
10284 }
10285 {
10286 if (temp9)
10287 delete arg9;
10288 }
10289 return resultobj;
10290 fail:
10291 {
10292 if (temp6) delete arg6;
10293 }
10294 {
10295 if (temp9)
10296 delete arg9;
10297 }
10298 return NULL;
10299 }
10300
10301
10302 SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10303 PyObject *resultobj = 0;
10304 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10305 unsigned int arg2 ;
10306 bool result;
10307 void *argp1 = 0 ;
10308 int res1 = 0 ;
10309 unsigned int val2 ;
10310 int ecode2 = 0 ;
10311 PyObject * obj0 = 0 ;
10312 PyObject * obj1 = 0 ;
10313 char * kwnames[] = {
10314 (char *) "self",(char *) "index", NULL
10315 };
10316
10317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10319 if (!SWIG_IsOK(res1)) {
10320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10321 }
10322 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10323 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10324 if (!SWIG_IsOK(ecode2)) {
10325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10326 }
10327 arg2 = static_cast< unsigned int >(val2);
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 result = (bool)(arg1)->IsChecked(arg2);
10331 wxPyEndAllowThreads(__tstate);
10332 if (PyErr_Occurred()) SWIG_fail;
10333 }
10334 {
10335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10336 }
10337 return resultobj;
10338 fail:
10339 return NULL;
10340 }
10341
10342
10343 SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10344 PyObject *resultobj = 0;
10345 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10346 unsigned int arg2 ;
10347 int arg3 = (int) true ;
10348 void *argp1 = 0 ;
10349 int res1 = 0 ;
10350 unsigned int val2 ;
10351 int ecode2 = 0 ;
10352 int val3 ;
10353 int ecode3 = 0 ;
10354 PyObject * obj0 = 0 ;
10355 PyObject * obj1 = 0 ;
10356 PyObject * obj2 = 0 ;
10357 char * kwnames[] = {
10358 (char *) "self",(char *) "index",(char *) "check", NULL
10359 };
10360
10361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10363 if (!SWIG_IsOK(res1)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10365 }
10366 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10367 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10368 if (!SWIG_IsOK(ecode2)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10370 }
10371 arg2 = static_cast< unsigned int >(val2);
10372 if (obj2) {
10373 ecode3 = SWIG_AsVal_int(obj2, &val3);
10374 if (!SWIG_IsOK(ecode3)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10376 }
10377 arg3 = static_cast< int >(val3);
10378 }
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 (arg1)->Check(arg2,arg3);
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 resultobj = SWIG_Py_Void();
10386 return resultobj;
10387 fail:
10388 return NULL;
10389 }
10390
10391
10392 SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10393 PyObject *resultobj = 0;
10394 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10395 int result;
10396 void *argp1 = 0 ;
10397 int res1 = 0 ;
10398 PyObject *swig_obj[1] ;
10399
10400 if (!args) SWIG_fail;
10401 swig_obj[0] = args;
10402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10403 if (!SWIG_IsOK(res1)) {
10404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10405 }
10406 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 result = (int)(arg1)->GetItemHeight();
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 resultobj = SWIG_From_int(static_cast< int >(result));
10414 return resultobj;
10415 fail:
10416 return NULL;
10417 }
10418
10419
10420 SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10421 PyObject *obj;
10422 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10423 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10424 return SWIG_Py_Void();
10425 }
10426
10427 SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10428 return SWIG_Python_InitShadowInstance(args);
10429 }
10430
10431 SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10432 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10433 return 1;
10434 }
10435
10436
10437 SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10438 PyObject *pyobj = 0;
10439
10440 {
10441 #if wxUSE_UNICODE
10442 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10443 #else
10444 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10445 #endif
10446 }
10447 return pyobj;
10448 }
10449
10450
10451 SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj = 0;
10453 wxColour const &arg1_defvalue = wxNullColour ;
10454 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10455 wxColour const &arg2_defvalue = wxNullColour ;
10456 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10457 wxFont const &arg3_defvalue = wxNullFont ;
10458 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10459 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10460 wxTextAttr *result = 0 ;
10461 wxColour temp1 ;
10462 wxColour temp2 ;
10463 void *argp3 = 0 ;
10464 int res3 = 0 ;
10465 int val4 ;
10466 int ecode4 = 0 ;
10467 PyObject * obj0 = 0 ;
10468 PyObject * obj1 = 0 ;
10469 PyObject * obj2 = 0 ;
10470 PyObject * obj3 = 0 ;
10471 char * kwnames[] = {
10472 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10473 };
10474
10475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10476 if (obj0) {
10477 {
10478 arg1 = &temp1;
10479 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
10480 }
10481 }
10482 if (obj1) {
10483 {
10484 arg2 = &temp2;
10485 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10486 }
10487 }
10488 if (obj2) {
10489 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10490 if (!SWIG_IsOK(res3)) {
10491 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10492 }
10493 if (!argp3) {
10494 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10495 }
10496 arg3 = reinterpret_cast< wxFont * >(argp3);
10497 }
10498 if (obj3) {
10499 ecode4 = SWIG_AsVal_int(obj3, &val4);
10500 if (!SWIG_IsOK(ecode4)) {
10501 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10502 }
10503 arg4 = static_cast< wxTextAttrAlignment >(val4);
10504 }
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10508 wxPyEndAllowThreads(__tstate);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10512 return resultobj;
10513 fail:
10514 return NULL;
10515 }
10516
10517
10518 SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10519 PyObject *resultobj = 0;
10520 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10521 void *argp1 = 0 ;
10522 int res1 = 0 ;
10523 PyObject *swig_obj[1] ;
10524
10525 if (!args) SWIG_fail;
10526 swig_obj[0] = args;
10527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10528 if (!SWIG_IsOK(res1)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10530 }
10531 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 delete arg1;
10535
10536 wxPyEndAllowThreads(__tstate);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 resultobj = SWIG_Py_Void();
10540 return resultobj;
10541 fail:
10542 return NULL;
10543 }
10544
10545
10546 SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10547 PyObject *resultobj = 0;
10548 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10549 void *argp1 = 0 ;
10550 int res1 = 0 ;
10551 PyObject *swig_obj[1] ;
10552
10553 if (!args) SWIG_fail;
10554 swig_obj[0] = args;
10555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10556 if (!SWIG_IsOK(res1)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10558 }
10559 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 (arg1)->Init();
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 resultobj = SWIG_Py_Void();
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj = 0;
10575 wxTextAttr *arg1 = 0 ;
10576 wxTextAttr *arg2 = 0 ;
10577 wxTextAttr result;
10578 void *argp1 = 0 ;
10579 int res1 = 0 ;
10580 void *argp2 = 0 ;
10581 int res2 = 0 ;
10582 PyObject * obj0 = 0 ;
10583 PyObject * obj1 = 0 ;
10584 char * kwnames[] = {
10585 (char *) "base",(char *) "overlay", NULL
10586 };
10587
10588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10589 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10590 if (!SWIG_IsOK(res1)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10592 }
10593 if (!argp1) {
10594 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10595 }
10596 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10597 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10598 if (!SWIG_IsOK(res2)) {
10599 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10600 }
10601 if (!argp2) {
10602 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10603 }
10604 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10605 {
10606 PyThreadState* __tstate = wxPyBeginAllowThreads();
10607 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10608 wxPyEndAllowThreads(__tstate);
10609 if (PyErr_Occurred()) SWIG_fail;
10610 }
10611 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10612 return resultobj;
10613 fail:
10614 return NULL;
10615 }
10616
10617
10618 SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10619 PyObject *resultobj = 0;
10620 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10621 wxColour *arg2 = 0 ;
10622 void *argp1 = 0 ;
10623 int res1 = 0 ;
10624 wxColour temp2 ;
10625 PyObject * obj0 = 0 ;
10626 PyObject * obj1 = 0 ;
10627 char * kwnames[] = {
10628 (char *) "self",(char *) "colText", NULL
10629 };
10630
10631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10633 if (!SWIG_IsOK(res1)) {
10634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10635 }
10636 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10637 {
10638 arg2 = &temp2;
10639 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10640 }
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
10643 (arg1)->SetTextColour((wxColour const &)*arg2);
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) SWIG_fail;
10646 }
10647 resultobj = SWIG_Py_Void();
10648 return resultobj;
10649 fail:
10650 return NULL;
10651 }
10652
10653
10654 SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10655 PyObject *resultobj = 0;
10656 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10657 wxColour *arg2 = 0 ;
10658 void *argp1 = 0 ;
10659 int res1 = 0 ;
10660 wxColour temp2 ;
10661 PyObject * obj0 = 0 ;
10662 PyObject * obj1 = 0 ;
10663 char * kwnames[] = {
10664 (char *) "self",(char *) "colBack", NULL
10665 };
10666
10667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10669 if (!SWIG_IsOK(res1)) {
10670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10671 }
10672 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10673 {
10674 arg2 = &temp2;
10675 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10676 }
10677 {
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
10683 resultobj = SWIG_Py_Void();
10684 return resultobj;
10685 fail:
10686 return NULL;
10687 }
10688
10689
10690 SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10691 PyObject *resultobj = 0;
10692 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10693 wxFont *arg2 = 0 ;
10694 long arg3 = (long) wxTEXT_ATTR_FONT ;
10695 void *argp1 = 0 ;
10696 int res1 = 0 ;
10697 void *argp2 = 0 ;
10698 int res2 = 0 ;
10699 long val3 ;
10700 int ecode3 = 0 ;
10701 PyObject * obj0 = 0 ;
10702 PyObject * obj1 = 0 ;
10703 PyObject * obj2 = 0 ;
10704 char * kwnames[] = {
10705 (char *) "self",(char *) "font",(char *) "flags", NULL
10706 };
10707
10708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10710 if (!SWIG_IsOK(res1)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10712 }
10713 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10714 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10715 if (!SWIG_IsOK(res2)) {
10716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10717 }
10718 if (!argp2) {
10719 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10720 }
10721 arg2 = reinterpret_cast< wxFont * >(argp2);
10722 if (obj2) {
10723 ecode3 = SWIG_AsVal_long(obj2, &val3);
10724 if (!SWIG_IsOK(ecode3)) {
10725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10726 }
10727 arg3 = static_cast< long >(val3);
10728 }
10729 {
10730 PyThreadState* __tstate = wxPyBeginAllowThreads();
10731 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10732 wxPyEndAllowThreads(__tstate);
10733 if (PyErr_Occurred()) SWIG_fail;
10734 }
10735 resultobj = SWIG_Py_Void();
10736 return resultobj;
10737 fail:
10738 return NULL;
10739 }
10740
10741
10742 SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10743 PyObject *resultobj = 0;
10744 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10745 wxTextAttrAlignment arg2 ;
10746 void *argp1 = 0 ;
10747 int res1 = 0 ;
10748 int val2 ;
10749 int ecode2 = 0 ;
10750 PyObject * obj0 = 0 ;
10751 PyObject * obj1 = 0 ;
10752 char * kwnames[] = {
10753 (char *) "self",(char *) "alignment", NULL
10754 };
10755
10756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10758 if (!SWIG_IsOK(res1)) {
10759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10760 }
10761 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10762 ecode2 = SWIG_AsVal_int(obj1, &val2);
10763 if (!SWIG_IsOK(ecode2)) {
10764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10765 }
10766 arg2 = static_cast< wxTextAttrAlignment >(val2);
10767 {
10768 PyThreadState* __tstate = wxPyBeginAllowThreads();
10769 (arg1)->SetAlignment(arg2);
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 }
10773 resultobj = SWIG_Py_Void();
10774 return resultobj;
10775 fail:
10776 return NULL;
10777 }
10778
10779
10780 SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10781 PyObject *resultobj = 0;
10782 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10783 wxArrayInt *arg2 = 0 ;
10784 void *argp1 = 0 ;
10785 int res1 = 0 ;
10786 bool temp2 = false ;
10787 PyObject * obj0 = 0 ;
10788 PyObject * obj1 = 0 ;
10789 char * kwnames[] = {
10790 (char *) "self",(char *) "tabs", NULL
10791 };
10792
10793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10795 if (!SWIG_IsOK(res1)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10797 }
10798 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10799 {
10800 if (! PySequence_Check(obj1)) {
10801 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10802 SWIG_fail;
10803 }
10804 arg2 = new wxArrayInt;
10805 temp2 = true;
10806 int i, len=PySequence_Length(obj1);
10807 for (i=0; i<len; i++) {
10808 PyObject* item = PySequence_GetItem(obj1, i);
10809 PyObject* number = PyNumber_Int(item);
10810 if (!number) {
10811 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10812 SWIG_fail;
10813 }
10814 arg2->Add(PyInt_AS_LONG(number));
10815 Py_DECREF(item);
10816 Py_DECREF(number);
10817 }
10818 }
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10822 wxPyEndAllowThreads(__tstate);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
10825 resultobj = SWIG_Py_Void();
10826 {
10827 if (temp2) delete arg2;
10828 }
10829 return resultobj;
10830 fail:
10831 {
10832 if (temp2) delete arg2;
10833 }
10834 return NULL;
10835 }
10836
10837
10838 SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10839 PyObject *resultobj = 0;
10840 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10841 int arg2 ;
10842 int arg3 = (int) 0 ;
10843 void *argp1 = 0 ;
10844 int res1 = 0 ;
10845 int val2 ;
10846 int ecode2 = 0 ;
10847 int val3 ;
10848 int ecode3 = 0 ;
10849 PyObject * obj0 = 0 ;
10850 PyObject * obj1 = 0 ;
10851 PyObject * obj2 = 0 ;
10852 char * kwnames[] = {
10853 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10854 };
10855
10856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10858 if (!SWIG_IsOK(res1)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10860 }
10861 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10862 ecode2 = SWIG_AsVal_int(obj1, &val2);
10863 if (!SWIG_IsOK(ecode2)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10865 }
10866 arg2 = static_cast< int >(val2);
10867 if (obj2) {
10868 ecode3 = SWIG_AsVal_int(obj2, &val3);
10869 if (!SWIG_IsOK(ecode3)) {
10870 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10871 }
10872 arg3 = static_cast< int >(val3);
10873 }
10874 {
10875 PyThreadState* __tstate = wxPyBeginAllowThreads();
10876 (arg1)->SetLeftIndent(arg2,arg3);
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 resultobj = SWIG_Py_Void();
10881 return resultobj;
10882 fail:
10883 return NULL;
10884 }
10885
10886
10887 SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10888 PyObject *resultobj = 0;
10889 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10890 int arg2 ;
10891 void *argp1 = 0 ;
10892 int res1 = 0 ;
10893 int val2 ;
10894 int ecode2 = 0 ;
10895 PyObject * obj0 = 0 ;
10896 PyObject * obj1 = 0 ;
10897 char * kwnames[] = {
10898 (char *) "self",(char *) "indent", NULL
10899 };
10900
10901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10903 if (!SWIG_IsOK(res1)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10905 }
10906 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10907 ecode2 = SWIG_AsVal_int(obj1, &val2);
10908 if (!SWIG_IsOK(ecode2)) {
10909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10910 }
10911 arg2 = static_cast< int >(val2);
10912 {
10913 PyThreadState* __tstate = wxPyBeginAllowThreads();
10914 (arg1)->SetRightIndent(arg2);
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 resultobj = SWIG_Py_Void();
10919 return resultobj;
10920 fail:
10921 return NULL;
10922 }
10923
10924
10925 SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10926 PyObject *resultobj = 0;
10927 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10928 long arg2 ;
10929 void *argp1 = 0 ;
10930 int res1 = 0 ;
10931 long val2 ;
10932 int ecode2 = 0 ;
10933 PyObject * obj0 = 0 ;
10934 PyObject * obj1 = 0 ;
10935 char * kwnames[] = {
10936 (char *) "self",(char *) "flags", NULL
10937 };
10938
10939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10941 if (!SWIG_IsOK(res1)) {
10942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10943 }
10944 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10945 ecode2 = SWIG_AsVal_long(obj1, &val2);
10946 if (!SWIG_IsOK(ecode2)) {
10947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10948 }
10949 arg2 = static_cast< long >(val2);
10950 {
10951 PyThreadState* __tstate = wxPyBeginAllowThreads();
10952 (arg1)->SetFlags(arg2);
10953 wxPyEndAllowThreads(__tstate);
10954 if (PyErr_Occurred()) SWIG_fail;
10955 }
10956 resultobj = SWIG_Py_Void();
10957 return resultobj;
10958 fail:
10959 return NULL;
10960 }
10961
10962
10963 SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10964 PyObject *resultobj = 0;
10965 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10966 bool result;
10967 void *argp1 = 0 ;
10968 int res1 = 0 ;
10969 PyObject *swig_obj[1] ;
10970
10971 if (!args) SWIG_fail;
10972 swig_obj[0] = args;
10973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10974 if (!SWIG_IsOK(res1)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10976 }
10977 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10978 {
10979 PyThreadState* __tstate = wxPyBeginAllowThreads();
10980 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
10981 wxPyEndAllowThreads(__tstate);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 }
10984 {
10985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10986 }
10987 return resultobj;
10988 fail:
10989 return NULL;
10990 }
10991
10992
10993 SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10994 PyObject *resultobj = 0;
10995 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10996 bool result;
10997 void *argp1 = 0 ;
10998 int res1 = 0 ;
10999 PyObject *swig_obj[1] ;
11000
11001 if (!args) SWIG_fail;
11002 swig_obj[0] = args;
11003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11004 if (!SWIG_IsOK(res1)) {
11005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11006 }
11007 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11008 {
11009 PyThreadState* __tstate = wxPyBeginAllowThreads();
11010 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
11011 wxPyEndAllowThreads(__tstate);
11012 if (PyErr_Occurred()) SWIG_fail;
11013 }
11014 {
11015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11016 }
11017 return resultobj;
11018 fail:
11019 return NULL;
11020 }
11021
11022
11023 SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11024 PyObject *resultobj = 0;
11025 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11026 bool result;
11027 void *argp1 = 0 ;
11028 int res1 = 0 ;
11029 PyObject *swig_obj[1] ;
11030
11031 if (!args) SWIG_fail;
11032 swig_obj[0] = args;
11033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11034 if (!SWIG_IsOK(res1)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11036 }
11037 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11038 {
11039 PyThreadState* __tstate = wxPyBeginAllowThreads();
11040 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11041 wxPyEndAllowThreads(__tstate);
11042 if (PyErr_Occurred()) SWIG_fail;
11043 }
11044 {
11045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11046 }
11047 return resultobj;
11048 fail:
11049 return NULL;
11050 }
11051
11052
11053 SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11054 PyObject *resultobj = 0;
11055 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11056 bool result;
11057 void *argp1 = 0 ;
11058 int res1 = 0 ;
11059 PyObject *swig_obj[1] ;
11060
11061 if (!args) SWIG_fail;
11062 swig_obj[0] = args;
11063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11064 if (!SWIG_IsOK(res1)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11066 }
11067 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11071 wxPyEndAllowThreads(__tstate);
11072 if (PyErr_Occurred()) SWIG_fail;
11073 }
11074 {
11075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11076 }
11077 return resultobj;
11078 fail:
11079 return NULL;
11080 }
11081
11082
11083 SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11084 PyObject *resultobj = 0;
11085 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11086 bool result;
11087 void *argp1 = 0 ;
11088 int res1 = 0 ;
11089 PyObject *swig_obj[1] ;
11090
11091 if (!args) SWIG_fail;
11092 swig_obj[0] = args;
11093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11094 if (!SWIG_IsOK(res1)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11096 }
11097 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 {
11105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11106 }
11107 return resultobj;
11108 fail:
11109 return NULL;
11110 }
11111
11112
11113 SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11114 PyObject *resultobj = 0;
11115 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11116 bool result;
11117 void *argp1 = 0 ;
11118 int res1 = 0 ;
11119 PyObject *swig_obj[1] ;
11120
11121 if (!args) SWIG_fail;
11122 swig_obj[0] = args;
11123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11124 if (!SWIG_IsOK(res1)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11126 }
11127 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11128 {
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11131 wxPyEndAllowThreads(__tstate);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 {
11135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11136 }
11137 return resultobj;
11138 fail:
11139 return NULL;
11140 }
11141
11142
11143 SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11144 PyObject *resultobj = 0;
11145 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11146 bool result;
11147 void *argp1 = 0 ;
11148 int res1 = 0 ;
11149 PyObject *swig_obj[1] ;
11150
11151 if (!args) SWIG_fail;
11152 swig_obj[0] = args;
11153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11154 if (!SWIG_IsOK(res1)) {
11155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11156 }
11157 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11158 {
11159 PyThreadState* __tstate = wxPyBeginAllowThreads();
11160 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11161 wxPyEndAllowThreads(__tstate);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 {
11165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11166 }
11167 return resultobj;
11168 fail:
11169 return NULL;
11170 }
11171
11172
11173 SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11174 PyObject *resultobj = 0;
11175 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11176 long arg2 ;
11177 bool result;
11178 void *argp1 = 0 ;
11179 int res1 = 0 ;
11180 long val2 ;
11181 int ecode2 = 0 ;
11182 PyObject * obj0 = 0 ;
11183 PyObject * obj1 = 0 ;
11184 char * kwnames[] = {
11185 (char *) "self",(char *) "flag", NULL
11186 };
11187
11188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11190 if (!SWIG_IsOK(res1)) {
11191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11192 }
11193 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11194 ecode2 = SWIG_AsVal_long(obj1, &val2);
11195 if (!SWIG_IsOK(ecode2)) {
11196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11197 }
11198 arg2 = static_cast< long >(val2);
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 {
11206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11207 }
11208 return resultobj;
11209 fail:
11210 return NULL;
11211 }
11212
11213
11214 SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11215 PyObject *resultobj = 0;
11216 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11217 wxColour *result = 0 ;
11218 void *argp1 = 0 ;
11219 int res1 = 0 ;
11220 PyObject *swig_obj[1] ;
11221
11222 if (!args) SWIG_fail;
11223 swig_obj[0] = args;
11224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11225 if (!SWIG_IsOK(res1)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11227 }
11228 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11229 {
11230 PyThreadState* __tstate = wxPyBeginAllowThreads();
11231 {
11232 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11233 result = (wxColour *) &_result_ref;
11234 }
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11239 return resultobj;
11240 fail:
11241 return NULL;
11242 }
11243
11244
11245 SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11246 PyObject *resultobj = 0;
11247 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11248 wxColour *result = 0 ;
11249 void *argp1 = 0 ;
11250 int res1 = 0 ;
11251 PyObject *swig_obj[1] ;
11252
11253 if (!args) SWIG_fail;
11254 swig_obj[0] = args;
11255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11256 if (!SWIG_IsOK(res1)) {
11257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11258 }
11259 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 {
11263 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11264 result = (wxColour *) &_result_ref;
11265 }
11266 wxPyEndAllowThreads(__tstate);
11267 if (PyErr_Occurred()) SWIG_fail;
11268 }
11269 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11270 return resultobj;
11271 fail:
11272 return NULL;
11273 }
11274
11275
11276 SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11277 PyObject *resultobj = 0;
11278 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11279 wxFont *result = 0 ;
11280 void *argp1 = 0 ;
11281 int res1 = 0 ;
11282 PyObject *swig_obj[1] ;
11283
11284 if (!args) SWIG_fail;
11285 swig_obj[0] = args;
11286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11287 if (!SWIG_IsOK(res1)) {
11288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11289 }
11290 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11291 {
11292 PyThreadState* __tstate = wxPyBeginAllowThreads();
11293 {
11294 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11295 result = (wxFont *) &_result_ref;
11296 }
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 {
11301 wxFont* resultptr = new wxFont(*result);
11302 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11303 }
11304 return resultobj;
11305 fail:
11306 return NULL;
11307 }
11308
11309
11310 SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11311 PyObject *resultobj = 0;
11312 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11313 wxTextAttrAlignment result;
11314 void *argp1 = 0 ;
11315 int res1 = 0 ;
11316 PyObject *swig_obj[1] ;
11317
11318 if (!args) SWIG_fail;
11319 swig_obj[0] = args;
11320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11321 if (!SWIG_IsOK(res1)) {
11322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11323 }
11324 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11325 {
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 resultobj = SWIG_From_int(static_cast< int >(result));
11332 return resultobj;
11333 fail:
11334 return NULL;
11335 }
11336
11337
11338 SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11339 PyObject *resultobj = 0;
11340 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11341 wxArrayInt *result = 0 ;
11342 void *argp1 = 0 ;
11343 int res1 = 0 ;
11344 PyObject *swig_obj[1] ;
11345
11346 if (!args) SWIG_fail;
11347 swig_obj[0] = args;
11348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11349 if (!SWIG_IsOK(res1)) {
11350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11351 }
11352 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11353 {
11354 PyThreadState* __tstate = wxPyBeginAllowThreads();
11355 {
11356 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11357 result = (wxArrayInt *) &_result_ref;
11358 }
11359 wxPyEndAllowThreads(__tstate);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
11362 {
11363 resultobj = wxArrayInt2PyList_helper(*result);
11364 }
11365 return resultobj;
11366 fail:
11367 return NULL;
11368 }
11369
11370
11371 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11372 PyObject *resultobj = 0;
11373 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11374 long result;
11375 void *argp1 = 0 ;
11376 int res1 = 0 ;
11377 PyObject *swig_obj[1] ;
11378
11379 if (!args) SWIG_fail;
11380 swig_obj[0] = args;
11381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11382 if (!SWIG_IsOK(res1)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11384 }
11385 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 resultobj = SWIG_From_long(static_cast< long >(result));
11393 return resultobj;
11394 fail:
11395 return NULL;
11396 }
11397
11398
11399 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11400 PyObject *resultobj = 0;
11401 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11402 long result;
11403 void *argp1 = 0 ;
11404 int res1 = 0 ;
11405 PyObject *swig_obj[1] ;
11406
11407 if (!args) SWIG_fail;
11408 swig_obj[0] = args;
11409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11410 if (!SWIG_IsOK(res1)) {
11411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11412 }
11413 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 resultobj = SWIG_From_long(static_cast< long >(result));
11421 return resultobj;
11422 fail:
11423 return NULL;
11424 }
11425
11426
11427 SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11428 PyObject *resultobj = 0;
11429 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11430 long result;
11431 void *argp1 = 0 ;
11432 int res1 = 0 ;
11433 PyObject *swig_obj[1] ;
11434
11435 if (!args) SWIG_fail;
11436 swig_obj[0] = args;
11437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11438 if (!SWIG_IsOK(res1)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11440 }
11441 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11445 wxPyEndAllowThreads(__tstate);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 resultobj = SWIG_From_long(static_cast< long >(result));
11449 return resultobj;
11450 fail:
11451 return NULL;
11452 }
11453
11454
11455 SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11456 PyObject *resultobj = 0;
11457 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11458 long result;
11459 void *argp1 = 0 ;
11460 int res1 = 0 ;
11461 PyObject *swig_obj[1] ;
11462
11463 if (!args) SWIG_fail;
11464 swig_obj[0] = args;
11465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11466 if (!SWIG_IsOK(res1)) {
11467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11468 }
11469 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 resultobj = SWIG_From_long(static_cast< long >(result));
11477 return resultobj;
11478 fail:
11479 return NULL;
11480 }
11481
11482
11483 SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11484 PyObject *resultobj = 0;
11485 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11486 bool result;
11487 void *argp1 = 0 ;
11488 int res1 = 0 ;
11489 PyObject *swig_obj[1] ;
11490
11491 if (!args) SWIG_fail;
11492 swig_obj[0] = args;
11493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11494 if (!SWIG_IsOK(res1)) {
11495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11496 }
11497 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11501 wxPyEndAllowThreads(__tstate);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 {
11505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11506 }
11507 return resultobj;
11508 fail:
11509 return NULL;
11510 }
11511
11512
11513 SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11514 PyObject *resultobj = 0;
11515 wxTextAttr *arg1 = 0 ;
11516 wxTextAttr *arg2 = 0 ;
11517 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11518 wxTextAttr result;
11519 void *argp1 = 0 ;
11520 int res1 = 0 ;
11521 void *argp2 = 0 ;
11522 int res2 = 0 ;
11523 void *argp3 = 0 ;
11524 int res3 = 0 ;
11525 PyObject * obj0 = 0 ;
11526 PyObject * obj1 = 0 ;
11527 PyObject * obj2 = 0 ;
11528 char * kwnames[] = {
11529 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11530 };
11531
11532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11533 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11534 if (!SWIG_IsOK(res1)) {
11535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11536 }
11537 if (!argp1) {
11538 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11539 }
11540 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11541 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11542 if (!SWIG_IsOK(res2)) {
11543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11544 }
11545 if (!argp2) {
11546 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11547 }
11548 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11549 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11550 if (!SWIG_IsOK(res3)) {
11551 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11552 }
11553 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11557 wxPyEndAllowThreads(__tstate);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
11560 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11561 return resultobj;
11562 fail:
11563 return NULL;
11564 }
11565
11566
11567 SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11568 PyObject *obj;
11569 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11570 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11571 return SWIG_Py_Void();
11572 }
11573
11574 SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11575 return SWIG_Python_InitShadowInstance(args);
11576 }
11577
11578 SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11579 PyObject *resultobj = 0;
11580 wxWindow *arg1 = (wxWindow *) 0 ;
11581 int arg2 = (int) -1 ;
11582 wxString const &arg3_defvalue = wxPyEmptyString ;
11583 wxString *arg3 = (wxString *) &arg3_defvalue ;
11584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11586 wxSize const &arg5_defvalue = wxDefaultSize ;
11587 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11588 long arg6 = (long) 0 ;
11589 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11590 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11591 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11592 wxString *arg8 = (wxString *) &arg8_defvalue ;
11593 wxTextCtrl *result = 0 ;
11594 void *argp1 = 0 ;
11595 int res1 = 0 ;
11596 int val2 ;
11597 int ecode2 = 0 ;
11598 bool temp3 = false ;
11599 wxPoint temp4 ;
11600 wxSize temp5 ;
11601 long val6 ;
11602 int ecode6 = 0 ;
11603 void *argp7 = 0 ;
11604 int res7 = 0 ;
11605 bool temp8 = false ;
11606 PyObject * obj0 = 0 ;
11607 PyObject * obj1 = 0 ;
11608 PyObject * obj2 = 0 ;
11609 PyObject * obj3 = 0 ;
11610 PyObject * obj4 = 0 ;
11611 PyObject * obj5 = 0 ;
11612 PyObject * obj6 = 0 ;
11613 PyObject * obj7 = 0 ;
11614 char * kwnames[] = {
11615 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11616 };
11617
11618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11620 if (!SWIG_IsOK(res1)) {
11621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11622 }
11623 arg1 = reinterpret_cast< wxWindow * >(argp1);
11624 if (obj1) {
11625 ecode2 = SWIG_AsVal_int(obj1, &val2);
11626 if (!SWIG_IsOK(ecode2)) {
11627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11628 }
11629 arg2 = static_cast< int >(val2);
11630 }
11631 if (obj2) {
11632 {
11633 arg3 = wxString_in_helper(obj2);
11634 if (arg3 == NULL) SWIG_fail;
11635 temp3 = true;
11636 }
11637 }
11638 if (obj3) {
11639 {
11640 arg4 = &temp4;
11641 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11642 }
11643 }
11644 if (obj4) {
11645 {
11646 arg5 = &temp5;
11647 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11648 }
11649 }
11650 if (obj5) {
11651 ecode6 = SWIG_AsVal_long(obj5, &val6);
11652 if (!SWIG_IsOK(ecode6)) {
11653 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11654 }
11655 arg6 = static_cast< long >(val6);
11656 }
11657 if (obj6) {
11658 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11659 if (!SWIG_IsOK(res7)) {
11660 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11661 }
11662 if (!argp7) {
11663 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11664 }
11665 arg7 = reinterpret_cast< wxValidator * >(argp7);
11666 }
11667 if (obj7) {
11668 {
11669 arg8 = wxString_in_helper(obj7);
11670 if (arg8 == NULL) SWIG_fail;
11671 temp8 = true;
11672 }
11673 }
11674 {
11675 if (!wxPyCheckForApp()) SWIG_fail;
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11678 wxPyEndAllowThreads(__tstate);
11679 if (PyErr_Occurred()) SWIG_fail;
11680 }
11681 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11682 {
11683 if (temp3)
11684 delete arg3;
11685 }
11686 {
11687 if (temp8)
11688 delete arg8;
11689 }
11690 return resultobj;
11691 fail:
11692 {
11693 if (temp3)
11694 delete arg3;
11695 }
11696 {
11697 if (temp8)
11698 delete arg8;
11699 }
11700 return NULL;
11701 }
11702
11703
11704 SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11705 PyObject *resultobj = 0;
11706 wxTextCtrl *result = 0 ;
11707
11708 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11709 {
11710 if (!wxPyCheckForApp()) SWIG_fail;
11711 PyThreadState* __tstate = wxPyBeginAllowThreads();
11712 result = (wxTextCtrl *)new wxTextCtrl();
11713 wxPyEndAllowThreads(__tstate);
11714 if (PyErr_Occurred()) SWIG_fail;
11715 }
11716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11717 return resultobj;
11718 fail:
11719 return NULL;
11720 }
11721
11722
11723 SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11724 PyObject *resultobj = 0;
11725 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11726 wxWindow *arg2 = (wxWindow *) 0 ;
11727 int arg3 = (int) -1 ;
11728 wxString const &arg4_defvalue = wxPyEmptyString ;
11729 wxString *arg4 = (wxString *) &arg4_defvalue ;
11730 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11731 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11732 wxSize const &arg6_defvalue = wxDefaultSize ;
11733 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11734 long arg7 = (long) 0 ;
11735 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11736 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11737 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11738 wxString *arg9 = (wxString *) &arg9_defvalue ;
11739 bool result;
11740 void *argp1 = 0 ;
11741 int res1 = 0 ;
11742 void *argp2 = 0 ;
11743 int res2 = 0 ;
11744 int val3 ;
11745 int ecode3 = 0 ;
11746 bool temp4 = false ;
11747 wxPoint temp5 ;
11748 wxSize temp6 ;
11749 long val7 ;
11750 int ecode7 = 0 ;
11751 void *argp8 = 0 ;
11752 int res8 = 0 ;
11753 bool temp9 = false ;
11754 PyObject * obj0 = 0 ;
11755 PyObject * obj1 = 0 ;
11756 PyObject * obj2 = 0 ;
11757 PyObject * obj3 = 0 ;
11758 PyObject * obj4 = 0 ;
11759 PyObject * obj5 = 0 ;
11760 PyObject * obj6 = 0 ;
11761 PyObject * obj7 = 0 ;
11762 PyObject * obj8 = 0 ;
11763 char * kwnames[] = {
11764 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11765 };
11766
11767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11769 if (!SWIG_IsOK(res1)) {
11770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11771 }
11772 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11773 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11774 if (!SWIG_IsOK(res2)) {
11775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11776 }
11777 arg2 = reinterpret_cast< wxWindow * >(argp2);
11778 if (obj2) {
11779 ecode3 = SWIG_AsVal_int(obj2, &val3);
11780 if (!SWIG_IsOK(ecode3)) {
11781 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11782 }
11783 arg3 = static_cast< int >(val3);
11784 }
11785 if (obj3) {
11786 {
11787 arg4 = wxString_in_helper(obj3);
11788 if (arg4 == NULL) SWIG_fail;
11789 temp4 = true;
11790 }
11791 }
11792 if (obj4) {
11793 {
11794 arg5 = &temp5;
11795 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11796 }
11797 }
11798 if (obj5) {
11799 {
11800 arg6 = &temp6;
11801 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11802 }
11803 }
11804 if (obj6) {
11805 ecode7 = SWIG_AsVal_long(obj6, &val7);
11806 if (!SWIG_IsOK(ecode7)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11808 }
11809 arg7 = static_cast< long >(val7);
11810 }
11811 if (obj7) {
11812 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11813 if (!SWIG_IsOK(res8)) {
11814 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11815 }
11816 if (!argp8) {
11817 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11818 }
11819 arg8 = reinterpret_cast< wxValidator * >(argp8);
11820 }
11821 if (obj8) {
11822 {
11823 arg9 = wxString_in_helper(obj8);
11824 if (arg9 == NULL) SWIG_fail;
11825 temp9 = true;
11826 }
11827 }
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11831 wxPyEndAllowThreads(__tstate);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 {
11835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11836 }
11837 {
11838 if (temp4)
11839 delete arg4;
11840 }
11841 {
11842 if (temp9)
11843 delete arg9;
11844 }
11845 return resultobj;
11846 fail:
11847 {
11848 if (temp4)
11849 delete arg4;
11850 }
11851 {
11852 if (temp9)
11853 delete arg9;
11854 }
11855 return NULL;
11856 }
11857
11858
11859 SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11860 PyObject *resultobj = 0;
11861 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11862 wxString result;
11863 void *argp1 = 0 ;
11864 int res1 = 0 ;
11865 PyObject *swig_obj[1] ;
11866
11867 if (!args) SWIG_fail;
11868 swig_obj[0] = args;
11869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11870 if (!SWIG_IsOK(res1)) {
11871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11872 }
11873 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11874 {
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 result = ((wxTextCtrl const *)arg1)->GetValue();
11877 wxPyEndAllowThreads(__tstate);
11878 if (PyErr_Occurred()) SWIG_fail;
11879 }
11880 {
11881 #if wxUSE_UNICODE
11882 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11883 #else
11884 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11885 #endif
11886 }
11887 return resultobj;
11888 fail:
11889 return NULL;
11890 }
11891
11892
11893 SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11894 PyObject *resultobj = 0;
11895 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11896 wxString *arg2 = 0 ;
11897 void *argp1 = 0 ;
11898 int res1 = 0 ;
11899 bool temp2 = false ;
11900 PyObject * obj0 = 0 ;
11901 PyObject * obj1 = 0 ;
11902 char * kwnames[] = {
11903 (char *) "self",(char *) "value", NULL
11904 };
11905
11906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11908 if (!SWIG_IsOK(res1)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11910 }
11911 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11912 {
11913 arg2 = wxString_in_helper(obj1);
11914 if (arg2 == NULL) SWIG_fail;
11915 temp2 = true;
11916 }
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 (arg1)->SetValue((wxString const &)*arg2);
11920 wxPyEndAllowThreads(__tstate);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 resultobj = SWIG_Py_Void();
11924 {
11925 if (temp2)
11926 delete arg2;
11927 }
11928 return resultobj;
11929 fail:
11930 {
11931 if (temp2)
11932 delete arg2;
11933 }
11934 return NULL;
11935 }
11936
11937
11938 SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11939 PyObject *resultobj = 0;
11940 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11941 bool result;
11942 void *argp1 = 0 ;
11943 int res1 = 0 ;
11944 PyObject *swig_obj[1] ;
11945
11946 if (!args) SWIG_fail;
11947 swig_obj[0] = args;
11948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11949 if (!SWIG_IsOK(res1)) {
11950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11951 }
11952 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 result = (bool)((wxTextCtrl const *)arg1)->IsEmpty();
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 {
11960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11961 }
11962 return resultobj;
11963 fail:
11964 return NULL;
11965 }
11966
11967
11968 SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11969 PyObject *resultobj = 0;
11970 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11971 wxString *arg2 = 0 ;
11972 void *argp1 = 0 ;
11973 int res1 = 0 ;
11974 bool temp2 = false ;
11975 PyObject * obj0 = 0 ;
11976 PyObject * obj1 = 0 ;
11977 char * kwnames[] = {
11978 (char *) "self",(char *) "value", NULL
11979 };
11980
11981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail;
11982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11983 if (!SWIG_IsOK(res1)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11985 }
11986 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11987 {
11988 arg2 = wxString_in_helper(obj1);
11989 if (arg2 == NULL) SWIG_fail;
11990 temp2 = true;
11991 }
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 (arg1)->ChangeValue((wxString const &)*arg2);
11995 wxPyEndAllowThreads(__tstate);
11996 if (PyErr_Occurred()) SWIG_fail;
11997 }
11998 resultobj = SWIG_Py_Void();
11999 {
12000 if (temp2)
12001 delete arg2;
12002 }
12003 return resultobj;
12004 fail:
12005 {
12006 if (temp2)
12007 delete arg2;
12008 }
12009 return NULL;
12010 }
12011
12012
12013 SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12014 PyObject *resultobj = 0;
12015 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12016 long arg2 ;
12017 long arg3 ;
12018 wxString result;
12019 void *argp1 = 0 ;
12020 int res1 = 0 ;
12021 long val2 ;
12022 int ecode2 = 0 ;
12023 long val3 ;
12024 int ecode3 = 0 ;
12025 PyObject * obj0 = 0 ;
12026 PyObject * obj1 = 0 ;
12027 PyObject * obj2 = 0 ;
12028 char * kwnames[] = {
12029 (char *) "self",(char *) "from",(char *) "to", NULL
12030 };
12031
12032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12034 if (!SWIG_IsOK(res1)) {
12035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12036 }
12037 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12038 ecode2 = SWIG_AsVal_long(obj1, &val2);
12039 if (!SWIG_IsOK(ecode2)) {
12040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12041 }
12042 arg2 = static_cast< long >(val2);
12043 ecode3 = SWIG_AsVal_long(obj2, &val3);
12044 if (!SWIG_IsOK(ecode3)) {
12045 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12046 }
12047 arg3 = static_cast< long >(val3);
12048 {
12049 PyThreadState* __tstate = wxPyBeginAllowThreads();
12050 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12051 wxPyEndAllowThreads(__tstate);
12052 if (PyErr_Occurred()) SWIG_fail;
12053 }
12054 {
12055 #if wxUSE_UNICODE
12056 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12057 #else
12058 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12059 #endif
12060 }
12061 return resultobj;
12062 fail:
12063 return NULL;
12064 }
12065
12066
12067 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12068 PyObject *resultobj = 0;
12069 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12070 long arg2 ;
12071 int result;
12072 void *argp1 = 0 ;
12073 int res1 = 0 ;
12074 long val2 ;
12075 int ecode2 = 0 ;
12076 PyObject * obj0 = 0 ;
12077 PyObject * obj1 = 0 ;
12078 char * kwnames[] = {
12079 (char *) "self",(char *) "lineNo", NULL
12080 };
12081
12082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12084 if (!SWIG_IsOK(res1)) {
12085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12086 }
12087 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12088 ecode2 = SWIG_AsVal_long(obj1, &val2);
12089 if (!SWIG_IsOK(ecode2)) {
12090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12091 }
12092 arg2 = static_cast< long >(val2);
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12096 wxPyEndAllowThreads(__tstate);
12097 if (PyErr_Occurred()) SWIG_fail;
12098 }
12099 resultobj = SWIG_From_int(static_cast< int >(result));
12100 return resultobj;
12101 fail:
12102 return NULL;
12103 }
12104
12105
12106 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12107 PyObject *resultobj = 0;
12108 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12109 long arg2 ;
12110 wxString result;
12111 void *argp1 = 0 ;
12112 int res1 = 0 ;
12113 long val2 ;
12114 int ecode2 = 0 ;
12115 PyObject * obj0 = 0 ;
12116 PyObject * obj1 = 0 ;
12117 char * kwnames[] = {
12118 (char *) "self",(char *) "lineNo", NULL
12119 };
12120
12121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12123 if (!SWIG_IsOK(res1)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12125 }
12126 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12127 ecode2 = SWIG_AsVal_long(obj1, &val2);
12128 if (!SWIG_IsOK(ecode2)) {
12129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12130 }
12131 arg2 = static_cast< long >(val2);
12132 {
12133 PyThreadState* __tstate = wxPyBeginAllowThreads();
12134 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12135 wxPyEndAllowThreads(__tstate);
12136 if (PyErr_Occurred()) SWIG_fail;
12137 }
12138 {
12139 #if wxUSE_UNICODE
12140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12141 #else
12142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12143 #endif
12144 }
12145 return resultobj;
12146 fail:
12147 return NULL;
12148 }
12149
12150
12151 SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12152 PyObject *resultobj = 0;
12153 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12154 int result;
12155 void *argp1 = 0 ;
12156 int res1 = 0 ;
12157 PyObject *swig_obj[1] ;
12158
12159 if (!args) SWIG_fail;
12160 swig_obj[0] = args;
12161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12162 if (!SWIG_IsOK(res1)) {
12163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12164 }
12165 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12166 {
12167 PyThreadState* __tstate = wxPyBeginAllowThreads();
12168 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 resultobj = SWIG_From_int(static_cast< int >(result));
12173 return resultobj;
12174 fail:
12175 return NULL;
12176 }
12177
12178
12179 SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12180 PyObject *resultobj = 0;
12181 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12182 bool result;
12183 void *argp1 = 0 ;
12184 int res1 = 0 ;
12185 PyObject *swig_obj[1] ;
12186
12187 if (!args) SWIG_fail;
12188 swig_obj[0] = args;
12189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12190 if (!SWIG_IsOK(res1)) {
12191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12192 }
12193 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12194 {
12195 PyThreadState* __tstate = wxPyBeginAllowThreads();
12196 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12197 wxPyEndAllowThreads(__tstate);
12198 if (PyErr_Occurred()) SWIG_fail;
12199 }
12200 {
12201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12202 }
12203 return resultobj;
12204 fail:
12205 return NULL;
12206 }
12207
12208
12209 SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12210 PyObject *resultobj = 0;
12211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12212 bool result;
12213 void *argp1 = 0 ;
12214 int res1 = 0 ;
12215 PyObject *swig_obj[1] ;
12216
12217 if (!args) SWIG_fail;
12218 swig_obj[0] = args;
12219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12220 if (!SWIG_IsOK(res1)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12222 }
12223 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 {
12231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12232 }
12233 return resultobj;
12234 fail:
12235 return NULL;
12236 }
12237
12238
12239 SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12240 PyObject *resultobj = 0;
12241 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12242 bool result;
12243 void *argp1 = 0 ;
12244 int res1 = 0 ;
12245 PyObject *swig_obj[1] ;
12246
12247 if (!args) SWIG_fail;
12248 swig_obj[0] = args;
12249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12250 if (!SWIG_IsOK(res1)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12252 }
12253 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12257 wxPyEndAllowThreads(__tstate);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 }
12260 {
12261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12262 }
12263 return resultobj;
12264 fail:
12265 return NULL;
12266 }
12267
12268
12269 SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12270 PyObject *resultobj = 0;
12271 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12272 bool result;
12273 void *argp1 = 0 ;
12274 int res1 = 0 ;
12275 PyObject *swig_obj[1] ;
12276
12277 if (!args) SWIG_fail;
12278 swig_obj[0] = args;
12279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12280 if (!SWIG_IsOK(res1)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12282 }
12283 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12284 {
12285 PyThreadState* __tstate = wxPyBeginAllowThreads();
12286 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12287 wxPyEndAllowThreads(__tstate);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 }
12290 {
12291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12292 }
12293 return resultobj;
12294 fail:
12295 return NULL;
12296 }
12297
12298
12299 SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12300 PyObject *resultobj = 0;
12301 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12302 long *arg2 = (long *) 0 ;
12303 long *arg3 = (long *) 0 ;
12304 void *argp1 = 0 ;
12305 int res1 = 0 ;
12306 long temp2 ;
12307 int res2 = SWIG_TMPOBJ ;
12308 long temp3 ;
12309 int res3 = SWIG_TMPOBJ ;
12310 PyObject *swig_obj[1] ;
12311
12312 arg2 = &temp2;
12313 arg3 = &temp3;
12314 if (!args) SWIG_fail;
12315 swig_obj[0] = args;
12316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12317 if (!SWIG_IsOK(res1)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12319 }
12320 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12321 {
12322 PyThreadState* __tstate = wxPyBeginAllowThreads();
12323 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12324 wxPyEndAllowThreads(__tstate);
12325 if (PyErr_Occurred()) SWIG_fail;
12326 }
12327 resultobj = SWIG_Py_Void();
12328 if (SWIG_IsTmpObj(res2)) {
12329 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12330 } else {
12331 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12332 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12333 }
12334 if (SWIG_IsTmpObj(res3)) {
12335 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12336 } else {
12337 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12338 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12339 }
12340 return resultobj;
12341 fail:
12342 return NULL;
12343 }
12344
12345
12346 SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12347 PyObject *resultobj = 0;
12348 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12349 wxString result;
12350 void *argp1 = 0 ;
12351 int res1 = 0 ;
12352 PyObject *swig_obj[1] ;
12353
12354 if (!args) SWIG_fail;
12355 swig_obj[0] = args;
12356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12357 if (!SWIG_IsOK(res1)) {
12358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12359 }
12360 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 {
12368 #if wxUSE_UNICODE
12369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12370 #else
12371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12372 #endif
12373 }
12374 return resultobj;
12375 fail:
12376 return NULL;
12377 }
12378
12379
12380 SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12381 PyObject *resultobj = 0;
12382 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12383 void *argp1 = 0 ;
12384 int res1 = 0 ;
12385 PyObject *swig_obj[1] ;
12386
12387 if (!args) SWIG_fail;
12388 swig_obj[0] = args;
12389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12390 if (!SWIG_IsOK(res1)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12392 }
12393 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 (arg1)->Clear();
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 resultobj = SWIG_Py_Void();
12401 return resultobj;
12402 fail:
12403 return NULL;
12404 }
12405
12406
12407 SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12408 PyObject *resultobj = 0;
12409 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12410 long arg2 ;
12411 long arg3 ;
12412 wxString *arg4 = 0 ;
12413 void *argp1 = 0 ;
12414 int res1 = 0 ;
12415 long val2 ;
12416 int ecode2 = 0 ;
12417 long val3 ;
12418 int ecode3 = 0 ;
12419 bool temp4 = false ;
12420 PyObject * obj0 = 0 ;
12421 PyObject * obj1 = 0 ;
12422 PyObject * obj2 = 0 ;
12423 PyObject * obj3 = 0 ;
12424 char * kwnames[] = {
12425 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12426 };
12427
12428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12430 if (!SWIG_IsOK(res1)) {
12431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12432 }
12433 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12434 ecode2 = SWIG_AsVal_long(obj1, &val2);
12435 if (!SWIG_IsOK(ecode2)) {
12436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12437 }
12438 arg2 = static_cast< long >(val2);
12439 ecode3 = SWIG_AsVal_long(obj2, &val3);
12440 if (!SWIG_IsOK(ecode3)) {
12441 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12442 }
12443 arg3 = static_cast< long >(val3);
12444 {
12445 arg4 = wxString_in_helper(obj3);
12446 if (arg4 == NULL) SWIG_fail;
12447 temp4 = true;
12448 }
12449 {
12450 PyThreadState* __tstate = wxPyBeginAllowThreads();
12451 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 resultobj = SWIG_Py_Void();
12456 {
12457 if (temp4)
12458 delete arg4;
12459 }
12460 return resultobj;
12461 fail:
12462 {
12463 if (temp4)
12464 delete arg4;
12465 }
12466 return NULL;
12467 }
12468
12469
12470 SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12471 PyObject *resultobj = 0;
12472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12473 long arg2 ;
12474 long arg3 ;
12475 void *argp1 = 0 ;
12476 int res1 = 0 ;
12477 long val2 ;
12478 int ecode2 = 0 ;
12479 long val3 ;
12480 int ecode3 = 0 ;
12481 PyObject * obj0 = 0 ;
12482 PyObject * obj1 = 0 ;
12483 PyObject * obj2 = 0 ;
12484 char * kwnames[] = {
12485 (char *) "self",(char *) "from",(char *) "to", NULL
12486 };
12487
12488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12490 if (!SWIG_IsOK(res1)) {
12491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12492 }
12493 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12494 ecode2 = SWIG_AsVal_long(obj1, &val2);
12495 if (!SWIG_IsOK(ecode2)) {
12496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12497 }
12498 arg2 = static_cast< long >(val2);
12499 ecode3 = SWIG_AsVal_long(obj2, &val3);
12500 if (!SWIG_IsOK(ecode3)) {
12501 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12502 }
12503 arg3 = static_cast< long >(val3);
12504 {
12505 PyThreadState* __tstate = wxPyBeginAllowThreads();
12506 (arg1)->Remove(arg2,arg3);
12507 wxPyEndAllowThreads(__tstate);
12508 if (PyErr_Occurred()) SWIG_fail;
12509 }
12510 resultobj = SWIG_Py_Void();
12511 return resultobj;
12512 fail:
12513 return NULL;
12514 }
12515
12516
12517 SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12518 PyObject *resultobj = 0;
12519 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12520 wxString *arg2 = 0 ;
12521 int arg3 = (int) wxTEXT_TYPE_ANY ;
12522 bool result;
12523 void *argp1 = 0 ;
12524 int res1 = 0 ;
12525 bool temp2 = false ;
12526 int val3 ;
12527 int ecode3 = 0 ;
12528 PyObject * obj0 = 0 ;
12529 PyObject * obj1 = 0 ;
12530 PyObject * obj2 = 0 ;
12531 char * kwnames[] = {
12532 (char *) "self",(char *) "file",(char *) "fileType", NULL
12533 };
12534
12535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12537 if (!SWIG_IsOK(res1)) {
12538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12539 }
12540 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12541 {
12542 arg2 = wxString_in_helper(obj1);
12543 if (arg2 == NULL) SWIG_fail;
12544 temp2 = true;
12545 }
12546 if (obj2) {
12547 ecode3 = SWIG_AsVal_int(obj2, &val3);
12548 if (!SWIG_IsOK(ecode3)) {
12549 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12550 }
12551 arg3 = static_cast< int >(val3);
12552 }
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 {
12560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12561 }
12562 {
12563 if (temp2)
12564 delete arg2;
12565 }
12566 return resultobj;
12567 fail:
12568 {
12569 if (temp2)
12570 delete arg2;
12571 }
12572 return NULL;
12573 }
12574
12575
12576 SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12577 PyObject *resultobj = 0;
12578 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12579 wxString const &arg2_defvalue = wxPyEmptyString ;
12580 wxString *arg2 = (wxString *) &arg2_defvalue ;
12581 int arg3 = (int) wxTEXT_TYPE_ANY ;
12582 bool result;
12583 void *argp1 = 0 ;
12584 int res1 = 0 ;
12585 bool temp2 = false ;
12586 int val3 ;
12587 int ecode3 = 0 ;
12588 PyObject * obj0 = 0 ;
12589 PyObject * obj1 = 0 ;
12590 PyObject * obj2 = 0 ;
12591 char * kwnames[] = {
12592 (char *) "self",(char *) "file",(char *) "fileType", NULL
12593 };
12594
12595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12597 if (!SWIG_IsOK(res1)) {
12598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12599 }
12600 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12601 if (obj1) {
12602 {
12603 arg2 = wxString_in_helper(obj1);
12604 if (arg2 == NULL) SWIG_fail;
12605 temp2 = true;
12606 }
12607 }
12608 if (obj2) {
12609 ecode3 = SWIG_AsVal_int(obj2, &val3);
12610 if (!SWIG_IsOK(ecode3)) {
12611 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12612 }
12613 arg3 = static_cast< int >(val3);
12614 }
12615 {
12616 PyThreadState* __tstate = wxPyBeginAllowThreads();
12617 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
12618 wxPyEndAllowThreads(__tstate);
12619 if (PyErr_Occurred()) SWIG_fail;
12620 }
12621 {
12622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12623 }
12624 {
12625 if (temp2)
12626 delete arg2;
12627 }
12628 return resultobj;
12629 fail:
12630 {
12631 if (temp2)
12632 delete arg2;
12633 }
12634 return NULL;
12635 }
12636
12637
12638 SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12639 PyObject *resultobj = 0;
12640 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12641 void *argp1 = 0 ;
12642 int res1 = 0 ;
12643 PyObject *swig_obj[1] ;
12644
12645 if (!args) SWIG_fail;
12646 swig_obj[0] = args;
12647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12648 if (!SWIG_IsOK(res1)) {
12649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12650 }
12651 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12652 {
12653 PyThreadState* __tstate = wxPyBeginAllowThreads();
12654 (arg1)->MarkDirty();
12655 wxPyEndAllowThreads(__tstate);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 }
12658 resultobj = SWIG_Py_Void();
12659 return resultobj;
12660 fail:
12661 return NULL;
12662 }
12663
12664
12665 SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12666 PyObject *resultobj = 0;
12667 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12668 void *argp1 = 0 ;
12669 int res1 = 0 ;
12670 PyObject *swig_obj[1] ;
12671
12672 if (!args) SWIG_fail;
12673 swig_obj[0] = args;
12674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12675 if (!SWIG_IsOK(res1)) {
12676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12677 }
12678 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 (arg1)->DiscardEdits();
12682 wxPyEndAllowThreads(__tstate);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 resultobj = SWIG_Py_Void();
12686 return resultobj;
12687 fail:
12688 return NULL;
12689 }
12690
12691
12692 SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12693 PyObject *resultobj = 0;
12694 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12695 bool arg2 ;
12696 void *argp1 = 0 ;
12697 int res1 = 0 ;
12698 bool val2 ;
12699 int ecode2 = 0 ;
12700 PyObject * obj0 = 0 ;
12701 PyObject * obj1 = 0 ;
12702 char * kwnames[] = {
12703 (char *) "self",(char *) "modified", NULL
12704 };
12705
12706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
12707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12708 if (!SWIG_IsOK(res1)) {
12709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12710 }
12711 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12712 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12713 if (!SWIG_IsOK(ecode2)) {
12714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12715 }
12716 arg2 = static_cast< bool >(val2);
12717 {
12718 PyThreadState* __tstate = wxPyBeginAllowThreads();
12719 (arg1)->SetModified(arg2);
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 resultobj = SWIG_Py_Void();
12724 return resultobj;
12725 fail:
12726 return NULL;
12727 }
12728
12729
12730 SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj = 0;
12732 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12733 unsigned long arg2 ;
12734 void *argp1 = 0 ;
12735 int res1 = 0 ;
12736 unsigned long val2 ;
12737 int ecode2 = 0 ;
12738 PyObject * obj0 = 0 ;
12739 PyObject * obj1 = 0 ;
12740 char * kwnames[] = {
12741 (char *) "self",(char *) "len", NULL
12742 };
12743
12744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12746 if (!SWIG_IsOK(res1)) {
12747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12748 }
12749 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12750 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12751 if (!SWIG_IsOK(ecode2)) {
12752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12753 }
12754 arg2 = static_cast< unsigned long >(val2);
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 (arg1)->SetMaxLength(arg2);
12758 wxPyEndAllowThreads(__tstate);
12759 if (PyErr_Occurred()) SWIG_fail;
12760 }
12761 resultobj = SWIG_Py_Void();
12762 return resultobj;
12763 fail:
12764 return NULL;
12765 }
12766
12767
12768 SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj = 0;
12770 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12771 wxString *arg2 = 0 ;
12772 void *argp1 = 0 ;
12773 int res1 = 0 ;
12774 bool temp2 = false ;
12775 PyObject * obj0 = 0 ;
12776 PyObject * obj1 = 0 ;
12777 char * kwnames[] = {
12778 (char *) "self",(char *) "text", NULL
12779 };
12780
12781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12783 if (!SWIG_IsOK(res1)) {
12784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12785 }
12786 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12787 {
12788 arg2 = wxString_in_helper(obj1);
12789 if (arg2 == NULL) SWIG_fail;
12790 temp2 = true;
12791 }
12792 {
12793 PyThreadState* __tstate = wxPyBeginAllowThreads();
12794 (arg1)->WriteText((wxString const &)*arg2);
12795 wxPyEndAllowThreads(__tstate);
12796 if (PyErr_Occurred()) SWIG_fail;
12797 }
12798 resultobj = SWIG_Py_Void();
12799 {
12800 if (temp2)
12801 delete arg2;
12802 }
12803 return resultobj;
12804 fail:
12805 {
12806 if (temp2)
12807 delete arg2;
12808 }
12809 return NULL;
12810 }
12811
12812
12813 SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12814 PyObject *resultobj = 0;
12815 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12816 wxString *arg2 = 0 ;
12817 void *argp1 = 0 ;
12818 int res1 = 0 ;
12819 bool temp2 = false ;
12820 PyObject * obj0 = 0 ;
12821 PyObject * obj1 = 0 ;
12822 char * kwnames[] = {
12823 (char *) "self",(char *) "text", NULL
12824 };
12825
12826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12828 if (!SWIG_IsOK(res1)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12830 }
12831 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12832 {
12833 arg2 = wxString_in_helper(obj1);
12834 if (arg2 == NULL) SWIG_fail;
12835 temp2 = true;
12836 }
12837 {
12838 PyThreadState* __tstate = wxPyBeginAllowThreads();
12839 (arg1)->AppendText((wxString const &)*arg2);
12840 wxPyEndAllowThreads(__tstate);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 }
12843 resultobj = SWIG_Py_Void();
12844 {
12845 if (temp2)
12846 delete arg2;
12847 }
12848 return resultobj;
12849 fail:
12850 {
12851 if (temp2)
12852 delete arg2;
12853 }
12854 return NULL;
12855 }
12856
12857
12858 SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj = 0;
12860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12861 wxKeyEvent *arg2 = 0 ;
12862 bool result;
12863 void *argp1 = 0 ;
12864 int res1 = 0 ;
12865 void *argp2 = 0 ;
12866 int res2 = 0 ;
12867 PyObject * obj0 = 0 ;
12868 PyObject * obj1 = 0 ;
12869 char * kwnames[] = {
12870 (char *) "self",(char *) "event", NULL
12871 };
12872
12873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12875 if (!SWIG_IsOK(res1)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12877 }
12878 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12879 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12880 if (!SWIG_IsOK(res2)) {
12881 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12882 }
12883 if (!argp2) {
12884 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12885 }
12886 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12887 {
12888 PyThreadState* __tstate = wxPyBeginAllowThreads();
12889 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12890 wxPyEndAllowThreads(__tstate);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 }
12893 {
12894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12895 }
12896 return resultobj;
12897 fail:
12898 return NULL;
12899 }
12900
12901
12902 SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12903 PyObject *resultobj = 0;
12904 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12905 long arg2 ;
12906 long arg3 ;
12907 wxTextAttr *arg4 = 0 ;
12908 bool result;
12909 void *argp1 = 0 ;
12910 int res1 = 0 ;
12911 long val2 ;
12912 int ecode2 = 0 ;
12913 long val3 ;
12914 int ecode3 = 0 ;
12915 void *argp4 = 0 ;
12916 int res4 = 0 ;
12917 PyObject * obj0 = 0 ;
12918 PyObject * obj1 = 0 ;
12919 PyObject * obj2 = 0 ;
12920 PyObject * obj3 = 0 ;
12921 char * kwnames[] = {
12922 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12923 };
12924
12925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12927 if (!SWIG_IsOK(res1)) {
12928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12929 }
12930 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12931 ecode2 = SWIG_AsVal_long(obj1, &val2);
12932 if (!SWIG_IsOK(ecode2)) {
12933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12934 }
12935 arg2 = static_cast< long >(val2);
12936 ecode3 = SWIG_AsVal_long(obj2, &val3);
12937 if (!SWIG_IsOK(ecode3)) {
12938 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12939 }
12940 arg3 = static_cast< long >(val3);
12941 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12942 if (!SWIG_IsOK(res4)) {
12943 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12944 }
12945 if (!argp4) {
12946 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12947 }
12948 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12949 {
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12952 wxPyEndAllowThreads(__tstate);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
12955 {
12956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12957 }
12958 return resultobj;
12959 fail:
12960 return NULL;
12961 }
12962
12963
12964 SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12965 PyObject *resultobj = 0;
12966 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12967 long arg2 ;
12968 wxTextAttr *arg3 = 0 ;
12969 bool result;
12970 void *argp1 = 0 ;
12971 int res1 = 0 ;
12972 long val2 ;
12973 int ecode2 = 0 ;
12974 void *argp3 = 0 ;
12975 int res3 = 0 ;
12976 PyObject * obj0 = 0 ;
12977 PyObject * obj1 = 0 ;
12978 PyObject * obj2 = 0 ;
12979 char * kwnames[] = {
12980 (char *) "self",(char *) "position",(char *) "style", NULL
12981 };
12982
12983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12985 if (!SWIG_IsOK(res1)) {
12986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12987 }
12988 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12989 ecode2 = SWIG_AsVal_long(obj1, &val2);
12990 if (!SWIG_IsOK(ecode2)) {
12991 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12992 }
12993 arg2 = static_cast< long >(val2);
12994 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
12995 if (!SWIG_IsOK(res3)) {
12996 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12997 }
12998 if (!argp3) {
12999 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13000 }
13001 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
13002 {
13003 PyThreadState* __tstate = wxPyBeginAllowThreads();
13004 result = (bool)(arg1)->GetStyle(arg2,*arg3);
13005 wxPyEndAllowThreads(__tstate);
13006 if (PyErr_Occurred()) SWIG_fail;
13007 }
13008 {
13009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13010 }
13011 return resultobj;
13012 fail:
13013 return NULL;
13014 }
13015
13016
13017 SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj = 0;
13019 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13020 wxTextAttr *arg2 = 0 ;
13021 bool result;
13022 void *argp1 = 0 ;
13023 int res1 = 0 ;
13024 void *argp2 = 0 ;
13025 int res2 = 0 ;
13026 PyObject * obj0 = 0 ;
13027 PyObject * obj1 = 0 ;
13028 char * kwnames[] = {
13029 (char *) "self",(char *) "style", NULL
13030 };
13031
13032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
13033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13034 if (!SWIG_IsOK(res1)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13036 }
13037 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13038 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
13039 if (!SWIG_IsOK(res2)) {
13040 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13041 }
13042 if (!argp2) {
13043 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13044 }
13045 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13046 {
13047 PyThreadState* __tstate = wxPyBeginAllowThreads();
13048 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13049 wxPyEndAllowThreads(__tstate);
13050 if (PyErr_Occurred()) SWIG_fail;
13051 }
13052 {
13053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13054 }
13055 return resultobj;
13056 fail:
13057 return NULL;
13058 }
13059
13060
13061 SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13062 PyObject *resultobj = 0;
13063 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13064 wxTextAttr *result = 0 ;
13065 void *argp1 = 0 ;
13066 int res1 = 0 ;
13067 PyObject *swig_obj[1] ;
13068
13069 if (!args) SWIG_fail;
13070 swig_obj[0] = args;
13071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13072 if (!SWIG_IsOK(res1)) {
13073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13074 }
13075 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13076 {
13077 PyThreadState* __tstate = wxPyBeginAllowThreads();
13078 {
13079 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13080 result = (wxTextAttr *) &_result_ref;
13081 }
13082 wxPyEndAllowThreads(__tstate);
13083 if (PyErr_Occurred()) SWIG_fail;
13084 }
13085 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13086 return resultobj;
13087 fail:
13088 return NULL;
13089 }
13090
13091
13092 SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13093 PyObject *resultobj = 0;
13094 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13095 long arg2 ;
13096 long arg3 ;
13097 long result;
13098 void *argp1 = 0 ;
13099 int res1 = 0 ;
13100 long val2 ;
13101 int ecode2 = 0 ;
13102 long val3 ;
13103 int ecode3 = 0 ;
13104 PyObject * obj0 = 0 ;
13105 PyObject * obj1 = 0 ;
13106 PyObject * obj2 = 0 ;
13107 char * kwnames[] = {
13108 (char *) "self",(char *) "x",(char *) "y", NULL
13109 };
13110
13111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13113 if (!SWIG_IsOK(res1)) {
13114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13115 }
13116 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13117 ecode2 = SWIG_AsVal_long(obj1, &val2);
13118 if (!SWIG_IsOK(ecode2)) {
13119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13120 }
13121 arg2 = static_cast< long >(val2);
13122 ecode3 = SWIG_AsVal_long(obj2, &val3);
13123 if (!SWIG_IsOK(ecode3)) {
13124 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13125 }
13126 arg3 = static_cast< long >(val3);
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13130 wxPyEndAllowThreads(__tstate);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 resultobj = SWIG_From_long(static_cast< long >(result));
13134 return resultobj;
13135 fail:
13136 return NULL;
13137 }
13138
13139
13140 SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13141 PyObject *resultobj = 0;
13142 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13143 long arg2 ;
13144 long *arg3 = (long *) 0 ;
13145 long *arg4 = (long *) 0 ;
13146 void *argp1 = 0 ;
13147 int res1 = 0 ;
13148 long val2 ;
13149 int ecode2 = 0 ;
13150 long temp3 ;
13151 int res3 = SWIG_TMPOBJ ;
13152 long temp4 ;
13153 int res4 = SWIG_TMPOBJ ;
13154 PyObject * obj0 = 0 ;
13155 PyObject * obj1 = 0 ;
13156 char * kwnames[] = {
13157 (char *) "self",(char *) "pos", NULL
13158 };
13159
13160 arg3 = &temp3;
13161 arg4 = &temp4;
13162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13164 if (!SWIG_IsOK(res1)) {
13165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13166 }
13167 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13168 ecode2 = SWIG_AsVal_long(obj1, &val2);
13169 if (!SWIG_IsOK(ecode2)) {
13170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13171 }
13172 arg2 = static_cast< long >(val2);
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 resultobj = SWIG_Py_Void();
13180 if (SWIG_IsTmpObj(res3)) {
13181 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13182 } else {
13183 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13184 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13185 }
13186 if (SWIG_IsTmpObj(res4)) {
13187 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13188 } else {
13189 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13190 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13191 }
13192 return resultobj;
13193 fail:
13194 return NULL;
13195 }
13196
13197
13198 SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13199 PyObject *resultobj = 0;
13200 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13201 long arg2 ;
13202 void *argp1 = 0 ;
13203 int res1 = 0 ;
13204 long val2 ;
13205 int ecode2 = 0 ;
13206 PyObject * obj0 = 0 ;
13207 PyObject * obj1 = 0 ;
13208 char * kwnames[] = {
13209 (char *) "self",(char *) "pos", NULL
13210 };
13211
13212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13214 if (!SWIG_IsOK(res1)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13216 }
13217 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13218 ecode2 = SWIG_AsVal_long(obj1, &val2);
13219 if (!SWIG_IsOK(ecode2)) {
13220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13221 }
13222 arg2 = static_cast< long >(val2);
13223 {
13224 PyThreadState* __tstate = wxPyBeginAllowThreads();
13225 (arg1)->ShowPosition(arg2);
13226 wxPyEndAllowThreads(__tstate);
13227 if (PyErr_Occurred()) SWIG_fail;
13228 }
13229 resultobj = SWIG_Py_Void();
13230 return resultobj;
13231 fail:
13232 return NULL;
13233 }
13234
13235
13236 SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13237 PyObject *resultobj = 0;
13238 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13239 wxPoint *arg2 = 0 ;
13240 long *arg3 = (long *) 0 ;
13241 long *arg4 = (long *) 0 ;
13242 wxTextCtrlHitTestResult result;
13243 void *argp1 = 0 ;
13244 int res1 = 0 ;
13245 wxPoint temp2 ;
13246 long temp3 ;
13247 int res3 = SWIG_TMPOBJ ;
13248 long temp4 ;
13249 int res4 = SWIG_TMPOBJ ;
13250 PyObject * obj0 = 0 ;
13251 PyObject * obj1 = 0 ;
13252 char * kwnames[] = {
13253 (char *) "self",(char *) "pt", NULL
13254 };
13255
13256 arg3 = &temp3;
13257 arg4 = &temp4;
13258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13260 if (!SWIG_IsOK(res1)) {
13261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13262 }
13263 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13264 {
13265 arg2 = &temp2;
13266 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13267 }
13268 {
13269 PyThreadState* __tstate = wxPyBeginAllowThreads();
13270 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 resultobj = SWIG_From_int(static_cast< int >(result));
13275 if (SWIG_IsTmpObj(res3)) {
13276 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13277 } else {
13278 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13279 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13280 }
13281 if (SWIG_IsTmpObj(res4)) {
13282 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13283 } else {
13284 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13285 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13286 }
13287 return resultobj;
13288 fail:
13289 return NULL;
13290 }
13291
13292
13293 SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13294 PyObject *resultobj = 0;
13295 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13296 wxPoint *arg2 = 0 ;
13297 long *arg3 = (long *) 0 ;
13298 wxTextCtrlHitTestResult result;
13299 void *argp1 = 0 ;
13300 int res1 = 0 ;
13301 wxPoint temp2 ;
13302 long temp3 ;
13303 int res3 = SWIG_TMPOBJ ;
13304 PyObject * obj0 = 0 ;
13305 PyObject * obj1 = 0 ;
13306 char * kwnames[] = {
13307 (char *) "self",(char *) "pt", NULL
13308 };
13309
13310 arg3 = &temp3;
13311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13313 if (!SWIG_IsOK(res1)) {
13314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13315 }
13316 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13317 {
13318 arg2 = &temp2;
13319 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13320 }
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13324 wxPyEndAllowThreads(__tstate);
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 resultobj = SWIG_From_int(static_cast< int >(result));
13328 if (SWIG_IsTmpObj(res3)) {
13329 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13330 } else {
13331 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13332 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13333 }
13334 return resultobj;
13335 fail:
13336 return NULL;
13337 }
13338
13339
13340 SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13341 PyObject *resultobj = 0;
13342 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13343 void *argp1 = 0 ;
13344 int res1 = 0 ;
13345 PyObject *swig_obj[1] ;
13346
13347 if (!args) SWIG_fail;
13348 swig_obj[0] = args;
13349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13350 if (!SWIG_IsOK(res1)) {
13351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13352 }
13353 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13354 {
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 (arg1)->Copy();
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = SWIG_Py_Void();
13361 return resultobj;
13362 fail:
13363 return NULL;
13364 }
13365
13366
13367 SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13368 PyObject *resultobj = 0;
13369 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13370 void *argp1 = 0 ;
13371 int res1 = 0 ;
13372 PyObject *swig_obj[1] ;
13373
13374 if (!args) SWIG_fail;
13375 swig_obj[0] = args;
13376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13377 if (!SWIG_IsOK(res1)) {
13378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13379 }
13380 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 (arg1)->Cut();
13384 wxPyEndAllowThreads(__tstate);
13385 if (PyErr_Occurred()) SWIG_fail;
13386 }
13387 resultobj = SWIG_Py_Void();
13388 return resultobj;
13389 fail:
13390 return NULL;
13391 }
13392
13393
13394 SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13395 PyObject *resultobj = 0;
13396 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13397 void *argp1 = 0 ;
13398 int res1 = 0 ;
13399 PyObject *swig_obj[1] ;
13400
13401 if (!args) SWIG_fail;
13402 swig_obj[0] = args;
13403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13404 if (!SWIG_IsOK(res1)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13406 }
13407 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 (arg1)->Paste();
13411 wxPyEndAllowThreads(__tstate);
13412 if (PyErr_Occurred()) SWIG_fail;
13413 }
13414 resultobj = SWIG_Py_Void();
13415 return resultobj;
13416 fail:
13417 return NULL;
13418 }
13419
13420
13421 SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13422 PyObject *resultobj = 0;
13423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13424 bool result;
13425 void *argp1 = 0 ;
13426 int res1 = 0 ;
13427 PyObject *swig_obj[1] ;
13428
13429 if (!args) SWIG_fail;
13430 swig_obj[0] = args;
13431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13432 if (!SWIG_IsOK(res1)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13434 }
13435 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13436 {
13437 PyThreadState* __tstate = wxPyBeginAllowThreads();
13438 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13439 wxPyEndAllowThreads(__tstate);
13440 if (PyErr_Occurred()) SWIG_fail;
13441 }
13442 {
13443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13444 }
13445 return resultobj;
13446 fail:
13447 return NULL;
13448 }
13449
13450
13451 SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13452 PyObject *resultobj = 0;
13453 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13454 bool result;
13455 void *argp1 = 0 ;
13456 int res1 = 0 ;
13457 PyObject *swig_obj[1] ;
13458
13459 if (!args) SWIG_fail;
13460 swig_obj[0] = args;
13461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13462 if (!SWIG_IsOK(res1)) {
13463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13464 }
13465 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13466 {
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13469 wxPyEndAllowThreads(__tstate);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 {
13473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13474 }
13475 return resultobj;
13476 fail:
13477 return NULL;
13478 }
13479
13480
13481 SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13482 PyObject *resultobj = 0;
13483 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13484 bool result;
13485 void *argp1 = 0 ;
13486 int res1 = 0 ;
13487 PyObject *swig_obj[1] ;
13488
13489 if (!args) SWIG_fail;
13490 swig_obj[0] = args;
13491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13492 if (!SWIG_IsOK(res1)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13494 }
13495 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13496 {
13497 PyThreadState* __tstate = wxPyBeginAllowThreads();
13498 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 {
13503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13504 }
13505 return resultobj;
13506 fail:
13507 return NULL;
13508 }
13509
13510
13511 SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13512 PyObject *resultobj = 0;
13513 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13514 void *argp1 = 0 ;
13515 int res1 = 0 ;
13516 PyObject *swig_obj[1] ;
13517
13518 if (!args) SWIG_fail;
13519 swig_obj[0] = args;
13520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13521 if (!SWIG_IsOK(res1)) {
13522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13523 }
13524 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 (arg1)->Undo();
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 resultobj = SWIG_Py_Void();
13532 return resultobj;
13533 fail:
13534 return NULL;
13535 }
13536
13537
13538 SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13539 PyObject *resultobj = 0;
13540 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13541 void *argp1 = 0 ;
13542 int res1 = 0 ;
13543 PyObject *swig_obj[1] ;
13544
13545 if (!args) SWIG_fail;
13546 swig_obj[0] = args;
13547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13548 if (!SWIG_IsOK(res1)) {
13549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13550 }
13551 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13552 {
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 (arg1)->Redo();
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
13558 resultobj = SWIG_Py_Void();
13559 return resultobj;
13560 fail:
13561 return NULL;
13562 }
13563
13564
13565 SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13566 PyObject *resultobj = 0;
13567 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13568 bool result;
13569 void *argp1 = 0 ;
13570 int res1 = 0 ;
13571 PyObject *swig_obj[1] ;
13572
13573 if (!args) SWIG_fail;
13574 swig_obj[0] = args;
13575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13576 if (!SWIG_IsOK(res1)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13578 }
13579 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13580 {
13581 PyThreadState* __tstate = wxPyBeginAllowThreads();
13582 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13583 wxPyEndAllowThreads(__tstate);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 {
13587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13588 }
13589 return resultobj;
13590 fail:
13591 return NULL;
13592 }
13593
13594
13595 SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13596 PyObject *resultobj = 0;
13597 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13598 bool result;
13599 void *argp1 = 0 ;
13600 int res1 = 0 ;
13601 PyObject *swig_obj[1] ;
13602
13603 if (!args) SWIG_fail;
13604 swig_obj[0] = args;
13605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13606 if (!SWIG_IsOK(res1)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13608 }
13609 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13610 {
13611 PyThreadState* __tstate = wxPyBeginAllowThreads();
13612 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13613 wxPyEndAllowThreads(__tstate);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
13616 {
13617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13618 }
13619 return resultobj;
13620 fail:
13621 return NULL;
13622 }
13623
13624
13625 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13626 PyObject *resultobj = 0;
13627 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13628 long arg2 ;
13629 void *argp1 = 0 ;
13630 int res1 = 0 ;
13631 long val2 ;
13632 int ecode2 = 0 ;
13633 PyObject * obj0 = 0 ;
13634 PyObject * obj1 = 0 ;
13635 char * kwnames[] = {
13636 (char *) "self",(char *) "pos", NULL
13637 };
13638
13639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13641 if (!SWIG_IsOK(res1)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13643 }
13644 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13645 ecode2 = SWIG_AsVal_long(obj1, &val2);
13646 if (!SWIG_IsOK(ecode2)) {
13647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13648 }
13649 arg2 = static_cast< long >(val2);
13650 {
13651 PyThreadState* __tstate = wxPyBeginAllowThreads();
13652 (arg1)->SetInsertionPoint(arg2);
13653 wxPyEndAllowThreads(__tstate);
13654 if (PyErr_Occurred()) SWIG_fail;
13655 }
13656 resultobj = SWIG_Py_Void();
13657 return resultobj;
13658 fail:
13659 return NULL;
13660 }
13661
13662
13663 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13664 PyObject *resultobj = 0;
13665 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13666 void *argp1 = 0 ;
13667 int res1 = 0 ;
13668 PyObject *swig_obj[1] ;
13669
13670 if (!args) SWIG_fail;
13671 swig_obj[0] = args;
13672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13673 if (!SWIG_IsOK(res1)) {
13674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13675 }
13676 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 (arg1)->SetInsertionPointEnd();
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 }
13683 resultobj = SWIG_Py_Void();
13684 return resultobj;
13685 fail:
13686 return NULL;
13687 }
13688
13689
13690 SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13691 PyObject *resultobj = 0;
13692 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13693 long result;
13694 void *argp1 = 0 ;
13695 int res1 = 0 ;
13696 PyObject *swig_obj[1] ;
13697
13698 if (!args) SWIG_fail;
13699 swig_obj[0] = args;
13700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13701 if (!SWIG_IsOK(res1)) {
13702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13703 }
13704 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13705 {
13706 PyThreadState* __tstate = wxPyBeginAllowThreads();
13707 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13708 wxPyEndAllowThreads(__tstate);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 }
13711 resultobj = SWIG_From_long(static_cast< long >(result));
13712 return resultobj;
13713 fail:
13714 return NULL;
13715 }
13716
13717
13718 SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13719 PyObject *resultobj = 0;
13720 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13721 long result;
13722 void *argp1 = 0 ;
13723 int res1 = 0 ;
13724 PyObject *swig_obj[1] ;
13725
13726 if (!args) SWIG_fail;
13727 swig_obj[0] = args;
13728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13729 if (!SWIG_IsOK(res1)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13731 }
13732 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13733 {
13734 PyThreadState* __tstate = wxPyBeginAllowThreads();
13735 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13736 wxPyEndAllowThreads(__tstate);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 }
13739 resultobj = SWIG_From_long(static_cast< long >(result));
13740 return resultobj;
13741 fail:
13742 return NULL;
13743 }
13744
13745
13746 SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13747 PyObject *resultobj = 0;
13748 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13749 long arg2 ;
13750 long arg3 ;
13751 void *argp1 = 0 ;
13752 int res1 = 0 ;
13753 long val2 ;
13754 int ecode2 = 0 ;
13755 long val3 ;
13756 int ecode3 = 0 ;
13757 PyObject * obj0 = 0 ;
13758 PyObject * obj1 = 0 ;
13759 PyObject * obj2 = 0 ;
13760 char * kwnames[] = {
13761 (char *) "self",(char *) "from",(char *) "to", NULL
13762 };
13763
13764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13766 if (!SWIG_IsOK(res1)) {
13767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13768 }
13769 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13770 ecode2 = SWIG_AsVal_long(obj1, &val2);
13771 if (!SWIG_IsOK(ecode2)) {
13772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13773 }
13774 arg2 = static_cast< long >(val2);
13775 ecode3 = SWIG_AsVal_long(obj2, &val3);
13776 if (!SWIG_IsOK(ecode3)) {
13777 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13778 }
13779 arg3 = static_cast< long >(val3);
13780 {
13781 PyThreadState* __tstate = wxPyBeginAllowThreads();
13782 (arg1)->SetSelection(arg2,arg3);
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 resultobj = SWIG_Py_Void();
13787 return resultobj;
13788 fail:
13789 return NULL;
13790 }
13791
13792
13793 SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13794 PyObject *resultobj = 0;
13795 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13796 void *argp1 = 0 ;
13797 int res1 = 0 ;
13798 PyObject *swig_obj[1] ;
13799
13800 if (!args) SWIG_fail;
13801 swig_obj[0] = args;
13802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13803 if (!SWIG_IsOK(res1)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13805 }
13806 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13807 {
13808 PyThreadState* __tstate = wxPyBeginAllowThreads();
13809 (arg1)->SelectAll();
13810 wxPyEndAllowThreads(__tstate);
13811 if (PyErr_Occurred()) SWIG_fail;
13812 }
13813 resultobj = SWIG_Py_Void();
13814 return resultobj;
13815 fail:
13816 return NULL;
13817 }
13818
13819
13820 SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13821 PyObject *resultobj = 0;
13822 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13823 bool arg2 ;
13824 void *argp1 = 0 ;
13825 int res1 = 0 ;
13826 bool val2 ;
13827 int ecode2 = 0 ;
13828 PyObject * obj0 = 0 ;
13829 PyObject * obj1 = 0 ;
13830 char * kwnames[] = {
13831 (char *) "self",(char *) "editable", NULL
13832 };
13833
13834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13836 if (!SWIG_IsOK(res1)) {
13837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13838 }
13839 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13840 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13841 if (!SWIG_IsOK(ecode2)) {
13842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13843 }
13844 arg2 = static_cast< bool >(val2);
13845 {
13846 PyThreadState* __tstate = wxPyBeginAllowThreads();
13847 (arg1)->SetEditable(arg2);
13848 wxPyEndAllowThreads(__tstate);
13849 if (PyErr_Occurred()) SWIG_fail;
13850 }
13851 resultobj = SWIG_Py_Void();
13852 return resultobj;
13853 fail:
13854 return NULL;
13855 }
13856
13857
13858 SWIGINTERN PyObject *_wrap_TextCtrl_MacCheckSpelling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13859 PyObject *resultobj = 0;
13860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13861 bool arg2 ;
13862 void *argp1 = 0 ;
13863 int res1 = 0 ;
13864 bool val2 ;
13865 int ecode2 = 0 ;
13866 PyObject * obj0 = 0 ;
13867 PyObject * obj1 = 0 ;
13868 char * kwnames[] = {
13869 (char *) "self",(char *) "check", NULL
13870 };
13871
13872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames,&obj0,&obj1)) SWIG_fail;
13873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13874 if (!SWIG_IsOK(res1)) {
13875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13876 }
13877 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13878 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13879 if (!SWIG_IsOK(ecode2)) {
13880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13881 }
13882 arg2 = static_cast< bool >(val2);
13883 {
13884 PyThreadState* __tstate = wxPyBeginAllowThreads();
13885 wxTextCtrl_MacCheckSpelling(arg1,arg2);
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 resultobj = SWIG_Py_Void();
13890 return resultobj;
13891 fail:
13892 return NULL;
13893 }
13894
13895
13896 SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13897 PyObject *resultobj = 0;
13898 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13899 void *argp1 = 0 ;
13900 int res1 = 0 ;
13901 PyObject *swig_obj[1] ;
13902
13903 if (!args) SWIG_fail;
13904 swig_obj[0] = args;
13905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13906 if (!SWIG_IsOK(res1)) {
13907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13908 }
13909 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13910 {
13911 PyThreadState* __tstate = wxPyBeginAllowThreads();
13912 (arg1)->SendTextUpdatedEvent();
13913 wxPyEndAllowThreads(__tstate);
13914 if (PyErr_Occurred()) SWIG_fail;
13915 }
13916 resultobj = SWIG_Py_Void();
13917 return resultobj;
13918 fail:
13919 return NULL;
13920 }
13921
13922
13923 SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13924 PyObject *resultobj = 0;
13925 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13926 wxString *arg2 = 0 ;
13927 void *argp1 = 0 ;
13928 int res1 = 0 ;
13929 bool temp2 = false ;
13930 PyObject * obj0 = 0 ;
13931 PyObject * obj1 = 0 ;
13932 char * kwnames[] = {
13933 (char *) "self",(char *) "text", NULL
13934 };
13935
13936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13938 if (!SWIG_IsOK(res1)) {
13939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13940 }
13941 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13942 {
13943 arg2 = wxString_in_helper(obj1);
13944 if (arg2 == NULL) SWIG_fail;
13945 temp2 = true;
13946 }
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 wxTextCtrl_write(arg1,(wxString const &)*arg2);
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 resultobj = SWIG_Py_Void();
13954 {
13955 if (temp2)
13956 delete arg2;
13957 }
13958 return resultobj;
13959 fail:
13960 {
13961 if (temp2)
13962 delete arg2;
13963 }
13964 return NULL;
13965 }
13966
13967
13968 SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13969 PyObject *resultobj = 0;
13970 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13971 long arg2 ;
13972 long arg3 ;
13973 wxString result;
13974 void *argp1 = 0 ;
13975 int res1 = 0 ;
13976 long val2 ;
13977 int ecode2 = 0 ;
13978 long val3 ;
13979 int ecode3 = 0 ;
13980 PyObject * obj0 = 0 ;
13981 PyObject * obj1 = 0 ;
13982 PyObject * obj2 = 0 ;
13983 char * kwnames[] = {
13984 (char *) "self",(char *) "from",(char *) "to", NULL
13985 };
13986
13987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13989 if (!SWIG_IsOK(res1)) {
13990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13991 }
13992 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13993 ecode2 = SWIG_AsVal_long(obj1, &val2);
13994 if (!SWIG_IsOK(ecode2)) {
13995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13996 }
13997 arg2 = static_cast< long >(val2);
13998 ecode3 = SWIG_AsVal_long(obj2, &val3);
13999 if (!SWIG_IsOK(ecode3)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14001 }
14002 arg3 = static_cast< long >(val3);
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 result = wxTextCtrl_GetString(arg1,arg2,arg3);
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 {
14010 #if wxUSE_UNICODE
14011 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14012 #else
14013 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14014 #endif
14015 }
14016 return resultobj;
14017 fail:
14018 return NULL;
14019 }
14020
14021
14022 SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14023 PyObject *resultobj = 0;
14024 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14025 SwigValueWrapper<wxVisualAttributes > result;
14026 int val1 ;
14027 int ecode1 = 0 ;
14028 PyObject * obj0 = 0 ;
14029 char * kwnames[] = {
14030 (char *) "variant", NULL
14031 };
14032
14033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14034 if (obj0) {
14035 ecode1 = SWIG_AsVal_int(obj0, &val1);
14036 if (!SWIG_IsOK(ecode1)) {
14037 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14038 }
14039 arg1 = static_cast< wxWindowVariant >(val1);
14040 }
14041 {
14042 if (!wxPyCheckForApp()) SWIG_fail;
14043 PyThreadState* __tstate = wxPyBeginAllowThreads();
14044 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
14045 wxPyEndAllowThreads(__tstate);
14046 if (PyErr_Occurred()) SWIG_fail;
14047 }
14048 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14049 return resultobj;
14050 fail:
14051 return NULL;
14052 }
14053
14054
14055 SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14056 PyObject *obj;
14057 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14058 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
14059 return SWIG_Py_Void();
14060 }
14061
14062 SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14063 return SWIG_Python_InitShadowInstance(args);
14064 }
14065
14066 SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14067 PyObject *resultobj = 0;
14068 int arg1 ;
14069 wxMouseEvent *arg2 = 0 ;
14070 long arg3 ;
14071 long arg4 ;
14072 wxTextUrlEvent *result = 0 ;
14073 int val1 ;
14074 int ecode1 = 0 ;
14075 void *argp2 = 0 ;
14076 int res2 = 0 ;
14077 long val3 ;
14078 int ecode3 = 0 ;
14079 long val4 ;
14080 int ecode4 = 0 ;
14081 PyObject * obj0 = 0 ;
14082 PyObject * obj1 = 0 ;
14083 PyObject * obj2 = 0 ;
14084 PyObject * obj3 = 0 ;
14085 char * kwnames[] = {
14086 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14087 };
14088
14089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14090 ecode1 = SWIG_AsVal_int(obj0, &val1);
14091 if (!SWIG_IsOK(ecode1)) {
14092 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14093 }
14094 arg1 = static_cast< int >(val1);
14095 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14096 if (!SWIG_IsOK(res2)) {
14097 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14098 }
14099 if (!argp2) {
14100 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14101 }
14102 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14103 ecode3 = SWIG_AsVal_long(obj2, &val3);
14104 if (!SWIG_IsOK(ecode3)) {
14105 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14106 }
14107 arg3 = static_cast< long >(val3);
14108 ecode4 = SWIG_AsVal_long(obj3, &val4);
14109 if (!SWIG_IsOK(ecode4)) {
14110 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14111 }
14112 arg4 = static_cast< long >(val4);
14113 {
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14116 wxPyEndAllowThreads(__tstate);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
14119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14120 return resultobj;
14121 fail:
14122 return NULL;
14123 }
14124
14125
14126 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14127 PyObject *resultobj = 0;
14128 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14129 wxMouseEvent *result = 0 ;
14130 void *argp1 = 0 ;
14131 int res1 = 0 ;
14132 PyObject *swig_obj[1] ;
14133
14134 if (!args) SWIG_fail;
14135 swig_obj[0] = args;
14136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14137 if (!SWIG_IsOK(res1)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14139 }
14140 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 {
14144 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14145 result = (wxMouseEvent *) &_result_ref;
14146 }
14147 wxPyEndAllowThreads(__tstate);
14148 if (PyErr_Occurred()) SWIG_fail;
14149 }
14150 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14151 return resultobj;
14152 fail:
14153 return NULL;
14154 }
14155
14156
14157 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14158 PyObject *resultobj = 0;
14159 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14160 long result;
14161 void *argp1 = 0 ;
14162 int res1 = 0 ;
14163 PyObject *swig_obj[1] ;
14164
14165 if (!args) SWIG_fail;
14166 swig_obj[0] = args;
14167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14168 if (!SWIG_IsOK(res1)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14170 }
14171 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14172 {
14173 PyThreadState* __tstate = wxPyBeginAllowThreads();
14174 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 resultobj = SWIG_From_long(static_cast< long >(result));
14179 return resultobj;
14180 fail:
14181 return NULL;
14182 }
14183
14184
14185 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14186 PyObject *resultobj = 0;
14187 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14188 long result;
14189 void *argp1 = 0 ;
14190 int res1 = 0 ;
14191 PyObject *swig_obj[1] ;
14192
14193 if (!args) SWIG_fail;
14194 swig_obj[0] = args;
14195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14196 if (!SWIG_IsOK(res1)) {
14197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14198 }
14199 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14200 {
14201 PyThreadState* __tstate = wxPyBeginAllowThreads();
14202 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14203 wxPyEndAllowThreads(__tstate);
14204 if (PyErr_Occurred()) SWIG_fail;
14205 }
14206 resultobj = SWIG_From_long(static_cast< long >(result));
14207 return resultobj;
14208 fail:
14209 return NULL;
14210 }
14211
14212
14213 SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14214 PyObject *obj;
14215 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14216 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14217 return SWIG_Py_Void();
14218 }
14219
14220 SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14221 return SWIG_Python_InitShadowInstance(args);
14222 }
14223
14224 SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14225 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14226 return 1;
14227 }
14228
14229
14230 SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14231 PyObject *pyobj = 0;
14232
14233 {
14234 #if wxUSE_UNICODE
14235 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14236 #else
14237 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14238 #endif
14239 }
14240 return pyobj;
14241 }
14242
14243
14244 SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14245 PyObject *resultobj = 0;
14246 wxWindow *arg1 = (wxWindow *) 0 ;
14247 int arg2 = (int) -1 ;
14248 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14249 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14250 wxSize const &arg4_defvalue = wxDefaultSize ;
14251 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14252 long arg5 = (long) wxSB_HORIZONTAL ;
14253 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14254 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14255 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14256 wxString *arg7 = (wxString *) &arg7_defvalue ;
14257 wxScrollBar *result = 0 ;
14258 void *argp1 = 0 ;
14259 int res1 = 0 ;
14260 int val2 ;
14261 int ecode2 = 0 ;
14262 wxPoint temp3 ;
14263 wxSize temp4 ;
14264 long val5 ;
14265 int ecode5 = 0 ;
14266 void *argp6 = 0 ;
14267 int res6 = 0 ;
14268 bool temp7 = false ;
14269 PyObject * obj0 = 0 ;
14270 PyObject * obj1 = 0 ;
14271 PyObject * obj2 = 0 ;
14272 PyObject * obj3 = 0 ;
14273 PyObject * obj4 = 0 ;
14274 PyObject * obj5 = 0 ;
14275 PyObject * obj6 = 0 ;
14276 char * kwnames[] = {
14277 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14278 };
14279
14280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14282 if (!SWIG_IsOK(res1)) {
14283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14284 }
14285 arg1 = reinterpret_cast< wxWindow * >(argp1);
14286 if (obj1) {
14287 ecode2 = SWIG_AsVal_int(obj1, &val2);
14288 if (!SWIG_IsOK(ecode2)) {
14289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14290 }
14291 arg2 = static_cast< int >(val2);
14292 }
14293 if (obj2) {
14294 {
14295 arg3 = &temp3;
14296 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14297 }
14298 }
14299 if (obj3) {
14300 {
14301 arg4 = &temp4;
14302 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14303 }
14304 }
14305 if (obj4) {
14306 ecode5 = SWIG_AsVal_long(obj4, &val5);
14307 if (!SWIG_IsOK(ecode5)) {
14308 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14309 }
14310 arg5 = static_cast< long >(val5);
14311 }
14312 if (obj5) {
14313 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14314 if (!SWIG_IsOK(res6)) {
14315 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14316 }
14317 if (!argp6) {
14318 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14319 }
14320 arg6 = reinterpret_cast< wxValidator * >(argp6);
14321 }
14322 if (obj6) {
14323 {
14324 arg7 = wxString_in_helper(obj6);
14325 if (arg7 == NULL) SWIG_fail;
14326 temp7 = true;
14327 }
14328 }
14329 {
14330 if (!wxPyCheckForApp()) SWIG_fail;
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
14336 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14337 {
14338 if (temp7)
14339 delete arg7;
14340 }
14341 return resultobj;
14342 fail:
14343 {
14344 if (temp7)
14345 delete arg7;
14346 }
14347 return NULL;
14348 }
14349
14350
14351 SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14352 PyObject *resultobj = 0;
14353 wxScrollBar *result = 0 ;
14354
14355 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14356 {
14357 if (!wxPyCheckForApp()) SWIG_fail;
14358 PyThreadState* __tstate = wxPyBeginAllowThreads();
14359 result = (wxScrollBar *)new wxScrollBar();
14360 wxPyEndAllowThreads(__tstate);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14364 return resultobj;
14365 fail:
14366 return NULL;
14367 }
14368
14369
14370 SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj = 0;
14372 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14373 wxWindow *arg2 = (wxWindow *) 0 ;
14374 int arg3 = (int) -1 ;
14375 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14376 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14377 wxSize const &arg5_defvalue = wxDefaultSize ;
14378 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14379 long arg6 = (long) wxSB_HORIZONTAL ;
14380 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14381 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14382 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14383 wxString *arg8 = (wxString *) &arg8_defvalue ;
14384 bool result;
14385 void *argp1 = 0 ;
14386 int res1 = 0 ;
14387 void *argp2 = 0 ;
14388 int res2 = 0 ;
14389 int val3 ;
14390 int ecode3 = 0 ;
14391 wxPoint temp4 ;
14392 wxSize temp5 ;
14393 long val6 ;
14394 int ecode6 = 0 ;
14395 void *argp7 = 0 ;
14396 int res7 = 0 ;
14397 bool temp8 = false ;
14398 PyObject * obj0 = 0 ;
14399 PyObject * obj1 = 0 ;
14400 PyObject * obj2 = 0 ;
14401 PyObject * obj3 = 0 ;
14402 PyObject * obj4 = 0 ;
14403 PyObject * obj5 = 0 ;
14404 PyObject * obj6 = 0 ;
14405 PyObject * obj7 = 0 ;
14406 char * kwnames[] = {
14407 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14408 };
14409
14410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14412 if (!SWIG_IsOK(res1)) {
14413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14414 }
14415 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14416 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14417 if (!SWIG_IsOK(res2)) {
14418 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14419 }
14420 arg2 = reinterpret_cast< wxWindow * >(argp2);
14421 if (obj2) {
14422 ecode3 = SWIG_AsVal_int(obj2, &val3);
14423 if (!SWIG_IsOK(ecode3)) {
14424 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14425 }
14426 arg3 = static_cast< int >(val3);
14427 }
14428 if (obj3) {
14429 {
14430 arg4 = &temp4;
14431 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14432 }
14433 }
14434 if (obj4) {
14435 {
14436 arg5 = &temp5;
14437 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14438 }
14439 }
14440 if (obj5) {
14441 ecode6 = SWIG_AsVal_long(obj5, &val6);
14442 if (!SWIG_IsOK(ecode6)) {
14443 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14444 }
14445 arg6 = static_cast< long >(val6);
14446 }
14447 if (obj6) {
14448 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14449 if (!SWIG_IsOK(res7)) {
14450 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14451 }
14452 if (!argp7) {
14453 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14454 }
14455 arg7 = reinterpret_cast< wxValidator * >(argp7);
14456 }
14457 if (obj7) {
14458 {
14459 arg8 = wxString_in_helper(obj7);
14460 if (arg8 == NULL) SWIG_fail;
14461 temp8 = true;
14462 }
14463 }
14464 {
14465 PyThreadState* __tstate = wxPyBeginAllowThreads();
14466 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14467 wxPyEndAllowThreads(__tstate);
14468 if (PyErr_Occurred()) SWIG_fail;
14469 }
14470 {
14471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14472 }
14473 {
14474 if (temp8)
14475 delete arg8;
14476 }
14477 return resultobj;
14478 fail:
14479 {
14480 if (temp8)
14481 delete arg8;
14482 }
14483 return NULL;
14484 }
14485
14486
14487 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14488 PyObject *resultobj = 0;
14489 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14490 int result;
14491 void *argp1 = 0 ;
14492 int res1 = 0 ;
14493 PyObject *swig_obj[1] ;
14494
14495 if (!args) SWIG_fail;
14496 swig_obj[0] = args;
14497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14498 if (!SWIG_IsOK(res1)) {
14499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14500 }
14501 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14502 {
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14505 wxPyEndAllowThreads(__tstate);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 resultobj = SWIG_From_int(static_cast< int >(result));
14509 return resultobj;
14510 fail:
14511 return NULL;
14512 }
14513
14514
14515 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14516 PyObject *resultobj = 0;
14517 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14518 int result;
14519 void *argp1 = 0 ;
14520 int res1 = 0 ;
14521 PyObject *swig_obj[1] ;
14522
14523 if (!args) SWIG_fail;
14524 swig_obj[0] = args;
14525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14526 if (!SWIG_IsOK(res1)) {
14527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14528 }
14529 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14530 {
14531 PyThreadState* __tstate = wxPyBeginAllowThreads();
14532 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14533 wxPyEndAllowThreads(__tstate);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 resultobj = SWIG_From_int(static_cast< int >(result));
14537 return resultobj;
14538 fail:
14539 return NULL;
14540 }
14541
14542
14543 SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14544 PyObject *resultobj = 0;
14545 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14546 int result;
14547 void *argp1 = 0 ;
14548 int res1 = 0 ;
14549 PyObject *swig_obj[1] ;
14550
14551 if (!args) SWIG_fail;
14552 swig_obj[0] = args;
14553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14554 if (!SWIG_IsOK(res1)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14556 }
14557 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14558 {
14559 PyThreadState* __tstate = wxPyBeginAllowThreads();
14560 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14561 wxPyEndAllowThreads(__tstate);
14562 if (PyErr_Occurred()) SWIG_fail;
14563 }
14564 resultobj = SWIG_From_int(static_cast< int >(result));
14565 return resultobj;
14566 fail:
14567 return NULL;
14568 }
14569
14570
14571 SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14572 PyObject *resultobj = 0;
14573 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14574 int result;
14575 void *argp1 = 0 ;
14576 int res1 = 0 ;
14577 PyObject *swig_obj[1] ;
14578
14579 if (!args) SWIG_fail;
14580 swig_obj[0] = args;
14581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14582 if (!SWIG_IsOK(res1)) {
14583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14584 }
14585 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (int)((wxScrollBar const *)arg1)->GetRange();
14589 wxPyEndAllowThreads(__tstate);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 resultobj = SWIG_From_int(static_cast< int >(result));
14593 return resultobj;
14594 fail:
14595 return NULL;
14596 }
14597
14598
14599 SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14600 PyObject *resultobj = 0;
14601 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14602 bool result;
14603 void *argp1 = 0 ;
14604 int res1 = 0 ;
14605 PyObject *swig_obj[1] ;
14606
14607 if (!args) SWIG_fail;
14608 swig_obj[0] = args;
14609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14610 if (!SWIG_IsOK(res1)) {
14611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14612 }
14613 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14617 wxPyEndAllowThreads(__tstate);
14618 if (PyErr_Occurred()) SWIG_fail;
14619 }
14620 {
14621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14622 }
14623 return resultobj;
14624 fail:
14625 return NULL;
14626 }
14627
14628
14629 SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14630 PyObject *resultobj = 0;
14631 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14632 int arg2 ;
14633 void *argp1 = 0 ;
14634 int res1 = 0 ;
14635 int val2 ;
14636 int ecode2 = 0 ;
14637 PyObject * obj0 = 0 ;
14638 PyObject * obj1 = 0 ;
14639 char * kwnames[] = {
14640 (char *) "self",(char *) "viewStart", NULL
14641 };
14642
14643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14645 if (!SWIG_IsOK(res1)) {
14646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14647 }
14648 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14649 ecode2 = SWIG_AsVal_int(obj1, &val2);
14650 if (!SWIG_IsOK(ecode2)) {
14651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14652 }
14653 arg2 = static_cast< int >(val2);
14654 {
14655 PyThreadState* __tstate = wxPyBeginAllowThreads();
14656 (arg1)->SetThumbPosition(arg2);
14657 wxPyEndAllowThreads(__tstate);
14658 if (PyErr_Occurred()) SWIG_fail;
14659 }
14660 resultobj = SWIG_Py_Void();
14661 return resultobj;
14662 fail:
14663 return NULL;
14664 }
14665
14666
14667 SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14668 PyObject *resultobj = 0;
14669 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14670 SwigValueWrapper<wxVisualAttributes > result;
14671 int val1 ;
14672 int ecode1 = 0 ;
14673 PyObject * obj0 = 0 ;
14674 char * kwnames[] = {
14675 (char *) "variant", NULL
14676 };
14677
14678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14679 if (obj0) {
14680 ecode1 = SWIG_AsVal_int(obj0, &val1);
14681 if (!SWIG_IsOK(ecode1)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14683 }
14684 arg1 = static_cast< wxWindowVariant >(val1);
14685 }
14686 {
14687 if (!wxPyCheckForApp()) SWIG_fail;
14688 PyThreadState* __tstate = wxPyBeginAllowThreads();
14689 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14690 wxPyEndAllowThreads(__tstate);
14691 if (PyErr_Occurred()) SWIG_fail;
14692 }
14693 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14694 return resultobj;
14695 fail:
14696 return NULL;
14697 }
14698
14699
14700 SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14701 PyObject *obj;
14702 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14703 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14704 return SWIG_Py_Void();
14705 }
14706
14707 SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14708 return SWIG_Python_InitShadowInstance(args);
14709 }
14710
14711 SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14712 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14713 return 1;
14714 }
14715
14716
14717 SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14718 PyObject *pyobj = 0;
14719
14720 {
14721 #if wxUSE_UNICODE
14722 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14723 #else
14724 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14725 #endif
14726 }
14727 return pyobj;
14728 }
14729
14730
14731 SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14732 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14733 return 1;
14734 }
14735
14736
14737 SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14738 PyObject *pyobj = 0;
14739
14740 {
14741 #if wxUSE_UNICODE
14742 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14743 #else
14744 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14745 #endif
14746 }
14747 return pyobj;
14748 }
14749
14750
14751 SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14752 PyObject *resultobj = 0;
14753 wxWindow *arg1 = (wxWindow *) 0 ;
14754 int arg2 = (int) -1 ;
14755 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14756 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14757 wxSize const &arg4_defvalue = wxDefaultSize ;
14758 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14759 long arg5 = (long) wxSP_HORIZONTAL ;
14760 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14761 wxString *arg6 = (wxString *) &arg6_defvalue ;
14762 wxSpinButton *result = 0 ;
14763 void *argp1 = 0 ;
14764 int res1 = 0 ;
14765 int val2 ;
14766 int ecode2 = 0 ;
14767 wxPoint temp3 ;
14768 wxSize temp4 ;
14769 long val5 ;
14770 int ecode5 = 0 ;
14771 bool temp6 = false ;
14772 PyObject * obj0 = 0 ;
14773 PyObject * obj1 = 0 ;
14774 PyObject * obj2 = 0 ;
14775 PyObject * obj3 = 0 ;
14776 PyObject * obj4 = 0 ;
14777 PyObject * obj5 = 0 ;
14778 char * kwnames[] = {
14779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14780 };
14781
14782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14784 if (!SWIG_IsOK(res1)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14786 }
14787 arg1 = reinterpret_cast< wxWindow * >(argp1);
14788 if (obj1) {
14789 ecode2 = SWIG_AsVal_int(obj1, &val2);
14790 if (!SWIG_IsOK(ecode2)) {
14791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14792 }
14793 arg2 = static_cast< int >(val2);
14794 }
14795 if (obj2) {
14796 {
14797 arg3 = &temp3;
14798 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14799 }
14800 }
14801 if (obj3) {
14802 {
14803 arg4 = &temp4;
14804 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14805 }
14806 }
14807 if (obj4) {
14808 ecode5 = SWIG_AsVal_long(obj4, &val5);
14809 if (!SWIG_IsOK(ecode5)) {
14810 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14811 }
14812 arg5 = static_cast< long >(val5);
14813 }
14814 if (obj5) {
14815 {
14816 arg6 = wxString_in_helper(obj5);
14817 if (arg6 == NULL) SWIG_fail;
14818 temp6 = true;
14819 }
14820 }
14821 {
14822 if (!wxPyCheckForApp()) SWIG_fail;
14823 PyThreadState* __tstate = wxPyBeginAllowThreads();
14824 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14825 wxPyEndAllowThreads(__tstate);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
14828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14829 {
14830 if (temp6)
14831 delete arg6;
14832 }
14833 return resultobj;
14834 fail:
14835 {
14836 if (temp6)
14837 delete arg6;
14838 }
14839 return NULL;
14840 }
14841
14842
14843 SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14844 PyObject *resultobj = 0;
14845 wxSpinButton *result = 0 ;
14846
14847 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14848 {
14849 if (!wxPyCheckForApp()) SWIG_fail;
14850 PyThreadState* __tstate = wxPyBeginAllowThreads();
14851 result = (wxSpinButton *)new wxSpinButton();
14852 wxPyEndAllowThreads(__tstate);
14853 if (PyErr_Occurred()) SWIG_fail;
14854 }
14855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14856 return resultobj;
14857 fail:
14858 return NULL;
14859 }
14860
14861
14862 SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14863 PyObject *resultobj = 0;
14864 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14865 wxWindow *arg2 = (wxWindow *) 0 ;
14866 int arg3 = (int) -1 ;
14867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14869 wxSize const &arg5_defvalue = wxDefaultSize ;
14870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14871 long arg6 = (long) wxSP_HORIZONTAL ;
14872 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14873 wxString *arg7 = (wxString *) &arg7_defvalue ;
14874 bool result;
14875 void *argp1 = 0 ;
14876 int res1 = 0 ;
14877 void *argp2 = 0 ;
14878 int res2 = 0 ;
14879 int val3 ;
14880 int ecode3 = 0 ;
14881 wxPoint temp4 ;
14882 wxSize temp5 ;
14883 long val6 ;
14884 int ecode6 = 0 ;
14885 bool temp7 = false ;
14886 PyObject * obj0 = 0 ;
14887 PyObject * obj1 = 0 ;
14888 PyObject * obj2 = 0 ;
14889 PyObject * obj3 = 0 ;
14890 PyObject * obj4 = 0 ;
14891 PyObject * obj5 = 0 ;
14892 PyObject * obj6 = 0 ;
14893 char * kwnames[] = {
14894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14895 };
14896
14897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14899 if (!SWIG_IsOK(res1)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14901 }
14902 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14903 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14904 if (!SWIG_IsOK(res2)) {
14905 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14906 }
14907 arg2 = reinterpret_cast< wxWindow * >(argp2);
14908 if (obj2) {
14909 ecode3 = SWIG_AsVal_int(obj2, &val3);
14910 if (!SWIG_IsOK(ecode3)) {
14911 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14912 }
14913 arg3 = static_cast< int >(val3);
14914 }
14915 if (obj3) {
14916 {
14917 arg4 = &temp4;
14918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14919 }
14920 }
14921 if (obj4) {
14922 {
14923 arg5 = &temp5;
14924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14925 }
14926 }
14927 if (obj5) {
14928 ecode6 = SWIG_AsVal_long(obj5, &val6);
14929 if (!SWIG_IsOK(ecode6)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14931 }
14932 arg6 = static_cast< long >(val6);
14933 }
14934 if (obj6) {
14935 {
14936 arg7 = wxString_in_helper(obj6);
14937 if (arg7 == NULL) SWIG_fail;
14938 temp7 = true;
14939 }
14940 }
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14944 wxPyEndAllowThreads(__tstate);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 }
14947 {
14948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14949 }
14950 {
14951 if (temp7)
14952 delete arg7;
14953 }
14954 return resultobj;
14955 fail:
14956 {
14957 if (temp7)
14958 delete arg7;
14959 }
14960 return NULL;
14961 }
14962
14963
14964 SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14965 PyObject *resultobj = 0;
14966 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14967 int result;
14968 void *argp1 = 0 ;
14969 int res1 = 0 ;
14970 PyObject *swig_obj[1] ;
14971
14972 if (!args) SWIG_fail;
14973 swig_obj[0] = args;
14974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14975 if (!SWIG_IsOK(res1)) {
14976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14977 }
14978 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14979 {
14980 PyThreadState* __tstate = wxPyBeginAllowThreads();
14981 result = (int)((wxSpinButton const *)arg1)->GetValue();
14982 wxPyEndAllowThreads(__tstate);
14983 if (PyErr_Occurred()) SWIG_fail;
14984 }
14985 resultobj = SWIG_From_int(static_cast< int >(result));
14986 return resultobj;
14987 fail:
14988 return NULL;
14989 }
14990
14991
14992 SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14993 PyObject *resultobj = 0;
14994 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14995 int result;
14996 void *argp1 = 0 ;
14997 int res1 = 0 ;
14998 PyObject *swig_obj[1] ;
14999
15000 if (!args) SWIG_fail;
15001 swig_obj[0] = args;
15002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15003 if (!SWIG_IsOK(res1)) {
15004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15005 }
15006 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = (int)((wxSpinButton const *)arg1)->GetMin();
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
15013 resultobj = SWIG_From_int(static_cast< int >(result));
15014 return resultobj;
15015 fail:
15016 return NULL;
15017 }
15018
15019
15020 SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15021 PyObject *resultobj = 0;
15022 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15023 int result;
15024 void *argp1 = 0 ;
15025 int res1 = 0 ;
15026 PyObject *swig_obj[1] ;
15027
15028 if (!args) SWIG_fail;
15029 swig_obj[0] = args;
15030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15031 if (!SWIG_IsOK(res1)) {
15032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15033 }
15034 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15035 {
15036 PyThreadState* __tstate = wxPyBeginAllowThreads();
15037 result = (int)((wxSpinButton const *)arg1)->GetMax();
15038 wxPyEndAllowThreads(__tstate);
15039 if (PyErr_Occurred()) SWIG_fail;
15040 }
15041 resultobj = SWIG_From_int(static_cast< int >(result));
15042 return resultobj;
15043 fail:
15044 return NULL;
15045 }
15046
15047
15048 SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15049 PyObject *resultobj = 0;
15050 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15051 int arg2 ;
15052 void *argp1 = 0 ;
15053 int res1 = 0 ;
15054 int val2 ;
15055 int ecode2 = 0 ;
15056 PyObject * obj0 = 0 ;
15057 PyObject * obj1 = 0 ;
15058 char * kwnames[] = {
15059 (char *) "self",(char *) "val", NULL
15060 };
15061
15062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15064 if (!SWIG_IsOK(res1)) {
15065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15066 }
15067 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15068 ecode2 = SWIG_AsVal_int(obj1, &val2);
15069 if (!SWIG_IsOK(ecode2)) {
15070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15071 }
15072 arg2 = static_cast< int >(val2);
15073 {
15074 PyThreadState* __tstate = wxPyBeginAllowThreads();
15075 (arg1)->SetValue(arg2);
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 resultobj = SWIG_Py_Void();
15080 return resultobj;
15081 fail:
15082 return NULL;
15083 }
15084
15085
15086 SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15087 PyObject *resultobj = 0;
15088 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15089 int arg2 ;
15090 void *argp1 = 0 ;
15091 int res1 = 0 ;
15092 int val2 ;
15093 int ecode2 = 0 ;
15094 PyObject * obj0 = 0 ;
15095 PyObject * obj1 = 0 ;
15096 char * kwnames[] = {
15097 (char *) "self",(char *) "minVal", NULL
15098 };
15099
15100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15102 if (!SWIG_IsOK(res1)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15104 }
15105 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15106 ecode2 = SWIG_AsVal_int(obj1, &val2);
15107 if (!SWIG_IsOK(ecode2)) {
15108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15109 }
15110 arg2 = static_cast< int >(val2);
15111 {
15112 PyThreadState* __tstate = wxPyBeginAllowThreads();
15113 (arg1)->SetMin(arg2);
15114 wxPyEndAllowThreads(__tstate);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 resultobj = SWIG_Py_Void();
15118 return resultobj;
15119 fail:
15120 return NULL;
15121 }
15122
15123
15124 SWIGINTERN PyObject *_wrap_SpinButton_SetMax(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 *) "maxVal", NULL
15136 };
15137
15138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",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_SetMax" "', 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_SetMax" "', expected argument " "2"" of type '" "int""'");
15147 }
15148 arg2 = static_cast< int >(val2);
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 (arg1)->SetMax(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_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15163 PyObject *resultobj = 0;
15164 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15165 int arg2 ;
15166 int arg3 ;
15167 void *argp1 = 0 ;
15168 int res1 = 0 ;
15169 int val2 ;
15170 int ecode2 = 0 ;
15171 int val3 ;
15172 int ecode3 = 0 ;
15173 PyObject * obj0 = 0 ;
15174 PyObject * obj1 = 0 ;
15175 PyObject * obj2 = 0 ;
15176 char * kwnames[] = {
15177 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15178 };
15179
15180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15182 if (!SWIG_IsOK(res1)) {
15183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15184 }
15185 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15186 ecode2 = SWIG_AsVal_int(obj1, &val2);
15187 if (!SWIG_IsOK(ecode2)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15189 }
15190 arg2 = static_cast< int >(val2);
15191 ecode3 = SWIG_AsVal_int(obj2, &val3);
15192 if (!SWIG_IsOK(ecode3)) {
15193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15194 }
15195 arg3 = static_cast< int >(val3);
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 (arg1)->SetRange(arg2,arg3);
15199 wxPyEndAllowThreads(__tstate);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 }
15202 resultobj = SWIG_Py_Void();
15203 return resultobj;
15204 fail:
15205 return NULL;
15206 }
15207
15208
15209 SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15210 PyObject *resultobj = 0;
15211 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15212 bool result;
15213 void *argp1 = 0 ;
15214 int res1 = 0 ;
15215 PyObject *swig_obj[1] ;
15216
15217 if (!args) SWIG_fail;
15218 swig_obj[0] = args;
15219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15220 if (!SWIG_IsOK(res1)) {
15221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15222 }
15223 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15224 {
15225 PyThreadState* __tstate = wxPyBeginAllowThreads();
15226 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15227 wxPyEndAllowThreads(__tstate);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 {
15231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15232 }
15233 return resultobj;
15234 fail:
15235 return NULL;
15236 }
15237
15238
15239 SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15240 PyObject *resultobj = 0;
15241 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15242 SwigValueWrapper<wxVisualAttributes > result;
15243 int val1 ;
15244 int ecode1 = 0 ;
15245 PyObject * obj0 = 0 ;
15246 char * kwnames[] = {
15247 (char *) "variant", NULL
15248 };
15249
15250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15251 if (obj0) {
15252 ecode1 = SWIG_AsVal_int(obj0, &val1);
15253 if (!SWIG_IsOK(ecode1)) {
15254 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15255 }
15256 arg1 = static_cast< wxWindowVariant >(val1);
15257 }
15258 {
15259 if (!wxPyCheckForApp()) SWIG_fail;
15260 PyThreadState* __tstate = wxPyBeginAllowThreads();
15261 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15273 PyObject *obj;
15274 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15275 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15276 return SWIG_Py_Void();
15277 }
15278
15279 SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15280 return SWIG_Python_InitShadowInstance(args);
15281 }
15282
15283 SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15284 PyObject *resultobj = 0;
15285 wxWindow *arg1 = (wxWindow *) 0 ;
15286 int arg2 = (int) -1 ;
15287 wxString const &arg3_defvalue = wxPyEmptyString ;
15288 wxString *arg3 = (wxString *) &arg3_defvalue ;
15289 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15290 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15291 wxSize const &arg5_defvalue = wxDefaultSize ;
15292 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15293 long arg6 = (long) wxSP_ARROW_KEYS ;
15294 int arg7 = (int) 0 ;
15295 int arg8 = (int) 100 ;
15296 int arg9 = (int) 0 ;
15297 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15298 wxString *arg10 = (wxString *) &arg10_defvalue ;
15299 wxSpinCtrl *result = 0 ;
15300 void *argp1 = 0 ;
15301 int res1 = 0 ;
15302 int val2 ;
15303 int ecode2 = 0 ;
15304 bool temp3 = false ;
15305 wxPoint temp4 ;
15306 wxSize temp5 ;
15307 long val6 ;
15308 int ecode6 = 0 ;
15309 int val7 ;
15310 int ecode7 = 0 ;
15311 int val8 ;
15312 int ecode8 = 0 ;
15313 int val9 ;
15314 int ecode9 = 0 ;
15315 bool temp10 = false ;
15316 PyObject * obj0 = 0 ;
15317 PyObject * obj1 = 0 ;
15318 PyObject * obj2 = 0 ;
15319 PyObject * obj3 = 0 ;
15320 PyObject * obj4 = 0 ;
15321 PyObject * obj5 = 0 ;
15322 PyObject * obj6 = 0 ;
15323 PyObject * obj7 = 0 ;
15324 PyObject * obj8 = 0 ;
15325 PyObject * obj9 = 0 ;
15326 char * kwnames[] = {
15327 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15328 };
15329
15330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15332 if (!SWIG_IsOK(res1)) {
15333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15334 }
15335 arg1 = reinterpret_cast< wxWindow * >(argp1);
15336 if (obj1) {
15337 ecode2 = SWIG_AsVal_int(obj1, &val2);
15338 if (!SWIG_IsOK(ecode2)) {
15339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15340 }
15341 arg2 = static_cast< int >(val2);
15342 }
15343 if (obj2) {
15344 {
15345 arg3 = wxString_in_helper(obj2);
15346 if (arg3 == NULL) SWIG_fail;
15347 temp3 = true;
15348 }
15349 }
15350 if (obj3) {
15351 {
15352 arg4 = &temp4;
15353 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15354 }
15355 }
15356 if (obj4) {
15357 {
15358 arg5 = &temp5;
15359 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15360 }
15361 }
15362 if (obj5) {
15363 ecode6 = SWIG_AsVal_long(obj5, &val6);
15364 if (!SWIG_IsOK(ecode6)) {
15365 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15366 }
15367 arg6 = static_cast< long >(val6);
15368 }
15369 if (obj6) {
15370 ecode7 = SWIG_AsVal_int(obj6, &val7);
15371 if (!SWIG_IsOK(ecode7)) {
15372 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15373 }
15374 arg7 = static_cast< int >(val7);
15375 }
15376 if (obj7) {
15377 ecode8 = SWIG_AsVal_int(obj7, &val8);
15378 if (!SWIG_IsOK(ecode8)) {
15379 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15380 }
15381 arg8 = static_cast< int >(val8);
15382 }
15383 if (obj8) {
15384 ecode9 = SWIG_AsVal_int(obj8, &val9);
15385 if (!SWIG_IsOK(ecode9)) {
15386 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15387 }
15388 arg9 = static_cast< int >(val9);
15389 }
15390 if (obj9) {
15391 {
15392 arg10 = wxString_in_helper(obj9);
15393 if (arg10 == NULL) SWIG_fail;
15394 temp10 = true;
15395 }
15396 }
15397 {
15398 if (!wxPyCheckForApp()) SWIG_fail;
15399 PyThreadState* __tstate = wxPyBeginAllowThreads();
15400 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15401 wxPyEndAllowThreads(__tstate);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 }
15404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15405 {
15406 if (temp3)
15407 delete arg3;
15408 }
15409 {
15410 if (temp10)
15411 delete arg10;
15412 }
15413 return resultobj;
15414 fail:
15415 {
15416 if (temp3)
15417 delete arg3;
15418 }
15419 {
15420 if (temp10)
15421 delete arg10;
15422 }
15423 return NULL;
15424 }
15425
15426
15427 SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15428 PyObject *resultobj = 0;
15429 wxSpinCtrl *result = 0 ;
15430
15431 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15432 {
15433 if (!wxPyCheckForApp()) SWIG_fail;
15434 PyThreadState* __tstate = wxPyBeginAllowThreads();
15435 result = (wxSpinCtrl *)new wxSpinCtrl();
15436 wxPyEndAllowThreads(__tstate);
15437 if (PyErr_Occurred()) SWIG_fail;
15438 }
15439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15440 return resultobj;
15441 fail:
15442 return NULL;
15443 }
15444
15445
15446 SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15447 PyObject *resultobj = 0;
15448 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15449 wxWindow *arg2 = (wxWindow *) 0 ;
15450 int arg3 = (int) -1 ;
15451 wxString const &arg4_defvalue = wxPyEmptyString ;
15452 wxString *arg4 = (wxString *) &arg4_defvalue ;
15453 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15454 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15455 wxSize const &arg6_defvalue = wxDefaultSize ;
15456 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15457 long arg7 = (long) wxSP_ARROW_KEYS ;
15458 int arg8 = (int) 0 ;
15459 int arg9 = (int) 100 ;
15460 int arg10 = (int) 0 ;
15461 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15462 wxString *arg11 = (wxString *) &arg11_defvalue ;
15463 bool result;
15464 void *argp1 = 0 ;
15465 int res1 = 0 ;
15466 void *argp2 = 0 ;
15467 int res2 = 0 ;
15468 int val3 ;
15469 int ecode3 = 0 ;
15470 bool temp4 = false ;
15471 wxPoint temp5 ;
15472 wxSize temp6 ;
15473 long val7 ;
15474 int ecode7 = 0 ;
15475 int val8 ;
15476 int ecode8 = 0 ;
15477 int val9 ;
15478 int ecode9 = 0 ;
15479 int val10 ;
15480 int ecode10 = 0 ;
15481 bool temp11 = false ;
15482 PyObject * obj0 = 0 ;
15483 PyObject * obj1 = 0 ;
15484 PyObject * obj2 = 0 ;
15485 PyObject * obj3 = 0 ;
15486 PyObject * obj4 = 0 ;
15487 PyObject * obj5 = 0 ;
15488 PyObject * obj6 = 0 ;
15489 PyObject * obj7 = 0 ;
15490 PyObject * obj8 = 0 ;
15491 PyObject * obj9 = 0 ;
15492 PyObject * obj10 = 0 ;
15493 char * kwnames[] = {
15494 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15495 };
15496
15497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15499 if (!SWIG_IsOK(res1)) {
15500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15501 }
15502 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15503 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15504 if (!SWIG_IsOK(res2)) {
15505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15506 }
15507 arg2 = reinterpret_cast< wxWindow * >(argp2);
15508 if (obj2) {
15509 ecode3 = SWIG_AsVal_int(obj2, &val3);
15510 if (!SWIG_IsOK(ecode3)) {
15511 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15512 }
15513 arg3 = static_cast< int >(val3);
15514 }
15515 if (obj3) {
15516 {
15517 arg4 = wxString_in_helper(obj3);
15518 if (arg4 == NULL) SWIG_fail;
15519 temp4 = true;
15520 }
15521 }
15522 if (obj4) {
15523 {
15524 arg5 = &temp5;
15525 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15526 }
15527 }
15528 if (obj5) {
15529 {
15530 arg6 = &temp6;
15531 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15532 }
15533 }
15534 if (obj6) {
15535 ecode7 = SWIG_AsVal_long(obj6, &val7);
15536 if (!SWIG_IsOK(ecode7)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15538 }
15539 arg7 = static_cast< long >(val7);
15540 }
15541 if (obj7) {
15542 ecode8 = SWIG_AsVal_int(obj7, &val8);
15543 if (!SWIG_IsOK(ecode8)) {
15544 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15545 }
15546 arg8 = static_cast< int >(val8);
15547 }
15548 if (obj8) {
15549 ecode9 = SWIG_AsVal_int(obj8, &val9);
15550 if (!SWIG_IsOK(ecode9)) {
15551 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15552 }
15553 arg9 = static_cast< int >(val9);
15554 }
15555 if (obj9) {
15556 ecode10 = SWIG_AsVal_int(obj9, &val10);
15557 if (!SWIG_IsOK(ecode10)) {
15558 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15559 }
15560 arg10 = static_cast< int >(val10);
15561 }
15562 if (obj10) {
15563 {
15564 arg11 = wxString_in_helper(obj10);
15565 if (arg11 == NULL) SWIG_fail;
15566 temp11 = true;
15567 }
15568 }
15569 {
15570 PyThreadState* __tstate = wxPyBeginAllowThreads();
15571 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15572 wxPyEndAllowThreads(__tstate);
15573 if (PyErr_Occurred()) SWIG_fail;
15574 }
15575 {
15576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15577 }
15578 {
15579 if (temp4)
15580 delete arg4;
15581 }
15582 {
15583 if (temp11)
15584 delete arg11;
15585 }
15586 return resultobj;
15587 fail:
15588 {
15589 if (temp4)
15590 delete arg4;
15591 }
15592 {
15593 if (temp11)
15594 delete arg11;
15595 }
15596 return NULL;
15597 }
15598
15599
15600 SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15601 PyObject *resultobj = 0;
15602 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15603 int result;
15604 void *argp1 = 0 ;
15605 int res1 = 0 ;
15606 PyObject *swig_obj[1] ;
15607
15608 if (!args) SWIG_fail;
15609 swig_obj[0] = args;
15610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15611 if (!SWIG_IsOK(res1)) {
15612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15613 }
15614 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15615 {
15616 PyThreadState* __tstate = wxPyBeginAllowThreads();
15617 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 resultobj = SWIG_From_int(static_cast< int >(result));
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj = 0;
15630 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15631 int arg2 ;
15632 void *argp1 = 0 ;
15633 int res1 = 0 ;
15634 int val2 ;
15635 int ecode2 = 0 ;
15636 PyObject * obj0 = 0 ;
15637 PyObject * obj1 = 0 ;
15638 char * kwnames[] = {
15639 (char *) "self",(char *) "value", NULL
15640 };
15641
15642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15644 if (!SWIG_IsOK(res1)) {
15645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15646 }
15647 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15648 ecode2 = SWIG_AsVal_int(obj1, &val2);
15649 if (!SWIG_IsOK(ecode2)) {
15650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15651 }
15652 arg2 = static_cast< int >(val2);
15653 {
15654 PyThreadState* __tstate = wxPyBeginAllowThreads();
15655 (arg1)->SetValue(arg2);
15656 wxPyEndAllowThreads(__tstate);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
15659 resultobj = SWIG_Py_Void();
15660 return resultobj;
15661 fail:
15662 return NULL;
15663 }
15664
15665
15666 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15667 PyObject *resultobj = 0;
15668 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15669 wxString *arg2 = 0 ;
15670 void *argp1 = 0 ;
15671 int res1 = 0 ;
15672 bool temp2 = false ;
15673 PyObject * obj0 = 0 ;
15674 PyObject * obj1 = 0 ;
15675 char * kwnames[] = {
15676 (char *) "self",(char *) "text", NULL
15677 };
15678
15679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15681 if (!SWIG_IsOK(res1)) {
15682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15683 }
15684 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15685 {
15686 arg2 = wxString_in_helper(obj1);
15687 if (arg2 == NULL) SWIG_fail;
15688 temp2 = true;
15689 }
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 (arg1)->SetValue((wxString const &)*arg2);
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 resultobj = SWIG_Py_Void();
15697 {
15698 if (temp2)
15699 delete arg2;
15700 }
15701 return resultobj;
15702 fail:
15703 {
15704 if (temp2)
15705 delete arg2;
15706 }
15707 return NULL;
15708 }
15709
15710
15711 SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15712 PyObject *resultobj = 0;
15713 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15714 int arg2 ;
15715 int arg3 ;
15716 void *argp1 = 0 ;
15717 int res1 = 0 ;
15718 int val2 ;
15719 int ecode2 = 0 ;
15720 int val3 ;
15721 int ecode3 = 0 ;
15722 PyObject * obj0 = 0 ;
15723 PyObject * obj1 = 0 ;
15724 PyObject * obj2 = 0 ;
15725 char * kwnames[] = {
15726 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15727 };
15728
15729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15731 if (!SWIG_IsOK(res1)) {
15732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15733 }
15734 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15735 ecode2 = SWIG_AsVal_int(obj1, &val2);
15736 if (!SWIG_IsOK(ecode2)) {
15737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15738 }
15739 arg2 = static_cast< int >(val2);
15740 ecode3 = SWIG_AsVal_int(obj2, &val3);
15741 if (!SWIG_IsOK(ecode3)) {
15742 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15743 }
15744 arg3 = static_cast< int >(val3);
15745 {
15746 PyThreadState* __tstate = wxPyBeginAllowThreads();
15747 (arg1)->SetRange(arg2,arg3);
15748 wxPyEndAllowThreads(__tstate);
15749 if (PyErr_Occurred()) SWIG_fail;
15750 }
15751 resultobj = SWIG_Py_Void();
15752 return resultobj;
15753 fail:
15754 return NULL;
15755 }
15756
15757
15758 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15759 PyObject *resultobj = 0;
15760 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15761 int result;
15762 void *argp1 = 0 ;
15763 int res1 = 0 ;
15764 PyObject *swig_obj[1] ;
15765
15766 if (!args) SWIG_fail;
15767 swig_obj[0] = args;
15768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15769 if (!SWIG_IsOK(res1)) {
15770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15771 }
15772 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15773 {
15774 PyThreadState* __tstate = wxPyBeginAllowThreads();
15775 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15776 wxPyEndAllowThreads(__tstate);
15777 if (PyErr_Occurred()) SWIG_fail;
15778 }
15779 resultobj = SWIG_From_int(static_cast< int >(result));
15780 return resultobj;
15781 fail:
15782 return NULL;
15783 }
15784
15785
15786 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15787 PyObject *resultobj = 0;
15788 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15789 int result;
15790 void *argp1 = 0 ;
15791 int res1 = 0 ;
15792 PyObject *swig_obj[1] ;
15793
15794 if (!args) SWIG_fail;
15795 swig_obj[0] = args;
15796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15797 if (!SWIG_IsOK(res1)) {
15798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15799 }
15800 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15801 {
15802 PyThreadState* __tstate = wxPyBeginAllowThreads();
15803 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15804 wxPyEndAllowThreads(__tstate);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 resultobj = SWIG_From_int(static_cast< int >(result));
15808 return resultobj;
15809 fail:
15810 return NULL;
15811 }
15812
15813
15814 SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15815 PyObject *resultobj = 0;
15816 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15817 long arg2 ;
15818 long arg3 ;
15819 void *argp1 = 0 ;
15820 int res1 = 0 ;
15821 long val2 ;
15822 int ecode2 = 0 ;
15823 long val3 ;
15824 int ecode3 = 0 ;
15825 PyObject * obj0 = 0 ;
15826 PyObject * obj1 = 0 ;
15827 PyObject * obj2 = 0 ;
15828 char * kwnames[] = {
15829 (char *) "self",(char *) "from",(char *) "to", NULL
15830 };
15831
15832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15834 if (!SWIG_IsOK(res1)) {
15835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15836 }
15837 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15838 ecode2 = SWIG_AsVal_long(obj1, &val2);
15839 if (!SWIG_IsOK(ecode2)) {
15840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15841 }
15842 arg2 = static_cast< long >(val2);
15843 ecode3 = SWIG_AsVal_long(obj2, &val3);
15844 if (!SWIG_IsOK(ecode3)) {
15845 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15846 }
15847 arg3 = static_cast< long >(val3);
15848 {
15849 PyThreadState* __tstate = wxPyBeginAllowThreads();
15850 (arg1)->SetSelection(arg2,arg3);
15851 wxPyEndAllowThreads(__tstate);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 }
15854 resultobj = SWIG_Py_Void();
15855 return resultobj;
15856 fail:
15857 return NULL;
15858 }
15859
15860
15861 SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15862 PyObject *resultobj = 0;
15863 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15864 SwigValueWrapper<wxVisualAttributes > result;
15865 int val1 ;
15866 int ecode1 = 0 ;
15867 PyObject * obj0 = 0 ;
15868 char * kwnames[] = {
15869 (char *) "variant", NULL
15870 };
15871
15872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15873 if (obj0) {
15874 ecode1 = SWIG_AsVal_int(obj0, &val1);
15875 if (!SWIG_IsOK(ecode1)) {
15876 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15877 }
15878 arg1 = static_cast< wxWindowVariant >(val1);
15879 }
15880 {
15881 if (!wxPyCheckForApp()) SWIG_fail;
15882 PyThreadState* __tstate = wxPyBeginAllowThreads();
15883 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15884 wxPyEndAllowThreads(__tstate);
15885 if (PyErr_Occurred()) SWIG_fail;
15886 }
15887 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15888 return resultobj;
15889 fail:
15890 return NULL;
15891 }
15892
15893
15894 SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15895 PyObject *obj;
15896 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15897 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15898 return SWIG_Py_Void();
15899 }
15900
15901 SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15902 return SWIG_Python_InitShadowInstance(args);
15903 }
15904
15905 SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15906 PyObject *resultobj = 0;
15907 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15908 int arg2 = (int) 0 ;
15909 wxSpinEvent *result = 0 ;
15910 int val1 ;
15911 int ecode1 = 0 ;
15912 int val2 ;
15913 int ecode2 = 0 ;
15914 PyObject * obj0 = 0 ;
15915 PyObject * obj1 = 0 ;
15916 char * kwnames[] = {
15917 (char *) "commandType",(char *) "winid", NULL
15918 };
15919
15920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15921 if (obj0) {
15922 ecode1 = SWIG_AsVal_int(obj0, &val1);
15923 if (!SWIG_IsOK(ecode1)) {
15924 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15925 }
15926 arg1 = static_cast< wxEventType >(val1);
15927 }
15928 if (obj1) {
15929 ecode2 = SWIG_AsVal_int(obj1, &val2);
15930 if (!SWIG_IsOK(ecode2)) {
15931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15932 }
15933 arg2 = static_cast< int >(val2);
15934 }
15935 {
15936 PyThreadState* __tstate = wxPyBeginAllowThreads();
15937 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
15938 wxPyEndAllowThreads(__tstate);
15939 if (PyErr_Occurred()) SWIG_fail;
15940 }
15941 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
15942 return resultobj;
15943 fail:
15944 return NULL;
15945 }
15946
15947
15948 SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15949 PyObject *resultobj = 0;
15950 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15951 int result;
15952 void *argp1 = 0 ;
15953 int res1 = 0 ;
15954 PyObject *swig_obj[1] ;
15955
15956 if (!args) SWIG_fail;
15957 swig_obj[0] = args;
15958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15959 if (!SWIG_IsOK(res1)) {
15960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15961 }
15962 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15963 {
15964 PyThreadState* __tstate = wxPyBeginAllowThreads();
15965 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
15966 wxPyEndAllowThreads(__tstate);
15967 if (PyErr_Occurred()) SWIG_fail;
15968 }
15969 resultobj = SWIG_From_int(static_cast< int >(result));
15970 return resultobj;
15971 fail:
15972 return NULL;
15973 }
15974
15975
15976 SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15977 PyObject *resultobj = 0;
15978 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15979 int arg2 ;
15980 void *argp1 = 0 ;
15981 int res1 = 0 ;
15982 int val2 ;
15983 int ecode2 = 0 ;
15984 PyObject * obj0 = 0 ;
15985 PyObject * obj1 = 0 ;
15986 char * kwnames[] = {
15987 (char *) "self",(char *) "pos", NULL
15988 };
15989
15990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
15991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15992 if (!SWIG_IsOK(res1)) {
15993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15994 }
15995 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15996 ecode2 = SWIG_AsVal_int(obj1, &val2);
15997 if (!SWIG_IsOK(ecode2)) {
15998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15999 }
16000 arg2 = static_cast< int >(val2);
16001 {
16002 PyThreadState* __tstate = wxPyBeginAllowThreads();
16003 (arg1)->SetPosition(arg2);
16004 wxPyEndAllowThreads(__tstate);
16005 if (PyErr_Occurred()) SWIG_fail;
16006 }
16007 resultobj = SWIG_Py_Void();
16008 return resultobj;
16009 fail:
16010 return NULL;
16011 }
16012
16013
16014 SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16015 PyObject *obj;
16016 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16017 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
16018 return SWIG_Py_Void();
16019 }
16020
16021 SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16022 return SWIG_Python_InitShadowInstance(args);
16023 }
16024
16025 SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
16026 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
16027 return 1;
16028 }
16029
16030
16031 SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
16032 PyObject *pyobj = 0;
16033
16034 {
16035 #if wxUSE_UNICODE
16036 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16037 #else
16038 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16039 #endif
16040 }
16041 return pyobj;
16042 }
16043
16044
16045 SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
16046 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
16047 return 1;
16048 }
16049
16050
16051 SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
16052 PyObject *pyobj = 0;
16053
16054 {
16055 #if wxUSE_UNICODE
16056 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16057 #else
16058 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16059 #endif
16060 }
16061 return pyobj;
16062 }
16063
16064
16065 SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16066 PyObject *resultobj = 0;
16067 wxWindow *arg1 = (wxWindow *) 0 ;
16068 int arg2 = (int) -1 ;
16069 wxString const &arg3_defvalue = wxPyEmptyString ;
16070 wxString *arg3 = (wxString *) &arg3_defvalue ;
16071 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16072 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16073 wxSize const &arg5_defvalue = wxDefaultSize ;
16074 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16075 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16076 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16077 int arg7 = (int) 0 ;
16078 long arg8 = (long) wxRA_HORIZONTAL ;
16079 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16080 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16081 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16082 wxString *arg10 = (wxString *) &arg10_defvalue ;
16083 wxRadioBox *result = 0 ;
16084 void *argp1 = 0 ;
16085 int res1 = 0 ;
16086 int val2 ;
16087 int ecode2 = 0 ;
16088 bool temp3 = false ;
16089 wxPoint temp4 ;
16090 wxSize temp5 ;
16091 bool temp6 = false ;
16092 int val7 ;
16093 int ecode7 = 0 ;
16094 long val8 ;
16095 int ecode8 = 0 ;
16096 void *argp9 = 0 ;
16097 int res9 = 0 ;
16098 bool temp10 = false ;
16099 PyObject * obj0 = 0 ;
16100 PyObject * obj1 = 0 ;
16101 PyObject * obj2 = 0 ;
16102 PyObject * obj3 = 0 ;
16103 PyObject * obj4 = 0 ;
16104 PyObject * obj5 = 0 ;
16105 PyObject * obj6 = 0 ;
16106 PyObject * obj7 = 0 ;
16107 PyObject * obj8 = 0 ;
16108 PyObject * obj9 = 0 ;
16109 char * kwnames[] = {
16110 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16111 };
16112
16113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16115 if (!SWIG_IsOK(res1)) {
16116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16117 }
16118 arg1 = reinterpret_cast< wxWindow * >(argp1);
16119 if (obj1) {
16120 ecode2 = SWIG_AsVal_int(obj1, &val2);
16121 if (!SWIG_IsOK(ecode2)) {
16122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16123 }
16124 arg2 = static_cast< int >(val2);
16125 }
16126 if (obj2) {
16127 {
16128 arg3 = wxString_in_helper(obj2);
16129 if (arg3 == NULL) SWIG_fail;
16130 temp3 = true;
16131 }
16132 }
16133 if (obj3) {
16134 {
16135 arg4 = &temp4;
16136 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16137 }
16138 }
16139 if (obj4) {
16140 {
16141 arg5 = &temp5;
16142 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16143 }
16144 }
16145 if (obj5) {
16146 {
16147 if (! PySequence_Check(obj5)) {
16148 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16149 SWIG_fail;
16150 }
16151 arg6 = new wxArrayString;
16152 temp6 = true;
16153 int i, len=PySequence_Length(obj5);
16154 for (i=0; i<len; i++) {
16155 PyObject* item = PySequence_GetItem(obj5, i);
16156 wxString* s = wxString_in_helper(item);
16157 if (PyErr_Occurred()) SWIG_fail;
16158 arg6->Add(*s);
16159 delete s;
16160 Py_DECREF(item);
16161 }
16162 }
16163 }
16164 if (obj6) {
16165 ecode7 = SWIG_AsVal_int(obj6, &val7);
16166 if (!SWIG_IsOK(ecode7)) {
16167 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16168 }
16169 arg7 = static_cast< int >(val7);
16170 }
16171 if (obj7) {
16172 ecode8 = SWIG_AsVal_long(obj7, &val8);
16173 if (!SWIG_IsOK(ecode8)) {
16174 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16175 }
16176 arg8 = static_cast< long >(val8);
16177 }
16178 if (obj8) {
16179 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16180 if (!SWIG_IsOK(res9)) {
16181 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16182 }
16183 if (!argp9) {
16184 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16185 }
16186 arg9 = reinterpret_cast< wxValidator * >(argp9);
16187 }
16188 if (obj9) {
16189 {
16190 arg10 = wxString_in_helper(obj9);
16191 if (arg10 == NULL) SWIG_fail;
16192 temp10 = true;
16193 }
16194 }
16195 {
16196 if (!wxPyCheckForApp()) SWIG_fail;
16197 PyThreadState* __tstate = wxPyBeginAllowThreads();
16198 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);
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16203 {
16204 if (temp3)
16205 delete arg3;
16206 }
16207 {
16208 if (temp6) delete arg6;
16209 }
16210 {
16211 if (temp10)
16212 delete arg10;
16213 }
16214 return resultobj;
16215 fail:
16216 {
16217 if (temp3)
16218 delete arg3;
16219 }
16220 {
16221 if (temp6) delete arg6;
16222 }
16223 {
16224 if (temp10)
16225 delete arg10;
16226 }
16227 return NULL;
16228 }
16229
16230
16231 SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16232 PyObject *resultobj = 0;
16233 wxRadioBox *result = 0 ;
16234
16235 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16236 {
16237 if (!wxPyCheckForApp()) SWIG_fail;
16238 PyThreadState* __tstate = wxPyBeginAllowThreads();
16239 result = (wxRadioBox *)new wxRadioBox();
16240 wxPyEndAllowThreads(__tstate);
16241 if (PyErr_Occurred()) SWIG_fail;
16242 }
16243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16244 return resultobj;
16245 fail:
16246 return NULL;
16247 }
16248
16249
16250 SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16251 PyObject *resultobj = 0;
16252 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16253 wxWindow *arg2 = (wxWindow *) 0 ;
16254 int arg3 = (int) -1 ;
16255 wxString const &arg4_defvalue = wxPyEmptyString ;
16256 wxString *arg4 = (wxString *) &arg4_defvalue ;
16257 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16258 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16259 wxSize const &arg6_defvalue = wxDefaultSize ;
16260 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16261 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16262 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16263 int arg8 = (int) 0 ;
16264 long arg9 = (long) wxRA_HORIZONTAL ;
16265 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16266 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16267 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16268 wxString *arg11 = (wxString *) &arg11_defvalue ;
16269 bool result;
16270 void *argp1 = 0 ;
16271 int res1 = 0 ;
16272 void *argp2 = 0 ;
16273 int res2 = 0 ;
16274 int val3 ;
16275 int ecode3 = 0 ;
16276 bool temp4 = false ;
16277 wxPoint temp5 ;
16278 wxSize temp6 ;
16279 bool temp7 = false ;
16280 int val8 ;
16281 int ecode8 = 0 ;
16282 long val9 ;
16283 int ecode9 = 0 ;
16284 void *argp10 = 0 ;
16285 int res10 = 0 ;
16286 bool temp11 = false ;
16287 PyObject * obj0 = 0 ;
16288 PyObject * obj1 = 0 ;
16289 PyObject * obj2 = 0 ;
16290 PyObject * obj3 = 0 ;
16291 PyObject * obj4 = 0 ;
16292 PyObject * obj5 = 0 ;
16293 PyObject * obj6 = 0 ;
16294 PyObject * obj7 = 0 ;
16295 PyObject * obj8 = 0 ;
16296 PyObject * obj9 = 0 ;
16297 PyObject * obj10 = 0 ;
16298 char * kwnames[] = {
16299 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16300 };
16301
16302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16304 if (!SWIG_IsOK(res1)) {
16305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16306 }
16307 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16308 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16309 if (!SWIG_IsOK(res2)) {
16310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16311 }
16312 arg2 = reinterpret_cast< wxWindow * >(argp2);
16313 if (obj2) {
16314 ecode3 = SWIG_AsVal_int(obj2, &val3);
16315 if (!SWIG_IsOK(ecode3)) {
16316 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16317 }
16318 arg3 = static_cast< int >(val3);
16319 }
16320 if (obj3) {
16321 {
16322 arg4 = wxString_in_helper(obj3);
16323 if (arg4 == NULL) SWIG_fail;
16324 temp4 = true;
16325 }
16326 }
16327 if (obj4) {
16328 {
16329 arg5 = &temp5;
16330 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16331 }
16332 }
16333 if (obj5) {
16334 {
16335 arg6 = &temp6;
16336 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16337 }
16338 }
16339 if (obj6) {
16340 {
16341 if (! PySequence_Check(obj6)) {
16342 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16343 SWIG_fail;
16344 }
16345 arg7 = new wxArrayString;
16346 temp7 = true;
16347 int i, len=PySequence_Length(obj6);
16348 for (i=0; i<len; i++) {
16349 PyObject* item = PySequence_GetItem(obj6, i);
16350 wxString* s = wxString_in_helper(item);
16351 if (PyErr_Occurred()) SWIG_fail;
16352 arg7->Add(*s);
16353 delete s;
16354 Py_DECREF(item);
16355 }
16356 }
16357 }
16358 if (obj7) {
16359 ecode8 = SWIG_AsVal_int(obj7, &val8);
16360 if (!SWIG_IsOK(ecode8)) {
16361 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16362 }
16363 arg8 = static_cast< int >(val8);
16364 }
16365 if (obj8) {
16366 ecode9 = SWIG_AsVal_long(obj8, &val9);
16367 if (!SWIG_IsOK(ecode9)) {
16368 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16369 }
16370 arg9 = static_cast< long >(val9);
16371 }
16372 if (obj9) {
16373 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16374 if (!SWIG_IsOK(res10)) {
16375 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16376 }
16377 if (!argp10) {
16378 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16379 }
16380 arg10 = reinterpret_cast< wxValidator * >(argp10);
16381 }
16382 if (obj10) {
16383 {
16384 arg11 = wxString_in_helper(obj10);
16385 if (arg11 == NULL) SWIG_fail;
16386 temp11 = true;
16387 }
16388 }
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 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);
16392 wxPyEndAllowThreads(__tstate);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 }
16395 {
16396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16397 }
16398 {
16399 if (temp4)
16400 delete arg4;
16401 }
16402 {
16403 if (temp7) delete arg7;
16404 }
16405 {
16406 if (temp11)
16407 delete arg11;
16408 }
16409 return resultobj;
16410 fail:
16411 {
16412 if (temp4)
16413 delete arg4;
16414 }
16415 {
16416 if (temp7) delete arg7;
16417 }
16418 {
16419 if (temp11)
16420 delete arg11;
16421 }
16422 return NULL;
16423 }
16424
16425
16426 SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16427 PyObject *resultobj = 0;
16428 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16429 int arg2 ;
16430 void *argp1 = 0 ;
16431 int res1 = 0 ;
16432 int val2 ;
16433 int ecode2 = 0 ;
16434 PyObject * obj0 = 0 ;
16435 PyObject * obj1 = 0 ;
16436 char * kwnames[] = {
16437 (char *) "self",(char *) "n", NULL
16438 };
16439
16440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16442 if (!SWIG_IsOK(res1)) {
16443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16444 }
16445 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16446 ecode2 = SWIG_AsVal_int(obj1, &val2);
16447 if (!SWIG_IsOK(ecode2)) {
16448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16449 }
16450 arg2 = static_cast< int >(val2);
16451 {
16452 PyThreadState* __tstate = wxPyBeginAllowThreads();
16453 (arg1)->SetSelection(arg2);
16454 wxPyEndAllowThreads(__tstate);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 }
16457 resultobj = SWIG_Py_Void();
16458 return resultobj;
16459 fail:
16460 return NULL;
16461 }
16462
16463
16464 SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16465 PyObject *resultobj = 0;
16466 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16467 int result;
16468 void *argp1 = 0 ;
16469 int res1 = 0 ;
16470 PyObject *swig_obj[1] ;
16471
16472 if (!args) SWIG_fail;
16473 swig_obj[0] = args;
16474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16475 if (!SWIG_IsOK(res1)) {
16476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16477 }
16478 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16479 {
16480 PyThreadState* __tstate = wxPyBeginAllowThreads();
16481 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16482 wxPyEndAllowThreads(__tstate);
16483 if (PyErr_Occurred()) SWIG_fail;
16484 }
16485 resultobj = SWIG_From_int(static_cast< int >(result));
16486 return resultobj;
16487 fail:
16488 return NULL;
16489 }
16490
16491
16492 SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16493 PyObject *resultobj = 0;
16494 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16495 wxString result;
16496 void *argp1 = 0 ;
16497 int res1 = 0 ;
16498 PyObject *swig_obj[1] ;
16499
16500 if (!args) SWIG_fail;
16501 swig_obj[0] = args;
16502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16503 if (!SWIG_IsOK(res1)) {
16504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16505 }
16506 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16507 {
16508 PyThreadState* __tstate = wxPyBeginAllowThreads();
16509 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16510 wxPyEndAllowThreads(__tstate);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
16513 {
16514 #if wxUSE_UNICODE
16515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16516 #else
16517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16518 #endif
16519 }
16520 return resultobj;
16521 fail:
16522 return NULL;
16523 }
16524
16525
16526 SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16527 PyObject *resultobj = 0;
16528 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16529 wxString *arg2 = 0 ;
16530 bool result;
16531 void *argp1 = 0 ;
16532 int res1 = 0 ;
16533 bool temp2 = false ;
16534 PyObject * obj0 = 0 ;
16535 PyObject * obj1 = 0 ;
16536 char * kwnames[] = {
16537 (char *) "self",(char *) "s", NULL
16538 };
16539
16540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16542 if (!SWIG_IsOK(res1)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16544 }
16545 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16546 {
16547 arg2 = wxString_in_helper(obj1);
16548 if (arg2 == NULL) SWIG_fail;
16549 temp2 = true;
16550 }
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16554 wxPyEndAllowThreads(__tstate);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
16557 {
16558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16559 }
16560 {
16561 if (temp2)
16562 delete arg2;
16563 }
16564 return resultobj;
16565 fail:
16566 {
16567 if (temp2)
16568 delete arg2;
16569 }
16570 return NULL;
16571 }
16572
16573
16574 SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16575 PyObject *resultobj = 0;
16576 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16577 size_t result;
16578 void *argp1 = 0 ;
16579 int res1 = 0 ;
16580 PyObject *swig_obj[1] ;
16581
16582 if (!args) SWIG_fail;
16583 swig_obj[0] = args;
16584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16585 if (!SWIG_IsOK(res1)) {
16586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16587 }
16588 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
16595 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16596 return resultobj;
16597 fail:
16598 return NULL;
16599 }
16600
16601
16602 SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16603 PyObject *resultobj = 0;
16604 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16605 wxString *arg2 = 0 ;
16606 int 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_FindString",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_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
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 = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16630 wxPyEndAllowThreads(__tstate);
16631 if (PyErr_Occurred()) SWIG_fail;
16632 }
16633 resultobj = SWIG_From_int(static_cast< int >(result));
16634 {
16635 if (temp2)
16636 delete arg2;
16637 }
16638 return resultobj;
16639 fail:
16640 {
16641 if (temp2)
16642 delete arg2;
16643 }
16644 return NULL;
16645 }
16646
16647
16648 SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16649 PyObject *resultobj = 0;
16650 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16651 int arg2 ;
16652 wxString result;
16653 void *argp1 = 0 ;
16654 int res1 = 0 ;
16655 int val2 ;
16656 int ecode2 = 0 ;
16657 PyObject * obj0 = 0 ;
16658 PyObject * obj1 = 0 ;
16659 char * kwnames[] = {
16660 (char *) "self",(char *) "n", NULL
16661 };
16662
16663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16665 if (!SWIG_IsOK(res1)) {
16666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16667 }
16668 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16669 ecode2 = SWIG_AsVal_int(obj1, &val2);
16670 if (!SWIG_IsOK(ecode2)) {
16671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16672 }
16673 arg2 = static_cast< int >(val2);
16674 {
16675 PyThreadState* __tstate = wxPyBeginAllowThreads();
16676 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16677 wxPyEndAllowThreads(__tstate);
16678 if (PyErr_Occurred()) SWIG_fail;
16679 }
16680 {
16681 #if wxUSE_UNICODE
16682 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16683 #else
16684 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16685 #endif
16686 }
16687 return resultobj;
16688 fail:
16689 return NULL;
16690 }
16691
16692
16693 SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16694 PyObject *resultobj = 0;
16695 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16696 int arg2 ;
16697 wxString *arg3 = 0 ;
16698 void *argp1 = 0 ;
16699 int res1 = 0 ;
16700 int val2 ;
16701 int ecode2 = 0 ;
16702 bool temp3 = false ;
16703 PyObject * obj0 = 0 ;
16704 PyObject * obj1 = 0 ;
16705 PyObject * obj2 = 0 ;
16706 char * kwnames[] = {
16707 (char *) "self",(char *) "n",(char *) "label", NULL
16708 };
16709
16710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16712 if (!SWIG_IsOK(res1)) {
16713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16714 }
16715 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16716 ecode2 = SWIG_AsVal_int(obj1, &val2);
16717 if (!SWIG_IsOK(ecode2)) {
16718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16719 }
16720 arg2 = static_cast< int >(val2);
16721 {
16722 arg3 = wxString_in_helper(obj2);
16723 if (arg3 == NULL) SWIG_fail;
16724 temp3 = true;
16725 }
16726 {
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
16728 (arg1)->SetString(arg2,(wxString const &)*arg3);
16729 wxPyEndAllowThreads(__tstate);
16730 if (PyErr_Occurred()) SWIG_fail;
16731 }
16732 resultobj = SWIG_Py_Void();
16733 {
16734 if (temp3)
16735 delete arg3;
16736 }
16737 return resultobj;
16738 fail:
16739 {
16740 if (temp3)
16741 delete arg3;
16742 }
16743 return NULL;
16744 }
16745
16746
16747 SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16748 PyObject *resultobj = 0;
16749 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16750 unsigned int arg2 ;
16751 bool arg3 = (bool) true ;
16752 void *argp1 = 0 ;
16753 int res1 = 0 ;
16754 unsigned int val2 ;
16755 int ecode2 = 0 ;
16756 bool val3 ;
16757 int ecode3 = 0 ;
16758 PyObject * obj0 = 0 ;
16759 PyObject * obj1 = 0 ;
16760 PyObject * obj2 = 0 ;
16761 char * kwnames[] = {
16762 (char *) "self",(char *) "n",(char *) "enable", NULL
16763 };
16764
16765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16767 if (!SWIG_IsOK(res1)) {
16768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16769 }
16770 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16771 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16772 if (!SWIG_IsOK(ecode2)) {
16773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16774 }
16775 arg2 = static_cast< unsigned int >(val2);
16776 if (obj2) {
16777 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16778 if (!SWIG_IsOK(ecode3)) {
16779 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16780 }
16781 arg3 = static_cast< bool >(val3);
16782 }
16783 {
16784 PyThreadState* __tstate = wxPyBeginAllowThreads();
16785 (arg1)->Enable(arg2,arg3);
16786 wxPyEndAllowThreads(__tstate);
16787 if (PyErr_Occurred()) SWIG_fail;
16788 }
16789 resultobj = SWIG_Py_Void();
16790 return resultobj;
16791 fail:
16792 return NULL;
16793 }
16794
16795
16796 SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16797 PyObject *resultobj = 0;
16798 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16799 unsigned int arg2 ;
16800 bool arg3 = (bool) true ;
16801 void *argp1 = 0 ;
16802 int res1 = 0 ;
16803 unsigned int val2 ;
16804 int ecode2 = 0 ;
16805 bool val3 ;
16806 int ecode3 = 0 ;
16807 PyObject * obj0 = 0 ;
16808 PyObject * obj1 = 0 ;
16809 PyObject * obj2 = 0 ;
16810 char * kwnames[] = {
16811 (char *) "self",(char *) "n",(char *) "show", NULL
16812 };
16813
16814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16816 if (!SWIG_IsOK(res1)) {
16817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16818 }
16819 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16820 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16821 if (!SWIG_IsOK(ecode2)) {
16822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16823 }
16824 arg2 = static_cast< unsigned int >(val2);
16825 if (obj2) {
16826 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16827 if (!SWIG_IsOK(ecode3)) {
16828 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16829 }
16830 arg3 = static_cast< bool >(val3);
16831 }
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 (arg1)->Show(arg2,arg3);
16835 wxPyEndAllowThreads(__tstate);
16836 if (PyErr_Occurred()) SWIG_fail;
16837 }
16838 resultobj = SWIG_Py_Void();
16839 return resultobj;
16840 fail:
16841 return NULL;
16842 }
16843
16844
16845 SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16846 PyObject *resultobj = 0;
16847 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16848 unsigned int arg2 ;
16849 bool result;
16850 void *argp1 = 0 ;
16851 int res1 = 0 ;
16852 unsigned int val2 ;
16853 int ecode2 = 0 ;
16854 PyObject * obj0 = 0 ;
16855 PyObject * obj1 = 0 ;
16856 char * kwnames[] = {
16857 (char *) "self",(char *) "n", NULL
16858 };
16859
16860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16862 if (!SWIG_IsOK(res1)) {
16863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16864 }
16865 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16866 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16867 if (!SWIG_IsOK(ecode2)) {
16868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16869 }
16870 arg2 = static_cast< unsigned int >(val2);
16871 {
16872 PyThreadState* __tstate = wxPyBeginAllowThreads();
16873 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16874 wxPyEndAllowThreads(__tstate);
16875 if (PyErr_Occurred()) SWIG_fail;
16876 }
16877 {
16878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16879 }
16880 return resultobj;
16881 fail:
16882 return NULL;
16883 }
16884
16885
16886 SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16887 PyObject *resultobj = 0;
16888 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16889 unsigned int arg2 ;
16890 bool result;
16891 void *argp1 = 0 ;
16892 int res1 = 0 ;
16893 unsigned int val2 ;
16894 int ecode2 = 0 ;
16895 PyObject * obj0 = 0 ;
16896 PyObject * obj1 = 0 ;
16897 char * kwnames[] = {
16898 (char *) "self",(char *) "n", NULL
16899 };
16900
16901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16903 if (!SWIG_IsOK(res1)) {
16904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16905 }
16906 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16907 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16908 if (!SWIG_IsOK(ecode2)) {
16909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16910 }
16911 arg2 = static_cast< unsigned int >(val2);
16912 {
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16915 wxPyEndAllowThreads(__tstate);
16916 if (PyErr_Occurred()) SWIG_fail;
16917 }
16918 {
16919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16920 }
16921 return resultobj;
16922 fail:
16923 return NULL;
16924 }
16925
16926
16927 SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16928 PyObject *resultobj = 0;
16929 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16930 unsigned int result;
16931 void *argp1 = 0 ;
16932 int res1 = 0 ;
16933 PyObject *swig_obj[1] ;
16934
16935 if (!args) SWIG_fail;
16936 swig_obj[0] = args;
16937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16938 if (!SWIG_IsOK(res1)) {
16939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16940 }
16941 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16942 {
16943 PyThreadState* __tstate = wxPyBeginAllowThreads();
16944 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
16945 wxPyEndAllowThreads(__tstate);
16946 if (PyErr_Occurred()) SWIG_fail;
16947 }
16948 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
16949 return resultobj;
16950 fail:
16951 return NULL;
16952 }
16953
16954
16955 SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16956 PyObject *resultobj = 0;
16957 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16958 unsigned int result;
16959 void *argp1 = 0 ;
16960 int res1 = 0 ;
16961 PyObject *swig_obj[1] ;
16962
16963 if (!args) SWIG_fail;
16964 swig_obj[0] = args;
16965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16966 if (!SWIG_IsOK(res1)) {
16967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16968 }
16969 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16970 {
16971 PyThreadState* __tstate = wxPyBeginAllowThreads();
16972 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
16973 wxPyEndAllowThreads(__tstate);
16974 if (PyErr_Occurred()) SWIG_fail;
16975 }
16976 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
16977 return resultobj;
16978 fail:
16979 return NULL;
16980 }
16981
16982
16983 SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16984 PyObject *resultobj = 0;
16985 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16986 int arg2 ;
16987 wxDirection arg3 ;
16988 long arg4 ;
16989 int result;
16990 void *argp1 = 0 ;
16991 int res1 = 0 ;
16992 int val2 ;
16993 int ecode2 = 0 ;
16994 int val3 ;
16995 int ecode3 = 0 ;
16996 long val4 ;
16997 int ecode4 = 0 ;
16998 PyObject * obj0 = 0 ;
16999 PyObject * obj1 = 0 ;
17000 PyObject * obj2 = 0 ;
17001 PyObject * obj3 = 0 ;
17002 char * kwnames[] = {
17003 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17004 };
17005
17006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17008 if (!SWIG_IsOK(res1)) {
17009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17010 }
17011 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17012 ecode2 = SWIG_AsVal_int(obj1, &val2);
17013 if (!SWIG_IsOK(ecode2)) {
17014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17015 }
17016 arg2 = static_cast< int >(val2);
17017 ecode3 = SWIG_AsVal_int(obj2, &val3);
17018 if (!SWIG_IsOK(ecode3)) {
17019 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17020 }
17021 arg3 = static_cast< wxDirection >(val3);
17022 ecode4 = SWIG_AsVal_long(obj3, &val4);
17023 if (!SWIG_IsOK(ecode4)) {
17024 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17025 }
17026 arg4 = static_cast< long >(val4);
17027 {
17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
17029 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
17030 wxPyEndAllowThreads(__tstate);
17031 if (PyErr_Occurred()) SWIG_fail;
17032 }
17033 resultobj = SWIG_From_int(static_cast< int >(result));
17034 return resultobj;
17035 fail:
17036 return NULL;
17037 }
17038
17039
17040 SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17041 PyObject *resultobj = 0;
17042 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17043 unsigned int arg2 ;
17044 wxString *arg3 = 0 ;
17045 void *argp1 = 0 ;
17046 int res1 = 0 ;
17047 unsigned int val2 ;
17048 int ecode2 = 0 ;
17049 bool temp3 = false ;
17050 PyObject * obj0 = 0 ;
17051 PyObject * obj1 = 0 ;
17052 PyObject * obj2 = 0 ;
17053 char * kwnames[] = {
17054 (char *) "self",(char *) "item",(char *) "text", NULL
17055 };
17056
17057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17059 if (!SWIG_IsOK(res1)) {
17060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17061 }
17062 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17063 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17064 if (!SWIG_IsOK(ecode2)) {
17065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17066 }
17067 arg2 = static_cast< unsigned int >(val2);
17068 {
17069 arg3 = wxString_in_helper(obj2);
17070 if (arg3 == NULL) SWIG_fail;
17071 temp3 = true;
17072 }
17073 {
17074 PyThreadState* __tstate = wxPyBeginAllowThreads();
17075 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
17076 wxPyEndAllowThreads(__tstate);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 resultobj = SWIG_Py_Void();
17080 {
17081 if (temp3)
17082 delete arg3;
17083 }
17084 return resultobj;
17085 fail:
17086 {
17087 if (temp3)
17088 delete arg3;
17089 }
17090 return NULL;
17091 }
17092
17093
17094 SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17095 PyObject *resultobj = 0;
17096 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17097 unsigned int arg2 ;
17098 wxToolTip *result = 0 ;
17099 void *argp1 = 0 ;
17100 int res1 = 0 ;
17101 unsigned int val2 ;
17102 int ecode2 = 0 ;
17103 PyObject * obj0 = 0 ;
17104 PyObject * obj1 = 0 ;
17105 char * kwnames[] = {
17106 (char *) "self",(char *) "item", NULL
17107 };
17108
17109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17111 if (!SWIG_IsOK(res1)) {
17112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17113 }
17114 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17115 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17116 if (!SWIG_IsOK(ecode2)) {
17117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17118 }
17119 arg2 = static_cast< unsigned int >(val2);
17120 {
17121 PyThreadState* __tstate = wxPyBeginAllowThreads();
17122 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17123 wxPyEndAllowThreads(__tstate);
17124 if (PyErr_Occurred()) SWIG_fail;
17125 }
17126 {
17127 resultobj = wxPyMake_wxObject(result, (bool)0);
17128 }
17129 return resultobj;
17130 fail:
17131 return NULL;
17132 }
17133
17134
17135 SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj = 0;
17137 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17138 unsigned int arg2 ;
17139 wxString *arg3 = 0 ;
17140 void *argp1 = 0 ;
17141 int res1 = 0 ;
17142 unsigned int val2 ;
17143 int ecode2 = 0 ;
17144 bool temp3 = false ;
17145 PyObject * obj0 = 0 ;
17146 PyObject * obj1 = 0 ;
17147 PyObject * obj2 = 0 ;
17148 char * kwnames[] = {
17149 (char *) "self",(char *) "n",(char *) "helpText", NULL
17150 };
17151
17152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17154 if (!SWIG_IsOK(res1)) {
17155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17156 }
17157 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17158 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17159 if (!SWIG_IsOK(ecode2)) {
17160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17161 }
17162 arg2 = static_cast< unsigned int >(val2);
17163 {
17164 arg3 = wxString_in_helper(obj2);
17165 if (arg3 == NULL) SWIG_fail;
17166 temp3 = true;
17167 }
17168 {
17169 PyThreadState* __tstate = wxPyBeginAllowThreads();
17170 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17171 wxPyEndAllowThreads(__tstate);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 }
17174 resultobj = SWIG_Py_Void();
17175 {
17176 if (temp3)
17177 delete arg3;
17178 }
17179 return resultobj;
17180 fail:
17181 {
17182 if (temp3)
17183 delete arg3;
17184 }
17185 return NULL;
17186 }
17187
17188
17189 SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj = 0;
17191 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17192 unsigned int arg2 ;
17193 wxString result;
17194 void *argp1 = 0 ;
17195 int res1 = 0 ;
17196 unsigned int val2 ;
17197 int ecode2 = 0 ;
17198 PyObject * obj0 = 0 ;
17199 PyObject * obj1 = 0 ;
17200 char * kwnames[] = {
17201 (char *) "self",(char *) "n", NULL
17202 };
17203
17204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17206 if (!SWIG_IsOK(res1)) {
17207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17208 }
17209 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17210 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17211 if (!SWIG_IsOK(ecode2)) {
17212 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17213 }
17214 arg2 = static_cast< unsigned int >(val2);
17215 {
17216 PyThreadState* __tstate = wxPyBeginAllowThreads();
17217 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17218 wxPyEndAllowThreads(__tstate);
17219 if (PyErr_Occurred()) SWIG_fail;
17220 }
17221 {
17222 #if wxUSE_UNICODE
17223 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17224 #else
17225 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17226 #endif
17227 }
17228 return resultobj;
17229 fail:
17230 return NULL;
17231 }
17232
17233
17234 SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17235 PyObject *resultobj = 0;
17236 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17237 SwigValueWrapper<wxVisualAttributes > result;
17238 int val1 ;
17239 int ecode1 = 0 ;
17240 PyObject * obj0 = 0 ;
17241 char * kwnames[] = {
17242 (char *) "variant", NULL
17243 };
17244
17245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17246 if (obj0) {
17247 ecode1 = SWIG_AsVal_int(obj0, &val1);
17248 if (!SWIG_IsOK(ecode1)) {
17249 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17250 }
17251 arg1 = static_cast< wxWindowVariant >(val1);
17252 }
17253 {
17254 if (!wxPyCheckForApp()) SWIG_fail;
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17261 return resultobj;
17262 fail:
17263 return NULL;
17264 }
17265
17266
17267 SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17268 PyObject *obj;
17269 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17270 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17271 return SWIG_Py_Void();
17272 }
17273
17274 SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17275 return SWIG_Python_InitShadowInstance(args);
17276 }
17277
17278 SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17279 PyObject *resultobj = 0;
17280 wxWindow *arg1 = (wxWindow *) 0 ;
17281 int arg2 = (int) -1 ;
17282 wxString const &arg3_defvalue = wxPyEmptyString ;
17283 wxString *arg3 = (wxString *) &arg3_defvalue ;
17284 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17285 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17286 wxSize const &arg5_defvalue = wxDefaultSize ;
17287 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17288 long arg6 = (long) 0 ;
17289 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17290 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17291 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17292 wxString *arg8 = (wxString *) &arg8_defvalue ;
17293 wxRadioButton *result = 0 ;
17294 void *argp1 = 0 ;
17295 int res1 = 0 ;
17296 int val2 ;
17297 int ecode2 = 0 ;
17298 bool temp3 = false ;
17299 wxPoint temp4 ;
17300 wxSize temp5 ;
17301 long val6 ;
17302 int ecode6 = 0 ;
17303 void *argp7 = 0 ;
17304 int res7 = 0 ;
17305 bool temp8 = false ;
17306 PyObject * obj0 = 0 ;
17307 PyObject * obj1 = 0 ;
17308 PyObject * obj2 = 0 ;
17309 PyObject * obj3 = 0 ;
17310 PyObject * obj4 = 0 ;
17311 PyObject * obj5 = 0 ;
17312 PyObject * obj6 = 0 ;
17313 PyObject * obj7 = 0 ;
17314 char * kwnames[] = {
17315 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17316 };
17317
17318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17320 if (!SWIG_IsOK(res1)) {
17321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17322 }
17323 arg1 = reinterpret_cast< wxWindow * >(argp1);
17324 if (obj1) {
17325 ecode2 = SWIG_AsVal_int(obj1, &val2);
17326 if (!SWIG_IsOK(ecode2)) {
17327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17328 }
17329 arg2 = static_cast< int >(val2);
17330 }
17331 if (obj2) {
17332 {
17333 arg3 = wxString_in_helper(obj2);
17334 if (arg3 == NULL) SWIG_fail;
17335 temp3 = true;
17336 }
17337 }
17338 if (obj3) {
17339 {
17340 arg4 = &temp4;
17341 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17342 }
17343 }
17344 if (obj4) {
17345 {
17346 arg5 = &temp5;
17347 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17348 }
17349 }
17350 if (obj5) {
17351 ecode6 = SWIG_AsVal_long(obj5, &val6);
17352 if (!SWIG_IsOK(ecode6)) {
17353 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17354 }
17355 arg6 = static_cast< long >(val6);
17356 }
17357 if (obj6) {
17358 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17359 if (!SWIG_IsOK(res7)) {
17360 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17361 }
17362 if (!argp7) {
17363 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17364 }
17365 arg7 = reinterpret_cast< wxValidator * >(argp7);
17366 }
17367 if (obj7) {
17368 {
17369 arg8 = wxString_in_helper(obj7);
17370 if (arg8 == NULL) SWIG_fail;
17371 temp8 = true;
17372 }
17373 }
17374 {
17375 if (!wxPyCheckForApp()) SWIG_fail;
17376 PyThreadState* __tstate = wxPyBeginAllowThreads();
17377 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17378 wxPyEndAllowThreads(__tstate);
17379 if (PyErr_Occurred()) SWIG_fail;
17380 }
17381 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17382 {
17383 if (temp3)
17384 delete arg3;
17385 }
17386 {
17387 if (temp8)
17388 delete arg8;
17389 }
17390 return resultobj;
17391 fail:
17392 {
17393 if (temp3)
17394 delete arg3;
17395 }
17396 {
17397 if (temp8)
17398 delete arg8;
17399 }
17400 return NULL;
17401 }
17402
17403
17404 SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17405 PyObject *resultobj = 0;
17406 wxRadioButton *result = 0 ;
17407
17408 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17409 {
17410 if (!wxPyCheckForApp()) SWIG_fail;
17411 PyThreadState* __tstate = wxPyBeginAllowThreads();
17412 result = (wxRadioButton *)new wxRadioButton();
17413 wxPyEndAllowThreads(__tstate);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 }
17416 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17417 return resultobj;
17418 fail:
17419 return NULL;
17420 }
17421
17422
17423 SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj = 0;
17425 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17426 wxWindow *arg2 = (wxWindow *) 0 ;
17427 int arg3 = (int) -1 ;
17428 wxString const &arg4_defvalue = wxPyEmptyString ;
17429 wxString *arg4 = (wxString *) &arg4_defvalue ;
17430 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17431 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17432 wxSize const &arg6_defvalue = wxDefaultSize ;
17433 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17434 long arg7 = (long) 0 ;
17435 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17436 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17437 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17438 wxString *arg9 = (wxString *) &arg9_defvalue ;
17439 bool result;
17440 void *argp1 = 0 ;
17441 int res1 = 0 ;
17442 void *argp2 = 0 ;
17443 int res2 = 0 ;
17444 int val3 ;
17445 int ecode3 = 0 ;
17446 bool temp4 = false ;
17447 wxPoint temp5 ;
17448 wxSize temp6 ;
17449 long val7 ;
17450 int ecode7 = 0 ;
17451 void *argp8 = 0 ;
17452 int res8 = 0 ;
17453 bool temp9 = false ;
17454 PyObject * obj0 = 0 ;
17455 PyObject * obj1 = 0 ;
17456 PyObject * obj2 = 0 ;
17457 PyObject * obj3 = 0 ;
17458 PyObject * obj4 = 0 ;
17459 PyObject * obj5 = 0 ;
17460 PyObject * obj6 = 0 ;
17461 PyObject * obj7 = 0 ;
17462 PyObject * obj8 = 0 ;
17463 char * kwnames[] = {
17464 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17465 };
17466
17467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17469 if (!SWIG_IsOK(res1)) {
17470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17471 }
17472 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17473 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17474 if (!SWIG_IsOK(res2)) {
17475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17476 }
17477 arg2 = reinterpret_cast< wxWindow * >(argp2);
17478 if (obj2) {
17479 ecode3 = SWIG_AsVal_int(obj2, &val3);
17480 if (!SWIG_IsOK(ecode3)) {
17481 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17482 }
17483 arg3 = static_cast< int >(val3);
17484 }
17485 if (obj3) {
17486 {
17487 arg4 = wxString_in_helper(obj3);
17488 if (arg4 == NULL) SWIG_fail;
17489 temp4 = true;
17490 }
17491 }
17492 if (obj4) {
17493 {
17494 arg5 = &temp5;
17495 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17496 }
17497 }
17498 if (obj5) {
17499 {
17500 arg6 = &temp6;
17501 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17502 }
17503 }
17504 if (obj6) {
17505 ecode7 = SWIG_AsVal_long(obj6, &val7);
17506 if (!SWIG_IsOK(ecode7)) {
17507 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17508 }
17509 arg7 = static_cast< long >(val7);
17510 }
17511 if (obj7) {
17512 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17513 if (!SWIG_IsOK(res8)) {
17514 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17515 }
17516 if (!argp8) {
17517 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17518 }
17519 arg8 = reinterpret_cast< wxValidator * >(argp8);
17520 }
17521 if (obj8) {
17522 {
17523 arg9 = wxString_in_helper(obj8);
17524 if (arg9 == NULL) SWIG_fail;
17525 temp9 = true;
17526 }
17527 }
17528 {
17529 PyThreadState* __tstate = wxPyBeginAllowThreads();
17530 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17531 wxPyEndAllowThreads(__tstate);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 {
17535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17536 }
17537 {
17538 if (temp4)
17539 delete arg4;
17540 }
17541 {
17542 if (temp9)
17543 delete arg9;
17544 }
17545 return resultobj;
17546 fail:
17547 {
17548 if (temp4)
17549 delete arg4;
17550 }
17551 {
17552 if (temp9)
17553 delete arg9;
17554 }
17555 return NULL;
17556 }
17557
17558
17559 SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17560 PyObject *resultobj = 0;
17561 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17562 bool result;
17563 void *argp1 = 0 ;
17564 int res1 = 0 ;
17565 PyObject *swig_obj[1] ;
17566
17567 if (!args) SWIG_fail;
17568 swig_obj[0] = args;
17569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17570 if (!SWIG_IsOK(res1)) {
17571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17572 }
17573 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17574 {
17575 PyThreadState* __tstate = wxPyBeginAllowThreads();
17576 result = (bool)(arg1)->GetValue();
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 {
17581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17582 }
17583 return resultobj;
17584 fail:
17585 return NULL;
17586 }
17587
17588
17589 SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17590 PyObject *resultobj = 0;
17591 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17592 bool arg2 ;
17593 void *argp1 = 0 ;
17594 int res1 = 0 ;
17595 bool val2 ;
17596 int ecode2 = 0 ;
17597 PyObject * obj0 = 0 ;
17598 PyObject * obj1 = 0 ;
17599 char * kwnames[] = {
17600 (char *) "self",(char *) "value", NULL
17601 };
17602
17603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17605 if (!SWIG_IsOK(res1)) {
17606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17607 }
17608 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17609 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17610 if (!SWIG_IsOK(ecode2)) {
17611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17612 }
17613 arg2 = static_cast< bool >(val2);
17614 {
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 (arg1)->SetValue(arg2);
17617 wxPyEndAllowThreads(__tstate);
17618 if (PyErr_Occurred()) SWIG_fail;
17619 }
17620 resultobj = SWIG_Py_Void();
17621 return resultobj;
17622 fail:
17623 return NULL;
17624 }
17625
17626
17627 SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17628 PyObject *resultobj = 0;
17629 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17630 SwigValueWrapper<wxVisualAttributes > result;
17631 int val1 ;
17632 int ecode1 = 0 ;
17633 PyObject * obj0 = 0 ;
17634 char * kwnames[] = {
17635 (char *) "variant", NULL
17636 };
17637
17638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17639 if (obj0) {
17640 ecode1 = SWIG_AsVal_int(obj0, &val1);
17641 if (!SWIG_IsOK(ecode1)) {
17642 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17643 }
17644 arg1 = static_cast< wxWindowVariant >(val1);
17645 }
17646 {
17647 if (!wxPyCheckForApp()) SWIG_fail;
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17650 wxPyEndAllowThreads(__tstate);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 }
17653 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17654 return resultobj;
17655 fail:
17656 return NULL;
17657 }
17658
17659
17660 SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17661 PyObject *obj;
17662 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17663 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17664 return SWIG_Py_Void();
17665 }
17666
17667 SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17668 return SWIG_Python_InitShadowInstance(args);
17669 }
17670
17671 SWIGINTERN int SliderNameStr_set(PyObject *) {
17672 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17673 return 1;
17674 }
17675
17676
17677 SWIGINTERN PyObject *SliderNameStr_get(void) {
17678 PyObject *pyobj = 0;
17679
17680 {
17681 #if wxUSE_UNICODE
17682 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17683 #else
17684 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17685 #endif
17686 }
17687 return pyobj;
17688 }
17689
17690
17691 SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17692 PyObject *resultobj = 0;
17693 wxWindow *arg1 = (wxWindow *) 0 ;
17694 int arg2 = (int) -1 ;
17695 int arg3 = (int) 0 ;
17696 int arg4 = (int) 0 ;
17697 int arg5 = (int) 100 ;
17698 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17699 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17700 wxSize const &arg7_defvalue = wxDefaultSize ;
17701 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17702 long arg8 = (long) wxSL_HORIZONTAL ;
17703 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17704 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17705 wxString const &arg10_defvalue = wxPySliderNameStr ;
17706 wxString *arg10 = (wxString *) &arg10_defvalue ;
17707 wxSlider *result = 0 ;
17708 void *argp1 = 0 ;
17709 int res1 = 0 ;
17710 int val2 ;
17711 int ecode2 = 0 ;
17712 int val3 ;
17713 int ecode3 = 0 ;
17714 int val4 ;
17715 int ecode4 = 0 ;
17716 int val5 ;
17717 int ecode5 = 0 ;
17718 wxPoint temp6 ;
17719 wxSize temp7 ;
17720 long val8 ;
17721 int ecode8 = 0 ;
17722 void *argp9 = 0 ;
17723 int res9 = 0 ;
17724 bool temp10 = false ;
17725 PyObject * obj0 = 0 ;
17726 PyObject * obj1 = 0 ;
17727 PyObject * obj2 = 0 ;
17728 PyObject * obj3 = 0 ;
17729 PyObject * obj4 = 0 ;
17730 PyObject * obj5 = 0 ;
17731 PyObject * obj6 = 0 ;
17732 PyObject * obj7 = 0 ;
17733 PyObject * obj8 = 0 ;
17734 PyObject * obj9 = 0 ;
17735 char * kwnames[] = {
17736 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17737 };
17738
17739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17741 if (!SWIG_IsOK(res1)) {
17742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17743 }
17744 arg1 = reinterpret_cast< wxWindow * >(argp1);
17745 if (obj1) {
17746 ecode2 = SWIG_AsVal_int(obj1, &val2);
17747 if (!SWIG_IsOK(ecode2)) {
17748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17749 }
17750 arg2 = static_cast< int >(val2);
17751 }
17752 if (obj2) {
17753 ecode3 = SWIG_AsVal_int(obj2, &val3);
17754 if (!SWIG_IsOK(ecode3)) {
17755 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17756 }
17757 arg3 = static_cast< int >(val3);
17758 }
17759 if (obj3) {
17760 ecode4 = SWIG_AsVal_int(obj3, &val4);
17761 if (!SWIG_IsOK(ecode4)) {
17762 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17763 }
17764 arg4 = static_cast< int >(val4);
17765 }
17766 if (obj4) {
17767 ecode5 = SWIG_AsVal_int(obj4, &val5);
17768 if (!SWIG_IsOK(ecode5)) {
17769 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17770 }
17771 arg5 = static_cast< int >(val5);
17772 }
17773 if (obj5) {
17774 {
17775 arg6 = &temp6;
17776 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17777 }
17778 }
17779 if (obj6) {
17780 {
17781 arg7 = &temp7;
17782 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
17783 }
17784 }
17785 if (obj7) {
17786 ecode8 = SWIG_AsVal_long(obj7, &val8);
17787 if (!SWIG_IsOK(ecode8)) {
17788 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17789 }
17790 arg8 = static_cast< long >(val8);
17791 }
17792 if (obj8) {
17793 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17794 if (!SWIG_IsOK(res9)) {
17795 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17796 }
17797 if (!argp9) {
17798 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17799 }
17800 arg9 = reinterpret_cast< wxValidator * >(argp9);
17801 }
17802 if (obj9) {
17803 {
17804 arg10 = wxString_in_helper(obj9);
17805 if (arg10 == NULL) SWIG_fail;
17806 temp10 = true;
17807 }
17808 }
17809 {
17810 if (!wxPyCheckForApp()) SWIG_fail;
17811 PyThreadState* __tstate = wxPyBeginAllowThreads();
17812 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17813 wxPyEndAllowThreads(__tstate);
17814 if (PyErr_Occurred()) SWIG_fail;
17815 }
17816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17817 {
17818 if (temp10)
17819 delete arg10;
17820 }
17821 return resultobj;
17822 fail:
17823 {
17824 if (temp10)
17825 delete arg10;
17826 }
17827 return NULL;
17828 }
17829
17830
17831 SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17832 PyObject *resultobj = 0;
17833 wxSlider *result = 0 ;
17834
17835 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17836 {
17837 if (!wxPyCheckForApp()) SWIG_fail;
17838 PyThreadState* __tstate = wxPyBeginAllowThreads();
17839 result = (wxSlider *)new wxSlider();
17840 wxPyEndAllowThreads(__tstate);
17841 if (PyErr_Occurred()) SWIG_fail;
17842 }
17843 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17844 return resultobj;
17845 fail:
17846 return NULL;
17847 }
17848
17849
17850 SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj = 0;
17852 wxSlider *arg1 = (wxSlider *) 0 ;
17853 wxWindow *arg2 = (wxWindow *) 0 ;
17854 int arg3 = (int) -1 ;
17855 int arg4 = (int) 0 ;
17856 int arg5 = (int) 0 ;
17857 int arg6 = (int) 100 ;
17858 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17859 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17860 wxSize const &arg8_defvalue = wxDefaultSize ;
17861 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17862 long arg9 = (long) wxSL_HORIZONTAL ;
17863 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17864 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17865 wxString const &arg11_defvalue = wxPySliderNameStr ;
17866 wxString *arg11 = (wxString *) &arg11_defvalue ;
17867 bool result;
17868 void *argp1 = 0 ;
17869 int res1 = 0 ;
17870 void *argp2 = 0 ;
17871 int res2 = 0 ;
17872 int val3 ;
17873 int ecode3 = 0 ;
17874 int val4 ;
17875 int ecode4 = 0 ;
17876 int val5 ;
17877 int ecode5 = 0 ;
17878 int val6 ;
17879 int ecode6 = 0 ;
17880 wxPoint temp7 ;
17881 wxSize temp8 ;
17882 long val9 ;
17883 int ecode9 = 0 ;
17884 void *argp10 = 0 ;
17885 int res10 = 0 ;
17886 bool temp11 = false ;
17887 PyObject * obj0 = 0 ;
17888 PyObject * obj1 = 0 ;
17889 PyObject * obj2 = 0 ;
17890 PyObject * obj3 = 0 ;
17891 PyObject * obj4 = 0 ;
17892 PyObject * obj5 = 0 ;
17893 PyObject * obj6 = 0 ;
17894 PyObject * obj7 = 0 ;
17895 PyObject * obj8 = 0 ;
17896 PyObject * obj9 = 0 ;
17897 PyObject * obj10 = 0 ;
17898 char * kwnames[] = {
17899 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17900 };
17901
17902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17904 if (!SWIG_IsOK(res1)) {
17905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17906 }
17907 arg1 = reinterpret_cast< wxSlider * >(argp1);
17908 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17909 if (!SWIG_IsOK(res2)) {
17910 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17911 }
17912 arg2 = reinterpret_cast< wxWindow * >(argp2);
17913 if (obj2) {
17914 ecode3 = SWIG_AsVal_int(obj2, &val3);
17915 if (!SWIG_IsOK(ecode3)) {
17916 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17917 }
17918 arg3 = static_cast< int >(val3);
17919 }
17920 if (obj3) {
17921 ecode4 = SWIG_AsVal_int(obj3, &val4);
17922 if (!SWIG_IsOK(ecode4)) {
17923 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17924 }
17925 arg4 = static_cast< int >(val4);
17926 }
17927 if (obj4) {
17928 ecode5 = SWIG_AsVal_int(obj4, &val5);
17929 if (!SWIG_IsOK(ecode5)) {
17930 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17931 }
17932 arg5 = static_cast< int >(val5);
17933 }
17934 if (obj5) {
17935 ecode6 = SWIG_AsVal_int(obj5, &val6);
17936 if (!SWIG_IsOK(ecode6)) {
17937 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17938 }
17939 arg6 = static_cast< int >(val6);
17940 }
17941 if (obj6) {
17942 {
17943 arg7 = &temp7;
17944 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17945 }
17946 }
17947 if (obj7) {
17948 {
17949 arg8 = &temp8;
17950 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
17951 }
17952 }
17953 if (obj8) {
17954 ecode9 = SWIG_AsVal_long(obj8, &val9);
17955 if (!SWIG_IsOK(ecode9)) {
17956 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17957 }
17958 arg9 = static_cast< long >(val9);
17959 }
17960 if (obj9) {
17961 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
17962 if (!SWIG_IsOK(res10)) {
17963 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17964 }
17965 if (!argp10) {
17966 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17967 }
17968 arg10 = reinterpret_cast< wxValidator * >(argp10);
17969 }
17970 if (obj10) {
17971 {
17972 arg11 = wxString_in_helper(obj10);
17973 if (arg11 == NULL) SWIG_fail;
17974 temp11 = true;
17975 }
17976 }
17977 {
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
17980 wxPyEndAllowThreads(__tstate);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 }
17983 {
17984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17985 }
17986 {
17987 if (temp11)
17988 delete arg11;
17989 }
17990 return resultobj;
17991 fail:
17992 {
17993 if (temp11)
17994 delete arg11;
17995 }
17996 return NULL;
17997 }
17998
17999
18000 SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18001 PyObject *resultobj = 0;
18002 wxSlider *arg1 = (wxSlider *) 0 ;
18003 int result;
18004 void *argp1 = 0 ;
18005 int res1 = 0 ;
18006 PyObject *swig_obj[1] ;
18007
18008 if (!args) SWIG_fail;
18009 swig_obj[0] = args;
18010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18011 if (!SWIG_IsOK(res1)) {
18012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18013 }
18014 arg1 = reinterpret_cast< wxSlider * >(argp1);
18015 {
18016 PyThreadState* __tstate = wxPyBeginAllowThreads();
18017 result = (int)((wxSlider const *)arg1)->GetValue();
18018 wxPyEndAllowThreads(__tstate);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 resultobj = SWIG_From_int(static_cast< int >(result));
18022 return resultobj;
18023 fail:
18024 return NULL;
18025 }
18026
18027
18028 SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18029 PyObject *resultobj = 0;
18030 wxSlider *arg1 = (wxSlider *) 0 ;
18031 int arg2 ;
18032 void *argp1 = 0 ;
18033 int res1 = 0 ;
18034 int val2 ;
18035 int ecode2 = 0 ;
18036 PyObject * obj0 = 0 ;
18037 PyObject * obj1 = 0 ;
18038 char * kwnames[] = {
18039 (char *) "self",(char *) "value", NULL
18040 };
18041
18042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18044 if (!SWIG_IsOK(res1)) {
18045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18046 }
18047 arg1 = reinterpret_cast< wxSlider * >(argp1);
18048 ecode2 = SWIG_AsVal_int(obj1, &val2);
18049 if (!SWIG_IsOK(ecode2)) {
18050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18051 }
18052 arg2 = static_cast< int >(val2);
18053 {
18054 PyThreadState* __tstate = wxPyBeginAllowThreads();
18055 (arg1)->SetValue(arg2);
18056 wxPyEndAllowThreads(__tstate);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 resultobj = SWIG_Py_Void();
18060 return resultobj;
18061 fail:
18062 return NULL;
18063 }
18064
18065
18066 SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18067 PyObject *resultobj = 0;
18068 wxSlider *arg1 = (wxSlider *) 0 ;
18069 int arg2 ;
18070 int arg3 ;
18071 void *argp1 = 0 ;
18072 int res1 = 0 ;
18073 int val2 ;
18074 int ecode2 = 0 ;
18075 int val3 ;
18076 int ecode3 = 0 ;
18077 PyObject * obj0 = 0 ;
18078 PyObject * obj1 = 0 ;
18079 PyObject * obj2 = 0 ;
18080 char * kwnames[] = {
18081 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18082 };
18083
18084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18086 if (!SWIG_IsOK(res1)) {
18087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18088 }
18089 arg1 = reinterpret_cast< wxSlider * >(argp1);
18090 ecode2 = SWIG_AsVal_int(obj1, &val2);
18091 if (!SWIG_IsOK(ecode2)) {
18092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18093 }
18094 arg2 = static_cast< int >(val2);
18095 ecode3 = SWIG_AsVal_int(obj2, &val3);
18096 if (!SWIG_IsOK(ecode3)) {
18097 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18098 }
18099 arg3 = static_cast< int >(val3);
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 (arg1)->SetRange(arg2,arg3);
18103 wxPyEndAllowThreads(__tstate);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 }
18106 resultobj = SWIG_Py_Void();
18107 return resultobj;
18108 fail:
18109 return NULL;
18110 }
18111
18112
18113 SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18114 PyObject *resultobj = 0;
18115 wxSlider *arg1 = (wxSlider *) 0 ;
18116 int result;
18117 void *argp1 = 0 ;
18118 int res1 = 0 ;
18119 PyObject *swig_obj[1] ;
18120
18121 if (!args) SWIG_fail;
18122 swig_obj[0] = args;
18123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18124 if (!SWIG_IsOK(res1)) {
18125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18126 }
18127 arg1 = reinterpret_cast< wxSlider * >(argp1);
18128 {
18129 PyThreadState* __tstate = wxPyBeginAllowThreads();
18130 result = (int)((wxSlider const *)arg1)->GetMin();
18131 wxPyEndAllowThreads(__tstate);
18132 if (PyErr_Occurred()) SWIG_fail;
18133 }
18134 resultobj = SWIG_From_int(static_cast< int >(result));
18135 return resultobj;
18136 fail:
18137 return NULL;
18138 }
18139
18140
18141 SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18142 PyObject *resultobj = 0;
18143 wxSlider *arg1 = (wxSlider *) 0 ;
18144 int result;
18145 void *argp1 = 0 ;
18146 int res1 = 0 ;
18147 PyObject *swig_obj[1] ;
18148
18149 if (!args) SWIG_fail;
18150 swig_obj[0] = args;
18151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18152 if (!SWIG_IsOK(res1)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18154 }
18155 arg1 = reinterpret_cast< wxSlider * >(argp1);
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 result = (int)((wxSlider const *)arg1)->GetMax();
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 resultobj = SWIG_From_int(static_cast< int >(result));
18163 return resultobj;
18164 fail:
18165 return NULL;
18166 }
18167
18168
18169 SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18170 PyObject *resultobj = 0;
18171 wxSlider *arg1 = (wxSlider *) 0 ;
18172 int arg2 ;
18173 void *argp1 = 0 ;
18174 int res1 = 0 ;
18175 int val2 ;
18176 int ecode2 = 0 ;
18177 PyObject * obj0 = 0 ;
18178 PyObject * obj1 = 0 ;
18179 char * kwnames[] = {
18180 (char *) "self",(char *) "minValue", NULL
18181 };
18182
18183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18185 if (!SWIG_IsOK(res1)) {
18186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18187 }
18188 arg1 = reinterpret_cast< wxSlider * >(argp1);
18189 ecode2 = SWIG_AsVal_int(obj1, &val2);
18190 if (!SWIG_IsOK(ecode2)) {
18191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18192 }
18193 arg2 = static_cast< int >(val2);
18194 {
18195 PyThreadState* __tstate = wxPyBeginAllowThreads();
18196 (arg1)->SetMin(arg2);
18197 wxPyEndAllowThreads(__tstate);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 }
18200 resultobj = SWIG_Py_Void();
18201 return resultobj;
18202 fail:
18203 return NULL;
18204 }
18205
18206
18207 SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18208 PyObject *resultobj = 0;
18209 wxSlider *arg1 = (wxSlider *) 0 ;
18210 int arg2 ;
18211 void *argp1 = 0 ;
18212 int res1 = 0 ;
18213 int val2 ;
18214 int ecode2 = 0 ;
18215 PyObject * obj0 = 0 ;
18216 PyObject * obj1 = 0 ;
18217 char * kwnames[] = {
18218 (char *) "self",(char *) "maxValue", NULL
18219 };
18220
18221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18223 if (!SWIG_IsOK(res1)) {
18224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18225 }
18226 arg1 = reinterpret_cast< wxSlider * >(argp1);
18227 ecode2 = SWIG_AsVal_int(obj1, &val2);
18228 if (!SWIG_IsOK(ecode2)) {
18229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18230 }
18231 arg2 = static_cast< int >(val2);
18232 {
18233 PyThreadState* __tstate = wxPyBeginAllowThreads();
18234 (arg1)->SetMax(arg2);
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 resultobj = SWIG_Py_Void();
18239 return resultobj;
18240 fail:
18241 return NULL;
18242 }
18243
18244
18245 SWIGINTERN PyObject *_wrap_Slider_SetLineSize(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 *) "lineSize", NULL
18257 };
18258
18259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",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_SetLineSize" "', 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_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18268 }
18269 arg2 = static_cast< int >(val2);
18270 {
18271 PyThreadState* __tstate = wxPyBeginAllowThreads();
18272 (arg1)->SetLineSize(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_SetPageSize(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 *) "pageSize", NULL
18295 };
18296
18297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",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_SetPageSize" "', 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_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18306 }
18307 arg2 = static_cast< int >(val2);
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 (arg1)->SetPageSize(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_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18322 PyObject *resultobj = 0;
18323 wxSlider *arg1 = (wxSlider *) 0 ;
18324 int result;
18325 void *argp1 = 0 ;
18326 int res1 = 0 ;
18327 PyObject *swig_obj[1] ;
18328
18329 if (!args) SWIG_fail;
18330 swig_obj[0] = args;
18331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18332 if (!SWIG_IsOK(res1)) {
18333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18334 }
18335 arg1 = reinterpret_cast< wxSlider * >(argp1);
18336 {
18337 PyThreadState* __tstate = wxPyBeginAllowThreads();
18338 result = (int)((wxSlider const *)arg1)->GetLineSize();
18339 wxPyEndAllowThreads(__tstate);
18340 if (PyErr_Occurred()) SWIG_fail;
18341 }
18342 resultobj = SWIG_From_int(static_cast< int >(result));
18343 return resultobj;
18344 fail:
18345 return NULL;
18346 }
18347
18348
18349 SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18350 PyObject *resultobj = 0;
18351 wxSlider *arg1 = (wxSlider *) 0 ;
18352 int result;
18353 void *argp1 = 0 ;
18354 int res1 = 0 ;
18355 PyObject *swig_obj[1] ;
18356
18357 if (!args) SWIG_fail;
18358 swig_obj[0] = args;
18359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18360 if (!SWIG_IsOK(res1)) {
18361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18362 }
18363 arg1 = reinterpret_cast< wxSlider * >(argp1);
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 result = (int)((wxSlider const *)arg1)->GetPageSize();
18367 wxPyEndAllowThreads(__tstate);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 }
18370 resultobj = SWIG_From_int(static_cast< int >(result));
18371 return resultobj;
18372 fail:
18373 return NULL;
18374 }
18375
18376
18377 SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18378 PyObject *resultobj = 0;
18379 wxSlider *arg1 = (wxSlider *) 0 ;
18380 int arg2 ;
18381 void *argp1 = 0 ;
18382 int res1 = 0 ;
18383 int val2 ;
18384 int ecode2 = 0 ;
18385 PyObject * obj0 = 0 ;
18386 PyObject * obj1 = 0 ;
18387 char * kwnames[] = {
18388 (char *) "self",(char *) "lenPixels", NULL
18389 };
18390
18391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18393 if (!SWIG_IsOK(res1)) {
18394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18395 }
18396 arg1 = reinterpret_cast< wxSlider * >(argp1);
18397 ecode2 = SWIG_AsVal_int(obj1, &val2);
18398 if (!SWIG_IsOK(ecode2)) {
18399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18400 }
18401 arg2 = static_cast< int >(val2);
18402 {
18403 PyThreadState* __tstate = wxPyBeginAllowThreads();
18404 (arg1)->SetThumbLength(arg2);
18405 wxPyEndAllowThreads(__tstate);
18406 if (PyErr_Occurred()) SWIG_fail;
18407 }
18408 resultobj = SWIG_Py_Void();
18409 return resultobj;
18410 fail:
18411 return NULL;
18412 }
18413
18414
18415 SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18416 PyObject *resultobj = 0;
18417 wxSlider *arg1 = (wxSlider *) 0 ;
18418 int result;
18419 void *argp1 = 0 ;
18420 int res1 = 0 ;
18421 PyObject *swig_obj[1] ;
18422
18423 if (!args) SWIG_fail;
18424 swig_obj[0] = args;
18425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18426 if (!SWIG_IsOK(res1)) {
18427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18428 }
18429 arg1 = reinterpret_cast< wxSlider * >(argp1);
18430 {
18431 PyThreadState* __tstate = wxPyBeginAllowThreads();
18432 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18433 wxPyEndAllowThreads(__tstate);
18434 if (PyErr_Occurred()) SWIG_fail;
18435 }
18436 resultobj = SWIG_From_int(static_cast< int >(result));
18437 return resultobj;
18438 fail:
18439 return NULL;
18440 }
18441
18442
18443 SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18444 PyObject *resultobj = 0;
18445 wxSlider *arg1 = (wxSlider *) 0 ;
18446 int arg2 ;
18447 int arg3 = (int) 1 ;
18448 void *argp1 = 0 ;
18449 int res1 = 0 ;
18450 int val2 ;
18451 int ecode2 = 0 ;
18452 int val3 ;
18453 int ecode3 = 0 ;
18454 PyObject * obj0 = 0 ;
18455 PyObject * obj1 = 0 ;
18456 PyObject * obj2 = 0 ;
18457 char * kwnames[] = {
18458 (char *) "self",(char *) "n",(char *) "pos", NULL
18459 };
18460
18461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18463 if (!SWIG_IsOK(res1)) {
18464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18465 }
18466 arg1 = reinterpret_cast< wxSlider * >(argp1);
18467 ecode2 = SWIG_AsVal_int(obj1, &val2);
18468 if (!SWIG_IsOK(ecode2)) {
18469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18470 }
18471 arg2 = static_cast< int >(val2);
18472 if (obj2) {
18473 ecode3 = SWIG_AsVal_int(obj2, &val3);
18474 if (!SWIG_IsOK(ecode3)) {
18475 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18476 }
18477 arg3 = static_cast< int >(val3);
18478 }
18479 {
18480 PyThreadState* __tstate = wxPyBeginAllowThreads();
18481 (arg1)->SetTickFreq(arg2,arg3);
18482 wxPyEndAllowThreads(__tstate);
18483 if (PyErr_Occurred()) SWIG_fail;
18484 }
18485 resultobj = SWIG_Py_Void();
18486 return resultobj;
18487 fail:
18488 return NULL;
18489 }
18490
18491
18492 SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18493 PyObject *resultobj = 0;
18494 wxSlider *arg1 = (wxSlider *) 0 ;
18495 int result;
18496 void *argp1 = 0 ;
18497 int res1 = 0 ;
18498 PyObject *swig_obj[1] ;
18499
18500 if (!args) SWIG_fail;
18501 swig_obj[0] = args;
18502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18503 if (!SWIG_IsOK(res1)) {
18504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18505 }
18506 arg1 = reinterpret_cast< wxSlider * >(argp1);
18507 {
18508 PyThreadState* __tstate = wxPyBeginAllowThreads();
18509 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18510 wxPyEndAllowThreads(__tstate);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
18513 resultobj = SWIG_From_int(static_cast< int >(result));
18514 return resultobj;
18515 fail:
18516 return NULL;
18517 }
18518
18519
18520 SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18521 PyObject *resultobj = 0;
18522 wxSlider *arg1 = (wxSlider *) 0 ;
18523 void *argp1 = 0 ;
18524 int res1 = 0 ;
18525 PyObject *swig_obj[1] ;
18526
18527 if (!args) SWIG_fail;
18528 swig_obj[0] = args;
18529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18530 if (!SWIG_IsOK(res1)) {
18531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18532 }
18533 arg1 = reinterpret_cast< wxSlider * >(argp1);
18534 {
18535 PyThreadState* __tstate = wxPyBeginAllowThreads();
18536 (arg1)->ClearTicks();
18537 wxPyEndAllowThreads(__tstate);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 resultobj = SWIG_Py_Void();
18541 return resultobj;
18542 fail:
18543 return NULL;
18544 }
18545
18546
18547 SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj = 0;
18549 wxSlider *arg1 = (wxSlider *) 0 ;
18550 int arg2 ;
18551 void *argp1 = 0 ;
18552 int res1 = 0 ;
18553 int val2 ;
18554 int ecode2 = 0 ;
18555 PyObject * obj0 = 0 ;
18556 PyObject * obj1 = 0 ;
18557 char * kwnames[] = {
18558 (char *) "self",(char *) "tickPos", NULL
18559 };
18560
18561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18563 if (!SWIG_IsOK(res1)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18565 }
18566 arg1 = reinterpret_cast< wxSlider * >(argp1);
18567 ecode2 = SWIG_AsVal_int(obj1, &val2);
18568 if (!SWIG_IsOK(ecode2)) {
18569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18570 }
18571 arg2 = static_cast< int >(val2);
18572 {
18573 PyThreadState* __tstate = wxPyBeginAllowThreads();
18574 (arg1)->SetTick(arg2);
18575 wxPyEndAllowThreads(__tstate);
18576 if (PyErr_Occurred()) SWIG_fail;
18577 }
18578 resultobj = SWIG_Py_Void();
18579 return resultobj;
18580 fail:
18581 return NULL;
18582 }
18583
18584
18585 SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18586 PyObject *resultobj = 0;
18587 wxSlider *arg1 = (wxSlider *) 0 ;
18588 void *argp1 = 0 ;
18589 int res1 = 0 ;
18590 PyObject *swig_obj[1] ;
18591
18592 if (!args) SWIG_fail;
18593 swig_obj[0] = args;
18594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18595 if (!SWIG_IsOK(res1)) {
18596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18597 }
18598 arg1 = reinterpret_cast< wxSlider * >(argp1);
18599 {
18600 PyThreadState* __tstate = wxPyBeginAllowThreads();
18601 (arg1)->ClearSel();
18602 wxPyEndAllowThreads(__tstate);
18603 if (PyErr_Occurred()) SWIG_fail;
18604 }
18605 resultobj = SWIG_Py_Void();
18606 return resultobj;
18607 fail:
18608 return NULL;
18609 }
18610
18611
18612 SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18613 PyObject *resultobj = 0;
18614 wxSlider *arg1 = (wxSlider *) 0 ;
18615 int result;
18616 void *argp1 = 0 ;
18617 int res1 = 0 ;
18618 PyObject *swig_obj[1] ;
18619
18620 if (!args) SWIG_fail;
18621 swig_obj[0] = args;
18622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18623 if (!SWIG_IsOK(res1)) {
18624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18625 }
18626 arg1 = reinterpret_cast< wxSlider * >(argp1);
18627 {
18628 PyThreadState* __tstate = wxPyBeginAllowThreads();
18629 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18630 wxPyEndAllowThreads(__tstate);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 }
18633 resultobj = SWIG_From_int(static_cast< int >(result));
18634 return resultobj;
18635 fail:
18636 return NULL;
18637 }
18638
18639
18640 SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18641 PyObject *resultobj = 0;
18642 wxSlider *arg1 = (wxSlider *) 0 ;
18643 int result;
18644 void *argp1 = 0 ;
18645 int res1 = 0 ;
18646 PyObject *swig_obj[1] ;
18647
18648 if (!args) SWIG_fail;
18649 swig_obj[0] = args;
18650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18651 if (!SWIG_IsOK(res1)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18653 }
18654 arg1 = reinterpret_cast< wxSlider * >(argp1);
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 result = (int)((wxSlider const *)arg1)->GetSelStart();
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
18661 resultobj = SWIG_From_int(static_cast< int >(result));
18662 return resultobj;
18663 fail:
18664 return NULL;
18665 }
18666
18667
18668 SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18669 PyObject *resultobj = 0;
18670 wxSlider *arg1 = (wxSlider *) 0 ;
18671 int arg2 ;
18672 int arg3 ;
18673 void *argp1 = 0 ;
18674 int res1 = 0 ;
18675 int val2 ;
18676 int ecode2 = 0 ;
18677 int val3 ;
18678 int ecode3 = 0 ;
18679 PyObject * obj0 = 0 ;
18680 PyObject * obj1 = 0 ;
18681 PyObject * obj2 = 0 ;
18682 char * kwnames[] = {
18683 (char *) "self",(char *) "min",(char *) "max", NULL
18684 };
18685
18686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18688 if (!SWIG_IsOK(res1)) {
18689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18690 }
18691 arg1 = reinterpret_cast< wxSlider * >(argp1);
18692 ecode2 = SWIG_AsVal_int(obj1, &val2);
18693 if (!SWIG_IsOK(ecode2)) {
18694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18695 }
18696 arg2 = static_cast< int >(val2);
18697 ecode3 = SWIG_AsVal_int(obj2, &val3);
18698 if (!SWIG_IsOK(ecode3)) {
18699 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18700 }
18701 arg3 = static_cast< int >(val3);
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 (arg1)->SetSelection(arg2,arg3);
18705 wxPyEndAllowThreads(__tstate);
18706 if (PyErr_Occurred()) SWIG_fail;
18707 }
18708 resultobj = SWIG_Py_Void();
18709 return resultobj;
18710 fail:
18711 return NULL;
18712 }
18713
18714
18715 SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18716 PyObject *resultobj = 0;
18717 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18718 SwigValueWrapper<wxVisualAttributes > result;
18719 int val1 ;
18720 int ecode1 = 0 ;
18721 PyObject * obj0 = 0 ;
18722 char * kwnames[] = {
18723 (char *) "variant", NULL
18724 };
18725
18726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18727 if (obj0) {
18728 ecode1 = SWIG_AsVal_int(obj0, &val1);
18729 if (!SWIG_IsOK(ecode1)) {
18730 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18731 }
18732 arg1 = static_cast< wxWindowVariant >(val1);
18733 }
18734 {
18735 if (!wxPyCheckForApp()) SWIG_fail;
18736 PyThreadState* __tstate = wxPyBeginAllowThreads();
18737 result = wxSlider::GetClassDefaultAttributes(arg1);
18738 wxPyEndAllowThreads(__tstate);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 }
18741 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18742 return resultobj;
18743 fail:
18744 return NULL;
18745 }
18746
18747
18748 SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18749 PyObject *obj;
18750 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18751 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18752 return SWIG_Py_Void();
18753 }
18754
18755 SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18756 return SWIG_Python_InitShadowInstance(args);
18757 }
18758
18759 SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18760 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18761 return 1;
18762 }
18763
18764
18765 SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18766 PyObject *pyobj = 0;
18767
18768 {
18769 #if wxUSE_UNICODE
18770 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18771 #else
18772 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18773 #endif
18774 }
18775 return pyobj;
18776 }
18777
18778
18779 SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18780 PyObject *resultobj = 0;
18781 wxWindow *arg1 = (wxWindow *) 0 ;
18782 int arg2 = (int) -1 ;
18783 wxString const &arg3_defvalue = wxPyEmptyString ;
18784 wxString *arg3 = (wxString *) &arg3_defvalue ;
18785 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18786 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18787 wxSize const &arg5_defvalue = wxDefaultSize ;
18788 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18789 long arg6 = (long) 0 ;
18790 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18791 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18792 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18793 wxString *arg8 = (wxString *) &arg8_defvalue ;
18794 wxToggleButton *result = 0 ;
18795 void *argp1 = 0 ;
18796 int res1 = 0 ;
18797 int val2 ;
18798 int ecode2 = 0 ;
18799 bool temp3 = false ;
18800 wxPoint temp4 ;
18801 wxSize temp5 ;
18802 long val6 ;
18803 int ecode6 = 0 ;
18804 void *argp7 = 0 ;
18805 int res7 = 0 ;
18806 bool temp8 = false ;
18807 PyObject * obj0 = 0 ;
18808 PyObject * obj1 = 0 ;
18809 PyObject * obj2 = 0 ;
18810 PyObject * obj3 = 0 ;
18811 PyObject * obj4 = 0 ;
18812 PyObject * obj5 = 0 ;
18813 PyObject * obj6 = 0 ;
18814 PyObject * obj7 = 0 ;
18815 char * kwnames[] = {
18816 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18817 };
18818
18819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18821 if (!SWIG_IsOK(res1)) {
18822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18823 }
18824 arg1 = reinterpret_cast< wxWindow * >(argp1);
18825 if (obj1) {
18826 ecode2 = SWIG_AsVal_int(obj1, &val2);
18827 if (!SWIG_IsOK(ecode2)) {
18828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18829 }
18830 arg2 = static_cast< int >(val2);
18831 }
18832 if (obj2) {
18833 {
18834 arg3 = wxString_in_helper(obj2);
18835 if (arg3 == NULL) SWIG_fail;
18836 temp3 = true;
18837 }
18838 }
18839 if (obj3) {
18840 {
18841 arg4 = &temp4;
18842 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18843 }
18844 }
18845 if (obj4) {
18846 {
18847 arg5 = &temp5;
18848 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18849 }
18850 }
18851 if (obj5) {
18852 ecode6 = SWIG_AsVal_long(obj5, &val6);
18853 if (!SWIG_IsOK(ecode6)) {
18854 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18855 }
18856 arg6 = static_cast< long >(val6);
18857 }
18858 if (obj6) {
18859 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18860 if (!SWIG_IsOK(res7)) {
18861 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18862 }
18863 if (!argp7) {
18864 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18865 }
18866 arg7 = reinterpret_cast< wxValidator * >(argp7);
18867 }
18868 if (obj7) {
18869 {
18870 arg8 = wxString_in_helper(obj7);
18871 if (arg8 == NULL) SWIG_fail;
18872 temp8 = true;
18873 }
18874 }
18875 {
18876 if (!wxPyCheckForApp()) SWIG_fail;
18877 PyThreadState* __tstate = wxPyBeginAllowThreads();
18878 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18879 wxPyEndAllowThreads(__tstate);
18880 if (PyErr_Occurred()) SWIG_fail;
18881 }
18882 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18883 {
18884 if (temp3)
18885 delete arg3;
18886 }
18887 {
18888 if (temp8)
18889 delete arg8;
18890 }
18891 return resultobj;
18892 fail:
18893 {
18894 if (temp3)
18895 delete arg3;
18896 }
18897 {
18898 if (temp8)
18899 delete arg8;
18900 }
18901 return NULL;
18902 }
18903
18904
18905 SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18906 PyObject *resultobj = 0;
18907 wxToggleButton *result = 0 ;
18908
18909 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18910 {
18911 if (!wxPyCheckForApp()) SWIG_fail;
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 result = (wxToggleButton *)new wxToggleButton();
18914 wxPyEndAllowThreads(__tstate);
18915 if (PyErr_Occurred()) SWIG_fail;
18916 }
18917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18918 return resultobj;
18919 fail:
18920 return NULL;
18921 }
18922
18923
18924 SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18925 PyObject *resultobj = 0;
18926 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18927 wxWindow *arg2 = (wxWindow *) 0 ;
18928 int arg3 = (int) -1 ;
18929 wxString const &arg4_defvalue = wxPyEmptyString ;
18930 wxString *arg4 = (wxString *) &arg4_defvalue ;
18931 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18932 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18933 wxSize const &arg6_defvalue = wxDefaultSize ;
18934 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18935 long arg7 = (long) 0 ;
18936 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18937 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18938 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
18939 wxString *arg9 = (wxString *) &arg9_defvalue ;
18940 bool result;
18941 void *argp1 = 0 ;
18942 int res1 = 0 ;
18943 void *argp2 = 0 ;
18944 int res2 = 0 ;
18945 int val3 ;
18946 int ecode3 = 0 ;
18947 bool temp4 = false ;
18948 wxPoint temp5 ;
18949 wxSize temp6 ;
18950 long val7 ;
18951 int ecode7 = 0 ;
18952 void *argp8 = 0 ;
18953 int res8 = 0 ;
18954 bool temp9 = false ;
18955 PyObject * obj0 = 0 ;
18956 PyObject * obj1 = 0 ;
18957 PyObject * obj2 = 0 ;
18958 PyObject * obj3 = 0 ;
18959 PyObject * obj4 = 0 ;
18960 PyObject * obj5 = 0 ;
18961 PyObject * obj6 = 0 ;
18962 PyObject * obj7 = 0 ;
18963 PyObject * obj8 = 0 ;
18964 char * kwnames[] = {
18965 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18966 };
18967
18968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18970 if (!SWIG_IsOK(res1)) {
18971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18972 }
18973 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18974 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18975 if (!SWIG_IsOK(res2)) {
18976 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18977 }
18978 arg2 = reinterpret_cast< wxWindow * >(argp2);
18979 if (obj2) {
18980 ecode3 = SWIG_AsVal_int(obj2, &val3);
18981 if (!SWIG_IsOK(ecode3)) {
18982 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18983 }
18984 arg3 = static_cast< int >(val3);
18985 }
18986 if (obj3) {
18987 {
18988 arg4 = wxString_in_helper(obj3);
18989 if (arg4 == NULL) SWIG_fail;
18990 temp4 = true;
18991 }
18992 }
18993 if (obj4) {
18994 {
18995 arg5 = &temp5;
18996 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
18997 }
18998 }
18999 if (obj5) {
19000 {
19001 arg6 = &temp6;
19002 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
19003 }
19004 }
19005 if (obj6) {
19006 ecode7 = SWIG_AsVal_long(obj6, &val7);
19007 if (!SWIG_IsOK(ecode7)) {
19008 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19009 }
19010 arg7 = static_cast< long >(val7);
19011 }
19012 if (obj7) {
19013 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
19014 if (!SWIG_IsOK(res8)) {
19015 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19016 }
19017 if (!argp8) {
19018 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19019 }
19020 arg8 = reinterpret_cast< wxValidator * >(argp8);
19021 }
19022 if (obj8) {
19023 {
19024 arg9 = wxString_in_helper(obj8);
19025 if (arg9 == NULL) SWIG_fail;
19026 temp9 = true;
19027 }
19028 }
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 {
19036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19037 }
19038 {
19039 if (temp4)
19040 delete arg4;
19041 }
19042 {
19043 if (temp9)
19044 delete arg9;
19045 }
19046 return resultobj;
19047 fail:
19048 {
19049 if (temp4)
19050 delete arg4;
19051 }
19052 {
19053 if (temp9)
19054 delete arg9;
19055 }
19056 return NULL;
19057 }
19058
19059
19060 SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19061 PyObject *resultobj = 0;
19062 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19063 bool arg2 ;
19064 void *argp1 = 0 ;
19065 int res1 = 0 ;
19066 bool val2 ;
19067 int ecode2 = 0 ;
19068 PyObject * obj0 = 0 ;
19069 PyObject * obj1 = 0 ;
19070 char * kwnames[] = {
19071 (char *) "self",(char *) "value", NULL
19072 };
19073
19074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19076 if (!SWIG_IsOK(res1)) {
19077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19078 }
19079 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19080 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19081 if (!SWIG_IsOK(ecode2)) {
19082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19083 }
19084 arg2 = static_cast< bool >(val2);
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
19087 (arg1)->SetValue(arg2);
19088 wxPyEndAllowThreads(__tstate);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 }
19091 resultobj = SWIG_Py_Void();
19092 return resultobj;
19093 fail:
19094 return NULL;
19095 }
19096
19097
19098 SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19099 PyObject *resultobj = 0;
19100 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19101 bool result;
19102 void *argp1 = 0 ;
19103 int res1 = 0 ;
19104 PyObject *swig_obj[1] ;
19105
19106 if (!args) SWIG_fail;
19107 swig_obj[0] = args;
19108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19109 if (!SWIG_IsOK(res1)) {
19110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19111 }
19112 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19116 wxPyEndAllowThreads(__tstate);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 }
19119 {
19120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19121 }
19122 return resultobj;
19123 fail:
19124 return NULL;
19125 }
19126
19127
19128 SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19129 PyObject *resultobj = 0;
19130 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19131 SwigValueWrapper<wxVisualAttributes > result;
19132 int val1 ;
19133 int ecode1 = 0 ;
19134 PyObject * obj0 = 0 ;
19135 char * kwnames[] = {
19136 (char *) "variant", NULL
19137 };
19138
19139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19140 if (obj0) {
19141 ecode1 = SWIG_AsVal_int(obj0, &val1);
19142 if (!SWIG_IsOK(ecode1)) {
19143 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19144 }
19145 arg1 = static_cast< wxWindowVariant >(val1);
19146 }
19147 {
19148 if (!wxPyCheckForApp()) SWIG_fail;
19149 PyThreadState* __tstate = wxPyBeginAllowThreads();
19150 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19151 wxPyEndAllowThreads(__tstate);
19152 if (PyErr_Occurred()) SWIG_fail;
19153 }
19154 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19155 return resultobj;
19156 fail:
19157 return NULL;
19158 }
19159
19160
19161 SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19162 PyObject *obj;
19163 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19164 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19165 return SWIG_Py_Void();
19166 }
19167
19168 SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19169 return SWIG_Python_InitShadowInstance(args);
19170 }
19171
19172 SWIGINTERN int NotebookNameStr_set(PyObject *) {
19173 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19174 return 1;
19175 }
19176
19177
19178 SWIGINTERN PyObject *NotebookNameStr_get(void) {
19179 PyObject *pyobj = 0;
19180
19181 {
19182 #if wxUSE_UNICODE
19183 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19184 #else
19185 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19186 #endif
19187 }
19188 return pyobj;
19189 }
19190
19191
19192 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19193 PyObject *resultobj = 0;
19194 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19195 size_t result;
19196 void *argp1 = 0 ;
19197 int res1 = 0 ;
19198 PyObject *swig_obj[1] ;
19199
19200 if (!args) SWIG_fail;
19201 swig_obj[0] = args;
19202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19203 if (!SWIG_IsOK(res1)) {
19204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19205 }
19206 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19207 {
19208 PyThreadState* __tstate = wxPyBeginAllowThreads();
19209 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19210 wxPyEndAllowThreads(__tstate);
19211 if (PyErr_Occurred()) SWIG_fail;
19212 }
19213 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19214 return resultobj;
19215 fail:
19216 return NULL;
19217 }
19218
19219
19220 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19221 PyObject *resultobj = 0;
19222 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19223 size_t arg2 ;
19224 wxWindow *result = 0 ;
19225 void *argp1 = 0 ;
19226 int res1 = 0 ;
19227 size_t val2 ;
19228 int ecode2 = 0 ;
19229 PyObject * obj0 = 0 ;
19230 PyObject * obj1 = 0 ;
19231 char * kwnames[] = {
19232 (char *) "self",(char *) "n", NULL
19233 };
19234
19235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19237 if (!SWIG_IsOK(res1)) {
19238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19239 }
19240 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19241 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19242 if (!SWIG_IsOK(ecode2)) {
19243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19244 }
19245 arg2 = static_cast< size_t >(val2);
19246 {
19247 PyThreadState* __tstate = wxPyBeginAllowThreads();
19248 result = (wxWindow *)(arg1)->GetPage(arg2);
19249 wxPyEndAllowThreads(__tstate);
19250 if (PyErr_Occurred()) SWIG_fail;
19251 }
19252 {
19253 resultobj = wxPyMake_wxObject(result, 0);
19254 }
19255 return resultobj;
19256 fail:
19257 return NULL;
19258 }
19259
19260
19261 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19262 PyObject *resultobj = 0;
19263 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19264 wxWindow *result = 0 ;
19265 void *argp1 = 0 ;
19266 int res1 = 0 ;
19267 PyObject *swig_obj[1] ;
19268
19269 if (!args) SWIG_fail;
19270 swig_obj[0] = args;
19271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19272 if (!SWIG_IsOK(res1)) {
19273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19274 }
19275 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19276 {
19277 PyThreadState* __tstate = wxPyBeginAllowThreads();
19278 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19279 wxPyEndAllowThreads(__tstate);
19280 if (PyErr_Occurred()) SWIG_fail;
19281 }
19282 {
19283 resultobj = wxPyMake_wxObject(result, 0);
19284 }
19285 return resultobj;
19286 fail:
19287 return NULL;
19288 }
19289
19290
19291 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19292 PyObject *resultobj = 0;
19293 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19294 int result;
19295 void *argp1 = 0 ;
19296 int res1 = 0 ;
19297 PyObject *swig_obj[1] ;
19298
19299 if (!args) SWIG_fail;
19300 swig_obj[0] = args;
19301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19302 if (!SWIG_IsOK(res1)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19304 }
19305 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19306 {
19307 PyThreadState* __tstate = wxPyBeginAllowThreads();
19308 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19309 wxPyEndAllowThreads(__tstate);
19310 if (PyErr_Occurred()) SWIG_fail;
19311 }
19312 resultobj = SWIG_From_int(static_cast< int >(result));
19313 return resultobj;
19314 fail:
19315 return NULL;
19316 }
19317
19318
19319 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19320 PyObject *resultobj = 0;
19321 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19322 size_t arg2 ;
19323 wxString *arg3 = 0 ;
19324 bool result;
19325 void *argp1 = 0 ;
19326 int res1 = 0 ;
19327 size_t val2 ;
19328 int ecode2 = 0 ;
19329 bool temp3 = false ;
19330 PyObject * obj0 = 0 ;
19331 PyObject * obj1 = 0 ;
19332 PyObject * obj2 = 0 ;
19333 char * kwnames[] = {
19334 (char *) "self",(char *) "n",(char *) "strText", NULL
19335 };
19336
19337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19339 if (!SWIG_IsOK(res1)) {
19340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19341 }
19342 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19343 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19344 if (!SWIG_IsOK(ecode2)) {
19345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19346 }
19347 arg2 = static_cast< size_t >(val2);
19348 {
19349 arg3 = wxString_in_helper(obj2);
19350 if (arg3 == NULL) SWIG_fail;
19351 temp3 = true;
19352 }
19353 {
19354 PyThreadState* __tstate = wxPyBeginAllowThreads();
19355 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 {
19360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19361 }
19362 {
19363 if (temp3)
19364 delete arg3;
19365 }
19366 return resultobj;
19367 fail:
19368 {
19369 if (temp3)
19370 delete arg3;
19371 }
19372 return NULL;
19373 }
19374
19375
19376 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19377 PyObject *resultobj = 0;
19378 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19379 size_t arg2 ;
19380 wxString result;
19381 void *argp1 = 0 ;
19382 int res1 = 0 ;
19383 size_t val2 ;
19384 int ecode2 = 0 ;
19385 PyObject * obj0 = 0 ;
19386 PyObject * obj1 = 0 ;
19387 char * kwnames[] = {
19388 (char *) "self",(char *) "n", NULL
19389 };
19390
19391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19393 if (!SWIG_IsOK(res1)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19395 }
19396 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19397 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19398 if (!SWIG_IsOK(ecode2)) {
19399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19400 }
19401 arg2 = static_cast< size_t >(val2);
19402 {
19403 PyThreadState* __tstate = wxPyBeginAllowThreads();
19404 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19405 wxPyEndAllowThreads(__tstate);
19406 if (PyErr_Occurred()) SWIG_fail;
19407 }
19408 {
19409 #if wxUSE_UNICODE
19410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19411 #else
19412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19413 #endif
19414 }
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj = 0;
19423 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19424 wxImageList *arg2 = (wxImageList *) 0 ;
19425 void *argp1 = 0 ;
19426 int res1 = 0 ;
19427 void *argp2 = 0 ;
19428 int res2 = 0 ;
19429 PyObject * obj0 = 0 ;
19430 PyObject * obj1 = 0 ;
19431 char * kwnames[] = {
19432 (char *) "self",(char *) "imageList", NULL
19433 };
19434
19435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19437 if (!SWIG_IsOK(res1)) {
19438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19439 }
19440 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19441 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19442 if (!SWIG_IsOK(res2)) {
19443 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19444 }
19445 arg2 = reinterpret_cast< wxImageList * >(argp2);
19446 {
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 (arg1)->SetImageList(arg2);
19449 wxPyEndAllowThreads(__tstate);
19450 if (PyErr_Occurred()) SWIG_fail;
19451 }
19452 resultobj = SWIG_Py_Void();
19453 return resultobj;
19454 fail:
19455 return NULL;
19456 }
19457
19458
19459 SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19460 PyObject *resultobj = 0;
19461 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19462 wxImageList *arg2 = (wxImageList *) 0 ;
19463 void *argp1 = 0 ;
19464 int res1 = 0 ;
19465 int res2 = 0 ;
19466 PyObject * obj0 = 0 ;
19467 PyObject * obj1 = 0 ;
19468 char * kwnames[] = {
19469 (char *) "self",(char *) "imageList", NULL
19470 };
19471
19472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19474 if (!SWIG_IsOK(res1)) {
19475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19476 }
19477 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19478 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19479 if (!SWIG_IsOK(res2)) {
19480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19481 }
19482 {
19483 PyThreadState* __tstate = wxPyBeginAllowThreads();
19484 (arg1)->AssignImageList(arg2);
19485 wxPyEndAllowThreads(__tstate);
19486 if (PyErr_Occurred()) SWIG_fail;
19487 }
19488 resultobj = SWIG_Py_Void();
19489 return resultobj;
19490 fail:
19491 return NULL;
19492 }
19493
19494
19495 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19496 PyObject *resultobj = 0;
19497 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19498 wxImageList *result = 0 ;
19499 void *argp1 = 0 ;
19500 int res1 = 0 ;
19501 PyObject *swig_obj[1] ;
19502
19503 if (!args) SWIG_fail;
19504 swig_obj[0] = args;
19505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19506 if (!SWIG_IsOK(res1)) {
19507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19508 }
19509 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19510 {
19511 PyThreadState* __tstate = wxPyBeginAllowThreads();
19512 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
19516 {
19517 resultobj = wxPyMake_wxObject(result, (bool)0);
19518 }
19519 return resultobj;
19520 fail:
19521 return NULL;
19522 }
19523
19524
19525 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj = 0;
19527 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19528 size_t arg2 ;
19529 int result;
19530 void *argp1 = 0 ;
19531 int res1 = 0 ;
19532 size_t val2 ;
19533 int ecode2 = 0 ;
19534 PyObject * obj0 = 0 ;
19535 PyObject * obj1 = 0 ;
19536 char * kwnames[] = {
19537 (char *) "self",(char *) "n", NULL
19538 };
19539
19540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19542 if (!SWIG_IsOK(res1)) {
19543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19544 }
19545 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19546 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19547 if (!SWIG_IsOK(ecode2)) {
19548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19549 }
19550 arg2 = static_cast< size_t >(val2);
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19554 wxPyEndAllowThreads(__tstate);
19555 if (PyErr_Occurred()) SWIG_fail;
19556 }
19557 resultobj = SWIG_From_int(static_cast< int >(result));
19558 return resultobj;
19559 fail:
19560 return NULL;
19561 }
19562
19563
19564 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19565 PyObject *resultobj = 0;
19566 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19567 size_t arg2 ;
19568 int arg3 ;
19569 bool result;
19570 void *argp1 = 0 ;
19571 int res1 = 0 ;
19572 size_t val2 ;
19573 int ecode2 = 0 ;
19574 int val3 ;
19575 int ecode3 = 0 ;
19576 PyObject * obj0 = 0 ;
19577 PyObject * obj1 = 0 ;
19578 PyObject * obj2 = 0 ;
19579 char * kwnames[] = {
19580 (char *) "self",(char *) "n",(char *) "imageId", NULL
19581 };
19582
19583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19585 if (!SWIG_IsOK(res1)) {
19586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19587 }
19588 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19589 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19590 if (!SWIG_IsOK(ecode2)) {
19591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19592 }
19593 arg2 = static_cast< size_t >(val2);
19594 ecode3 = SWIG_AsVal_int(obj2, &val3);
19595 if (!SWIG_IsOK(ecode3)) {
19596 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19597 }
19598 arg3 = static_cast< int >(val3);
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19602 wxPyEndAllowThreads(__tstate);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 }
19605 {
19606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19607 }
19608 return resultobj;
19609 fail:
19610 return NULL;
19611 }
19612
19613
19614 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19615 PyObject *resultobj = 0;
19616 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19617 wxSize *arg2 = 0 ;
19618 void *argp1 = 0 ;
19619 int res1 = 0 ;
19620 wxSize temp2 ;
19621 PyObject * obj0 = 0 ;
19622 PyObject * obj1 = 0 ;
19623 char * kwnames[] = {
19624 (char *) "self",(char *) "size", NULL
19625 };
19626
19627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19629 if (!SWIG_IsOK(res1)) {
19630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19631 }
19632 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19633 {
19634 arg2 = &temp2;
19635 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19636 }
19637 {
19638 PyThreadState* __tstate = wxPyBeginAllowThreads();
19639 (arg1)->SetPageSize((wxSize const &)*arg2);
19640 wxPyEndAllowThreads(__tstate);
19641 if (PyErr_Occurred()) SWIG_fail;
19642 }
19643 resultobj = SWIG_Py_Void();
19644 return resultobj;
19645 fail:
19646 return NULL;
19647 }
19648
19649
19650 SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj = 0;
19652 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19653 wxSize *arg2 = 0 ;
19654 wxSize result;
19655 void *argp1 = 0 ;
19656 int res1 = 0 ;
19657 wxSize temp2 ;
19658 PyObject * obj0 = 0 ;
19659 PyObject * obj1 = 0 ;
19660 char * kwnames[] = {
19661 (char *) "self",(char *) "sizePage", NULL
19662 };
19663
19664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19666 if (!SWIG_IsOK(res1)) {
19667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19668 }
19669 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19670 {
19671 arg2 = &temp2;
19672 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19673 }
19674 {
19675 PyThreadState* __tstate = wxPyBeginAllowThreads();
19676 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19677 wxPyEndAllowThreads(__tstate);
19678 if (PyErr_Occurred()) SWIG_fail;
19679 }
19680 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19681 return resultobj;
19682 fail:
19683 return NULL;
19684 }
19685
19686
19687 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19688 PyObject *resultobj = 0;
19689 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19690 unsigned int result;
19691 void *argp1 = 0 ;
19692 int res1 = 0 ;
19693 PyObject *swig_obj[1] ;
19694
19695 if (!args) SWIG_fail;
19696 swig_obj[0] = args;
19697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19698 if (!SWIG_IsOK(res1)) {
19699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19700 }
19701 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19702 {
19703 PyThreadState* __tstate = wxPyBeginAllowThreads();
19704 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
19709 return resultobj;
19710 fail:
19711 return NULL;
19712 }
19713
19714
19715 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19716 PyObject *resultobj = 0;
19717 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19718 unsigned int arg2 ;
19719 void *argp1 = 0 ;
19720 int res1 = 0 ;
19721 unsigned int val2 ;
19722 int ecode2 = 0 ;
19723 PyObject * obj0 = 0 ;
19724 PyObject * obj1 = 0 ;
19725 char * kwnames[] = {
19726 (char *) "self",(char *) "internalBorder", NULL
19727 };
19728
19729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19731 if (!SWIG_IsOK(res1)) {
19732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19733 }
19734 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19735 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
19736 if (!SWIG_IsOK(ecode2)) {
19737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19738 }
19739 arg2 = static_cast< unsigned int >(val2);
19740 {
19741 PyThreadState* __tstate = wxPyBeginAllowThreads();
19742 (arg1)->SetInternalBorder(arg2);
19743 wxPyEndAllowThreads(__tstate);
19744 if (PyErr_Occurred()) SWIG_fail;
19745 }
19746 resultobj = SWIG_Py_Void();
19747 return resultobj;
19748 fail:
19749 return NULL;
19750 }
19751
19752
19753 SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19754 PyObject *resultobj = 0;
19755 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19756 bool result;
19757 void *argp1 = 0 ;
19758 int res1 = 0 ;
19759 PyObject *swig_obj[1] ;
19760
19761 if (!args) SWIG_fail;
19762 swig_obj[0] = args;
19763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19764 if (!SWIG_IsOK(res1)) {
19765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19766 }
19767 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19768 {
19769 PyThreadState* __tstate = wxPyBeginAllowThreads();
19770 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19771 wxPyEndAllowThreads(__tstate);
19772 if (PyErr_Occurred()) SWIG_fail;
19773 }
19774 {
19775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19776 }
19777 return resultobj;
19778 fail:
19779 return NULL;
19780 }
19781
19782
19783 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19784 PyObject *resultobj = 0;
19785 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19786 int arg2 ;
19787 void *argp1 = 0 ;
19788 int res1 = 0 ;
19789 int val2 ;
19790 int ecode2 = 0 ;
19791 PyObject * obj0 = 0 ;
19792 PyObject * obj1 = 0 ;
19793 char * kwnames[] = {
19794 (char *) "self",(char *) "margin", NULL
19795 };
19796
19797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19799 if (!SWIG_IsOK(res1)) {
19800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19801 }
19802 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19803 ecode2 = SWIG_AsVal_int(obj1, &val2);
19804 if (!SWIG_IsOK(ecode2)) {
19805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19806 }
19807 arg2 = static_cast< int >(val2);
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 (arg1)->SetControlMargin(arg2);
19811 wxPyEndAllowThreads(__tstate);
19812 if (PyErr_Occurred()) SWIG_fail;
19813 }
19814 resultobj = SWIG_Py_Void();
19815 return resultobj;
19816 fail:
19817 return NULL;
19818 }
19819
19820
19821 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19822 PyObject *resultobj = 0;
19823 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19824 int result;
19825 void *argp1 = 0 ;
19826 int res1 = 0 ;
19827 PyObject *swig_obj[1] ;
19828
19829 if (!args) SWIG_fail;
19830 swig_obj[0] = args;
19831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19832 if (!SWIG_IsOK(res1)) {
19833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19834 }
19835 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19836 {
19837 PyThreadState* __tstate = wxPyBeginAllowThreads();
19838 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 resultobj = SWIG_From_int(static_cast< int >(result));
19843 return resultobj;
19844 fail:
19845 return NULL;
19846 }
19847
19848
19849 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19850 PyObject *resultobj = 0;
19851 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19852 bool arg2 ;
19853 void *argp1 = 0 ;
19854 int res1 = 0 ;
19855 bool val2 ;
19856 int ecode2 = 0 ;
19857 PyObject * obj0 = 0 ;
19858 PyObject * obj1 = 0 ;
19859 char * kwnames[] = {
19860 (char *) "self",(char *) "fit", NULL
19861 };
19862
19863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19865 if (!SWIG_IsOK(res1)) {
19866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19867 }
19868 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19869 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19870 if (!SWIG_IsOK(ecode2)) {
19871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19872 }
19873 arg2 = static_cast< bool >(val2);
19874 {
19875 PyThreadState* __tstate = wxPyBeginAllowThreads();
19876 (arg1)->SetFitToCurrentPage(arg2);
19877 wxPyEndAllowThreads(__tstate);
19878 if (PyErr_Occurred()) SWIG_fail;
19879 }
19880 resultobj = SWIG_Py_Void();
19881 return resultobj;
19882 fail:
19883 return NULL;
19884 }
19885
19886
19887 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19888 PyObject *resultobj = 0;
19889 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19890 bool result;
19891 void *argp1 = 0 ;
19892 int res1 = 0 ;
19893 PyObject *swig_obj[1] ;
19894
19895 if (!args) SWIG_fail;
19896 swig_obj[0] = args;
19897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19898 if (!SWIG_IsOK(res1)) {
19899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19900 }
19901 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19902 {
19903 PyThreadState* __tstate = wxPyBeginAllowThreads();
19904 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
19908 {
19909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19910 }
19911 return resultobj;
19912 fail:
19913 return NULL;
19914 }
19915
19916
19917 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19918 PyObject *resultobj = 0;
19919 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19920 wxSizer *result = 0 ;
19921 void *argp1 = 0 ;
19922 int res1 = 0 ;
19923 PyObject *swig_obj[1] ;
19924
19925 if (!args) SWIG_fail;
19926 swig_obj[0] = args;
19927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19928 if (!SWIG_IsOK(res1)) {
19929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19930 }
19931 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 {
19939 resultobj = wxPyMake_wxObject(result, (bool)0);
19940 }
19941 return resultobj;
19942 fail:
19943 return NULL;
19944 }
19945
19946
19947 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19948 PyObject *resultobj = 0;
19949 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19950 size_t arg2 ;
19951 bool result;
19952 void *argp1 = 0 ;
19953 int res1 = 0 ;
19954 size_t val2 ;
19955 int ecode2 = 0 ;
19956 PyObject * obj0 = 0 ;
19957 PyObject * obj1 = 0 ;
19958 char * kwnames[] = {
19959 (char *) "self",(char *) "n", NULL
19960 };
19961
19962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
19963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19964 if (!SWIG_IsOK(res1)) {
19965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19966 }
19967 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19968 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19969 if (!SWIG_IsOK(ecode2)) {
19970 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19971 }
19972 arg2 = static_cast< size_t >(val2);
19973 {
19974 PyThreadState* __tstate = wxPyBeginAllowThreads();
19975 result = (bool)(arg1)->DeletePage(arg2);
19976 wxPyEndAllowThreads(__tstate);
19977 if (PyErr_Occurred()) SWIG_fail;
19978 }
19979 {
19980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19981 }
19982 return resultobj;
19983 fail:
19984 return NULL;
19985 }
19986
19987
19988 SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19989 PyObject *resultobj = 0;
19990 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19991 size_t arg2 ;
19992 bool result;
19993 void *argp1 = 0 ;
19994 int res1 = 0 ;
19995 size_t val2 ;
19996 int ecode2 = 0 ;
19997 PyObject * obj0 = 0 ;
19998 PyObject * obj1 = 0 ;
19999 char * kwnames[] = {
20000 (char *) "self",(char *) "n", NULL
20001 };
20002
20003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
20004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20005 if (!SWIG_IsOK(res1)) {
20006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20007 }
20008 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20009 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20010 if (!SWIG_IsOK(ecode2)) {
20011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20012 }
20013 arg2 = static_cast< size_t >(val2);
20014 {
20015 PyThreadState* __tstate = wxPyBeginAllowThreads();
20016 result = (bool)(arg1)->RemovePage(arg2);
20017 wxPyEndAllowThreads(__tstate);
20018 if (PyErr_Occurred()) SWIG_fail;
20019 }
20020 {
20021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20022 }
20023 return resultobj;
20024 fail:
20025 return NULL;
20026 }
20027
20028
20029 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20030 PyObject *resultobj = 0;
20031 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20032 bool result;
20033 void *argp1 = 0 ;
20034 int res1 = 0 ;
20035 PyObject *swig_obj[1] ;
20036
20037 if (!args) SWIG_fail;
20038 swig_obj[0] = args;
20039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20040 if (!SWIG_IsOK(res1)) {
20041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20042 }
20043 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 result = (bool)(arg1)->DeleteAllPages();
20047 wxPyEndAllowThreads(__tstate);
20048 if (PyErr_Occurred()) SWIG_fail;
20049 }
20050 {
20051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20052 }
20053 return resultobj;
20054 fail:
20055 return NULL;
20056 }
20057
20058
20059 SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20060 PyObject *resultobj = 0;
20061 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20062 wxWindow *arg2 = (wxWindow *) 0 ;
20063 wxString *arg3 = 0 ;
20064 bool arg4 = (bool) false ;
20065 int arg5 = (int) -1 ;
20066 bool result;
20067 void *argp1 = 0 ;
20068 int res1 = 0 ;
20069 void *argp2 = 0 ;
20070 int res2 = 0 ;
20071 bool temp3 = false ;
20072 bool val4 ;
20073 int ecode4 = 0 ;
20074 int val5 ;
20075 int ecode5 = 0 ;
20076 PyObject * obj0 = 0 ;
20077 PyObject * obj1 = 0 ;
20078 PyObject * obj2 = 0 ;
20079 PyObject * obj3 = 0 ;
20080 PyObject * obj4 = 0 ;
20081 char * kwnames[] = {
20082 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20083 };
20084
20085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20087 if (!SWIG_IsOK(res1)) {
20088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20089 }
20090 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20091 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20092 if (!SWIG_IsOK(res2)) {
20093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20094 }
20095 arg2 = reinterpret_cast< wxWindow * >(argp2);
20096 {
20097 arg3 = wxString_in_helper(obj2);
20098 if (arg3 == NULL) SWIG_fail;
20099 temp3 = true;
20100 }
20101 if (obj3) {
20102 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20103 if (!SWIG_IsOK(ecode4)) {
20104 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20105 }
20106 arg4 = static_cast< bool >(val4);
20107 }
20108 if (obj4) {
20109 ecode5 = SWIG_AsVal_int(obj4, &val5);
20110 if (!SWIG_IsOK(ecode5)) {
20111 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20112 }
20113 arg5 = static_cast< int >(val5);
20114 }
20115 {
20116 PyThreadState* __tstate = wxPyBeginAllowThreads();
20117 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20118 wxPyEndAllowThreads(__tstate);
20119 if (PyErr_Occurred()) SWIG_fail;
20120 }
20121 {
20122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20123 }
20124 {
20125 if (temp3)
20126 delete arg3;
20127 }
20128 return resultobj;
20129 fail:
20130 {
20131 if (temp3)
20132 delete arg3;
20133 }
20134 return NULL;
20135 }
20136
20137
20138 SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20139 PyObject *resultobj = 0;
20140 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20141 size_t arg2 ;
20142 wxWindow *arg3 = (wxWindow *) 0 ;
20143 wxString *arg4 = 0 ;
20144 bool arg5 = (bool) false ;
20145 int arg6 = (int) -1 ;
20146 bool result;
20147 void *argp1 = 0 ;
20148 int res1 = 0 ;
20149 size_t val2 ;
20150 int ecode2 = 0 ;
20151 void *argp3 = 0 ;
20152 int res3 = 0 ;
20153 bool temp4 = false ;
20154 bool val5 ;
20155 int ecode5 = 0 ;
20156 int val6 ;
20157 int ecode6 = 0 ;
20158 PyObject * obj0 = 0 ;
20159 PyObject * obj1 = 0 ;
20160 PyObject * obj2 = 0 ;
20161 PyObject * obj3 = 0 ;
20162 PyObject * obj4 = 0 ;
20163 PyObject * obj5 = 0 ;
20164 char * kwnames[] = {
20165 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20166 };
20167
20168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20170 if (!SWIG_IsOK(res1)) {
20171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20172 }
20173 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20174 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20175 if (!SWIG_IsOK(ecode2)) {
20176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20177 }
20178 arg2 = static_cast< size_t >(val2);
20179 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20180 if (!SWIG_IsOK(res3)) {
20181 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20182 }
20183 arg3 = reinterpret_cast< wxWindow * >(argp3);
20184 {
20185 arg4 = wxString_in_helper(obj3);
20186 if (arg4 == NULL) SWIG_fail;
20187 temp4 = true;
20188 }
20189 if (obj4) {
20190 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20191 if (!SWIG_IsOK(ecode5)) {
20192 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20193 }
20194 arg5 = static_cast< bool >(val5);
20195 }
20196 if (obj5) {
20197 ecode6 = SWIG_AsVal_int(obj5, &val6);
20198 if (!SWIG_IsOK(ecode6)) {
20199 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20200 }
20201 arg6 = static_cast< int >(val6);
20202 }
20203 {
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20206 wxPyEndAllowThreads(__tstate);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 {
20210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20211 }
20212 {
20213 if (temp4)
20214 delete arg4;
20215 }
20216 return resultobj;
20217 fail:
20218 {
20219 if (temp4)
20220 delete arg4;
20221 }
20222 return NULL;
20223 }
20224
20225
20226 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20227 PyObject *resultobj = 0;
20228 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20229 size_t arg2 ;
20230 int result;
20231 void *argp1 = 0 ;
20232 int res1 = 0 ;
20233 size_t val2 ;
20234 int ecode2 = 0 ;
20235 PyObject * obj0 = 0 ;
20236 PyObject * obj1 = 0 ;
20237 char * kwnames[] = {
20238 (char *) "self",(char *) "n", NULL
20239 };
20240
20241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20243 if (!SWIG_IsOK(res1)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20245 }
20246 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20247 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20248 if (!SWIG_IsOK(ecode2)) {
20249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20250 }
20251 arg2 = static_cast< size_t >(val2);
20252 {
20253 PyThreadState* __tstate = wxPyBeginAllowThreads();
20254 result = (int)(arg1)->SetSelection(arg2);
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 resultobj = SWIG_From_int(static_cast< int >(result));
20259 return resultobj;
20260 fail:
20261 return NULL;
20262 }
20263
20264
20265 SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj = 0;
20267 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20268 size_t arg2 ;
20269 int result;
20270 void *argp1 = 0 ;
20271 int res1 = 0 ;
20272 size_t val2 ;
20273 int ecode2 = 0 ;
20274 PyObject * obj0 = 0 ;
20275 PyObject * obj1 = 0 ;
20276 char * kwnames[] = {
20277 (char *) "self",(char *) "n", NULL
20278 };
20279
20280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20282 if (!SWIG_IsOK(res1)) {
20283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20284 }
20285 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20286 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20287 if (!SWIG_IsOK(ecode2)) {
20288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20289 }
20290 arg2 = static_cast< size_t >(val2);
20291 {
20292 PyThreadState* __tstate = wxPyBeginAllowThreads();
20293 result = (int)(arg1)->ChangeSelection(arg2);
20294 wxPyEndAllowThreads(__tstate);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 }
20297 resultobj = SWIG_From_int(static_cast< int >(result));
20298 return resultobj;
20299 fail:
20300 return NULL;
20301 }
20302
20303
20304 SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20305 PyObject *resultobj = 0;
20306 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20307 bool arg2 = (bool) true ;
20308 void *argp1 = 0 ;
20309 int res1 = 0 ;
20310 bool val2 ;
20311 int ecode2 = 0 ;
20312 PyObject * obj0 = 0 ;
20313 PyObject * obj1 = 0 ;
20314 char * kwnames[] = {
20315 (char *) "self",(char *) "forward", NULL
20316 };
20317
20318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20320 if (!SWIG_IsOK(res1)) {
20321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20322 }
20323 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20324 if (obj1) {
20325 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20326 if (!SWIG_IsOK(ecode2)) {
20327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20328 }
20329 arg2 = static_cast< bool >(val2);
20330 }
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 (arg1)->AdvanceSelection(arg2);
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 resultobj = SWIG_Py_Void();
20338 return resultobj;
20339 fail:
20340 return NULL;
20341 }
20342
20343
20344 SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20345 PyObject *resultobj = 0;
20346 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20347 wxPoint *arg2 = 0 ;
20348 long *arg3 = (long *) 0 ;
20349 int result;
20350 void *argp1 = 0 ;
20351 int res1 = 0 ;
20352 wxPoint temp2 ;
20353 long temp3 ;
20354 int res3 = SWIG_TMPOBJ ;
20355 PyObject * obj0 = 0 ;
20356 PyObject * obj1 = 0 ;
20357 char * kwnames[] = {
20358 (char *) "self",(char *) "pt", NULL
20359 };
20360
20361 arg3 = &temp3;
20362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20364 if (!SWIG_IsOK(res1)) {
20365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20366 }
20367 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20368 {
20369 arg2 = &temp2;
20370 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20371 }
20372 {
20373 PyThreadState* __tstate = wxPyBeginAllowThreads();
20374 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20375 wxPyEndAllowThreads(__tstate);
20376 if (PyErr_Occurred()) SWIG_fail;
20377 }
20378 resultobj = SWIG_From_int(static_cast< int >(result));
20379 if (SWIG_IsTmpObj(res3)) {
20380 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20381 } else {
20382 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20383 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20384 }
20385 return resultobj;
20386 fail:
20387 return NULL;
20388 }
20389
20390
20391 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20392 PyObject *resultobj = 0;
20393 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20394 SwigValueWrapper<wxVisualAttributes > result;
20395 int val1 ;
20396 int ecode1 = 0 ;
20397 PyObject * obj0 = 0 ;
20398 char * kwnames[] = {
20399 (char *) "variant", NULL
20400 };
20401
20402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20403 if (obj0) {
20404 ecode1 = SWIG_AsVal_int(obj0, &val1);
20405 if (!SWIG_IsOK(ecode1)) {
20406 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20407 }
20408 arg1 = static_cast< wxWindowVariant >(val1);
20409 }
20410 {
20411 if (!wxPyCheckForApp()) SWIG_fail;
20412 PyThreadState* __tstate = wxPyBeginAllowThreads();
20413 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20414 wxPyEndAllowThreads(__tstate);
20415 if (PyErr_Occurred()) SWIG_fail;
20416 }
20417 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20418 return resultobj;
20419 fail:
20420 return NULL;
20421 }
20422
20423
20424 SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20425 PyObject *obj;
20426 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20427 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20428 return SWIG_Py_Void();
20429 }
20430
20431 SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20432 PyObject *resultobj = 0;
20433 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20434 int arg2 = (int) 0 ;
20435 int arg3 = (int) -1 ;
20436 int arg4 = (int) -1 ;
20437 wxBookCtrlBaseEvent *result = 0 ;
20438 int val1 ;
20439 int ecode1 = 0 ;
20440 int val2 ;
20441 int ecode2 = 0 ;
20442 int val3 ;
20443 int ecode3 = 0 ;
20444 int val4 ;
20445 int ecode4 = 0 ;
20446 PyObject * obj0 = 0 ;
20447 PyObject * obj1 = 0 ;
20448 PyObject * obj2 = 0 ;
20449 PyObject * obj3 = 0 ;
20450 char * kwnames[] = {
20451 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20452 };
20453
20454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20455 if (obj0) {
20456 ecode1 = SWIG_AsVal_int(obj0, &val1);
20457 if (!SWIG_IsOK(ecode1)) {
20458 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20459 }
20460 arg1 = static_cast< wxEventType >(val1);
20461 }
20462 if (obj1) {
20463 ecode2 = SWIG_AsVal_int(obj1, &val2);
20464 if (!SWIG_IsOK(ecode2)) {
20465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20466 }
20467 arg2 = static_cast< int >(val2);
20468 }
20469 if (obj2) {
20470 ecode3 = SWIG_AsVal_int(obj2, &val3);
20471 if (!SWIG_IsOK(ecode3)) {
20472 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20473 }
20474 arg3 = static_cast< int >(val3);
20475 }
20476 if (obj3) {
20477 ecode4 = SWIG_AsVal_int(obj3, &val4);
20478 if (!SWIG_IsOK(ecode4)) {
20479 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20480 }
20481 arg4 = static_cast< int >(val4);
20482 }
20483 {
20484 PyThreadState* __tstate = wxPyBeginAllowThreads();
20485 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20486 wxPyEndAllowThreads(__tstate);
20487 if (PyErr_Occurred()) SWIG_fail;
20488 }
20489 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20490 return resultobj;
20491 fail:
20492 return NULL;
20493 }
20494
20495
20496 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20497 PyObject *resultobj = 0;
20498 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20499 int result;
20500 void *argp1 = 0 ;
20501 int res1 = 0 ;
20502 PyObject *swig_obj[1] ;
20503
20504 if (!args) SWIG_fail;
20505 swig_obj[0] = args;
20506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20507 if (!SWIG_IsOK(res1)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20509 }
20510 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20511 {
20512 PyThreadState* __tstate = wxPyBeginAllowThreads();
20513 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20514 wxPyEndAllowThreads(__tstate);
20515 if (PyErr_Occurred()) SWIG_fail;
20516 }
20517 resultobj = SWIG_From_int(static_cast< int >(result));
20518 return resultobj;
20519 fail:
20520 return NULL;
20521 }
20522
20523
20524 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20525 PyObject *resultobj = 0;
20526 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20527 int arg2 ;
20528 void *argp1 = 0 ;
20529 int res1 = 0 ;
20530 int val2 ;
20531 int ecode2 = 0 ;
20532 PyObject * obj0 = 0 ;
20533 PyObject * obj1 = 0 ;
20534 char * kwnames[] = {
20535 (char *) "self",(char *) "nSel", NULL
20536 };
20537
20538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20540 if (!SWIG_IsOK(res1)) {
20541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20542 }
20543 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20544 ecode2 = SWIG_AsVal_int(obj1, &val2);
20545 if (!SWIG_IsOK(ecode2)) {
20546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20547 }
20548 arg2 = static_cast< int >(val2);
20549 {
20550 PyThreadState* __tstate = wxPyBeginAllowThreads();
20551 (arg1)->SetSelection(arg2);
20552 wxPyEndAllowThreads(__tstate);
20553 if (PyErr_Occurred()) SWIG_fail;
20554 }
20555 resultobj = SWIG_Py_Void();
20556 return resultobj;
20557 fail:
20558 return NULL;
20559 }
20560
20561
20562 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20563 PyObject *resultobj = 0;
20564 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20565 int result;
20566 void *argp1 = 0 ;
20567 int res1 = 0 ;
20568 PyObject *swig_obj[1] ;
20569
20570 if (!args) SWIG_fail;
20571 swig_obj[0] = args;
20572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20573 if (!SWIG_IsOK(res1)) {
20574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20575 }
20576 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20577 {
20578 PyThreadState* __tstate = wxPyBeginAllowThreads();
20579 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20580 wxPyEndAllowThreads(__tstate);
20581 if (PyErr_Occurred()) SWIG_fail;
20582 }
20583 resultobj = SWIG_From_int(static_cast< int >(result));
20584 return resultobj;
20585 fail:
20586 return NULL;
20587 }
20588
20589
20590 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20591 PyObject *resultobj = 0;
20592 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20593 int arg2 ;
20594 void *argp1 = 0 ;
20595 int res1 = 0 ;
20596 int val2 ;
20597 int ecode2 = 0 ;
20598 PyObject * obj0 = 0 ;
20599 PyObject * obj1 = 0 ;
20600 char * kwnames[] = {
20601 (char *) "self",(char *) "nOldSel", NULL
20602 };
20603
20604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20606 if (!SWIG_IsOK(res1)) {
20607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20608 }
20609 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20610 ecode2 = SWIG_AsVal_int(obj1, &val2);
20611 if (!SWIG_IsOK(ecode2)) {
20612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20613 }
20614 arg2 = static_cast< int >(val2);
20615 {
20616 PyThreadState* __tstate = wxPyBeginAllowThreads();
20617 (arg1)->SetOldSelection(arg2);
20618 wxPyEndAllowThreads(__tstate);
20619 if (PyErr_Occurred()) SWIG_fail;
20620 }
20621 resultobj = SWIG_Py_Void();
20622 return resultobj;
20623 fail:
20624 return NULL;
20625 }
20626
20627
20628 SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20629 PyObject *obj;
20630 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20631 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20632 return SWIG_Py_Void();
20633 }
20634
20635 SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20636 return SWIG_Python_InitShadowInstance(args);
20637 }
20638
20639 SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj = 0;
20641 wxWindow *arg1 = (wxWindow *) 0 ;
20642 int arg2 = (int) -1 ;
20643 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20644 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20645 wxSize const &arg4_defvalue = wxDefaultSize ;
20646 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20647 long arg5 = (long) 0 ;
20648 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20649 wxString *arg6 = (wxString *) &arg6_defvalue ;
20650 wxNotebook *result = 0 ;
20651 void *argp1 = 0 ;
20652 int res1 = 0 ;
20653 int val2 ;
20654 int ecode2 = 0 ;
20655 wxPoint temp3 ;
20656 wxSize temp4 ;
20657 long val5 ;
20658 int ecode5 = 0 ;
20659 bool temp6 = false ;
20660 PyObject * obj0 = 0 ;
20661 PyObject * obj1 = 0 ;
20662 PyObject * obj2 = 0 ;
20663 PyObject * obj3 = 0 ;
20664 PyObject * obj4 = 0 ;
20665 PyObject * obj5 = 0 ;
20666 char * kwnames[] = {
20667 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20668 };
20669
20670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20672 if (!SWIG_IsOK(res1)) {
20673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20674 }
20675 arg1 = reinterpret_cast< wxWindow * >(argp1);
20676 if (obj1) {
20677 ecode2 = SWIG_AsVal_int(obj1, &val2);
20678 if (!SWIG_IsOK(ecode2)) {
20679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20680 }
20681 arg2 = static_cast< int >(val2);
20682 }
20683 if (obj2) {
20684 {
20685 arg3 = &temp3;
20686 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20687 }
20688 }
20689 if (obj3) {
20690 {
20691 arg4 = &temp4;
20692 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20693 }
20694 }
20695 if (obj4) {
20696 ecode5 = SWIG_AsVal_long(obj4, &val5);
20697 if (!SWIG_IsOK(ecode5)) {
20698 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20699 }
20700 arg5 = static_cast< long >(val5);
20701 }
20702 if (obj5) {
20703 {
20704 arg6 = wxString_in_helper(obj5);
20705 if (arg6 == NULL) SWIG_fail;
20706 temp6 = true;
20707 }
20708 }
20709 {
20710 if (!wxPyCheckForApp()) SWIG_fail;
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20713 wxPyEndAllowThreads(__tstate);
20714 if (PyErr_Occurred()) SWIG_fail;
20715 }
20716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20717 {
20718 if (temp6)
20719 delete arg6;
20720 }
20721 return resultobj;
20722 fail:
20723 {
20724 if (temp6)
20725 delete arg6;
20726 }
20727 return NULL;
20728 }
20729
20730
20731 SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20732 PyObject *resultobj = 0;
20733 wxNotebook *result = 0 ;
20734
20735 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20736 {
20737 if (!wxPyCheckForApp()) SWIG_fail;
20738 PyThreadState* __tstate = wxPyBeginAllowThreads();
20739 result = (wxNotebook *)new wxNotebook();
20740 wxPyEndAllowThreads(__tstate);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 }
20743 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20744 return resultobj;
20745 fail:
20746 return NULL;
20747 }
20748
20749
20750 SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20751 PyObject *resultobj = 0;
20752 wxNotebook *arg1 = (wxNotebook *) 0 ;
20753 wxWindow *arg2 = (wxWindow *) 0 ;
20754 int arg3 = (int) -1 ;
20755 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20756 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20757 wxSize const &arg5_defvalue = wxDefaultSize ;
20758 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20759 long arg6 = (long) 0 ;
20760 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20761 wxString *arg7 = (wxString *) &arg7_defvalue ;
20762 bool result;
20763 void *argp1 = 0 ;
20764 int res1 = 0 ;
20765 void *argp2 = 0 ;
20766 int res2 = 0 ;
20767 int val3 ;
20768 int ecode3 = 0 ;
20769 wxPoint temp4 ;
20770 wxSize temp5 ;
20771 long val6 ;
20772 int ecode6 = 0 ;
20773 bool temp7 = false ;
20774 PyObject * obj0 = 0 ;
20775 PyObject * obj1 = 0 ;
20776 PyObject * obj2 = 0 ;
20777 PyObject * obj3 = 0 ;
20778 PyObject * obj4 = 0 ;
20779 PyObject * obj5 = 0 ;
20780 PyObject * obj6 = 0 ;
20781 char * kwnames[] = {
20782 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20783 };
20784
20785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20787 if (!SWIG_IsOK(res1)) {
20788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20789 }
20790 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20791 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20792 if (!SWIG_IsOK(res2)) {
20793 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20794 }
20795 arg2 = reinterpret_cast< wxWindow * >(argp2);
20796 if (obj2) {
20797 ecode3 = SWIG_AsVal_int(obj2, &val3);
20798 if (!SWIG_IsOK(ecode3)) {
20799 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20800 }
20801 arg3 = static_cast< int >(val3);
20802 }
20803 if (obj3) {
20804 {
20805 arg4 = &temp4;
20806 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20807 }
20808 }
20809 if (obj4) {
20810 {
20811 arg5 = &temp5;
20812 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20813 }
20814 }
20815 if (obj5) {
20816 ecode6 = SWIG_AsVal_long(obj5, &val6);
20817 if (!SWIG_IsOK(ecode6)) {
20818 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20819 }
20820 arg6 = static_cast< long >(val6);
20821 }
20822 if (obj6) {
20823 {
20824 arg7 = wxString_in_helper(obj6);
20825 if (arg7 == NULL) SWIG_fail;
20826 temp7 = true;
20827 }
20828 }
20829 {
20830 PyThreadState* __tstate = wxPyBeginAllowThreads();
20831 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20832 wxPyEndAllowThreads(__tstate);
20833 if (PyErr_Occurred()) SWIG_fail;
20834 }
20835 {
20836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20837 }
20838 {
20839 if (temp7)
20840 delete arg7;
20841 }
20842 return resultobj;
20843 fail:
20844 {
20845 if (temp7)
20846 delete arg7;
20847 }
20848 return NULL;
20849 }
20850
20851
20852 SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20853 PyObject *resultobj = 0;
20854 wxNotebook *arg1 = (wxNotebook *) 0 ;
20855 int result;
20856 void *argp1 = 0 ;
20857 int res1 = 0 ;
20858 PyObject *swig_obj[1] ;
20859
20860 if (!args) SWIG_fail;
20861 swig_obj[0] = args;
20862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20863 if (!SWIG_IsOK(res1)) {
20864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20865 }
20866 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20867 {
20868 PyThreadState* __tstate = wxPyBeginAllowThreads();
20869 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
20873 resultobj = SWIG_From_int(static_cast< int >(result));
20874 return resultobj;
20875 fail:
20876 return NULL;
20877 }
20878
20879
20880 SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20881 PyObject *resultobj = 0;
20882 wxNotebook *arg1 = (wxNotebook *) 0 ;
20883 wxSize *arg2 = 0 ;
20884 void *argp1 = 0 ;
20885 int res1 = 0 ;
20886 wxSize temp2 ;
20887 PyObject * obj0 = 0 ;
20888 PyObject * obj1 = 0 ;
20889 char * kwnames[] = {
20890 (char *) "self",(char *) "padding", NULL
20891 };
20892
20893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20895 if (!SWIG_IsOK(res1)) {
20896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20897 }
20898 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20899 {
20900 arg2 = &temp2;
20901 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20902 }
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 (arg1)->SetPadding((wxSize const &)*arg2);
20906 wxPyEndAllowThreads(__tstate);
20907 if (PyErr_Occurred()) SWIG_fail;
20908 }
20909 resultobj = SWIG_Py_Void();
20910 return resultobj;
20911 fail:
20912 return NULL;
20913 }
20914
20915
20916 SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20917 PyObject *resultobj = 0;
20918 wxNotebook *arg1 = (wxNotebook *) 0 ;
20919 wxSize *arg2 = 0 ;
20920 void *argp1 = 0 ;
20921 int res1 = 0 ;
20922 wxSize temp2 ;
20923 PyObject * obj0 = 0 ;
20924 PyObject * obj1 = 0 ;
20925 char * kwnames[] = {
20926 (char *) "self",(char *) "sz", NULL
20927 };
20928
20929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20931 if (!SWIG_IsOK(res1)) {
20932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20933 }
20934 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20935 {
20936 arg2 = &temp2;
20937 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20938 }
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 (arg1)->SetTabSize((wxSize const &)*arg2);
20942 wxPyEndAllowThreads(__tstate);
20943 if (PyErr_Occurred()) SWIG_fail;
20944 }
20945 resultobj = SWIG_Py_Void();
20946 return resultobj;
20947 fail:
20948 return NULL;
20949 }
20950
20951
20952 SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20953 PyObject *resultobj = 0;
20954 wxNotebook *arg1 = (wxNotebook *) 0 ;
20955 wxColour result;
20956 void *argp1 = 0 ;
20957 int res1 = 0 ;
20958 PyObject *swig_obj[1] ;
20959
20960 if (!args) SWIG_fail;
20961 swig_obj[0] = args;
20962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20963 if (!SWIG_IsOK(res1)) {
20964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20965 }
20966 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20967 {
20968 PyThreadState* __tstate = wxPyBeginAllowThreads();
20969 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
20970 wxPyEndAllowThreads(__tstate);
20971 if (PyErr_Occurred()) SWIG_fail;
20972 }
20973 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
20974 return resultobj;
20975 fail:
20976 return NULL;
20977 }
20978
20979
20980 SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20981 PyObject *resultobj = 0;
20982 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20983 SwigValueWrapper<wxVisualAttributes > result;
20984 int val1 ;
20985 int ecode1 = 0 ;
20986 PyObject * obj0 = 0 ;
20987 char * kwnames[] = {
20988 (char *) "variant", NULL
20989 };
20990
20991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20992 if (obj0) {
20993 ecode1 = SWIG_AsVal_int(obj0, &val1);
20994 if (!SWIG_IsOK(ecode1)) {
20995 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20996 }
20997 arg1 = static_cast< wxWindowVariant >(val1);
20998 }
20999 {
21000 if (!wxPyCheckForApp()) SWIG_fail;
21001 PyThreadState* __tstate = wxPyBeginAllowThreads();
21002 result = wxNotebook::GetClassDefaultAttributes(arg1);
21003 wxPyEndAllowThreads(__tstate);
21004 if (PyErr_Occurred()) SWIG_fail;
21005 }
21006 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21007 return resultobj;
21008 fail:
21009 return NULL;
21010 }
21011
21012
21013 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21014 PyObject *resultobj = 0;
21015 wxNotebook *arg1 = (wxNotebook *) 0 ;
21016 int arg2 ;
21017 bool result;
21018 void *argp1 = 0 ;
21019 int res1 = 0 ;
21020 int val2 ;
21021 int ecode2 = 0 ;
21022 PyObject * obj0 = 0 ;
21023 PyObject * obj1 = 0 ;
21024 char * kwnames[] = {
21025 (char *) "self",(char *) "nPage", NULL
21026 };
21027
21028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail;
21029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21030 if (!SWIG_IsOK(res1)) {
21031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21032 }
21033 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21034 ecode2 = SWIG_AsVal_int(obj1, &val2);
21035 if (!SWIG_IsOK(ecode2)) {
21036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21037 }
21038 arg2 = static_cast< int >(val2);
21039 {
21040 PyThreadState* __tstate = wxPyBeginAllowThreads();
21041 result = (bool)(arg1)->SendPageChangingEvent(arg2);
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 {
21046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21047 }
21048 return resultobj;
21049 fail:
21050 return NULL;
21051 }
21052
21053
21054 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21055 PyObject *resultobj = 0;
21056 wxNotebook *arg1 = (wxNotebook *) 0 ;
21057 int arg2 ;
21058 int arg3 = (int) -1 ;
21059 void *argp1 = 0 ;
21060 int res1 = 0 ;
21061 int val2 ;
21062 int ecode2 = 0 ;
21063 int val3 ;
21064 int ecode3 = 0 ;
21065 PyObject * obj0 = 0 ;
21066 PyObject * obj1 = 0 ;
21067 PyObject * obj2 = 0 ;
21068 char * kwnames[] = {
21069 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21070 };
21071
21072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21074 if (!SWIG_IsOK(res1)) {
21075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21076 }
21077 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21078 ecode2 = SWIG_AsVal_int(obj1, &val2);
21079 if (!SWIG_IsOK(ecode2)) {
21080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21081 }
21082 arg2 = static_cast< int >(val2);
21083 if (obj2) {
21084 ecode3 = SWIG_AsVal_int(obj2, &val3);
21085 if (!SWIG_IsOK(ecode3)) {
21086 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21087 }
21088 arg3 = static_cast< int >(val3);
21089 }
21090 {
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
21092 (arg1)->SendPageChangedEvent(arg2,arg3);
21093 wxPyEndAllowThreads(__tstate);
21094 if (PyErr_Occurred()) SWIG_fail;
21095 }
21096 resultobj = SWIG_Py_Void();
21097 return resultobj;
21098 fail:
21099 return NULL;
21100 }
21101
21102
21103 SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21104 PyObject *obj;
21105 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21106 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
21107 return SWIG_Py_Void();
21108 }
21109
21110 SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21111 return SWIG_Python_InitShadowInstance(args);
21112 }
21113
21114 SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21115 PyObject *resultobj = 0;
21116 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21117 int arg2 = (int) 0 ;
21118 int arg3 = (int) -1 ;
21119 int arg4 = (int) -1 ;
21120 wxNotebookEvent *result = 0 ;
21121 int val1 ;
21122 int ecode1 = 0 ;
21123 int val2 ;
21124 int ecode2 = 0 ;
21125 int val3 ;
21126 int ecode3 = 0 ;
21127 int val4 ;
21128 int ecode4 = 0 ;
21129 PyObject * obj0 = 0 ;
21130 PyObject * obj1 = 0 ;
21131 PyObject * obj2 = 0 ;
21132 PyObject * obj3 = 0 ;
21133 char * kwnames[] = {
21134 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21135 };
21136
21137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21138 if (obj0) {
21139 ecode1 = SWIG_AsVal_int(obj0, &val1);
21140 if (!SWIG_IsOK(ecode1)) {
21141 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21142 }
21143 arg1 = static_cast< wxEventType >(val1);
21144 }
21145 if (obj1) {
21146 ecode2 = SWIG_AsVal_int(obj1, &val2);
21147 if (!SWIG_IsOK(ecode2)) {
21148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21149 }
21150 arg2 = static_cast< int >(val2);
21151 }
21152 if (obj2) {
21153 ecode3 = SWIG_AsVal_int(obj2, &val3);
21154 if (!SWIG_IsOK(ecode3)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21156 }
21157 arg3 = static_cast< int >(val3);
21158 }
21159 if (obj3) {
21160 ecode4 = SWIG_AsVal_int(obj3, &val4);
21161 if (!SWIG_IsOK(ecode4)) {
21162 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21163 }
21164 arg4 = static_cast< int >(val4);
21165 }
21166 {
21167 PyThreadState* __tstate = wxPyBeginAllowThreads();
21168 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21169 wxPyEndAllowThreads(__tstate);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 }
21172 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21173 return resultobj;
21174 fail:
21175 return NULL;
21176 }
21177
21178
21179 SWIGINTERN PyObject *NotebookEvent_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_wxNotebookEvent, SWIG_NewClientData(obj));
21183 return SWIG_Py_Void();
21184 }
21185
21186 SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21187 return SWIG_Python_InitShadowInstance(args);
21188 }
21189
21190 SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21191 PyObject *resultobj = 0;
21192 wxWindow *arg1 = (wxWindow *) 0 ;
21193 int arg2 = (int) -1 ;
21194 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21195 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21196 wxSize const &arg4_defvalue = wxDefaultSize ;
21197 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21198 long arg5 = (long) 0 ;
21199 wxString const &arg6_defvalue = wxPyEmptyString ;
21200 wxString *arg6 = (wxString *) &arg6_defvalue ;
21201 wxListbook *result = 0 ;
21202 void *argp1 = 0 ;
21203 int res1 = 0 ;
21204 int val2 ;
21205 int ecode2 = 0 ;
21206 wxPoint temp3 ;
21207 wxSize temp4 ;
21208 long val5 ;
21209 int ecode5 = 0 ;
21210 bool temp6 = false ;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 PyObject * obj2 = 0 ;
21214 PyObject * obj3 = 0 ;
21215 PyObject * obj4 = 0 ;
21216 PyObject * obj5 = 0 ;
21217 char * kwnames[] = {
21218 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21219 };
21220
21221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21223 if (!SWIG_IsOK(res1)) {
21224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21225 }
21226 arg1 = reinterpret_cast< wxWindow * >(argp1);
21227 if (obj1) {
21228 ecode2 = SWIG_AsVal_int(obj1, &val2);
21229 if (!SWIG_IsOK(ecode2)) {
21230 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21231 }
21232 arg2 = static_cast< int >(val2);
21233 }
21234 if (obj2) {
21235 {
21236 arg3 = &temp3;
21237 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21238 }
21239 }
21240 if (obj3) {
21241 {
21242 arg4 = &temp4;
21243 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21244 }
21245 }
21246 if (obj4) {
21247 ecode5 = SWIG_AsVal_long(obj4, &val5);
21248 if (!SWIG_IsOK(ecode5)) {
21249 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21250 }
21251 arg5 = static_cast< long >(val5);
21252 }
21253 if (obj5) {
21254 {
21255 arg6 = wxString_in_helper(obj5);
21256 if (arg6 == NULL) SWIG_fail;
21257 temp6 = true;
21258 }
21259 }
21260 {
21261 if (!wxPyCheckForApp()) SWIG_fail;
21262 PyThreadState* __tstate = wxPyBeginAllowThreads();
21263 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21268 {
21269 if (temp6)
21270 delete arg6;
21271 }
21272 return resultobj;
21273 fail:
21274 {
21275 if (temp6)
21276 delete arg6;
21277 }
21278 return NULL;
21279 }
21280
21281
21282 SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21283 PyObject *resultobj = 0;
21284 wxListbook *result = 0 ;
21285
21286 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21287 {
21288 if (!wxPyCheckForApp()) SWIG_fail;
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 result = (wxListbook *)new wxListbook();
21291 wxPyEndAllowThreads(__tstate);
21292 if (PyErr_Occurred()) SWIG_fail;
21293 }
21294 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21295 return resultobj;
21296 fail:
21297 return NULL;
21298 }
21299
21300
21301 SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21302 PyObject *resultobj = 0;
21303 wxListbook *arg1 = (wxListbook *) 0 ;
21304 wxWindow *arg2 = (wxWindow *) 0 ;
21305 int arg3 = (int) -1 ;
21306 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21307 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21308 wxSize const &arg5_defvalue = wxDefaultSize ;
21309 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21310 long arg6 = (long) 0 ;
21311 wxString const &arg7_defvalue = wxPyEmptyString ;
21312 wxString *arg7 = (wxString *) &arg7_defvalue ;
21313 bool result;
21314 void *argp1 = 0 ;
21315 int res1 = 0 ;
21316 void *argp2 = 0 ;
21317 int res2 = 0 ;
21318 int val3 ;
21319 int ecode3 = 0 ;
21320 wxPoint temp4 ;
21321 wxSize temp5 ;
21322 long val6 ;
21323 int ecode6 = 0 ;
21324 bool temp7 = false ;
21325 PyObject * obj0 = 0 ;
21326 PyObject * obj1 = 0 ;
21327 PyObject * obj2 = 0 ;
21328 PyObject * obj3 = 0 ;
21329 PyObject * obj4 = 0 ;
21330 PyObject * obj5 = 0 ;
21331 PyObject * obj6 = 0 ;
21332 char * kwnames[] = {
21333 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21334 };
21335
21336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21338 if (!SWIG_IsOK(res1)) {
21339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21340 }
21341 arg1 = reinterpret_cast< wxListbook * >(argp1);
21342 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21343 if (!SWIG_IsOK(res2)) {
21344 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21345 }
21346 arg2 = reinterpret_cast< wxWindow * >(argp2);
21347 if (obj2) {
21348 ecode3 = SWIG_AsVal_int(obj2, &val3);
21349 if (!SWIG_IsOK(ecode3)) {
21350 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21351 }
21352 arg3 = static_cast< int >(val3);
21353 }
21354 if (obj3) {
21355 {
21356 arg4 = &temp4;
21357 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21358 }
21359 }
21360 if (obj4) {
21361 {
21362 arg5 = &temp5;
21363 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21364 }
21365 }
21366 if (obj5) {
21367 ecode6 = SWIG_AsVal_long(obj5, &val6);
21368 if (!SWIG_IsOK(ecode6)) {
21369 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21370 }
21371 arg6 = static_cast< long >(val6);
21372 }
21373 if (obj6) {
21374 {
21375 arg7 = wxString_in_helper(obj6);
21376 if (arg7 == NULL) SWIG_fail;
21377 temp7 = true;
21378 }
21379 }
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21383 wxPyEndAllowThreads(__tstate);
21384 if (PyErr_Occurred()) SWIG_fail;
21385 }
21386 {
21387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21388 }
21389 {
21390 if (temp7)
21391 delete arg7;
21392 }
21393 return resultobj;
21394 fail:
21395 {
21396 if (temp7)
21397 delete arg7;
21398 }
21399 return NULL;
21400 }
21401
21402
21403 SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21404 PyObject *resultobj = 0;
21405 wxListbook *arg1 = (wxListbook *) 0 ;
21406 wxListView *result = 0 ;
21407 void *argp1 = 0 ;
21408 int res1 = 0 ;
21409 PyObject *swig_obj[1] ;
21410
21411 if (!args) SWIG_fail;
21412 swig_obj[0] = args;
21413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21414 if (!SWIG_IsOK(res1)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21416 }
21417 arg1 = reinterpret_cast< wxListbook * >(argp1);
21418 {
21419 PyThreadState* __tstate = wxPyBeginAllowThreads();
21420 result = (wxListView *)(arg1)->GetListView();
21421 wxPyEndAllowThreads(__tstate);
21422 if (PyErr_Occurred()) SWIG_fail;
21423 }
21424 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21425 return resultobj;
21426 fail:
21427 return NULL;
21428 }
21429
21430
21431 SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21432 PyObject *obj;
21433 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21434 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21435 return SWIG_Py_Void();
21436 }
21437
21438 SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21439 return SWIG_Python_InitShadowInstance(args);
21440 }
21441
21442 SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21443 PyObject *resultobj = 0;
21444 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21445 int arg2 = (int) 0 ;
21446 int arg3 = (int) -1 ;
21447 int arg4 = (int) -1 ;
21448 wxListbookEvent *result = 0 ;
21449 int val1 ;
21450 int ecode1 = 0 ;
21451 int val2 ;
21452 int ecode2 = 0 ;
21453 int val3 ;
21454 int ecode3 = 0 ;
21455 int val4 ;
21456 int ecode4 = 0 ;
21457 PyObject * obj0 = 0 ;
21458 PyObject * obj1 = 0 ;
21459 PyObject * obj2 = 0 ;
21460 PyObject * obj3 = 0 ;
21461 char * kwnames[] = {
21462 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21463 };
21464
21465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21466 if (obj0) {
21467 ecode1 = SWIG_AsVal_int(obj0, &val1);
21468 if (!SWIG_IsOK(ecode1)) {
21469 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21470 }
21471 arg1 = static_cast< wxEventType >(val1);
21472 }
21473 if (obj1) {
21474 ecode2 = SWIG_AsVal_int(obj1, &val2);
21475 if (!SWIG_IsOK(ecode2)) {
21476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21477 }
21478 arg2 = static_cast< int >(val2);
21479 }
21480 if (obj2) {
21481 ecode3 = SWIG_AsVal_int(obj2, &val3);
21482 if (!SWIG_IsOK(ecode3)) {
21483 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21484 }
21485 arg3 = static_cast< int >(val3);
21486 }
21487 if (obj3) {
21488 ecode4 = SWIG_AsVal_int(obj3, &val4);
21489 if (!SWIG_IsOK(ecode4)) {
21490 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21491 }
21492 arg4 = static_cast< int >(val4);
21493 }
21494 {
21495 PyThreadState* __tstate = wxPyBeginAllowThreads();
21496 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21501 return resultobj;
21502 fail:
21503 return NULL;
21504 }
21505
21506
21507 SWIGINTERN PyObject *ListbookEvent_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_wxListbookEvent, SWIG_NewClientData(obj));
21511 return SWIG_Py_Void();
21512 }
21513
21514 SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21515 return SWIG_Python_InitShadowInstance(args);
21516 }
21517
21518 SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21519 PyObject *resultobj = 0;
21520 wxWindow *arg1 = (wxWindow *) 0 ;
21521 int arg2 ;
21522 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21523 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21524 wxSize const &arg4_defvalue = wxDefaultSize ;
21525 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21526 long arg5 = (long) 0 ;
21527 wxString const &arg6_defvalue = wxPyEmptyString ;
21528 wxString *arg6 = (wxString *) &arg6_defvalue ;
21529 wxChoicebook *result = 0 ;
21530 void *argp1 = 0 ;
21531 int res1 = 0 ;
21532 int val2 ;
21533 int ecode2 = 0 ;
21534 wxPoint temp3 ;
21535 wxSize temp4 ;
21536 long val5 ;
21537 int ecode5 = 0 ;
21538 bool temp6 = false ;
21539 PyObject * obj0 = 0 ;
21540 PyObject * obj1 = 0 ;
21541 PyObject * obj2 = 0 ;
21542 PyObject * obj3 = 0 ;
21543 PyObject * obj4 = 0 ;
21544 PyObject * obj5 = 0 ;
21545 char * kwnames[] = {
21546 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21547 };
21548
21549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21551 if (!SWIG_IsOK(res1)) {
21552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21553 }
21554 arg1 = reinterpret_cast< wxWindow * >(argp1);
21555 ecode2 = SWIG_AsVal_int(obj1, &val2);
21556 if (!SWIG_IsOK(ecode2)) {
21557 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21558 }
21559 arg2 = static_cast< int >(val2);
21560 if (obj2) {
21561 {
21562 arg3 = &temp3;
21563 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21564 }
21565 }
21566 if (obj3) {
21567 {
21568 arg4 = &temp4;
21569 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21570 }
21571 }
21572 if (obj4) {
21573 ecode5 = SWIG_AsVal_long(obj4, &val5);
21574 if (!SWIG_IsOK(ecode5)) {
21575 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21576 }
21577 arg5 = static_cast< long >(val5);
21578 }
21579 if (obj5) {
21580 {
21581 arg6 = wxString_in_helper(obj5);
21582 if (arg6 == NULL) SWIG_fail;
21583 temp6 = true;
21584 }
21585 }
21586 {
21587 if (!wxPyCheckForApp()) SWIG_fail;
21588 PyThreadState* __tstate = wxPyBeginAllowThreads();
21589 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21590 wxPyEndAllowThreads(__tstate);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 }
21593 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21594 {
21595 if (temp6)
21596 delete arg6;
21597 }
21598 return resultobj;
21599 fail:
21600 {
21601 if (temp6)
21602 delete arg6;
21603 }
21604 return NULL;
21605 }
21606
21607
21608 SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21609 PyObject *resultobj = 0;
21610 wxChoicebook *result = 0 ;
21611
21612 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21613 {
21614 if (!wxPyCheckForApp()) SWIG_fail;
21615 PyThreadState* __tstate = wxPyBeginAllowThreads();
21616 result = (wxChoicebook *)new wxChoicebook();
21617 wxPyEndAllowThreads(__tstate);
21618 if (PyErr_Occurred()) SWIG_fail;
21619 }
21620 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21621 return resultobj;
21622 fail:
21623 return NULL;
21624 }
21625
21626
21627 SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21628 PyObject *resultobj = 0;
21629 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21630 wxWindow *arg2 = (wxWindow *) 0 ;
21631 int arg3 ;
21632 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21633 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21634 wxSize const &arg5_defvalue = wxDefaultSize ;
21635 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21636 long arg6 = (long) 0 ;
21637 wxString const &arg7_defvalue = wxPyEmptyString ;
21638 wxString *arg7 = (wxString *) &arg7_defvalue ;
21639 bool result;
21640 void *argp1 = 0 ;
21641 int res1 = 0 ;
21642 void *argp2 = 0 ;
21643 int res2 = 0 ;
21644 int val3 ;
21645 int ecode3 = 0 ;
21646 wxPoint temp4 ;
21647 wxSize temp5 ;
21648 long val6 ;
21649 int ecode6 = 0 ;
21650 bool temp7 = false ;
21651 PyObject * obj0 = 0 ;
21652 PyObject * obj1 = 0 ;
21653 PyObject * obj2 = 0 ;
21654 PyObject * obj3 = 0 ;
21655 PyObject * obj4 = 0 ;
21656 PyObject * obj5 = 0 ;
21657 PyObject * obj6 = 0 ;
21658 char * kwnames[] = {
21659 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21660 };
21661
21662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21664 if (!SWIG_IsOK(res1)) {
21665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21666 }
21667 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21668 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21669 if (!SWIG_IsOK(res2)) {
21670 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21671 }
21672 arg2 = reinterpret_cast< wxWindow * >(argp2);
21673 ecode3 = SWIG_AsVal_int(obj2, &val3);
21674 if (!SWIG_IsOK(ecode3)) {
21675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21676 }
21677 arg3 = static_cast< int >(val3);
21678 if (obj3) {
21679 {
21680 arg4 = &temp4;
21681 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21682 }
21683 }
21684 if (obj4) {
21685 {
21686 arg5 = &temp5;
21687 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21688 }
21689 }
21690 if (obj5) {
21691 ecode6 = SWIG_AsVal_long(obj5, &val6);
21692 if (!SWIG_IsOK(ecode6)) {
21693 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21694 }
21695 arg6 = static_cast< long >(val6);
21696 }
21697 if (obj6) {
21698 {
21699 arg7 = wxString_in_helper(obj6);
21700 if (arg7 == NULL) SWIG_fail;
21701 temp7 = true;
21702 }
21703 }
21704 {
21705 PyThreadState* __tstate = wxPyBeginAllowThreads();
21706 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21707 wxPyEndAllowThreads(__tstate);
21708 if (PyErr_Occurred()) SWIG_fail;
21709 }
21710 {
21711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21712 }
21713 {
21714 if (temp7)
21715 delete arg7;
21716 }
21717 return resultobj;
21718 fail:
21719 {
21720 if (temp7)
21721 delete arg7;
21722 }
21723 return NULL;
21724 }
21725
21726
21727 SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21728 PyObject *resultobj = 0;
21729 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21730 wxChoice *result = 0 ;
21731 void *argp1 = 0 ;
21732 int res1 = 0 ;
21733 PyObject *swig_obj[1] ;
21734
21735 if (!args) SWIG_fail;
21736 swig_obj[0] = args;
21737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21738 if (!SWIG_IsOK(res1)) {
21739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21740 }
21741 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21742 {
21743 PyThreadState* __tstate = wxPyBeginAllowThreads();
21744 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21745 wxPyEndAllowThreads(__tstate);
21746 if (PyErr_Occurred()) SWIG_fail;
21747 }
21748 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21749 return resultobj;
21750 fail:
21751 return NULL;
21752 }
21753
21754
21755 SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21756 PyObject *obj;
21757 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21758 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21759 return SWIG_Py_Void();
21760 }
21761
21762 SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21763 return SWIG_Python_InitShadowInstance(args);
21764 }
21765
21766 SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21767 PyObject *resultobj = 0;
21768 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21769 int arg2 = (int) 0 ;
21770 int arg3 = (int) -1 ;
21771 int arg4 = (int) -1 ;
21772 wxChoicebookEvent *result = 0 ;
21773 int val1 ;
21774 int ecode1 = 0 ;
21775 int val2 ;
21776 int ecode2 = 0 ;
21777 int val3 ;
21778 int ecode3 = 0 ;
21779 int val4 ;
21780 int ecode4 = 0 ;
21781 PyObject * obj0 = 0 ;
21782 PyObject * obj1 = 0 ;
21783 PyObject * obj2 = 0 ;
21784 PyObject * obj3 = 0 ;
21785 char * kwnames[] = {
21786 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21787 };
21788
21789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21790 if (obj0) {
21791 ecode1 = SWIG_AsVal_int(obj0, &val1);
21792 if (!SWIG_IsOK(ecode1)) {
21793 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21794 }
21795 arg1 = static_cast< wxEventType >(val1);
21796 }
21797 if (obj1) {
21798 ecode2 = SWIG_AsVal_int(obj1, &val2);
21799 if (!SWIG_IsOK(ecode2)) {
21800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21801 }
21802 arg2 = static_cast< int >(val2);
21803 }
21804 if (obj2) {
21805 ecode3 = SWIG_AsVal_int(obj2, &val3);
21806 if (!SWIG_IsOK(ecode3)) {
21807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21808 }
21809 arg3 = static_cast< int >(val3);
21810 }
21811 if (obj3) {
21812 ecode4 = SWIG_AsVal_int(obj3, &val4);
21813 if (!SWIG_IsOK(ecode4)) {
21814 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21815 }
21816 arg4 = static_cast< int >(val4);
21817 }
21818 {
21819 PyThreadState* __tstate = wxPyBeginAllowThreads();
21820 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21821 wxPyEndAllowThreads(__tstate);
21822 if (PyErr_Occurred()) SWIG_fail;
21823 }
21824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21825 return resultobj;
21826 fail:
21827 return NULL;
21828 }
21829
21830
21831 SWIGINTERN PyObject *ChoicebookEvent_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_wxChoicebookEvent, SWIG_NewClientData(obj));
21835 return SWIG_Py_Void();
21836 }
21837
21838 SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21839 return SWIG_Python_InitShadowInstance(args);
21840 }
21841
21842 SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj = 0;
21844 wxWindow *arg1 = (wxWindow *) 0 ;
21845 int arg2 ;
21846 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21847 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21848 wxSize const &arg4_defvalue = wxDefaultSize ;
21849 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21850 long arg5 = (long) wxBK_DEFAULT ;
21851 wxString const &arg6_defvalue = wxPyEmptyString ;
21852 wxString *arg6 = (wxString *) &arg6_defvalue ;
21853 wxTreebook *result = 0 ;
21854 void *argp1 = 0 ;
21855 int res1 = 0 ;
21856 int val2 ;
21857 int ecode2 = 0 ;
21858 wxPoint temp3 ;
21859 wxSize temp4 ;
21860 long val5 ;
21861 int ecode5 = 0 ;
21862 bool temp6 = false ;
21863 PyObject * obj0 = 0 ;
21864 PyObject * obj1 = 0 ;
21865 PyObject * obj2 = 0 ;
21866 PyObject * obj3 = 0 ;
21867 PyObject * obj4 = 0 ;
21868 PyObject * obj5 = 0 ;
21869 char * kwnames[] = {
21870 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21871 };
21872
21873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21875 if (!SWIG_IsOK(res1)) {
21876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21877 }
21878 arg1 = reinterpret_cast< wxWindow * >(argp1);
21879 ecode2 = SWIG_AsVal_int(obj1, &val2);
21880 if (!SWIG_IsOK(ecode2)) {
21881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21882 }
21883 arg2 = static_cast< int >(val2);
21884 if (obj2) {
21885 {
21886 arg3 = &temp3;
21887 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21888 }
21889 }
21890 if (obj3) {
21891 {
21892 arg4 = &temp4;
21893 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21894 }
21895 }
21896 if (obj4) {
21897 ecode5 = SWIG_AsVal_long(obj4, &val5);
21898 if (!SWIG_IsOK(ecode5)) {
21899 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21900 }
21901 arg5 = static_cast< long >(val5);
21902 }
21903 if (obj5) {
21904 {
21905 arg6 = wxString_in_helper(obj5);
21906 if (arg6 == NULL) SWIG_fail;
21907 temp6 = true;
21908 }
21909 }
21910 {
21911 if (!wxPyCheckForApp()) SWIG_fail;
21912 PyThreadState* __tstate = wxPyBeginAllowThreads();
21913 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
21917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21918 {
21919 if (temp6)
21920 delete arg6;
21921 }
21922 return resultobj;
21923 fail:
21924 {
21925 if (temp6)
21926 delete arg6;
21927 }
21928 return NULL;
21929 }
21930
21931
21932 SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21933 PyObject *resultobj = 0;
21934 wxTreebook *result = 0 ;
21935
21936 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21937 {
21938 if (!wxPyCheckForApp()) SWIG_fail;
21939 PyThreadState* __tstate = wxPyBeginAllowThreads();
21940 result = (wxTreebook *)new wxTreebook();
21941 wxPyEndAllowThreads(__tstate);
21942 if (PyErr_Occurred()) SWIG_fail;
21943 }
21944 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
21945 return resultobj;
21946 fail:
21947 return NULL;
21948 }
21949
21950
21951 SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21952 PyObject *resultobj = 0;
21953 wxTreebook *arg1 = (wxTreebook *) 0 ;
21954 wxWindow *arg2 = (wxWindow *) 0 ;
21955 int arg3 ;
21956 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21957 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21958 wxSize const &arg5_defvalue = wxDefaultSize ;
21959 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21960 long arg6 = (long) wxBK_DEFAULT ;
21961 wxString const &arg7_defvalue = wxPyEmptyString ;
21962 wxString *arg7 = (wxString *) &arg7_defvalue ;
21963 bool result;
21964 void *argp1 = 0 ;
21965 int res1 = 0 ;
21966 void *argp2 = 0 ;
21967 int res2 = 0 ;
21968 int val3 ;
21969 int ecode3 = 0 ;
21970 wxPoint temp4 ;
21971 wxSize temp5 ;
21972 long val6 ;
21973 int ecode6 = 0 ;
21974 bool temp7 = false ;
21975 PyObject * obj0 = 0 ;
21976 PyObject * obj1 = 0 ;
21977 PyObject * obj2 = 0 ;
21978 PyObject * obj3 = 0 ;
21979 PyObject * obj4 = 0 ;
21980 PyObject * obj5 = 0 ;
21981 PyObject * obj6 = 0 ;
21982 char * kwnames[] = {
21983 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21984 };
21985
21986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21988 if (!SWIG_IsOK(res1)) {
21989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21990 }
21991 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21992 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21993 if (!SWIG_IsOK(res2)) {
21994 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21995 }
21996 arg2 = reinterpret_cast< wxWindow * >(argp2);
21997 ecode3 = SWIG_AsVal_int(obj2, &val3);
21998 if (!SWIG_IsOK(ecode3)) {
21999 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22000 }
22001 arg3 = static_cast< int >(val3);
22002 if (obj3) {
22003 {
22004 arg4 = &temp4;
22005 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22006 }
22007 }
22008 if (obj4) {
22009 {
22010 arg5 = &temp5;
22011 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22012 }
22013 }
22014 if (obj5) {
22015 ecode6 = SWIG_AsVal_long(obj5, &val6);
22016 if (!SWIG_IsOK(ecode6)) {
22017 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22018 }
22019 arg6 = static_cast< long >(val6);
22020 }
22021 if (obj6) {
22022 {
22023 arg7 = wxString_in_helper(obj6);
22024 if (arg7 == NULL) SWIG_fail;
22025 temp7 = true;
22026 }
22027 }
22028 {
22029 PyThreadState* __tstate = wxPyBeginAllowThreads();
22030 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22031 wxPyEndAllowThreads(__tstate);
22032 if (PyErr_Occurred()) SWIG_fail;
22033 }
22034 {
22035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22036 }
22037 {
22038 if (temp7)
22039 delete arg7;
22040 }
22041 return resultobj;
22042 fail:
22043 {
22044 if (temp7)
22045 delete arg7;
22046 }
22047 return NULL;
22048 }
22049
22050
22051 SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22052 PyObject *resultobj = 0;
22053 wxTreebook *arg1 = (wxTreebook *) 0 ;
22054 size_t arg2 ;
22055 wxWindow *arg3 = (wxWindow *) 0 ;
22056 wxString *arg4 = 0 ;
22057 bool arg5 = (bool) false ;
22058 int arg6 = (int) wxNOT_FOUND ;
22059 bool result;
22060 void *argp1 = 0 ;
22061 int res1 = 0 ;
22062 size_t val2 ;
22063 int ecode2 = 0 ;
22064 void *argp3 = 0 ;
22065 int res3 = 0 ;
22066 bool temp4 = false ;
22067 bool val5 ;
22068 int ecode5 = 0 ;
22069 int val6 ;
22070 int ecode6 = 0 ;
22071 PyObject * obj0 = 0 ;
22072 PyObject * obj1 = 0 ;
22073 PyObject * obj2 = 0 ;
22074 PyObject * obj3 = 0 ;
22075 PyObject * obj4 = 0 ;
22076 PyObject * obj5 = 0 ;
22077 char * kwnames[] = {
22078 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22079 };
22080
22081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22083 if (!SWIG_IsOK(res1)) {
22084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22085 }
22086 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22087 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22088 if (!SWIG_IsOK(ecode2)) {
22089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22090 }
22091 arg2 = static_cast< size_t >(val2);
22092 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
22093 if (!SWIG_IsOK(res3)) {
22094 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22095 }
22096 arg3 = reinterpret_cast< wxWindow * >(argp3);
22097 {
22098 arg4 = wxString_in_helper(obj3);
22099 if (arg4 == NULL) SWIG_fail;
22100 temp4 = true;
22101 }
22102 if (obj4) {
22103 ecode5 = SWIG_AsVal_bool(obj4, &val5);
22104 if (!SWIG_IsOK(ecode5)) {
22105 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22106 }
22107 arg5 = static_cast< bool >(val5);
22108 }
22109 if (obj5) {
22110 ecode6 = SWIG_AsVal_int(obj5, &val6);
22111 if (!SWIG_IsOK(ecode6)) {
22112 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22113 }
22114 arg6 = static_cast< int >(val6);
22115 }
22116 {
22117 PyThreadState* __tstate = wxPyBeginAllowThreads();
22118 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
22119 wxPyEndAllowThreads(__tstate);
22120 if (PyErr_Occurred()) SWIG_fail;
22121 }
22122 {
22123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22124 }
22125 {
22126 if (temp4)
22127 delete arg4;
22128 }
22129 return resultobj;
22130 fail:
22131 {
22132 if (temp4)
22133 delete arg4;
22134 }
22135 return NULL;
22136 }
22137
22138
22139 SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22140 PyObject *resultobj = 0;
22141 wxTreebook *arg1 = (wxTreebook *) 0 ;
22142 wxWindow *arg2 = (wxWindow *) 0 ;
22143 wxString *arg3 = 0 ;
22144 bool arg4 = (bool) false ;
22145 int arg5 = (int) wxNOT_FOUND ;
22146 bool result;
22147 void *argp1 = 0 ;
22148 int res1 = 0 ;
22149 void *argp2 = 0 ;
22150 int res2 = 0 ;
22151 bool temp3 = false ;
22152 bool val4 ;
22153 int ecode4 = 0 ;
22154 int val5 ;
22155 int ecode5 = 0 ;
22156 PyObject * obj0 = 0 ;
22157 PyObject * obj1 = 0 ;
22158 PyObject * obj2 = 0 ;
22159 PyObject * obj3 = 0 ;
22160 PyObject * obj4 = 0 ;
22161 char * kwnames[] = {
22162 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22163 };
22164
22165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22167 if (!SWIG_IsOK(res1)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22169 }
22170 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22171 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22172 if (!SWIG_IsOK(res2)) {
22173 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22174 }
22175 arg2 = reinterpret_cast< wxWindow * >(argp2);
22176 {
22177 arg3 = wxString_in_helper(obj2);
22178 if (arg3 == NULL) SWIG_fail;
22179 temp3 = true;
22180 }
22181 if (obj3) {
22182 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22183 if (!SWIG_IsOK(ecode4)) {
22184 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22185 }
22186 arg4 = static_cast< bool >(val4);
22187 }
22188 if (obj4) {
22189 ecode5 = SWIG_AsVal_int(obj4, &val5);
22190 if (!SWIG_IsOK(ecode5)) {
22191 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22192 }
22193 arg5 = static_cast< int >(val5);
22194 }
22195 {
22196 PyThreadState* __tstate = wxPyBeginAllowThreads();
22197 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22198 wxPyEndAllowThreads(__tstate);
22199 if (PyErr_Occurred()) SWIG_fail;
22200 }
22201 {
22202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22203 }
22204 {
22205 if (temp3)
22206 delete arg3;
22207 }
22208 return resultobj;
22209 fail:
22210 {
22211 if (temp3)
22212 delete arg3;
22213 }
22214 return NULL;
22215 }
22216
22217
22218 SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22219 PyObject *resultobj = 0;
22220 wxTreebook *arg1 = (wxTreebook *) 0 ;
22221 size_t arg2 ;
22222 bool result;
22223 void *argp1 = 0 ;
22224 int res1 = 0 ;
22225 size_t val2 ;
22226 int ecode2 = 0 ;
22227 PyObject * obj0 = 0 ;
22228 PyObject * obj1 = 0 ;
22229 char * kwnames[] = {
22230 (char *) "self",(char *) "pos", NULL
22231 };
22232
22233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22235 if (!SWIG_IsOK(res1)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22237 }
22238 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22239 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22240 if (!SWIG_IsOK(ecode2)) {
22241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22242 }
22243 arg2 = static_cast< size_t >(val2);
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 {
22251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22252 }
22253 return resultobj;
22254 fail:
22255 return NULL;
22256 }
22257
22258
22259 SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22260 PyObject *resultobj = 0;
22261 wxTreebook *arg1 = (wxTreebook *) 0 ;
22262 size_t arg2 ;
22263 bool arg3 = (bool) true ;
22264 bool result;
22265 void *argp1 = 0 ;
22266 int res1 = 0 ;
22267 size_t val2 ;
22268 int ecode2 = 0 ;
22269 bool val3 ;
22270 int ecode3 = 0 ;
22271 PyObject * obj0 = 0 ;
22272 PyObject * obj1 = 0 ;
22273 PyObject * obj2 = 0 ;
22274 char * kwnames[] = {
22275 (char *) "self",(char *) "pos",(char *) "expand", NULL
22276 };
22277
22278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22280 if (!SWIG_IsOK(res1)) {
22281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22282 }
22283 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22284 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22285 if (!SWIG_IsOK(ecode2)) {
22286 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22287 }
22288 arg2 = static_cast< size_t >(val2);
22289 if (obj2) {
22290 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22291 if (!SWIG_IsOK(ecode3)) {
22292 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22293 }
22294 arg3 = static_cast< bool >(val3);
22295 }
22296 {
22297 PyThreadState* __tstate = wxPyBeginAllowThreads();
22298 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22299 wxPyEndAllowThreads(__tstate);
22300 if (PyErr_Occurred()) SWIG_fail;
22301 }
22302 {
22303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22304 }
22305 return resultobj;
22306 fail:
22307 return NULL;
22308 }
22309
22310
22311 SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22312 PyObject *resultobj = 0;
22313 wxTreebook *arg1 = (wxTreebook *) 0 ;
22314 size_t arg2 ;
22315 bool result;
22316 void *argp1 = 0 ;
22317 int res1 = 0 ;
22318 size_t val2 ;
22319 int ecode2 = 0 ;
22320 PyObject * obj0 = 0 ;
22321 PyObject * obj1 = 0 ;
22322 char * kwnames[] = {
22323 (char *) "self",(char *) "pos", NULL
22324 };
22325
22326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22328 if (!SWIG_IsOK(res1)) {
22329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22330 }
22331 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22332 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22333 if (!SWIG_IsOK(ecode2)) {
22334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22335 }
22336 arg2 = static_cast< size_t >(val2);
22337 {
22338 PyThreadState* __tstate = wxPyBeginAllowThreads();
22339 result = (bool)(arg1)->CollapseNode(arg2);
22340 wxPyEndAllowThreads(__tstate);
22341 if (PyErr_Occurred()) SWIG_fail;
22342 }
22343 {
22344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22345 }
22346 return resultobj;
22347 fail:
22348 return NULL;
22349 }
22350
22351
22352 SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22353 PyObject *resultobj = 0;
22354 wxTreebook *arg1 = (wxTreebook *) 0 ;
22355 size_t arg2 ;
22356 int result;
22357 void *argp1 = 0 ;
22358 int res1 = 0 ;
22359 size_t val2 ;
22360 int ecode2 = 0 ;
22361 PyObject * obj0 = 0 ;
22362 PyObject * obj1 = 0 ;
22363 char * kwnames[] = {
22364 (char *) "self",(char *) "pos", NULL
22365 };
22366
22367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22369 if (!SWIG_IsOK(res1)) {
22370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22371 }
22372 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22373 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22374 if (!SWIG_IsOK(ecode2)) {
22375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22376 }
22377 arg2 = static_cast< size_t >(val2);
22378 {
22379 PyThreadState* __tstate = wxPyBeginAllowThreads();
22380 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22381 wxPyEndAllowThreads(__tstate);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 }
22384 resultobj = SWIG_From_int(static_cast< int >(result));
22385 return resultobj;
22386 fail:
22387 return NULL;
22388 }
22389
22390
22391 SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22392 PyObject *resultobj = 0;
22393 wxTreebook *arg1 = (wxTreebook *) 0 ;
22394 wxPyTreeCtrl *result = 0 ;
22395 void *argp1 = 0 ;
22396 int res1 = 0 ;
22397 PyObject *swig_obj[1] ;
22398
22399 if (!args) SWIG_fail;
22400 swig_obj[0] = args;
22401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22402 if (!SWIG_IsOK(res1)) {
22403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22404 }
22405 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
22409 wxPyEndAllowThreads(__tstate);
22410 if (PyErr_Occurred()) SWIG_fail;
22411 }
22412 {
22413 resultobj = wxPyMake_wxObject(result, (bool)0);
22414 }
22415 return resultobj;
22416 fail:
22417 return NULL;
22418 }
22419
22420
22421 SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22422 PyObject *obj;
22423 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22424 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22425 return SWIG_Py_Void();
22426 }
22427
22428 SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22429 return SWIG_Python_InitShadowInstance(args);
22430 }
22431
22432 SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj = 0;
22434 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22435 int arg2 = (int) 0 ;
22436 int arg3 = (int) wxNOT_FOUND ;
22437 int arg4 = (int) wxNOT_FOUND ;
22438 wxTreebookEvent *result = 0 ;
22439 int val1 ;
22440 int ecode1 = 0 ;
22441 int val2 ;
22442 int ecode2 = 0 ;
22443 int val3 ;
22444 int ecode3 = 0 ;
22445 int val4 ;
22446 int ecode4 = 0 ;
22447 PyObject * obj0 = 0 ;
22448 PyObject * obj1 = 0 ;
22449 PyObject * obj2 = 0 ;
22450 PyObject * obj3 = 0 ;
22451 char * kwnames[] = {
22452 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22453 };
22454
22455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22456 if (obj0) {
22457 ecode1 = SWIG_AsVal_int(obj0, &val1);
22458 if (!SWIG_IsOK(ecode1)) {
22459 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22460 }
22461 arg1 = static_cast< wxEventType >(val1);
22462 }
22463 if (obj1) {
22464 ecode2 = SWIG_AsVal_int(obj1, &val2);
22465 if (!SWIG_IsOK(ecode2)) {
22466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22467 }
22468 arg2 = static_cast< int >(val2);
22469 }
22470 if (obj2) {
22471 ecode3 = SWIG_AsVal_int(obj2, &val3);
22472 if (!SWIG_IsOK(ecode3)) {
22473 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22474 }
22475 arg3 = static_cast< int >(val3);
22476 }
22477 if (obj3) {
22478 ecode4 = SWIG_AsVal_int(obj3, &val4);
22479 if (!SWIG_IsOK(ecode4)) {
22480 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22481 }
22482 arg4 = static_cast< int >(val4);
22483 }
22484 {
22485 PyThreadState* __tstate = wxPyBeginAllowThreads();
22486 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22487 wxPyEndAllowThreads(__tstate);
22488 if (PyErr_Occurred()) SWIG_fail;
22489 }
22490 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22491 return resultobj;
22492 fail:
22493 return NULL;
22494 }
22495
22496
22497 SWIGINTERN PyObject *TreebookEvent_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_wxTreebookEvent, SWIG_NewClientData(obj));
22501 return SWIG_Py_Void();
22502 }
22503
22504 SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22505 return SWIG_Python_InitShadowInstance(args);
22506 }
22507
22508 SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22509 PyObject *resultobj = 0;
22510 wxWindow *arg1 = (wxWindow *) 0 ;
22511 int arg2 ;
22512 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22513 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22514 wxSize const &arg4_defvalue = wxDefaultSize ;
22515 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22516 long arg5 = (long) wxBK_DEFAULT ;
22517 wxString const &arg6_defvalue = wxPyEmptyString ;
22518 wxString *arg6 = (wxString *) &arg6_defvalue ;
22519 wxToolbook *result = 0 ;
22520 void *argp1 = 0 ;
22521 int res1 = 0 ;
22522 int val2 ;
22523 int ecode2 = 0 ;
22524 wxPoint temp3 ;
22525 wxSize temp4 ;
22526 long val5 ;
22527 int ecode5 = 0 ;
22528 bool temp6 = false ;
22529 PyObject * obj0 = 0 ;
22530 PyObject * obj1 = 0 ;
22531 PyObject * obj2 = 0 ;
22532 PyObject * obj3 = 0 ;
22533 PyObject * obj4 = 0 ;
22534 PyObject * obj5 = 0 ;
22535 char * kwnames[] = {
22536 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22537 };
22538
22539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22541 if (!SWIG_IsOK(res1)) {
22542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22543 }
22544 arg1 = reinterpret_cast< wxWindow * >(argp1);
22545 ecode2 = SWIG_AsVal_int(obj1, &val2);
22546 if (!SWIG_IsOK(ecode2)) {
22547 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22548 }
22549 arg2 = static_cast< int >(val2);
22550 if (obj2) {
22551 {
22552 arg3 = &temp3;
22553 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22554 }
22555 }
22556 if (obj3) {
22557 {
22558 arg4 = &temp4;
22559 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22560 }
22561 }
22562 if (obj4) {
22563 ecode5 = SWIG_AsVal_long(obj4, &val5);
22564 if (!SWIG_IsOK(ecode5)) {
22565 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22566 }
22567 arg5 = static_cast< long >(val5);
22568 }
22569 if (obj5) {
22570 {
22571 arg6 = wxString_in_helper(obj5);
22572 if (arg6 == NULL) SWIG_fail;
22573 temp6 = true;
22574 }
22575 }
22576 {
22577 PyThreadState* __tstate = wxPyBeginAllowThreads();
22578 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22579 wxPyEndAllowThreads(__tstate);
22580 if (PyErr_Occurred()) SWIG_fail;
22581 }
22582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22583 {
22584 if (temp6)
22585 delete arg6;
22586 }
22587 return resultobj;
22588 fail:
22589 {
22590 if (temp6)
22591 delete arg6;
22592 }
22593 return NULL;
22594 }
22595
22596
22597 SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22598 PyObject *resultobj = 0;
22599 wxToolbook *result = 0 ;
22600
22601 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22602 {
22603 PyThreadState* __tstate = wxPyBeginAllowThreads();
22604 result = (wxToolbook *)new wxToolbook();
22605 wxPyEndAllowThreads(__tstate);
22606 if (PyErr_Occurred()) SWIG_fail;
22607 }
22608 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22609 return resultobj;
22610 fail:
22611 return NULL;
22612 }
22613
22614
22615 SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22616 PyObject *resultobj = 0;
22617 wxToolbook *arg1 = (wxToolbook *) 0 ;
22618 wxWindow *arg2 = (wxWindow *) 0 ;
22619 int arg3 ;
22620 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22621 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22622 wxSize const &arg5_defvalue = wxDefaultSize ;
22623 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22624 long arg6 = (long) 0 ;
22625 wxString const &arg7_defvalue = wxEmptyString ;
22626 wxString *arg7 = (wxString *) &arg7_defvalue ;
22627 bool result;
22628 void *argp1 = 0 ;
22629 int res1 = 0 ;
22630 void *argp2 = 0 ;
22631 int res2 = 0 ;
22632 int val3 ;
22633 int ecode3 = 0 ;
22634 wxPoint temp4 ;
22635 wxSize temp5 ;
22636 long val6 ;
22637 int ecode6 = 0 ;
22638 bool temp7 = false ;
22639 PyObject * obj0 = 0 ;
22640 PyObject * obj1 = 0 ;
22641 PyObject * obj2 = 0 ;
22642 PyObject * obj3 = 0 ;
22643 PyObject * obj4 = 0 ;
22644 PyObject * obj5 = 0 ;
22645 PyObject * obj6 = 0 ;
22646 char * kwnames[] = {
22647 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22648 };
22649
22650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22652 if (!SWIG_IsOK(res1)) {
22653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22654 }
22655 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22656 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22657 if (!SWIG_IsOK(res2)) {
22658 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22659 }
22660 arg2 = reinterpret_cast< wxWindow * >(argp2);
22661 ecode3 = SWIG_AsVal_int(obj2, &val3);
22662 if (!SWIG_IsOK(ecode3)) {
22663 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22664 }
22665 arg3 = static_cast< int >(val3);
22666 if (obj3) {
22667 {
22668 arg4 = &temp4;
22669 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22670 }
22671 }
22672 if (obj4) {
22673 {
22674 arg5 = &temp5;
22675 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22676 }
22677 }
22678 if (obj5) {
22679 ecode6 = SWIG_AsVal_long(obj5, &val6);
22680 if (!SWIG_IsOK(ecode6)) {
22681 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22682 }
22683 arg6 = static_cast< long >(val6);
22684 }
22685 if (obj6) {
22686 {
22687 arg7 = wxString_in_helper(obj6);
22688 if (arg7 == NULL) SWIG_fail;
22689 temp7 = true;
22690 }
22691 }
22692 {
22693 PyThreadState* __tstate = wxPyBeginAllowThreads();
22694 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22695 wxPyEndAllowThreads(__tstate);
22696 if (PyErr_Occurred()) SWIG_fail;
22697 }
22698 {
22699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22700 }
22701 {
22702 if (temp7)
22703 delete arg7;
22704 }
22705 return resultobj;
22706 fail:
22707 {
22708 if (temp7)
22709 delete arg7;
22710 }
22711 return NULL;
22712 }
22713
22714
22715 SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22716 PyObject *resultobj = 0;
22717 wxToolbook *arg1 = (wxToolbook *) 0 ;
22718 wxToolBarBase *result = 0 ;
22719 void *argp1 = 0 ;
22720 int res1 = 0 ;
22721 PyObject *swig_obj[1] ;
22722
22723 if (!args) SWIG_fail;
22724 swig_obj[0] = args;
22725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22726 if (!SWIG_IsOK(res1)) {
22727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22728 }
22729 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22730 {
22731 PyThreadState* __tstate = wxPyBeginAllowThreads();
22732 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22733 wxPyEndAllowThreads(__tstate);
22734 if (PyErr_Occurred()) SWIG_fail;
22735 }
22736 {
22737 resultobj = wxPyMake_wxObject(result, (bool)0);
22738 }
22739 return resultobj;
22740 fail:
22741 return NULL;
22742 }
22743
22744
22745 SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22746 PyObject *resultobj = 0;
22747 wxToolbook *arg1 = (wxToolbook *) 0 ;
22748 void *argp1 = 0 ;
22749 int res1 = 0 ;
22750 PyObject *swig_obj[1] ;
22751
22752 if (!args) SWIG_fail;
22753 swig_obj[0] = args;
22754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22755 if (!SWIG_IsOK(res1)) {
22756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22757 }
22758 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22759 {
22760 PyThreadState* __tstate = wxPyBeginAllowThreads();
22761 (arg1)->Realize();
22762 wxPyEndAllowThreads(__tstate);
22763 if (PyErr_Occurred()) SWIG_fail;
22764 }
22765 resultobj = SWIG_Py_Void();
22766 return resultobj;
22767 fail:
22768 return NULL;
22769 }
22770
22771
22772 SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22773 PyObject *obj;
22774 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22775 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22776 return SWIG_Py_Void();
22777 }
22778
22779 SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22780 return SWIG_Python_InitShadowInstance(args);
22781 }
22782
22783 SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22784 PyObject *resultobj = 0;
22785 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22786 int arg2 = (int) 0 ;
22787 int arg3 = (int) wxNOT_FOUND ;
22788 int arg4 = (int) wxNOT_FOUND ;
22789 wxToolbookEvent *result = 0 ;
22790 int val1 ;
22791 int ecode1 = 0 ;
22792 int val2 ;
22793 int ecode2 = 0 ;
22794 int val3 ;
22795 int ecode3 = 0 ;
22796 int val4 ;
22797 int ecode4 = 0 ;
22798 PyObject * obj0 = 0 ;
22799 PyObject * obj1 = 0 ;
22800 PyObject * obj2 = 0 ;
22801 PyObject * obj3 = 0 ;
22802 char * kwnames[] = {
22803 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22804 };
22805
22806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22807 if (obj0) {
22808 ecode1 = SWIG_AsVal_int(obj0, &val1);
22809 if (!SWIG_IsOK(ecode1)) {
22810 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22811 }
22812 arg1 = static_cast< wxEventType >(val1);
22813 }
22814 if (obj1) {
22815 ecode2 = SWIG_AsVal_int(obj1, &val2);
22816 if (!SWIG_IsOK(ecode2)) {
22817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22818 }
22819 arg2 = static_cast< int >(val2);
22820 }
22821 if (obj2) {
22822 ecode3 = SWIG_AsVal_int(obj2, &val3);
22823 if (!SWIG_IsOK(ecode3)) {
22824 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22825 }
22826 arg3 = static_cast< int >(val3);
22827 }
22828 if (obj3) {
22829 ecode4 = SWIG_AsVal_int(obj3, &val4);
22830 if (!SWIG_IsOK(ecode4)) {
22831 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22832 }
22833 arg4 = static_cast< int >(val4);
22834 }
22835 {
22836 PyThreadState* __tstate = wxPyBeginAllowThreads();
22837 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22838 wxPyEndAllowThreads(__tstate);
22839 if (PyErr_Occurred()) SWIG_fail;
22840 }
22841 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22842 return resultobj;
22843 fail:
22844 return NULL;
22845 }
22846
22847
22848 SWIGINTERN PyObject *ToolbookEvent_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_wxToolbookEvent, SWIG_NewClientData(obj));
22852 return SWIG_Py_Void();
22853 }
22854
22855 SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22856 return SWIG_Python_InitShadowInstance(args);
22857 }
22858
22859 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22860 PyObject *resultobj = 0;
22861 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22862 int result;
22863 void *argp1 = 0 ;
22864 int res1 = 0 ;
22865 PyObject *swig_obj[1] ;
22866
22867 if (!args) SWIG_fail;
22868 swig_obj[0] = args;
22869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22870 if (!SWIG_IsOK(res1)) {
22871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22872 }
22873 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22874 {
22875 PyThreadState* __tstate = wxPyBeginAllowThreads();
22876 result = (int)(arg1)->GetId();
22877 wxPyEndAllowThreads(__tstate);
22878 if (PyErr_Occurred()) SWIG_fail;
22879 }
22880 resultobj = SWIG_From_int(static_cast< int >(result));
22881 return resultobj;
22882 fail:
22883 return NULL;
22884 }
22885
22886
22887 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22888 PyObject *resultobj = 0;
22889 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22890 wxControl *result = 0 ;
22891 void *argp1 = 0 ;
22892 int res1 = 0 ;
22893 PyObject *swig_obj[1] ;
22894
22895 if (!args) SWIG_fail;
22896 swig_obj[0] = args;
22897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22898 if (!SWIG_IsOK(res1)) {
22899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22900 }
22901 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22902 {
22903 PyThreadState* __tstate = wxPyBeginAllowThreads();
22904 result = (wxControl *)(arg1)->GetControl();
22905 wxPyEndAllowThreads(__tstate);
22906 if (PyErr_Occurred()) SWIG_fail;
22907 }
22908 {
22909 resultobj = wxPyMake_wxObject(result, 0);
22910 }
22911 return resultobj;
22912 fail:
22913 return NULL;
22914 }
22915
22916
22917 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22918 PyObject *resultobj = 0;
22919 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22920 wxToolBarBase *result = 0 ;
22921 void *argp1 = 0 ;
22922 int res1 = 0 ;
22923 PyObject *swig_obj[1] ;
22924
22925 if (!args) SWIG_fail;
22926 swig_obj[0] = args;
22927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22928 if (!SWIG_IsOK(res1)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22930 }
22931 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22932 {
22933 PyThreadState* __tstate = wxPyBeginAllowThreads();
22934 result = (wxToolBarBase *)(arg1)->GetToolBar();
22935 wxPyEndAllowThreads(__tstate);
22936 if (PyErr_Occurred()) SWIG_fail;
22937 }
22938 {
22939 resultobj = wxPyMake_wxObject(result, (bool)0);
22940 }
22941 return resultobj;
22942 fail:
22943 return NULL;
22944 }
22945
22946
22947 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22948 PyObject *resultobj = 0;
22949 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22950 int result;
22951 void *argp1 = 0 ;
22952 int res1 = 0 ;
22953 PyObject *swig_obj[1] ;
22954
22955 if (!args) SWIG_fail;
22956 swig_obj[0] = args;
22957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22958 if (!SWIG_IsOK(res1)) {
22959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22960 }
22961 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22962 {
22963 PyThreadState* __tstate = wxPyBeginAllowThreads();
22964 result = (int)(arg1)->IsButton();
22965 wxPyEndAllowThreads(__tstate);
22966 if (PyErr_Occurred()) SWIG_fail;
22967 }
22968 resultobj = SWIG_From_int(static_cast< int >(result));
22969 return resultobj;
22970 fail:
22971 return NULL;
22972 }
22973
22974
22975 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22976 PyObject *resultobj = 0;
22977 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22978 int result;
22979 void *argp1 = 0 ;
22980 int res1 = 0 ;
22981 PyObject *swig_obj[1] ;
22982
22983 if (!args) SWIG_fail;
22984 swig_obj[0] = args;
22985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22986 if (!SWIG_IsOK(res1)) {
22987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22988 }
22989 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22990 {
22991 PyThreadState* __tstate = wxPyBeginAllowThreads();
22992 result = (int)(arg1)->IsControl();
22993 wxPyEndAllowThreads(__tstate);
22994 if (PyErr_Occurred()) SWIG_fail;
22995 }
22996 resultobj = SWIG_From_int(static_cast< int >(result));
22997 return resultobj;
22998 fail:
22999 return NULL;
23000 }
23001
23002
23003 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23004 PyObject *resultobj = 0;
23005 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23006 int result;
23007 void *argp1 = 0 ;
23008 int res1 = 0 ;
23009 PyObject *swig_obj[1] ;
23010
23011 if (!args) SWIG_fail;
23012 swig_obj[0] = args;
23013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23014 if (!SWIG_IsOK(res1)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23016 }
23017 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23018 {
23019 PyThreadState* __tstate = wxPyBeginAllowThreads();
23020 result = (int)(arg1)->IsSeparator();
23021 wxPyEndAllowThreads(__tstate);
23022 if (PyErr_Occurred()) SWIG_fail;
23023 }
23024 resultobj = SWIG_From_int(static_cast< int >(result));
23025 return resultobj;
23026 fail:
23027 return NULL;
23028 }
23029
23030
23031 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23032 PyObject *resultobj = 0;
23033 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23034 int result;
23035 void *argp1 = 0 ;
23036 int res1 = 0 ;
23037 PyObject *swig_obj[1] ;
23038
23039 if (!args) SWIG_fail;
23040 swig_obj[0] = args;
23041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23042 if (!SWIG_IsOK(res1)) {
23043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23044 }
23045 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 result = (int)(arg1)->GetStyle();
23049 wxPyEndAllowThreads(__tstate);
23050 if (PyErr_Occurred()) SWIG_fail;
23051 }
23052 resultobj = SWIG_From_int(static_cast< int >(result));
23053 return resultobj;
23054 fail:
23055 return NULL;
23056 }
23057
23058
23059 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23060 PyObject *resultobj = 0;
23061 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23062 wxItemKind result;
23063 void *argp1 = 0 ;
23064 int res1 = 0 ;
23065 PyObject *swig_obj[1] ;
23066
23067 if (!args) SWIG_fail;
23068 swig_obj[0] = args;
23069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23070 if (!SWIG_IsOK(res1)) {
23071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23072 }
23073 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23074 {
23075 PyThreadState* __tstate = wxPyBeginAllowThreads();
23076 result = (wxItemKind)(arg1)->GetKind();
23077 wxPyEndAllowThreads(__tstate);
23078 if (PyErr_Occurred()) SWIG_fail;
23079 }
23080 resultobj = SWIG_From_int(static_cast< int >(result));
23081 return resultobj;
23082 fail:
23083 return NULL;
23084 }
23085
23086
23087 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23088 PyObject *resultobj = 0;
23089 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23090 bool result;
23091 void *argp1 = 0 ;
23092 int res1 = 0 ;
23093 PyObject *swig_obj[1] ;
23094
23095 if (!args) SWIG_fail;
23096 swig_obj[0] = args;
23097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23098 if (!SWIG_IsOK(res1)) {
23099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23100 }
23101 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23102 {
23103 PyThreadState* __tstate = wxPyBeginAllowThreads();
23104 result = (bool)(arg1)->IsEnabled();
23105 wxPyEndAllowThreads(__tstate);
23106 if (PyErr_Occurred()) SWIG_fail;
23107 }
23108 {
23109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23110 }
23111 return resultobj;
23112 fail:
23113 return NULL;
23114 }
23115
23116
23117 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23118 PyObject *resultobj = 0;
23119 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23120 bool result;
23121 void *argp1 = 0 ;
23122 int res1 = 0 ;
23123 PyObject *swig_obj[1] ;
23124
23125 if (!args) SWIG_fail;
23126 swig_obj[0] = args;
23127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23128 if (!SWIG_IsOK(res1)) {
23129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23130 }
23131 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23132 {
23133 PyThreadState* __tstate = wxPyBeginAllowThreads();
23134 result = (bool)(arg1)->IsToggled();
23135 wxPyEndAllowThreads(__tstate);
23136 if (PyErr_Occurred()) SWIG_fail;
23137 }
23138 {
23139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23140 }
23141 return resultobj;
23142 fail:
23143 return NULL;
23144 }
23145
23146
23147 SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23148 PyObject *resultobj = 0;
23149 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23150 bool result;
23151 void *argp1 = 0 ;
23152 int res1 = 0 ;
23153 PyObject *swig_obj[1] ;
23154
23155 if (!args) SWIG_fail;
23156 swig_obj[0] = args;
23157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23158 if (!SWIG_IsOK(res1)) {
23159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23160 }
23161 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23162 {
23163 PyThreadState* __tstate = wxPyBeginAllowThreads();
23164 result = (bool)(arg1)->CanBeToggled();
23165 wxPyEndAllowThreads(__tstate);
23166 if (PyErr_Occurred()) SWIG_fail;
23167 }
23168 {
23169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23170 }
23171 return resultobj;
23172 fail:
23173 return NULL;
23174 }
23175
23176
23177 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23178 PyObject *resultobj = 0;
23179 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23180 wxBitmap *result = 0 ;
23181 void *argp1 = 0 ;
23182 int res1 = 0 ;
23183 PyObject *swig_obj[1] ;
23184
23185 if (!args) SWIG_fail;
23186 swig_obj[0] = args;
23187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23188 if (!SWIG_IsOK(res1)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23190 }
23191 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23192 {
23193 PyThreadState* __tstate = wxPyBeginAllowThreads();
23194 {
23195 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23196 result = (wxBitmap *) &_result_ref;
23197 }
23198 wxPyEndAllowThreads(__tstate);
23199 if (PyErr_Occurred()) SWIG_fail;
23200 }
23201 {
23202 wxBitmap* resultptr = new wxBitmap(*result);
23203 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23204 }
23205 return resultobj;
23206 fail:
23207 return NULL;
23208 }
23209
23210
23211 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23212 PyObject *resultobj = 0;
23213 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23214 wxBitmap *result = 0 ;
23215 void *argp1 = 0 ;
23216 int res1 = 0 ;
23217 PyObject *swig_obj[1] ;
23218
23219 if (!args) SWIG_fail;
23220 swig_obj[0] = args;
23221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23222 if (!SWIG_IsOK(res1)) {
23223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23224 }
23225 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23226 {
23227 PyThreadState* __tstate = wxPyBeginAllowThreads();
23228 {
23229 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23230 result = (wxBitmap *) &_result_ref;
23231 }
23232 wxPyEndAllowThreads(__tstate);
23233 if (PyErr_Occurred()) SWIG_fail;
23234 }
23235 {
23236 wxBitmap* resultptr = new wxBitmap(*result);
23237 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23238 }
23239 return resultobj;
23240 fail:
23241 return NULL;
23242 }
23243
23244
23245 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23246 PyObject *resultobj = 0;
23247 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23248 wxBitmap result;
23249 void *argp1 = 0 ;
23250 int res1 = 0 ;
23251 PyObject *swig_obj[1] ;
23252
23253 if (!args) SWIG_fail;
23254 swig_obj[0] = args;
23255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23256 if (!SWIG_IsOK(res1)) {
23257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23258 }
23259 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23260 {
23261 PyThreadState* __tstate = wxPyBeginAllowThreads();
23262 result = (arg1)->GetBitmap();
23263 wxPyEndAllowThreads(__tstate);
23264 if (PyErr_Occurred()) SWIG_fail;
23265 }
23266 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23267 return resultobj;
23268 fail:
23269 return NULL;
23270 }
23271
23272
23273 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23274 PyObject *resultobj = 0;
23275 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23276 wxString result;
23277 void *argp1 = 0 ;
23278 int res1 = 0 ;
23279 PyObject *swig_obj[1] ;
23280
23281 if (!args) SWIG_fail;
23282 swig_obj[0] = args;
23283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23284 if (!SWIG_IsOK(res1)) {
23285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23286 }
23287 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23288 {
23289 PyThreadState* __tstate = wxPyBeginAllowThreads();
23290 result = (arg1)->GetLabel();
23291 wxPyEndAllowThreads(__tstate);
23292 if (PyErr_Occurred()) SWIG_fail;
23293 }
23294 {
23295 #if wxUSE_UNICODE
23296 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23297 #else
23298 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23299 #endif
23300 }
23301 return resultobj;
23302 fail:
23303 return NULL;
23304 }
23305
23306
23307 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23308 PyObject *resultobj = 0;
23309 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23310 wxString result;
23311 void *argp1 = 0 ;
23312 int res1 = 0 ;
23313 PyObject *swig_obj[1] ;
23314
23315 if (!args) SWIG_fail;
23316 swig_obj[0] = args;
23317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23318 if (!SWIG_IsOK(res1)) {
23319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23320 }
23321 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23322 {
23323 PyThreadState* __tstate = wxPyBeginAllowThreads();
23324 result = (arg1)->GetShortHelp();
23325 wxPyEndAllowThreads(__tstate);
23326 if (PyErr_Occurred()) SWIG_fail;
23327 }
23328 {
23329 #if wxUSE_UNICODE
23330 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23331 #else
23332 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23333 #endif
23334 }
23335 return resultobj;
23336 fail:
23337 return NULL;
23338 }
23339
23340
23341 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23342 PyObject *resultobj = 0;
23343 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23344 wxString result;
23345 void *argp1 = 0 ;
23346 int res1 = 0 ;
23347 PyObject *swig_obj[1] ;
23348
23349 if (!args) SWIG_fail;
23350 swig_obj[0] = args;
23351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23352 if (!SWIG_IsOK(res1)) {
23353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23354 }
23355 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23356 {
23357 PyThreadState* __tstate = wxPyBeginAllowThreads();
23358 result = (arg1)->GetLongHelp();
23359 wxPyEndAllowThreads(__tstate);
23360 if (PyErr_Occurred()) SWIG_fail;
23361 }
23362 {
23363 #if wxUSE_UNICODE
23364 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23365 #else
23366 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23367 #endif
23368 }
23369 return resultobj;
23370 fail:
23371 return NULL;
23372 }
23373
23374
23375 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23376 PyObject *resultobj = 0;
23377 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23378 bool arg2 ;
23379 bool result;
23380 void *argp1 = 0 ;
23381 int res1 = 0 ;
23382 bool val2 ;
23383 int ecode2 = 0 ;
23384 PyObject * obj0 = 0 ;
23385 PyObject * obj1 = 0 ;
23386 char * kwnames[] = {
23387 (char *) "self",(char *) "enable", NULL
23388 };
23389
23390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23392 if (!SWIG_IsOK(res1)) {
23393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23394 }
23395 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23396 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23397 if (!SWIG_IsOK(ecode2)) {
23398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23399 }
23400 arg2 = static_cast< bool >(val2);
23401 {
23402 PyThreadState* __tstate = wxPyBeginAllowThreads();
23403 result = (bool)(arg1)->Enable(arg2);
23404 wxPyEndAllowThreads(__tstate);
23405 if (PyErr_Occurred()) SWIG_fail;
23406 }
23407 {
23408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23409 }
23410 return resultobj;
23411 fail:
23412 return NULL;
23413 }
23414
23415
23416 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23417 PyObject *resultobj = 0;
23418 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23419 void *argp1 = 0 ;
23420 int res1 = 0 ;
23421 PyObject *swig_obj[1] ;
23422
23423 if (!args) SWIG_fail;
23424 swig_obj[0] = args;
23425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23426 if (!SWIG_IsOK(res1)) {
23427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23428 }
23429 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23430 {
23431 PyThreadState* __tstate = wxPyBeginAllowThreads();
23432 (arg1)->Toggle();
23433 wxPyEndAllowThreads(__tstate);
23434 if (PyErr_Occurred()) SWIG_fail;
23435 }
23436 resultobj = SWIG_Py_Void();
23437 return resultobj;
23438 fail:
23439 return NULL;
23440 }
23441
23442
23443 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23444 PyObject *resultobj = 0;
23445 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23446 bool arg2 ;
23447 bool result;
23448 void *argp1 = 0 ;
23449 int res1 = 0 ;
23450 bool val2 ;
23451 int ecode2 = 0 ;
23452 PyObject * obj0 = 0 ;
23453 PyObject * obj1 = 0 ;
23454 char * kwnames[] = {
23455 (char *) "self",(char *) "toggle", NULL
23456 };
23457
23458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23460 if (!SWIG_IsOK(res1)) {
23461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23462 }
23463 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23464 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23465 if (!SWIG_IsOK(ecode2)) {
23466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23467 }
23468 arg2 = static_cast< bool >(val2);
23469 {
23470 PyThreadState* __tstate = wxPyBeginAllowThreads();
23471 result = (bool)(arg1)->SetToggle(arg2);
23472 wxPyEndAllowThreads(__tstate);
23473 if (PyErr_Occurred()) SWIG_fail;
23474 }
23475 {
23476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23477 }
23478 return resultobj;
23479 fail:
23480 return NULL;
23481 }
23482
23483
23484 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23485 PyObject *resultobj = 0;
23486 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23487 wxString *arg2 = 0 ;
23488 bool result;
23489 void *argp1 = 0 ;
23490 int res1 = 0 ;
23491 bool temp2 = false ;
23492 PyObject * obj0 = 0 ;
23493 PyObject * obj1 = 0 ;
23494 char * kwnames[] = {
23495 (char *) "self",(char *) "help", NULL
23496 };
23497
23498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23500 if (!SWIG_IsOK(res1)) {
23501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23502 }
23503 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23504 {
23505 arg2 = wxString_in_helper(obj1);
23506 if (arg2 == NULL) SWIG_fail;
23507 temp2 = true;
23508 }
23509 {
23510 PyThreadState* __tstate = wxPyBeginAllowThreads();
23511 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23512 wxPyEndAllowThreads(__tstate);
23513 if (PyErr_Occurred()) SWIG_fail;
23514 }
23515 {
23516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23517 }
23518 {
23519 if (temp2)
23520 delete arg2;
23521 }
23522 return resultobj;
23523 fail:
23524 {
23525 if (temp2)
23526 delete arg2;
23527 }
23528 return NULL;
23529 }
23530
23531
23532 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23533 PyObject *resultobj = 0;
23534 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23535 wxString *arg2 = 0 ;
23536 bool result;
23537 void *argp1 = 0 ;
23538 int res1 = 0 ;
23539 bool temp2 = false ;
23540 PyObject * obj0 = 0 ;
23541 PyObject * obj1 = 0 ;
23542 char * kwnames[] = {
23543 (char *) "self",(char *) "help", NULL
23544 };
23545
23546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23548 if (!SWIG_IsOK(res1)) {
23549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23550 }
23551 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23552 {
23553 arg2 = wxString_in_helper(obj1);
23554 if (arg2 == NULL) SWIG_fail;
23555 temp2 = true;
23556 }
23557 {
23558 PyThreadState* __tstate = wxPyBeginAllowThreads();
23559 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23560 wxPyEndAllowThreads(__tstate);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 }
23563 {
23564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23565 }
23566 {
23567 if (temp2)
23568 delete arg2;
23569 }
23570 return resultobj;
23571 fail:
23572 {
23573 if (temp2)
23574 delete arg2;
23575 }
23576 return NULL;
23577 }
23578
23579
23580 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23581 PyObject *resultobj = 0;
23582 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23583 wxBitmap *arg2 = 0 ;
23584 void *argp1 = 0 ;
23585 int res1 = 0 ;
23586 void *argp2 = 0 ;
23587 int res2 = 0 ;
23588 PyObject * obj0 = 0 ;
23589 PyObject * obj1 = 0 ;
23590 char * kwnames[] = {
23591 (char *) "self",(char *) "bmp", NULL
23592 };
23593
23594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23596 if (!SWIG_IsOK(res1)) {
23597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23598 }
23599 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23600 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23601 if (!SWIG_IsOK(res2)) {
23602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23603 }
23604 if (!argp2) {
23605 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23606 }
23607 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23611 wxPyEndAllowThreads(__tstate);
23612 if (PyErr_Occurred()) SWIG_fail;
23613 }
23614 resultobj = SWIG_Py_Void();
23615 return resultobj;
23616 fail:
23617 return NULL;
23618 }
23619
23620
23621 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23622 PyObject *resultobj = 0;
23623 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23624 wxBitmap *arg2 = 0 ;
23625 void *argp1 = 0 ;
23626 int res1 = 0 ;
23627 void *argp2 = 0 ;
23628 int res2 = 0 ;
23629 PyObject * obj0 = 0 ;
23630 PyObject * obj1 = 0 ;
23631 char * kwnames[] = {
23632 (char *) "self",(char *) "bmp", NULL
23633 };
23634
23635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23637 if (!SWIG_IsOK(res1)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23639 }
23640 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23641 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23642 if (!SWIG_IsOK(res2)) {
23643 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23644 }
23645 if (!argp2) {
23646 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23647 }
23648 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23649 {
23650 PyThreadState* __tstate = wxPyBeginAllowThreads();
23651 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23652 wxPyEndAllowThreads(__tstate);
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
23655 resultobj = SWIG_Py_Void();
23656 return resultobj;
23657 fail:
23658 return NULL;
23659 }
23660
23661
23662 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23663 PyObject *resultobj = 0;
23664 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23665 wxString *arg2 = 0 ;
23666 void *argp1 = 0 ;
23667 int res1 = 0 ;
23668 bool temp2 = false ;
23669 PyObject * obj0 = 0 ;
23670 PyObject * obj1 = 0 ;
23671 char * kwnames[] = {
23672 (char *) "self",(char *) "label", NULL
23673 };
23674
23675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23677 if (!SWIG_IsOK(res1)) {
23678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23679 }
23680 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23681 {
23682 arg2 = wxString_in_helper(obj1);
23683 if (arg2 == NULL) SWIG_fail;
23684 temp2 = true;
23685 }
23686 {
23687 PyThreadState* __tstate = wxPyBeginAllowThreads();
23688 (arg1)->SetLabel((wxString const &)*arg2);
23689 wxPyEndAllowThreads(__tstate);
23690 if (PyErr_Occurred()) SWIG_fail;
23691 }
23692 resultobj = SWIG_Py_Void();
23693 {
23694 if (temp2)
23695 delete arg2;
23696 }
23697 return resultobj;
23698 fail:
23699 {
23700 if (temp2)
23701 delete arg2;
23702 }
23703 return NULL;
23704 }
23705
23706
23707 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23708 PyObject *resultobj = 0;
23709 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23710 void *argp1 = 0 ;
23711 int res1 = 0 ;
23712 PyObject *swig_obj[1] ;
23713
23714 if (!args) SWIG_fail;
23715 swig_obj[0] = args;
23716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23717 if (!SWIG_IsOK(res1)) {
23718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23719 }
23720 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23721 {
23722 PyThreadState* __tstate = wxPyBeginAllowThreads();
23723 (arg1)->Detach();
23724 wxPyEndAllowThreads(__tstate);
23725 if (PyErr_Occurred()) SWIG_fail;
23726 }
23727 resultobj = SWIG_Py_Void();
23728 return resultobj;
23729 fail:
23730 return NULL;
23731 }
23732
23733
23734 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23735 PyObject *resultobj = 0;
23736 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23737 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23738 void *argp1 = 0 ;
23739 int res1 = 0 ;
23740 void *argp2 = 0 ;
23741 int res2 = 0 ;
23742 PyObject * obj0 = 0 ;
23743 PyObject * obj1 = 0 ;
23744 char * kwnames[] = {
23745 (char *) "self",(char *) "tbar", NULL
23746 };
23747
23748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23750 if (!SWIG_IsOK(res1)) {
23751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23752 }
23753 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23754 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23755 if (!SWIG_IsOK(res2)) {
23756 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23757 }
23758 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 (arg1)->Attach(arg2);
23762 wxPyEndAllowThreads(__tstate);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 }
23765 resultobj = SWIG_Py_Void();
23766 return resultobj;
23767 fail:
23768 return NULL;
23769 }
23770
23771
23772 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23773 PyObject *resultobj = 0;
23774 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23775 PyObject *result = 0 ;
23776 void *argp1 = 0 ;
23777 int res1 = 0 ;
23778 PyObject *swig_obj[1] ;
23779
23780 if (!args) SWIG_fail;
23781 swig_obj[0] = args;
23782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23783 if (!SWIG_IsOK(res1)) {
23784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23785 }
23786 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23787 {
23788 PyThreadState* __tstate = wxPyBeginAllowThreads();
23789 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23790 wxPyEndAllowThreads(__tstate);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 resultobj = result;
23794 return resultobj;
23795 fail:
23796 return NULL;
23797 }
23798
23799
23800 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23801 PyObject *resultobj = 0;
23802 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23803 PyObject *arg2 = (PyObject *) 0 ;
23804 void *argp1 = 0 ;
23805 int res1 = 0 ;
23806 PyObject * obj0 = 0 ;
23807 PyObject * obj1 = 0 ;
23808 char * kwnames[] = {
23809 (char *) "self",(char *) "clientData", NULL
23810 };
23811
23812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23814 if (!SWIG_IsOK(res1)) {
23815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23816 }
23817 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23818 arg2 = obj1;
23819 {
23820 PyThreadState* __tstate = wxPyBeginAllowThreads();
23821 wxToolBarToolBase_SetClientData(arg1,arg2);
23822 wxPyEndAllowThreads(__tstate);
23823 if (PyErr_Occurred()) SWIG_fail;
23824 }
23825 resultobj = SWIG_Py_Void();
23826 return resultobj;
23827 fail:
23828 return NULL;
23829 }
23830
23831
23832 SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23833 PyObject *obj;
23834 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23835 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23836 return SWIG_Py_Void();
23837 }
23838
23839 SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23840 PyObject *resultobj = 0;
23841 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23842 int arg2 ;
23843 wxString *arg3 = 0 ;
23844 wxBitmap *arg4 = 0 ;
23845 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23846 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23847 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23848 wxString const &arg7_defvalue = wxPyEmptyString ;
23849 wxString *arg7 = (wxString *) &arg7_defvalue ;
23850 wxString const &arg8_defvalue = wxPyEmptyString ;
23851 wxString *arg8 = (wxString *) &arg8_defvalue ;
23852 PyObject *arg9 = (PyObject *) NULL ;
23853 wxToolBarToolBase *result = 0 ;
23854 void *argp1 = 0 ;
23855 int res1 = 0 ;
23856 int val2 ;
23857 int ecode2 = 0 ;
23858 bool temp3 = false ;
23859 void *argp4 = 0 ;
23860 int res4 = 0 ;
23861 void *argp5 = 0 ;
23862 int res5 = 0 ;
23863 int val6 ;
23864 int ecode6 = 0 ;
23865 bool temp7 = false ;
23866 bool temp8 = false ;
23867 PyObject * obj0 = 0 ;
23868 PyObject * obj1 = 0 ;
23869 PyObject * obj2 = 0 ;
23870 PyObject * obj3 = 0 ;
23871 PyObject * obj4 = 0 ;
23872 PyObject * obj5 = 0 ;
23873 PyObject * obj6 = 0 ;
23874 PyObject * obj7 = 0 ;
23875 PyObject * obj8 = 0 ;
23876 char * kwnames[] = {
23877 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23878 };
23879
23880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23882 if (!SWIG_IsOK(res1)) {
23883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23884 }
23885 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23886 ecode2 = SWIG_AsVal_int(obj1, &val2);
23887 if (!SWIG_IsOK(ecode2)) {
23888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23889 }
23890 arg2 = static_cast< int >(val2);
23891 {
23892 arg3 = wxString_in_helper(obj2);
23893 if (arg3 == NULL) SWIG_fail;
23894 temp3 = true;
23895 }
23896 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23897 if (!SWIG_IsOK(res4)) {
23898 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23899 }
23900 if (!argp4) {
23901 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23902 }
23903 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23904 if (obj4) {
23905 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23906 if (!SWIG_IsOK(res5)) {
23907 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23908 }
23909 if (!argp5) {
23910 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23911 }
23912 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23913 }
23914 if (obj5) {
23915 ecode6 = SWIG_AsVal_int(obj5, &val6);
23916 if (!SWIG_IsOK(ecode6)) {
23917 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23918 }
23919 arg6 = static_cast< wxItemKind >(val6);
23920 }
23921 if (obj6) {
23922 {
23923 arg7 = wxString_in_helper(obj6);
23924 if (arg7 == NULL) SWIG_fail;
23925 temp7 = true;
23926 }
23927 }
23928 if (obj7) {
23929 {
23930 arg8 = wxString_in_helper(obj7);
23931 if (arg8 == NULL) SWIG_fail;
23932 temp8 = true;
23933 }
23934 }
23935 if (obj8) {
23936 arg9 = obj8;
23937 }
23938 {
23939 PyThreadState* __tstate = wxPyBeginAllowThreads();
23940 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
23941 wxPyEndAllowThreads(__tstate);
23942 if (PyErr_Occurred()) SWIG_fail;
23943 }
23944 {
23945 resultobj = wxPyMake_wxObject(result, (bool)0);
23946 }
23947 {
23948 if (temp3)
23949 delete arg3;
23950 }
23951 {
23952 if (temp7)
23953 delete arg7;
23954 }
23955 {
23956 if (temp8)
23957 delete arg8;
23958 }
23959 return resultobj;
23960 fail:
23961 {
23962 if (temp3)
23963 delete arg3;
23964 }
23965 {
23966 if (temp7)
23967 delete arg7;
23968 }
23969 {
23970 if (temp8)
23971 delete arg8;
23972 }
23973 return NULL;
23974 }
23975
23976
23977 SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23978 PyObject *resultobj = 0;
23979 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23980 size_t arg2 ;
23981 int arg3 ;
23982 wxString *arg4 = 0 ;
23983 wxBitmap *arg5 = 0 ;
23984 wxBitmap const &arg6_defvalue = wxNullBitmap ;
23985 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
23986 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
23987 wxString const &arg8_defvalue = wxPyEmptyString ;
23988 wxString *arg8 = (wxString *) &arg8_defvalue ;
23989 wxString const &arg9_defvalue = wxPyEmptyString ;
23990 wxString *arg9 = (wxString *) &arg9_defvalue ;
23991 PyObject *arg10 = (PyObject *) NULL ;
23992 wxToolBarToolBase *result = 0 ;
23993 void *argp1 = 0 ;
23994 int res1 = 0 ;
23995 size_t val2 ;
23996 int ecode2 = 0 ;
23997 int val3 ;
23998 int ecode3 = 0 ;
23999 bool temp4 = false ;
24000 void *argp5 = 0 ;
24001 int res5 = 0 ;
24002 void *argp6 = 0 ;
24003 int res6 = 0 ;
24004 int val7 ;
24005 int ecode7 = 0 ;
24006 bool temp8 = false ;
24007 bool temp9 = false ;
24008 PyObject * obj0 = 0 ;
24009 PyObject * obj1 = 0 ;
24010 PyObject * obj2 = 0 ;
24011 PyObject * obj3 = 0 ;
24012 PyObject * obj4 = 0 ;
24013 PyObject * obj5 = 0 ;
24014 PyObject * obj6 = 0 ;
24015 PyObject * obj7 = 0 ;
24016 PyObject * obj8 = 0 ;
24017 PyObject * obj9 = 0 ;
24018 char * kwnames[] = {
24019 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24020 };
24021
24022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
24023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24024 if (!SWIG_IsOK(res1)) {
24025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24026 }
24027 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24028 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24029 if (!SWIG_IsOK(ecode2)) {
24030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24031 }
24032 arg2 = static_cast< size_t >(val2);
24033 ecode3 = SWIG_AsVal_int(obj2, &val3);
24034 if (!SWIG_IsOK(ecode3)) {
24035 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24036 }
24037 arg3 = static_cast< int >(val3);
24038 {
24039 arg4 = wxString_in_helper(obj3);
24040 if (arg4 == NULL) SWIG_fail;
24041 temp4 = true;
24042 }
24043 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
24044 if (!SWIG_IsOK(res5)) {
24045 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24046 }
24047 if (!argp5) {
24048 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24049 }
24050 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24051 if (obj5) {
24052 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
24053 if (!SWIG_IsOK(res6)) {
24054 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24055 }
24056 if (!argp6) {
24057 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24058 }
24059 arg6 = reinterpret_cast< wxBitmap * >(argp6);
24060 }
24061 if (obj6) {
24062 ecode7 = SWIG_AsVal_int(obj6, &val7);
24063 if (!SWIG_IsOK(ecode7)) {
24064 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24065 }
24066 arg7 = static_cast< wxItemKind >(val7);
24067 }
24068 if (obj7) {
24069 {
24070 arg8 = wxString_in_helper(obj7);
24071 if (arg8 == NULL) SWIG_fail;
24072 temp8 = true;
24073 }
24074 }
24075 if (obj8) {
24076 {
24077 arg9 = wxString_in_helper(obj8);
24078 if (arg9 == NULL) SWIG_fail;
24079 temp9 = true;
24080 }
24081 }
24082 if (obj9) {
24083 arg10 = obj9;
24084 }
24085 {
24086 PyThreadState* __tstate = wxPyBeginAllowThreads();
24087 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
24088 wxPyEndAllowThreads(__tstate);
24089 if (PyErr_Occurred()) SWIG_fail;
24090 }
24091 {
24092 resultobj = wxPyMake_wxObject(result, (bool)0);
24093 }
24094 {
24095 if (temp4)
24096 delete arg4;
24097 }
24098 {
24099 if (temp8)
24100 delete arg8;
24101 }
24102 {
24103 if (temp9)
24104 delete arg9;
24105 }
24106 return resultobj;
24107 fail:
24108 {
24109 if (temp4)
24110 delete arg4;
24111 }
24112 {
24113 if (temp8)
24114 delete arg8;
24115 }
24116 {
24117 if (temp9)
24118 delete arg9;
24119 }
24120 return NULL;
24121 }
24122
24123
24124 SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24125 PyObject *resultobj = 0;
24126 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24127 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
24128 wxToolBarToolBase *result = 0 ;
24129 void *argp1 = 0 ;
24130 int res1 = 0 ;
24131 void *argp2 = 0 ;
24132 int res2 = 0 ;
24133 PyObject * obj0 = 0 ;
24134 PyObject * obj1 = 0 ;
24135 char * kwnames[] = {
24136 (char *) "self",(char *) "tool", NULL
24137 };
24138
24139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
24140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24141 if (!SWIG_IsOK(res1)) {
24142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24143 }
24144 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24145 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24146 if (!SWIG_IsOK(res2)) {
24147 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24148 }
24149 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
24150 {
24151 PyThreadState* __tstate = wxPyBeginAllowThreads();
24152 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
24153 wxPyEndAllowThreads(__tstate);
24154 if (PyErr_Occurred()) SWIG_fail;
24155 }
24156 {
24157 resultobj = wxPyMake_wxObject(result, (bool)0);
24158 }
24159 return resultobj;
24160 fail:
24161 return NULL;
24162 }
24163
24164
24165 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24166 PyObject *resultobj = 0;
24167 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24168 size_t arg2 ;
24169 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24170 wxToolBarToolBase *result = 0 ;
24171 void *argp1 = 0 ;
24172 int res1 = 0 ;
24173 size_t val2 ;
24174 int ecode2 = 0 ;
24175 void *argp3 = 0 ;
24176 int res3 = 0 ;
24177 PyObject * obj0 = 0 ;
24178 PyObject * obj1 = 0 ;
24179 PyObject * obj2 = 0 ;
24180 char * kwnames[] = {
24181 (char *) "self",(char *) "pos",(char *) "tool", NULL
24182 };
24183
24184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24186 if (!SWIG_IsOK(res1)) {
24187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24188 }
24189 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24190 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24191 if (!SWIG_IsOK(ecode2)) {
24192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24193 }
24194 arg2 = static_cast< size_t >(val2);
24195 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24196 if (!SWIG_IsOK(res3)) {
24197 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24198 }
24199 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24200 {
24201 PyThreadState* __tstate = wxPyBeginAllowThreads();
24202 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
24203 wxPyEndAllowThreads(__tstate);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 }
24206 {
24207 resultobj = wxPyMake_wxObject(result, (bool)0);
24208 }
24209 return resultobj;
24210 fail:
24211 return NULL;
24212 }
24213
24214
24215 SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj = 0;
24217 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24218 wxControl *arg2 = (wxControl *) 0 ;
24219 wxToolBarToolBase *result = 0 ;
24220 void *argp1 = 0 ;
24221 int res1 = 0 ;
24222 void *argp2 = 0 ;
24223 int res2 = 0 ;
24224 PyObject * obj0 = 0 ;
24225 PyObject * obj1 = 0 ;
24226 char * kwnames[] = {
24227 (char *) "self",(char *) "control", NULL
24228 };
24229
24230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
24231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24232 if (!SWIG_IsOK(res1)) {
24233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24234 }
24235 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24236 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24237 if (!SWIG_IsOK(res2)) {
24238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24239 }
24240 arg2 = reinterpret_cast< wxControl * >(argp2);
24241 {
24242 PyThreadState* __tstate = wxPyBeginAllowThreads();
24243 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
24244 wxPyEndAllowThreads(__tstate);
24245 if (PyErr_Occurred()) SWIG_fail;
24246 }
24247 {
24248 resultobj = wxPyMake_wxObject(result, (bool)0);
24249 }
24250 return resultobj;
24251 fail:
24252 return NULL;
24253 }
24254
24255
24256 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24257 PyObject *resultobj = 0;
24258 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24259 size_t arg2 ;
24260 wxControl *arg3 = (wxControl *) 0 ;
24261 wxToolBarToolBase *result = 0 ;
24262 void *argp1 = 0 ;
24263 int res1 = 0 ;
24264 size_t val2 ;
24265 int ecode2 = 0 ;
24266 void *argp3 = 0 ;
24267 int res3 = 0 ;
24268 PyObject * obj0 = 0 ;
24269 PyObject * obj1 = 0 ;
24270 PyObject * obj2 = 0 ;
24271 char * kwnames[] = {
24272 (char *) "self",(char *) "pos",(char *) "control", NULL
24273 };
24274
24275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24277 if (!SWIG_IsOK(res1)) {
24278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24279 }
24280 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24281 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24282 if (!SWIG_IsOK(ecode2)) {
24283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24284 }
24285 arg2 = static_cast< size_t >(val2);
24286 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24287 if (!SWIG_IsOK(res3)) {
24288 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24289 }
24290 arg3 = reinterpret_cast< wxControl * >(argp3);
24291 {
24292 PyThreadState* __tstate = wxPyBeginAllowThreads();
24293 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
24294 wxPyEndAllowThreads(__tstate);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 }
24297 {
24298 resultobj = wxPyMake_wxObject(result, (bool)0);
24299 }
24300 return resultobj;
24301 fail:
24302 return NULL;
24303 }
24304
24305
24306 SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24307 PyObject *resultobj = 0;
24308 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24309 int arg2 ;
24310 wxControl *result = 0 ;
24311 void *argp1 = 0 ;
24312 int res1 = 0 ;
24313 int val2 ;
24314 int ecode2 = 0 ;
24315 PyObject * obj0 = 0 ;
24316 PyObject * obj1 = 0 ;
24317 char * kwnames[] = {
24318 (char *) "self",(char *) "id", NULL
24319 };
24320
24321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24323 if (!SWIG_IsOK(res1)) {
24324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24325 }
24326 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24327 ecode2 = SWIG_AsVal_int(obj1, &val2);
24328 if (!SWIG_IsOK(ecode2)) {
24329 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24330 }
24331 arg2 = static_cast< int >(val2);
24332 {
24333 PyThreadState* __tstate = wxPyBeginAllowThreads();
24334 result = (wxControl *)(arg1)->FindControl(arg2);
24335 wxPyEndAllowThreads(__tstate);
24336 if (PyErr_Occurred()) SWIG_fail;
24337 }
24338 {
24339 resultobj = wxPyMake_wxObject(result, 0);
24340 }
24341 return resultobj;
24342 fail:
24343 return NULL;
24344 }
24345
24346
24347 SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24348 PyObject *resultobj = 0;
24349 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24350 wxToolBarToolBase *result = 0 ;
24351 void *argp1 = 0 ;
24352 int res1 = 0 ;
24353 PyObject *swig_obj[1] ;
24354
24355 if (!args) SWIG_fail;
24356 swig_obj[0] = args;
24357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24358 if (!SWIG_IsOK(res1)) {
24359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24360 }
24361 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24362 {
24363 PyThreadState* __tstate = wxPyBeginAllowThreads();
24364 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24365 wxPyEndAllowThreads(__tstate);
24366 if (PyErr_Occurred()) SWIG_fail;
24367 }
24368 {
24369 resultobj = wxPyMake_wxObject(result, (bool)0);
24370 }
24371 return resultobj;
24372 fail:
24373 return NULL;
24374 }
24375
24376
24377 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24378 PyObject *resultobj = 0;
24379 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24380 size_t arg2 ;
24381 wxToolBarToolBase *result = 0 ;
24382 void *argp1 = 0 ;
24383 int res1 = 0 ;
24384 size_t val2 ;
24385 int ecode2 = 0 ;
24386 PyObject * obj0 = 0 ;
24387 PyObject * obj1 = 0 ;
24388 char * kwnames[] = {
24389 (char *) "self",(char *) "pos", NULL
24390 };
24391
24392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24394 if (!SWIG_IsOK(res1)) {
24395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24396 }
24397 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24398 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24399 if (!SWIG_IsOK(ecode2)) {
24400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24401 }
24402 arg2 = static_cast< size_t >(val2);
24403 {
24404 PyThreadState* __tstate = wxPyBeginAllowThreads();
24405 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24406 wxPyEndAllowThreads(__tstate);
24407 if (PyErr_Occurred()) SWIG_fail;
24408 }
24409 {
24410 resultobj = wxPyMake_wxObject(result, (bool)0);
24411 }
24412 return resultobj;
24413 fail:
24414 return NULL;
24415 }
24416
24417
24418 SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24419 PyObject *resultobj = 0;
24420 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24421 int arg2 ;
24422 wxToolBarToolBase *result = 0 ;
24423 void *argp1 = 0 ;
24424 int res1 = 0 ;
24425 int val2 ;
24426 int ecode2 = 0 ;
24427 PyObject * obj0 = 0 ;
24428 PyObject * obj1 = 0 ;
24429 char * kwnames[] = {
24430 (char *) "self",(char *) "id", NULL
24431 };
24432
24433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24435 if (!SWIG_IsOK(res1)) {
24436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24437 }
24438 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24439 ecode2 = SWIG_AsVal_int(obj1, &val2);
24440 if (!SWIG_IsOK(ecode2)) {
24441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24442 }
24443 arg2 = static_cast< int >(val2);
24444 {
24445 PyThreadState* __tstate = wxPyBeginAllowThreads();
24446 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24447 wxPyEndAllowThreads(__tstate);
24448 if (PyErr_Occurred()) SWIG_fail;
24449 }
24450 {
24451 resultobj = wxPyMake_wxObject(result, (bool)0);
24452 }
24453 return resultobj;
24454 fail:
24455 return NULL;
24456 }
24457
24458
24459 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24460 PyObject *resultobj = 0;
24461 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24462 size_t arg2 ;
24463 bool result;
24464 void *argp1 = 0 ;
24465 int res1 = 0 ;
24466 size_t val2 ;
24467 int ecode2 = 0 ;
24468 PyObject * obj0 = 0 ;
24469 PyObject * obj1 = 0 ;
24470 char * kwnames[] = {
24471 (char *) "self",(char *) "pos", NULL
24472 };
24473
24474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24476 if (!SWIG_IsOK(res1)) {
24477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24478 }
24479 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24480 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24481 if (!SWIG_IsOK(ecode2)) {
24482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24483 }
24484 arg2 = static_cast< size_t >(val2);
24485 {
24486 PyThreadState* __tstate = wxPyBeginAllowThreads();
24487 result = (bool)(arg1)->DeleteToolByPos(arg2);
24488 wxPyEndAllowThreads(__tstate);
24489 if (PyErr_Occurred()) SWIG_fail;
24490 }
24491 {
24492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24493 }
24494 return resultobj;
24495 fail:
24496 return NULL;
24497 }
24498
24499
24500 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24501 PyObject *resultobj = 0;
24502 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24503 int arg2 ;
24504 bool result;
24505 void *argp1 = 0 ;
24506 int res1 = 0 ;
24507 int val2 ;
24508 int ecode2 = 0 ;
24509 PyObject * obj0 = 0 ;
24510 PyObject * obj1 = 0 ;
24511 char * kwnames[] = {
24512 (char *) "self",(char *) "id", NULL
24513 };
24514
24515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24517 if (!SWIG_IsOK(res1)) {
24518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24519 }
24520 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24521 ecode2 = SWIG_AsVal_int(obj1, &val2);
24522 if (!SWIG_IsOK(ecode2)) {
24523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24524 }
24525 arg2 = static_cast< int >(val2);
24526 {
24527 PyThreadState* __tstate = wxPyBeginAllowThreads();
24528 result = (bool)(arg1)->DeleteTool(arg2);
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 {
24533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24534 }
24535 return resultobj;
24536 fail:
24537 return NULL;
24538 }
24539
24540
24541 SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24542 PyObject *resultobj = 0;
24543 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24544 void *argp1 = 0 ;
24545 int res1 = 0 ;
24546 PyObject *swig_obj[1] ;
24547
24548 if (!args) SWIG_fail;
24549 swig_obj[0] = args;
24550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24551 if (!SWIG_IsOK(res1)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24553 }
24554 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 (arg1)->ClearTools();
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 resultobj = SWIG_Py_Void();
24562 return resultobj;
24563 fail:
24564 return NULL;
24565 }
24566
24567
24568 SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24569 PyObject *resultobj = 0;
24570 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24571 bool result;
24572 void *argp1 = 0 ;
24573 int res1 = 0 ;
24574 PyObject *swig_obj[1] ;
24575
24576 if (!args) SWIG_fail;
24577 swig_obj[0] = args;
24578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24579 if (!SWIG_IsOK(res1)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24581 }
24582 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24583 {
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 result = (bool)(arg1)->Realize();
24586 wxPyEndAllowThreads(__tstate);
24587 if (PyErr_Occurred()) SWIG_fail;
24588 }
24589 {
24590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24591 }
24592 return resultobj;
24593 fail:
24594 return NULL;
24595 }
24596
24597
24598 SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24599 PyObject *resultobj = 0;
24600 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24601 int arg2 ;
24602 bool arg3 ;
24603 void *argp1 = 0 ;
24604 int res1 = 0 ;
24605 int val2 ;
24606 int ecode2 = 0 ;
24607 bool val3 ;
24608 int ecode3 = 0 ;
24609 PyObject * obj0 = 0 ;
24610 PyObject * obj1 = 0 ;
24611 PyObject * obj2 = 0 ;
24612 char * kwnames[] = {
24613 (char *) "self",(char *) "id",(char *) "enable", NULL
24614 };
24615
24616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24618 if (!SWIG_IsOK(res1)) {
24619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24620 }
24621 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24622 ecode2 = SWIG_AsVal_int(obj1, &val2);
24623 if (!SWIG_IsOK(ecode2)) {
24624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24625 }
24626 arg2 = static_cast< int >(val2);
24627 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24628 if (!SWIG_IsOK(ecode3)) {
24629 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24630 }
24631 arg3 = static_cast< bool >(val3);
24632 {
24633 PyThreadState* __tstate = wxPyBeginAllowThreads();
24634 (arg1)->EnableTool(arg2,arg3);
24635 wxPyEndAllowThreads(__tstate);
24636 if (PyErr_Occurred()) SWIG_fail;
24637 }
24638 resultobj = SWIG_Py_Void();
24639 return resultobj;
24640 fail:
24641 return NULL;
24642 }
24643
24644
24645 SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24646 PyObject *resultobj = 0;
24647 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24648 int arg2 ;
24649 bool arg3 ;
24650 void *argp1 = 0 ;
24651 int res1 = 0 ;
24652 int val2 ;
24653 int ecode2 = 0 ;
24654 bool val3 ;
24655 int ecode3 = 0 ;
24656 PyObject * obj0 = 0 ;
24657 PyObject * obj1 = 0 ;
24658 PyObject * obj2 = 0 ;
24659 char * kwnames[] = {
24660 (char *) "self",(char *) "id",(char *) "toggle", NULL
24661 };
24662
24663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24665 if (!SWIG_IsOK(res1)) {
24666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24667 }
24668 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24669 ecode2 = SWIG_AsVal_int(obj1, &val2);
24670 if (!SWIG_IsOK(ecode2)) {
24671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24672 }
24673 arg2 = static_cast< int >(val2);
24674 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24675 if (!SWIG_IsOK(ecode3)) {
24676 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24677 }
24678 arg3 = static_cast< bool >(val3);
24679 {
24680 PyThreadState* __tstate = wxPyBeginAllowThreads();
24681 (arg1)->ToggleTool(arg2,arg3);
24682 wxPyEndAllowThreads(__tstate);
24683 if (PyErr_Occurred()) SWIG_fail;
24684 }
24685 resultobj = SWIG_Py_Void();
24686 return resultobj;
24687 fail:
24688 return NULL;
24689 }
24690
24691
24692 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24693 PyObject *resultobj = 0;
24694 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24695 int arg2 ;
24696 bool arg3 ;
24697 void *argp1 = 0 ;
24698 int res1 = 0 ;
24699 int val2 ;
24700 int ecode2 = 0 ;
24701 bool val3 ;
24702 int ecode3 = 0 ;
24703 PyObject * obj0 = 0 ;
24704 PyObject * obj1 = 0 ;
24705 PyObject * obj2 = 0 ;
24706 char * kwnames[] = {
24707 (char *) "self",(char *) "id",(char *) "toggle", NULL
24708 };
24709
24710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24712 if (!SWIG_IsOK(res1)) {
24713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24714 }
24715 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24716 ecode2 = SWIG_AsVal_int(obj1, &val2);
24717 if (!SWIG_IsOK(ecode2)) {
24718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24719 }
24720 arg2 = static_cast< int >(val2);
24721 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24722 if (!SWIG_IsOK(ecode3)) {
24723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24724 }
24725 arg3 = static_cast< bool >(val3);
24726 {
24727 PyThreadState* __tstate = wxPyBeginAllowThreads();
24728 (arg1)->SetToggle(arg2,arg3);
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 resultobj = SWIG_Py_Void();
24733 return resultobj;
24734 fail:
24735 return NULL;
24736 }
24737
24738
24739 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24740 PyObject *resultobj = 0;
24741 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24742 int arg2 ;
24743 PyObject *result = 0 ;
24744 void *argp1 = 0 ;
24745 int res1 = 0 ;
24746 int val2 ;
24747 int ecode2 = 0 ;
24748 PyObject * obj0 = 0 ;
24749 PyObject * obj1 = 0 ;
24750 char * kwnames[] = {
24751 (char *) "self",(char *) "id", NULL
24752 };
24753
24754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24756 if (!SWIG_IsOK(res1)) {
24757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24758 }
24759 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24760 ecode2 = SWIG_AsVal_int(obj1, &val2);
24761 if (!SWIG_IsOK(ecode2)) {
24762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24763 }
24764 arg2 = static_cast< int >(val2);
24765 {
24766 PyThreadState* __tstate = wxPyBeginAllowThreads();
24767 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24768 wxPyEndAllowThreads(__tstate);
24769 if (PyErr_Occurred()) SWIG_fail;
24770 }
24771 resultobj = result;
24772 return resultobj;
24773 fail:
24774 return NULL;
24775 }
24776
24777
24778 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24779 PyObject *resultobj = 0;
24780 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24781 int arg2 ;
24782 PyObject *arg3 = (PyObject *) 0 ;
24783 void *argp1 = 0 ;
24784 int res1 = 0 ;
24785 int val2 ;
24786 int ecode2 = 0 ;
24787 PyObject * obj0 = 0 ;
24788 PyObject * obj1 = 0 ;
24789 PyObject * obj2 = 0 ;
24790 char * kwnames[] = {
24791 (char *) "self",(char *) "id",(char *) "clientData", NULL
24792 };
24793
24794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24796 if (!SWIG_IsOK(res1)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24798 }
24799 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24800 ecode2 = SWIG_AsVal_int(obj1, &val2);
24801 if (!SWIG_IsOK(ecode2)) {
24802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24803 }
24804 arg2 = static_cast< int >(val2);
24805 arg3 = obj2;
24806 {
24807 PyThreadState* __tstate = wxPyBeginAllowThreads();
24808 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24809 wxPyEndAllowThreads(__tstate);
24810 if (PyErr_Occurred()) SWIG_fail;
24811 }
24812 resultobj = SWIG_Py_Void();
24813 return resultobj;
24814 fail:
24815 return NULL;
24816 }
24817
24818
24819 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24820 PyObject *resultobj = 0;
24821 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24822 int arg2 ;
24823 int result;
24824 void *argp1 = 0 ;
24825 int res1 = 0 ;
24826 int val2 ;
24827 int ecode2 = 0 ;
24828 PyObject * obj0 = 0 ;
24829 PyObject * obj1 = 0 ;
24830 char * kwnames[] = {
24831 (char *) "self",(char *) "id", NULL
24832 };
24833
24834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24836 if (!SWIG_IsOK(res1)) {
24837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24838 }
24839 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24840 ecode2 = SWIG_AsVal_int(obj1, &val2);
24841 if (!SWIG_IsOK(ecode2)) {
24842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24843 }
24844 arg2 = static_cast< int >(val2);
24845 {
24846 PyThreadState* __tstate = wxPyBeginAllowThreads();
24847 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24848 wxPyEndAllowThreads(__tstate);
24849 if (PyErr_Occurred()) SWIG_fail;
24850 }
24851 resultobj = SWIG_From_int(static_cast< int >(result));
24852 return resultobj;
24853 fail:
24854 return NULL;
24855 }
24856
24857
24858 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24859 PyObject *resultobj = 0;
24860 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24861 int arg2 ;
24862 bool result;
24863 void *argp1 = 0 ;
24864 int res1 = 0 ;
24865 int val2 ;
24866 int ecode2 = 0 ;
24867 PyObject * obj0 = 0 ;
24868 PyObject * obj1 = 0 ;
24869 char * kwnames[] = {
24870 (char *) "self",(char *) "id", NULL
24871 };
24872
24873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24875 if (!SWIG_IsOK(res1)) {
24876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24877 }
24878 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24879 ecode2 = SWIG_AsVal_int(obj1, &val2);
24880 if (!SWIG_IsOK(ecode2)) {
24881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24882 }
24883 arg2 = static_cast< int >(val2);
24884 {
24885 PyThreadState* __tstate = wxPyBeginAllowThreads();
24886 result = (bool)(arg1)->GetToolState(arg2);
24887 wxPyEndAllowThreads(__tstate);
24888 if (PyErr_Occurred()) SWIG_fail;
24889 }
24890 {
24891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24892 }
24893 return resultobj;
24894 fail:
24895 return NULL;
24896 }
24897
24898
24899 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24900 PyObject *resultobj = 0;
24901 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24902 int arg2 ;
24903 bool result;
24904 void *argp1 = 0 ;
24905 int res1 = 0 ;
24906 int val2 ;
24907 int ecode2 = 0 ;
24908 PyObject * obj0 = 0 ;
24909 PyObject * obj1 = 0 ;
24910 char * kwnames[] = {
24911 (char *) "self",(char *) "id", NULL
24912 };
24913
24914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24916 if (!SWIG_IsOK(res1)) {
24917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24918 }
24919 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24920 ecode2 = SWIG_AsVal_int(obj1, &val2);
24921 if (!SWIG_IsOK(ecode2)) {
24922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24923 }
24924 arg2 = static_cast< int >(val2);
24925 {
24926 PyThreadState* __tstate = wxPyBeginAllowThreads();
24927 result = (bool)(arg1)->GetToolEnabled(arg2);
24928 wxPyEndAllowThreads(__tstate);
24929 if (PyErr_Occurred()) SWIG_fail;
24930 }
24931 {
24932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24933 }
24934 return resultobj;
24935 fail:
24936 return NULL;
24937 }
24938
24939
24940 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24941 PyObject *resultobj = 0;
24942 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24943 int arg2 ;
24944 wxString *arg3 = 0 ;
24945 void *argp1 = 0 ;
24946 int res1 = 0 ;
24947 int val2 ;
24948 int ecode2 = 0 ;
24949 bool temp3 = false ;
24950 PyObject * obj0 = 0 ;
24951 PyObject * obj1 = 0 ;
24952 PyObject * obj2 = 0 ;
24953 char * kwnames[] = {
24954 (char *) "self",(char *) "id",(char *) "helpString", NULL
24955 };
24956
24957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24959 if (!SWIG_IsOK(res1)) {
24960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24961 }
24962 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24963 ecode2 = SWIG_AsVal_int(obj1, &val2);
24964 if (!SWIG_IsOK(ecode2)) {
24965 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24966 }
24967 arg2 = static_cast< int >(val2);
24968 {
24969 arg3 = wxString_in_helper(obj2);
24970 if (arg3 == NULL) SWIG_fail;
24971 temp3 = true;
24972 }
24973 {
24974 PyThreadState* __tstate = wxPyBeginAllowThreads();
24975 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
24976 wxPyEndAllowThreads(__tstate);
24977 if (PyErr_Occurred()) SWIG_fail;
24978 }
24979 resultobj = SWIG_Py_Void();
24980 {
24981 if (temp3)
24982 delete arg3;
24983 }
24984 return resultobj;
24985 fail:
24986 {
24987 if (temp3)
24988 delete arg3;
24989 }
24990 return NULL;
24991 }
24992
24993
24994 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24995 PyObject *resultobj = 0;
24996 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24997 int arg2 ;
24998 wxString result;
24999 void *argp1 = 0 ;
25000 int res1 = 0 ;
25001 int val2 ;
25002 int ecode2 = 0 ;
25003 PyObject * obj0 = 0 ;
25004 PyObject * obj1 = 0 ;
25005 char * kwnames[] = {
25006 (char *) "self",(char *) "id", NULL
25007 };
25008
25009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25011 if (!SWIG_IsOK(res1)) {
25012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25013 }
25014 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25015 ecode2 = SWIG_AsVal_int(obj1, &val2);
25016 if (!SWIG_IsOK(ecode2)) {
25017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25018 }
25019 arg2 = static_cast< int >(val2);
25020 {
25021 PyThreadState* __tstate = wxPyBeginAllowThreads();
25022 result = (arg1)->GetToolShortHelp(arg2);
25023 wxPyEndAllowThreads(__tstate);
25024 if (PyErr_Occurred()) SWIG_fail;
25025 }
25026 {
25027 #if wxUSE_UNICODE
25028 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25029 #else
25030 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25031 #endif
25032 }
25033 return resultobj;
25034 fail:
25035 return NULL;
25036 }
25037
25038
25039 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25040 PyObject *resultobj = 0;
25041 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25042 int arg2 ;
25043 wxString *arg3 = 0 ;
25044 void *argp1 = 0 ;
25045 int res1 = 0 ;
25046 int val2 ;
25047 int ecode2 = 0 ;
25048 bool temp3 = false ;
25049 PyObject * obj0 = 0 ;
25050 PyObject * obj1 = 0 ;
25051 PyObject * obj2 = 0 ;
25052 char * kwnames[] = {
25053 (char *) "self",(char *) "id",(char *) "helpString", NULL
25054 };
25055
25056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25058 if (!SWIG_IsOK(res1)) {
25059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25060 }
25061 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25062 ecode2 = SWIG_AsVal_int(obj1, &val2);
25063 if (!SWIG_IsOK(ecode2)) {
25064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25065 }
25066 arg2 = static_cast< int >(val2);
25067 {
25068 arg3 = wxString_in_helper(obj2);
25069 if (arg3 == NULL) SWIG_fail;
25070 temp3 = true;
25071 }
25072 {
25073 PyThreadState* __tstate = wxPyBeginAllowThreads();
25074 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
25075 wxPyEndAllowThreads(__tstate);
25076 if (PyErr_Occurred()) SWIG_fail;
25077 }
25078 resultobj = SWIG_Py_Void();
25079 {
25080 if (temp3)
25081 delete arg3;
25082 }
25083 return resultobj;
25084 fail:
25085 {
25086 if (temp3)
25087 delete arg3;
25088 }
25089 return NULL;
25090 }
25091
25092
25093 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25094 PyObject *resultobj = 0;
25095 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25096 int arg2 ;
25097 wxString result;
25098 void *argp1 = 0 ;
25099 int res1 = 0 ;
25100 int val2 ;
25101 int ecode2 = 0 ;
25102 PyObject * obj0 = 0 ;
25103 PyObject * obj1 = 0 ;
25104 char * kwnames[] = {
25105 (char *) "self",(char *) "id", NULL
25106 };
25107
25108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25110 if (!SWIG_IsOK(res1)) {
25111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25112 }
25113 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25114 ecode2 = SWIG_AsVal_int(obj1, &val2);
25115 if (!SWIG_IsOK(ecode2)) {
25116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25117 }
25118 arg2 = static_cast< int >(val2);
25119 {
25120 PyThreadState* __tstate = wxPyBeginAllowThreads();
25121 result = (arg1)->GetToolLongHelp(arg2);
25122 wxPyEndAllowThreads(__tstate);
25123 if (PyErr_Occurred()) SWIG_fail;
25124 }
25125 {
25126 #if wxUSE_UNICODE
25127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25128 #else
25129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25130 #endif
25131 }
25132 return resultobj;
25133 fail:
25134 return NULL;
25135 }
25136
25137
25138 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25139 PyObject *resultobj = 0;
25140 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25141 int arg2 ;
25142 int arg3 ;
25143 void *argp1 = 0 ;
25144 int res1 = 0 ;
25145 int val2 ;
25146 int ecode2 = 0 ;
25147 int val3 ;
25148 int ecode3 = 0 ;
25149 PyObject * obj0 = 0 ;
25150 PyObject * obj1 = 0 ;
25151 PyObject * obj2 = 0 ;
25152 char * kwnames[] = {
25153 (char *) "self",(char *) "x",(char *) "y", NULL
25154 };
25155
25156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25158 if (!SWIG_IsOK(res1)) {
25159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25160 }
25161 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25162 ecode2 = SWIG_AsVal_int(obj1, &val2);
25163 if (!SWIG_IsOK(ecode2)) {
25164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25165 }
25166 arg2 = static_cast< int >(val2);
25167 ecode3 = SWIG_AsVal_int(obj2, &val3);
25168 if (!SWIG_IsOK(ecode3)) {
25169 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25170 }
25171 arg3 = static_cast< int >(val3);
25172 {
25173 PyThreadState* __tstate = wxPyBeginAllowThreads();
25174 (arg1)->SetMargins(arg2,arg3);
25175 wxPyEndAllowThreads(__tstate);
25176 if (PyErr_Occurred()) SWIG_fail;
25177 }
25178 resultobj = SWIG_Py_Void();
25179 return resultobj;
25180 fail:
25181 return NULL;
25182 }
25183
25184
25185 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25186 PyObject *resultobj = 0;
25187 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25188 wxSize *arg2 = 0 ;
25189 void *argp1 = 0 ;
25190 int res1 = 0 ;
25191 wxSize temp2 ;
25192 PyObject * obj0 = 0 ;
25193 PyObject * obj1 = 0 ;
25194 char * kwnames[] = {
25195 (char *) "self",(char *) "size", NULL
25196 };
25197
25198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25200 if (!SWIG_IsOK(res1)) {
25201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25202 }
25203 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25204 {
25205 arg2 = &temp2;
25206 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25207 }
25208 {
25209 PyThreadState* __tstate = wxPyBeginAllowThreads();
25210 (arg1)->SetMargins((wxSize const &)*arg2);
25211 wxPyEndAllowThreads(__tstate);
25212 if (PyErr_Occurred()) SWIG_fail;
25213 }
25214 resultobj = SWIG_Py_Void();
25215 return resultobj;
25216 fail:
25217 return NULL;
25218 }
25219
25220
25221 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25222 PyObject *resultobj = 0;
25223 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25224 int arg2 ;
25225 void *argp1 = 0 ;
25226 int res1 = 0 ;
25227 int val2 ;
25228 int ecode2 = 0 ;
25229 PyObject * obj0 = 0 ;
25230 PyObject * obj1 = 0 ;
25231 char * kwnames[] = {
25232 (char *) "self",(char *) "packing", NULL
25233 };
25234
25235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25237 if (!SWIG_IsOK(res1)) {
25238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25239 }
25240 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25241 ecode2 = SWIG_AsVal_int(obj1, &val2);
25242 if (!SWIG_IsOK(ecode2)) {
25243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25244 }
25245 arg2 = static_cast< int >(val2);
25246 {
25247 PyThreadState* __tstate = wxPyBeginAllowThreads();
25248 (arg1)->SetToolPacking(arg2);
25249 wxPyEndAllowThreads(__tstate);
25250 if (PyErr_Occurred()) SWIG_fail;
25251 }
25252 resultobj = SWIG_Py_Void();
25253 return resultobj;
25254 fail:
25255 return NULL;
25256 }
25257
25258
25259 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25260 PyObject *resultobj = 0;
25261 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25262 int arg2 ;
25263 void *argp1 = 0 ;
25264 int res1 = 0 ;
25265 int val2 ;
25266 int ecode2 = 0 ;
25267 PyObject * obj0 = 0 ;
25268 PyObject * obj1 = 0 ;
25269 char * kwnames[] = {
25270 (char *) "self",(char *) "separation", NULL
25271 };
25272
25273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25275 if (!SWIG_IsOK(res1)) {
25276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25277 }
25278 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25279 ecode2 = SWIG_AsVal_int(obj1, &val2);
25280 if (!SWIG_IsOK(ecode2)) {
25281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25282 }
25283 arg2 = static_cast< int >(val2);
25284 {
25285 PyThreadState* __tstate = wxPyBeginAllowThreads();
25286 (arg1)->SetToolSeparation(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_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25298 PyObject *resultobj = 0;
25299 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25300 wxSize result;
25301 void *argp1 = 0 ;
25302 int res1 = 0 ;
25303 PyObject *swig_obj[1] ;
25304
25305 if (!args) SWIG_fail;
25306 swig_obj[0] = args;
25307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25308 if (!SWIG_IsOK(res1)) {
25309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25310 }
25311 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25312 {
25313 PyThreadState* __tstate = wxPyBeginAllowThreads();
25314 result = (arg1)->GetToolMargins();
25315 wxPyEndAllowThreads(__tstate);
25316 if (PyErr_Occurred()) SWIG_fail;
25317 }
25318 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25319 return resultobj;
25320 fail:
25321 return NULL;
25322 }
25323
25324
25325 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25326 PyObject *resultobj = 0;
25327 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25328 wxSize result;
25329 void *argp1 = 0 ;
25330 int res1 = 0 ;
25331 PyObject *swig_obj[1] ;
25332
25333 if (!args) SWIG_fail;
25334 swig_obj[0] = args;
25335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25336 if (!SWIG_IsOK(res1)) {
25337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25338 }
25339 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25340 {
25341 PyThreadState* __tstate = wxPyBeginAllowThreads();
25342 result = (arg1)->GetMargins();
25343 wxPyEndAllowThreads(__tstate);
25344 if (PyErr_Occurred()) SWIG_fail;
25345 }
25346 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25347 return resultobj;
25348 fail:
25349 return NULL;
25350 }
25351
25352
25353 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25354 PyObject *resultobj = 0;
25355 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25356 int result;
25357 void *argp1 = 0 ;
25358 int res1 = 0 ;
25359 PyObject *swig_obj[1] ;
25360
25361 if (!args) SWIG_fail;
25362 swig_obj[0] = args;
25363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25364 if (!SWIG_IsOK(res1)) {
25365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25366 }
25367 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25368 {
25369 PyThreadState* __tstate = wxPyBeginAllowThreads();
25370 result = (int)(arg1)->GetToolPacking();
25371 wxPyEndAllowThreads(__tstate);
25372 if (PyErr_Occurred()) SWIG_fail;
25373 }
25374 resultobj = SWIG_From_int(static_cast< int >(result));
25375 return resultobj;
25376 fail:
25377 return NULL;
25378 }
25379
25380
25381 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25382 PyObject *resultobj = 0;
25383 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25384 int result;
25385 void *argp1 = 0 ;
25386 int res1 = 0 ;
25387 PyObject *swig_obj[1] ;
25388
25389 if (!args) SWIG_fail;
25390 swig_obj[0] = args;
25391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25392 if (!SWIG_IsOK(res1)) {
25393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25394 }
25395 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25396 {
25397 PyThreadState* __tstate = wxPyBeginAllowThreads();
25398 result = (int)(arg1)->GetToolSeparation();
25399 wxPyEndAllowThreads(__tstate);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 }
25402 resultobj = SWIG_From_int(static_cast< int >(result));
25403 return resultobj;
25404 fail:
25405 return NULL;
25406 }
25407
25408
25409 SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25410 PyObject *resultobj = 0;
25411 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25412 int arg2 ;
25413 void *argp1 = 0 ;
25414 int res1 = 0 ;
25415 int val2 ;
25416 int ecode2 = 0 ;
25417 PyObject * obj0 = 0 ;
25418 PyObject * obj1 = 0 ;
25419 char * kwnames[] = {
25420 (char *) "self",(char *) "nRows", NULL
25421 };
25422
25423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25425 if (!SWIG_IsOK(res1)) {
25426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25427 }
25428 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25429 ecode2 = SWIG_AsVal_int(obj1, &val2);
25430 if (!SWIG_IsOK(ecode2)) {
25431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25432 }
25433 arg2 = static_cast< int >(val2);
25434 {
25435 PyThreadState* __tstate = wxPyBeginAllowThreads();
25436 (arg1)->SetRows(arg2);
25437 wxPyEndAllowThreads(__tstate);
25438 if (PyErr_Occurred()) SWIG_fail;
25439 }
25440 resultobj = SWIG_Py_Void();
25441 return resultobj;
25442 fail:
25443 return NULL;
25444 }
25445
25446
25447 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25448 PyObject *resultobj = 0;
25449 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25450 int arg2 ;
25451 int arg3 ;
25452 void *argp1 = 0 ;
25453 int res1 = 0 ;
25454 int val2 ;
25455 int ecode2 = 0 ;
25456 int val3 ;
25457 int ecode3 = 0 ;
25458 PyObject * obj0 = 0 ;
25459 PyObject * obj1 = 0 ;
25460 PyObject * obj2 = 0 ;
25461 char * kwnames[] = {
25462 (char *) "self",(char *) "rows",(char *) "cols", NULL
25463 };
25464
25465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25467 if (!SWIG_IsOK(res1)) {
25468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25469 }
25470 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25471 ecode2 = SWIG_AsVal_int(obj1, &val2);
25472 if (!SWIG_IsOK(ecode2)) {
25473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25474 }
25475 arg2 = static_cast< int >(val2);
25476 ecode3 = SWIG_AsVal_int(obj2, &val3);
25477 if (!SWIG_IsOK(ecode3)) {
25478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25479 }
25480 arg3 = static_cast< int >(val3);
25481 {
25482 PyThreadState* __tstate = wxPyBeginAllowThreads();
25483 (arg1)->SetMaxRowsCols(arg2,arg3);
25484 wxPyEndAllowThreads(__tstate);
25485 if (PyErr_Occurred()) SWIG_fail;
25486 }
25487 resultobj = SWIG_Py_Void();
25488 return resultobj;
25489 fail:
25490 return NULL;
25491 }
25492
25493
25494 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25495 PyObject *resultobj = 0;
25496 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25497 int result;
25498 void *argp1 = 0 ;
25499 int res1 = 0 ;
25500 PyObject *swig_obj[1] ;
25501
25502 if (!args) SWIG_fail;
25503 swig_obj[0] = args;
25504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25505 if (!SWIG_IsOK(res1)) {
25506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25507 }
25508 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25509 {
25510 PyThreadState* __tstate = wxPyBeginAllowThreads();
25511 result = (int)(arg1)->GetMaxRows();
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 resultobj = SWIG_From_int(static_cast< int >(result));
25516 return resultobj;
25517 fail:
25518 return NULL;
25519 }
25520
25521
25522 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25523 PyObject *resultobj = 0;
25524 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25525 int result;
25526 void *argp1 = 0 ;
25527 int res1 = 0 ;
25528 PyObject *swig_obj[1] ;
25529
25530 if (!args) SWIG_fail;
25531 swig_obj[0] = args;
25532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25533 if (!SWIG_IsOK(res1)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25535 }
25536 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
25539 result = (int)(arg1)->GetMaxCols();
25540 wxPyEndAllowThreads(__tstate);
25541 if (PyErr_Occurred()) SWIG_fail;
25542 }
25543 resultobj = SWIG_From_int(static_cast< int >(result));
25544 return resultobj;
25545 fail:
25546 return NULL;
25547 }
25548
25549
25550 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25551 PyObject *resultobj = 0;
25552 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25553 wxSize *arg2 = 0 ;
25554 void *argp1 = 0 ;
25555 int res1 = 0 ;
25556 wxSize temp2 ;
25557 PyObject * obj0 = 0 ;
25558 PyObject * obj1 = 0 ;
25559 char * kwnames[] = {
25560 (char *) "self",(char *) "size", NULL
25561 };
25562
25563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25565 if (!SWIG_IsOK(res1)) {
25566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25567 }
25568 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25569 {
25570 arg2 = &temp2;
25571 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25572 }
25573 {
25574 PyThreadState* __tstate = wxPyBeginAllowThreads();
25575 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25576 wxPyEndAllowThreads(__tstate);
25577 if (PyErr_Occurred()) SWIG_fail;
25578 }
25579 resultobj = SWIG_Py_Void();
25580 return resultobj;
25581 fail:
25582 return NULL;
25583 }
25584
25585
25586 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25587 PyObject *resultobj = 0;
25588 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25589 wxSize result;
25590 void *argp1 = 0 ;
25591 int res1 = 0 ;
25592 PyObject *swig_obj[1] ;
25593
25594 if (!args) SWIG_fail;
25595 swig_obj[0] = args;
25596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25597 if (!SWIG_IsOK(res1)) {
25598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25599 }
25600 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25601 {
25602 PyThreadState* __tstate = wxPyBeginAllowThreads();
25603 result = (arg1)->GetToolBitmapSize();
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25608 return resultobj;
25609 fail:
25610 return NULL;
25611 }
25612
25613
25614 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25615 PyObject *resultobj = 0;
25616 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25617 wxSize result;
25618 void *argp1 = 0 ;
25619 int res1 = 0 ;
25620 PyObject *swig_obj[1] ;
25621
25622 if (!args) SWIG_fail;
25623 swig_obj[0] = args;
25624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25625 if (!SWIG_IsOK(res1)) {
25626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25627 }
25628 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 result = (arg1)->GetToolSize();
25632 wxPyEndAllowThreads(__tstate);
25633 if (PyErr_Occurred()) SWIG_fail;
25634 }
25635 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25636 return resultobj;
25637 fail:
25638 return NULL;
25639 }
25640
25641
25642 SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25643 PyObject *resultobj = 0;
25644 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25645 int arg2 ;
25646 int arg3 ;
25647 wxToolBarToolBase *result = 0 ;
25648 void *argp1 = 0 ;
25649 int res1 = 0 ;
25650 int val2 ;
25651 int ecode2 = 0 ;
25652 int val3 ;
25653 int ecode3 = 0 ;
25654 PyObject * obj0 = 0 ;
25655 PyObject * obj1 = 0 ;
25656 PyObject * obj2 = 0 ;
25657 char * kwnames[] = {
25658 (char *) "self",(char *) "x",(char *) "y", NULL
25659 };
25660
25661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25663 if (!SWIG_IsOK(res1)) {
25664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25665 }
25666 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25667 ecode2 = SWIG_AsVal_int(obj1, &val2);
25668 if (!SWIG_IsOK(ecode2)) {
25669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25670 }
25671 arg2 = static_cast< int >(val2);
25672 ecode3 = SWIG_AsVal_int(obj2, &val3);
25673 if (!SWIG_IsOK(ecode3)) {
25674 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25675 }
25676 arg3 = static_cast< int >(val3);
25677 {
25678 PyThreadState* __tstate = wxPyBeginAllowThreads();
25679 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25680 wxPyEndAllowThreads(__tstate);
25681 if (PyErr_Occurred()) SWIG_fail;
25682 }
25683 {
25684 resultobj = wxPyMake_wxObject(result, (bool)0);
25685 }
25686 return resultobj;
25687 fail:
25688 return NULL;
25689 }
25690
25691
25692 SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25693 PyObject *resultobj = 0;
25694 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25695 int arg2 ;
25696 wxToolBarToolBase *result = 0 ;
25697 void *argp1 = 0 ;
25698 int res1 = 0 ;
25699 int val2 ;
25700 int ecode2 = 0 ;
25701 PyObject * obj0 = 0 ;
25702 PyObject * obj1 = 0 ;
25703 char * kwnames[] = {
25704 (char *) "self",(char *) "toolid", NULL
25705 };
25706
25707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25709 if (!SWIG_IsOK(res1)) {
25710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25711 }
25712 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25713 ecode2 = SWIG_AsVal_int(obj1, &val2);
25714 if (!SWIG_IsOK(ecode2)) {
25715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25716 }
25717 arg2 = static_cast< int >(val2);
25718 {
25719 PyThreadState* __tstate = wxPyBeginAllowThreads();
25720 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25721 wxPyEndAllowThreads(__tstate);
25722 if (PyErr_Occurred()) SWIG_fail;
25723 }
25724 {
25725 resultobj = wxPyMake_wxObject(result, (bool)0);
25726 }
25727 return resultobj;
25728 fail:
25729 return NULL;
25730 }
25731
25732
25733 SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25734 PyObject *resultobj = 0;
25735 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25736 bool result;
25737 void *argp1 = 0 ;
25738 int res1 = 0 ;
25739 PyObject *swig_obj[1] ;
25740
25741 if (!args) SWIG_fail;
25742 swig_obj[0] = args;
25743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25744 if (!SWIG_IsOK(res1)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25746 }
25747 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25748 {
25749 PyThreadState* __tstate = wxPyBeginAllowThreads();
25750 result = (bool)(arg1)->IsVertical();
25751 wxPyEndAllowThreads(__tstate);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 }
25754 {
25755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25756 }
25757 return resultobj;
25758 fail:
25759 return NULL;
25760 }
25761
25762
25763 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25764 PyObject *resultobj = 0;
25765 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25766 size_t result;
25767 void *argp1 = 0 ;
25768 int res1 = 0 ;
25769 PyObject *swig_obj[1] ;
25770
25771 if (!args) SWIG_fail;
25772 swig_obj[0] = args;
25773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25774 if (!SWIG_IsOK(res1)) {
25775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25776 }
25777 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25778 {
25779 PyThreadState* __tstate = wxPyBeginAllowThreads();
25780 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25781 wxPyEndAllowThreads(__tstate);
25782 if (PyErr_Occurred()) SWIG_fail;
25783 }
25784 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25785 return resultobj;
25786 fail:
25787 return NULL;
25788 }
25789
25790
25791 SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25792 PyObject *obj;
25793 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25794 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25795 return SWIG_Py_Void();
25796 }
25797
25798 SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25799 PyObject *resultobj = 0;
25800 wxWindow *arg1 = (wxWindow *) 0 ;
25801 int arg2 = (int) -1 ;
25802 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25803 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25804 wxSize const &arg4_defvalue = wxDefaultSize ;
25805 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25806 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25807 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25808 wxString *arg6 = (wxString *) &arg6_defvalue ;
25809 wxToolBar *result = 0 ;
25810 void *argp1 = 0 ;
25811 int res1 = 0 ;
25812 int val2 ;
25813 int ecode2 = 0 ;
25814 wxPoint temp3 ;
25815 wxSize temp4 ;
25816 long val5 ;
25817 int ecode5 = 0 ;
25818 bool temp6 = false ;
25819 PyObject * obj0 = 0 ;
25820 PyObject * obj1 = 0 ;
25821 PyObject * obj2 = 0 ;
25822 PyObject * obj3 = 0 ;
25823 PyObject * obj4 = 0 ;
25824 PyObject * obj5 = 0 ;
25825 char * kwnames[] = {
25826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25827 };
25828
25829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25831 if (!SWIG_IsOK(res1)) {
25832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25833 }
25834 arg1 = reinterpret_cast< wxWindow * >(argp1);
25835 if (obj1) {
25836 ecode2 = SWIG_AsVal_int(obj1, &val2);
25837 if (!SWIG_IsOK(ecode2)) {
25838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25839 }
25840 arg2 = static_cast< int >(val2);
25841 }
25842 if (obj2) {
25843 {
25844 arg3 = &temp3;
25845 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25846 }
25847 }
25848 if (obj3) {
25849 {
25850 arg4 = &temp4;
25851 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25852 }
25853 }
25854 if (obj4) {
25855 ecode5 = SWIG_AsVal_long(obj4, &val5);
25856 if (!SWIG_IsOK(ecode5)) {
25857 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25858 }
25859 arg5 = static_cast< long >(val5);
25860 }
25861 if (obj5) {
25862 {
25863 arg6 = wxString_in_helper(obj5);
25864 if (arg6 == NULL) SWIG_fail;
25865 temp6 = true;
25866 }
25867 }
25868 {
25869 if (!wxPyCheckForApp()) SWIG_fail;
25870 PyThreadState* __tstate = wxPyBeginAllowThreads();
25871 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25872 wxPyEndAllowThreads(__tstate);
25873 if (PyErr_Occurred()) SWIG_fail;
25874 }
25875 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25876 {
25877 if (temp6)
25878 delete arg6;
25879 }
25880 return resultobj;
25881 fail:
25882 {
25883 if (temp6)
25884 delete arg6;
25885 }
25886 return NULL;
25887 }
25888
25889
25890 SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25891 PyObject *resultobj = 0;
25892 wxToolBar *result = 0 ;
25893
25894 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25895 {
25896 if (!wxPyCheckForApp()) SWIG_fail;
25897 PyThreadState* __tstate = wxPyBeginAllowThreads();
25898 result = (wxToolBar *)new wxToolBar();
25899 wxPyEndAllowThreads(__tstate);
25900 if (PyErr_Occurred()) SWIG_fail;
25901 }
25902 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25903 return resultobj;
25904 fail:
25905 return NULL;
25906 }
25907
25908
25909 SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25910 PyObject *resultobj = 0;
25911 wxToolBar *arg1 = (wxToolBar *) 0 ;
25912 wxWindow *arg2 = (wxWindow *) 0 ;
25913 int arg3 = (int) -1 ;
25914 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25915 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25916 wxSize const &arg5_defvalue = wxDefaultSize ;
25917 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25918 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25919 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25920 wxString *arg7 = (wxString *) &arg7_defvalue ;
25921 bool result;
25922 void *argp1 = 0 ;
25923 int res1 = 0 ;
25924 void *argp2 = 0 ;
25925 int res2 = 0 ;
25926 int val3 ;
25927 int ecode3 = 0 ;
25928 wxPoint temp4 ;
25929 wxSize temp5 ;
25930 long val6 ;
25931 int ecode6 = 0 ;
25932 bool temp7 = false ;
25933 PyObject * obj0 = 0 ;
25934 PyObject * obj1 = 0 ;
25935 PyObject * obj2 = 0 ;
25936 PyObject * obj3 = 0 ;
25937 PyObject * obj4 = 0 ;
25938 PyObject * obj5 = 0 ;
25939 PyObject * obj6 = 0 ;
25940 char * kwnames[] = {
25941 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25942 };
25943
25944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
25945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
25946 if (!SWIG_IsOK(res1)) {
25947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25948 }
25949 arg1 = reinterpret_cast< wxToolBar * >(argp1);
25950 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
25951 if (!SWIG_IsOK(res2)) {
25952 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25953 }
25954 arg2 = reinterpret_cast< wxWindow * >(argp2);
25955 if (obj2) {
25956 ecode3 = SWIG_AsVal_int(obj2, &val3);
25957 if (!SWIG_IsOK(ecode3)) {
25958 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25959 }
25960 arg3 = static_cast< int >(val3);
25961 }
25962 if (obj3) {
25963 {
25964 arg4 = &temp4;
25965 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25966 }
25967 }
25968 if (obj4) {
25969 {
25970 arg5 = &temp5;
25971 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25972 }
25973 }
25974 if (obj5) {
25975 ecode6 = SWIG_AsVal_long(obj5, &val6);
25976 if (!SWIG_IsOK(ecode6)) {
25977 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25978 }
25979 arg6 = static_cast< long >(val6);
25980 }
25981 if (obj6) {
25982 {
25983 arg7 = wxString_in_helper(obj6);
25984 if (arg7 == NULL) SWIG_fail;
25985 temp7 = true;
25986 }
25987 }
25988 {
25989 PyThreadState* __tstate = wxPyBeginAllowThreads();
25990 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25991 wxPyEndAllowThreads(__tstate);
25992 if (PyErr_Occurred()) SWIG_fail;
25993 }
25994 {
25995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25996 }
25997 {
25998 if (temp7)
25999 delete arg7;
26000 }
26001 return resultobj;
26002 fail:
26003 {
26004 if (temp7)
26005 delete arg7;
26006 }
26007 return NULL;
26008 }
26009
26010
26011 SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26012 PyObject *resultobj = 0;
26013 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26014 SwigValueWrapper<wxVisualAttributes > result;
26015 int val1 ;
26016 int ecode1 = 0 ;
26017 PyObject * obj0 = 0 ;
26018 char * kwnames[] = {
26019 (char *) "variant", NULL
26020 };
26021
26022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
26023 if (obj0) {
26024 ecode1 = SWIG_AsVal_int(obj0, &val1);
26025 if (!SWIG_IsOK(ecode1)) {
26026 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26027 }
26028 arg1 = static_cast< wxWindowVariant >(val1);
26029 }
26030 {
26031 if (!wxPyCheckForApp()) SWIG_fail;
26032 PyThreadState* __tstate = wxPyBeginAllowThreads();
26033 result = wxToolBar::GetClassDefaultAttributes(arg1);
26034 wxPyEndAllowThreads(__tstate);
26035 if (PyErr_Occurred()) SWIG_fail;
26036 }
26037 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
26038 return resultobj;
26039 fail:
26040 return NULL;
26041 }
26042
26043
26044 SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26045 PyObject *obj;
26046 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26047 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
26048 return SWIG_Py_Void();
26049 }
26050
26051 SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26052 return SWIG_Python_InitShadowInstance(args);
26053 }
26054
26055 SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
26056 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
26057 return 1;
26058 }
26059
26060
26061 SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
26062 PyObject *pyobj = 0;
26063
26064 {
26065 #if wxUSE_UNICODE
26066 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26067 #else
26068 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26069 #endif
26070 }
26071 return pyobj;
26072 }
26073
26074
26075 SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26076 PyObject *resultobj = 0;
26077 wxColour const &arg1_defvalue = wxNullColour ;
26078 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
26079 wxColour const &arg2_defvalue = wxNullColour ;
26080 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
26081 wxFont const &arg3_defvalue = wxNullFont ;
26082 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
26083 wxListItemAttr *result = 0 ;
26084 wxColour temp1 ;
26085 wxColour temp2 ;
26086 void *argp3 = 0 ;
26087 int res3 = 0 ;
26088 PyObject * obj0 = 0 ;
26089 PyObject * obj1 = 0 ;
26090 PyObject * obj2 = 0 ;
26091 char * kwnames[] = {
26092 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26093 };
26094
26095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26096 if (obj0) {
26097 {
26098 arg1 = &temp1;
26099 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
26100 }
26101 }
26102 if (obj1) {
26103 {
26104 arg2 = &temp2;
26105 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26106 }
26107 }
26108 if (obj2) {
26109 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
26110 if (!SWIG_IsOK(res3)) {
26111 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26112 }
26113 if (!argp3) {
26114 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26115 }
26116 arg3 = reinterpret_cast< wxFont * >(argp3);
26117 }
26118 {
26119 PyThreadState* __tstate = wxPyBeginAllowThreads();
26120 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
26121 wxPyEndAllowThreads(__tstate);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
26124 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
26125 return resultobj;
26126 fail:
26127 return NULL;
26128 }
26129
26130
26131 SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26132 PyObject *resultobj = 0;
26133 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26134 void *argp1 = 0 ;
26135 int res1 = 0 ;
26136 PyObject *swig_obj[1] ;
26137
26138 if (!args) SWIG_fail;
26139 swig_obj[0] = args;
26140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
26141 if (!SWIG_IsOK(res1)) {
26142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26143 }
26144 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26145 {
26146 PyThreadState* __tstate = wxPyBeginAllowThreads();
26147 delete arg1;
26148
26149 wxPyEndAllowThreads(__tstate);
26150 if (PyErr_Occurred()) SWIG_fail;
26151 }
26152 resultobj = SWIG_Py_Void();
26153 return resultobj;
26154 fail:
26155 return NULL;
26156 }
26157
26158
26159 SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26160 PyObject *resultobj = 0;
26161 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26162 wxColour *arg2 = 0 ;
26163 void *argp1 = 0 ;
26164 int res1 = 0 ;
26165 wxColour temp2 ;
26166 PyObject * obj0 = 0 ;
26167 PyObject * obj1 = 0 ;
26168 char * kwnames[] = {
26169 (char *) "self",(char *) "colText", NULL
26170 };
26171
26172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26174 if (!SWIG_IsOK(res1)) {
26175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26176 }
26177 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26178 {
26179 arg2 = &temp2;
26180 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26181 }
26182 {
26183 PyThreadState* __tstate = wxPyBeginAllowThreads();
26184 (arg1)->SetTextColour((wxColour const &)*arg2);
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 resultobj = SWIG_Py_Void();
26189 return resultobj;
26190 fail:
26191 return NULL;
26192 }
26193
26194
26195 SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26196 PyObject *resultobj = 0;
26197 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26198 wxColour *arg2 = 0 ;
26199 void *argp1 = 0 ;
26200 int res1 = 0 ;
26201 wxColour temp2 ;
26202 PyObject * obj0 = 0 ;
26203 PyObject * obj1 = 0 ;
26204 char * kwnames[] = {
26205 (char *) "self",(char *) "colBack", NULL
26206 };
26207
26208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26210 if (!SWIG_IsOK(res1)) {
26211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26212 }
26213 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26214 {
26215 arg2 = &temp2;
26216 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26217 }
26218 {
26219 PyThreadState* __tstate = wxPyBeginAllowThreads();
26220 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26221 wxPyEndAllowThreads(__tstate);
26222 if (PyErr_Occurred()) SWIG_fail;
26223 }
26224 resultobj = SWIG_Py_Void();
26225 return resultobj;
26226 fail:
26227 return NULL;
26228 }
26229
26230
26231 SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26232 PyObject *resultobj = 0;
26233 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26234 wxFont *arg2 = 0 ;
26235 void *argp1 = 0 ;
26236 int res1 = 0 ;
26237 void *argp2 = 0 ;
26238 int res2 = 0 ;
26239 PyObject * obj0 = 0 ;
26240 PyObject * obj1 = 0 ;
26241 char * kwnames[] = {
26242 (char *) "self",(char *) "font", NULL
26243 };
26244
26245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26247 if (!SWIG_IsOK(res1)) {
26248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26249 }
26250 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26251 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26252 if (!SWIG_IsOK(res2)) {
26253 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26254 }
26255 if (!argp2) {
26256 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26257 }
26258 arg2 = reinterpret_cast< wxFont * >(argp2);
26259 {
26260 PyThreadState* __tstate = wxPyBeginAllowThreads();
26261 (arg1)->SetFont((wxFont const &)*arg2);
26262 wxPyEndAllowThreads(__tstate);
26263 if (PyErr_Occurred()) SWIG_fail;
26264 }
26265 resultobj = SWIG_Py_Void();
26266 return resultobj;
26267 fail:
26268 return NULL;
26269 }
26270
26271
26272 SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26273 PyObject *resultobj = 0;
26274 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26275 bool result;
26276 void *argp1 = 0 ;
26277 int res1 = 0 ;
26278 PyObject *swig_obj[1] ;
26279
26280 if (!args) SWIG_fail;
26281 swig_obj[0] = args;
26282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26283 if (!SWIG_IsOK(res1)) {
26284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26285 }
26286 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26287 {
26288 PyThreadState* __tstate = wxPyBeginAllowThreads();
26289 result = (bool)(arg1)->HasTextColour();
26290 wxPyEndAllowThreads(__tstate);
26291 if (PyErr_Occurred()) SWIG_fail;
26292 }
26293 {
26294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26295 }
26296 return resultobj;
26297 fail:
26298 return NULL;
26299 }
26300
26301
26302 SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26303 PyObject *resultobj = 0;
26304 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26305 bool result;
26306 void *argp1 = 0 ;
26307 int res1 = 0 ;
26308 PyObject *swig_obj[1] ;
26309
26310 if (!args) SWIG_fail;
26311 swig_obj[0] = args;
26312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26313 if (!SWIG_IsOK(res1)) {
26314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26315 }
26316 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26317 {
26318 PyThreadState* __tstate = wxPyBeginAllowThreads();
26319 result = (bool)(arg1)->HasBackgroundColour();
26320 wxPyEndAllowThreads(__tstate);
26321 if (PyErr_Occurred()) SWIG_fail;
26322 }
26323 {
26324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26325 }
26326 return resultobj;
26327 fail:
26328 return NULL;
26329 }
26330
26331
26332 SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26333 PyObject *resultobj = 0;
26334 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26335 bool result;
26336 void *argp1 = 0 ;
26337 int res1 = 0 ;
26338 PyObject *swig_obj[1] ;
26339
26340 if (!args) SWIG_fail;
26341 swig_obj[0] = args;
26342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26343 if (!SWIG_IsOK(res1)) {
26344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26345 }
26346 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26347 {
26348 PyThreadState* __tstate = wxPyBeginAllowThreads();
26349 result = (bool)(arg1)->HasFont();
26350 wxPyEndAllowThreads(__tstate);
26351 if (PyErr_Occurred()) SWIG_fail;
26352 }
26353 {
26354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26355 }
26356 return resultobj;
26357 fail:
26358 return NULL;
26359 }
26360
26361
26362 SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26363 PyObject *resultobj = 0;
26364 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26365 wxColour result;
26366 void *argp1 = 0 ;
26367 int res1 = 0 ;
26368 PyObject *swig_obj[1] ;
26369
26370 if (!args) SWIG_fail;
26371 swig_obj[0] = args;
26372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26373 if (!SWIG_IsOK(res1)) {
26374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26375 }
26376 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26377 {
26378 PyThreadState* __tstate = wxPyBeginAllowThreads();
26379 result = (arg1)->GetTextColour();
26380 wxPyEndAllowThreads(__tstate);
26381 if (PyErr_Occurred()) SWIG_fail;
26382 }
26383 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26384 return resultobj;
26385 fail:
26386 return NULL;
26387 }
26388
26389
26390 SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26391 PyObject *resultobj = 0;
26392 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26393 wxColour result;
26394 void *argp1 = 0 ;
26395 int res1 = 0 ;
26396 PyObject *swig_obj[1] ;
26397
26398 if (!args) SWIG_fail;
26399 swig_obj[0] = args;
26400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26401 if (!SWIG_IsOK(res1)) {
26402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26403 }
26404 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26405 {
26406 PyThreadState* __tstate = wxPyBeginAllowThreads();
26407 result = (arg1)->GetBackgroundColour();
26408 wxPyEndAllowThreads(__tstate);
26409 if (PyErr_Occurred()) SWIG_fail;
26410 }
26411 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26412 return resultobj;
26413 fail:
26414 return NULL;
26415 }
26416
26417
26418 SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26419 PyObject *resultobj = 0;
26420 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26421 wxFont result;
26422 void *argp1 = 0 ;
26423 int res1 = 0 ;
26424 PyObject *swig_obj[1] ;
26425
26426 if (!args) SWIG_fail;
26427 swig_obj[0] = args;
26428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26429 if (!SWIG_IsOK(res1)) {
26430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26431 }
26432 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26433 {
26434 PyThreadState* __tstate = wxPyBeginAllowThreads();
26435 result = (arg1)->GetFont();
26436 wxPyEndAllowThreads(__tstate);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 }
26439 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26440 return resultobj;
26441 fail:
26442 return NULL;
26443 }
26444
26445
26446 SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26447 PyObject *resultobj = 0;
26448 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26449 wxListItemAttr *arg2 = 0 ;
26450 void *argp1 = 0 ;
26451 int res1 = 0 ;
26452 void *argp2 = 0 ;
26453 int res2 = 0 ;
26454 PyObject * obj0 = 0 ;
26455 PyObject * obj1 = 0 ;
26456 char * kwnames[] = {
26457 (char *) "self",(char *) "source", NULL
26458 };
26459
26460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26462 if (!SWIG_IsOK(res1)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26464 }
26465 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26466 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26467 if (!SWIG_IsOK(res2)) {
26468 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26469 }
26470 if (!argp2) {
26471 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26472 }
26473 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26474 {
26475 PyThreadState* __tstate = wxPyBeginAllowThreads();
26476 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26477 wxPyEndAllowThreads(__tstate);
26478 if (PyErr_Occurred()) SWIG_fail;
26479 }
26480 resultobj = SWIG_Py_Void();
26481 return resultobj;
26482 fail:
26483 return NULL;
26484 }
26485
26486
26487 SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26488 PyObject *resultobj = 0;
26489 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26490 void *argp1 = 0 ;
26491 int res1 = 0 ;
26492 PyObject *swig_obj[1] ;
26493
26494 if (!args) SWIG_fail;
26495 swig_obj[0] = args;
26496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26497 if (!SWIG_IsOK(res1)) {
26498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26499 }
26500 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26501 {
26502 PyThreadState* __tstate = wxPyBeginAllowThreads();
26503 wxListItemAttr_Destroy(arg1);
26504 wxPyEndAllowThreads(__tstate);
26505 if (PyErr_Occurred()) SWIG_fail;
26506 }
26507 resultobj = SWIG_Py_Void();
26508 return resultobj;
26509 fail:
26510 return NULL;
26511 }
26512
26513
26514 SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26515 PyObject *obj;
26516 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26517 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26518 return SWIG_Py_Void();
26519 }
26520
26521 SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26522 return SWIG_Python_InitShadowInstance(args);
26523 }
26524
26525 SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26526 PyObject *resultobj = 0;
26527 wxListItem *result = 0 ;
26528
26529 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26530 {
26531 PyThreadState* __tstate = wxPyBeginAllowThreads();
26532 result = (wxListItem *)new wxListItem();
26533 wxPyEndAllowThreads(__tstate);
26534 if (PyErr_Occurred()) SWIG_fail;
26535 }
26536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, SWIG_POINTER_NEW | 0 );
26537 return resultobj;
26538 fail:
26539 return NULL;
26540 }
26541
26542
26543 SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26544 PyObject *resultobj = 0;
26545 wxListItem *arg1 = (wxListItem *) 0 ;
26546 void *argp1 = 0 ;
26547 int res1 = 0 ;
26548 PyObject *swig_obj[1] ;
26549
26550 if (!args) SWIG_fail;
26551 swig_obj[0] = args;
26552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26553 if (!SWIG_IsOK(res1)) {
26554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26555 }
26556 arg1 = reinterpret_cast< wxListItem * >(argp1);
26557 {
26558 PyThreadState* __tstate = wxPyBeginAllowThreads();
26559 delete arg1;
26560
26561 wxPyEndAllowThreads(__tstate);
26562 if (PyErr_Occurred()) SWIG_fail;
26563 }
26564 resultobj = SWIG_Py_Void();
26565 return resultobj;
26566 fail:
26567 return NULL;
26568 }
26569
26570
26571 SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26572 PyObject *resultobj = 0;
26573 wxListItem *arg1 = (wxListItem *) 0 ;
26574 void *argp1 = 0 ;
26575 int res1 = 0 ;
26576 PyObject *swig_obj[1] ;
26577
26578 if (!args) SWIG_fail;
26579 swig_obj[0] = args;
26580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26581 if (!SWIG_IsOK(res1)) {
26582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26583 }
26584 arg1 = reinterpret_cast< wxListItem * >(argp1);
26585 {
26586 PyThreadState* __tstate = wxPyBeginAllowThreads();
26587 (arg1)->Clear();
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
26591 resultobj = SWIG_Py_Void();
26592 return resultobj;
26593 fail:
26594 return NULL;
26595 }
26596
26597
26598 SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26599 PyObject *resultobj = 0;
26600 wxListItem *arg1 = (wxListItem *) 0 ;
26601 void *argp1 = 0 ;
26602 int res1 = 0 ;
26603 PyObject *swig_obj[1] ;
26604
26605 if (!args) SWIG_fail;
26606 swig_obj[0] = args;
26607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26608 if (!SWIG_IsOK(res1)) {
26609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26610 }
26611 arg1 = reinterpret_cast< wxListItem * >(argp1);
26612 {
26613 PyThreadState* __tstate = wxPyBeginAllowThreads();
26614 (arg1)->ClearAttributes();
26615 wxPyEndAllowThreads(__tstate);
26616 if (PyErr_Occurred()) SWIG_fail;
26617 }
26618 resultobj = SWIG_Py_Void();
26619 return resultobj;
26620 fail:
26621 return NULL;
26622 }
26623
26624
26625 SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26626 PyObject *resultobj = 0;
26627 wxListItem *arg1 = (wxListItem *) 0 ;
26628 long arg2 ;
26629 void *argp1 = 0 ;
26630 int res1 = 0 ;
26631 long val2 ;
26632 int ecode2 = 0 ;
26633 PyObject * obj0 = 0 ;
26634 PyObject * obj1 = 0 ;
26635 char * kwnames[] = {
26636 (char *) "self",(char *) "mask", NULL
26637 };
26638
26639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26641 if (!SWIG_IsOK(res1)) {
26642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26643 }
26644 arg1 = reinterpret_cast< wxListItem * >(argp1);
26645 ecode2 = SWIG_AsVal_long(obj1, &val2);
26646 if (!SWIG_IsOK(ecode2)) {
26647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26648 }
26649 arg2 = static_cast< long >(val2);
26650 {
26651 PyThreadState* __tstate = wxPyBeginAllowThreads();
26652 (arg1)->SetMask(arg2);
26653 wxPyEndAllowThreads(__tstate);
26654 if (PyErr_Occurred()) SWIG_fail;
26655 }
26656 resultobj = SWIG_Py_Void();
26657 return resultobj;
26658 fail:
26659 return NULL;
26660 }
26661
26662
26663 SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26664 PyObject *resultobj = 0;
26665 wxListItem *arg1 = (wxListItem *) 0 ;
26666 long arg2 ;
26667 void *argp1 = 0 ;
26668 int res1 = 0 ;
26669 long val2 ;
26670 int ecode2 = 0 ;
26671 PyObject * obj0 = 0 ;
26672 PyObject * obj1 = 0 ;
26673 char * kwnames[] = {
26674 (char *) "self",(char *) "id", NULL
26675 };
26676
26677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26679 if (!SWIG_IsOK(res1)) {
26680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26681 }
26682 arg1 = reinterpret_cast< wxListItem * >(argp1);
26683 ecode2 = SWIG_AsVal_long(obj1, &val2);
26684 if (!SWIG_IsOK(ecode2)) {
26685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26686 }
26687 arg2 = static_cast< long >(val2);
26688 {
26689 PyThreadState* __tstate = wxPyBeginAllowThreads();
26690 (arg1)->SetId(arg2);
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_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26702 PyObject *resultobj = 0;
26703 wxListItem *arg1 = (wxListItem *) 0 ;
26704 int arg2 ;
26705 void *argp1 = 0 ;
26706 int res1 = 0 ;
26707 int val2 ;
26708 int ecode2 = 0 ;
26709 PyObject * obj0 = 0 ;
26710 PyObject * obj1 = 0 ;
26711 char * kwnames[] = {
26712 (char *) "self",(char *) "col", NULL
26713 };
26714
26715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",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_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26719 }
26720 arg1 = reinterpret_cast< wxListItem * >(argp1);
26721 ecode2 = SWIG_AsVal_int(obj1, &val2);
26722 if (!SWIG_IsOK(ecode2)) {
26723 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26724 }
26725 arg2 = static_cast< int >(val2);
26726 {
26727 PyThreadState* __tstate = wxPyBeginAllowThreads();
26728 (arg1)->SetColumn(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_SetState(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 *) "state", NULL
26751 };
26752
26753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",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_SetState" "', 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_SetState" "', expected argument " "2"" of type '" "long""'");
26762 }
26763 arg2 = static_cast< long >(val2);
26764 {
26765 PyThreadState* __tstate = wxPyBeginAllowThreads();
26766 (arg1)->SetState(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_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26778 PyObject *resultobj = 0;
26779 wxListItem *arg1 = (wxListItem *) 0 ;
26780 long arg2 ;
26781 void *argp1 = 0 ;
26782 int res1 = 0 ;
26783 long val2 ;
26784 int ecode2 = 0 ;
26785 PyObject * obj0 = 0 ;
26786 PyObject * obj1 = 0 ;
26787 char * kwnames[] = {
26788 (char *) "self",(char *) "stateMask", NULL
26789 };
26790
26791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",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_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26795 }
26796 arg1 = reinterpret_cast< wxListItem * >(argp1);
26797 ecode2 = SWIG_AsVal_long(obj1, &val2);
26798 if (!SWIG_IsOK(ecode2)) {
26799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26800 }
26801 arg2 = static_cast< long >(val2);
26802 {
26803 PyThreadState* __tstate = wxPyBeginAllowThreads();
26804 (arg1)->SetStateMask(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_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26816 PyObject *resultobj = 0;
26817 wxListItem *arg1 = (wxListItem *) 0 ;
26818 wxString *arg2 = 0 ;
26819 void *argp1 = 0 ;
26820 int res1 = 0 ;
26821 bool temp2 = false ;
26822 PyObject * obj0 = 0 ;
26823 PyObject * obj1 = 0 ;
26824 char * kwnames[] = {
26825 (char *) "self",(char *) "text", NULL
26826 };
26827
26828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26830 if (!SWIG_IsOK(res1)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26832 }
26833 arg1 = reinterpret_cast< wxListItem * >(argp1);
26834 {
26835 arg2 = wxString_in_helper(obj1);
26836 if (arg2 == NULL) SWIG_fail;
26837 temp2 = true;
26838 }
26839 {
26840 PyThreadState* __tstate = wxPyBeginAllowThreads();
26841 (arg1)->SetText((wxString const &)*arg2);
26842 wxPyEndAllowThreads(__tstate);
26843 if (PyErr_Occurred()) SWIG_fail;
26844 }
26845 resultobj = SWIG_Py_Void();
26846 {
26847 if (temp2)
26848 delete arg2;
26849 }
26850 return resultobj;
26851 fail:
26852 {
26853 if (temp2)
26854 delete arg2;
26855 }
26856 return NULL;
26857 }
26858
26859
26860 SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26861 PyObject *resultobj = 0;
26862 wxListItem *arg1 = (wxListItem *) 0 ;
26863 int arg2 ;
26864 void *argp1 = 0 ;
26865 int res1 = 0 ;
26866 int val2 ;
26867 int ecode2 = 0 ;
26868 PyObject * obj0 = 0 ;
26869 PyObject * obj1 = 0 ;
26870 char * kwnames[] = {
26871 (char *) "self",(char *) "image", NULL
26872 };
26873
26874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26876 if (!SWIG_IsOK(res1)) {
26877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26878 }
26879 arg1 = reinterpret_cast< wxListItem * >(argp1);
26880 ecode2 = SWIG_AsVal_int(obj1, &val2);
26881 if (!SWIG_IsOK(ecode2)) {
26882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26883 }
26884 arg2 = static_cast< int >(val2);
26885 {
26886 PyThreadState* __tstate = wxPyBeginAllowThreads();
26887 (arg1)->SetImage(arg2);
26888 wxPyEndAllowThreads(__tstate);
26889 if (PyErr_Occurred()) SWIG_fail;
26890 }
26891 resultobj = SWIG_Py_Void();
26892 return resultobj;
26893 fail:
26894 return NULL;
26895 }
26896
26897
26898 SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26899 PyObject *resultobj = 0;
26900 wxListItem *arg1 = (wxListItem *) 0 ;
26901 long arg2 ;
26902 void *argp1 = 0 ;
26903 int res1 = 0 ;
26904 long val2 ;
26905 int ecode2 = 0 ;
26906 PyObject * obj0 = 0 ;
26907 PyObject * obj1 = 0 ;
26908 char * kwnames[] = {
26909 (char *) "self",(char *) "data", NULL
26910 };
26911
26912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26914 if (!SWIG_IsOK(res1)) {
26915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26916 }
26917 arg1 = reinterpret_cast< wxListItem * >(argp1);
26918 ecode2 = SWIG_AsVal_long(obj1, &val2);
26919 if (!SWIG_IsOK(ecode2)) {
26920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26921 }
26922 arg2 = static_cast< long >(val2);
26923 {
26924 PyThreadState* __tstate = wxPyBeginAllowThreads();
26925 (arg1)->SetData(arg2);
26926 wxPyEndAllowThreads(__tstate);
26927 if (PyErr_Occurred()) SWIG_fail;
26928 }
26929 resultobj = SWIG_Py_Void();
26930 return resultobj;
26931 fail:
26932 return NULL;
26933 }
26934
26935
26936 SWIGINTERN PyObject *_wrap_ListItem_SetWidth(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 *) "width", NULL
26948 };
26949
26950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",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_SetWidth" "', 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_SetWidth" "', expected argument " "2"" of type '" "int""'");
26959 }
26960 arg2 = static_cast< int >(val2);
26961 {
26962 PyThreadState* __tstate = wxPyBeginAllowThreads();
26963 (arg1)->SetWidth(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_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26975 PyObject *resultobj = 0;
26976 wxListItem *arg1 = (wxListItem *) 0 ;
26977 wxListColumnFormat arg2 ;
26978 void *argp1 = 0 ;
26979 int res1 = 0 ;
26980 int val2 ;
26981 int ecode2 = 0 ;
26982 PyObject * obj0 = 0 ;
26983 PyObject * obj1 = 0 ;
26984 char * kwnames[] = {
26985 (char *) "self",(char *) "align", NULL
26986 };
26987
26988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",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_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26992 }
26993 arg1 = reinterpret_cast< wxListItem * >(argp1);
26994 ecode2 = SWIG_AsVal_int(obj1, &val2);
26995 if (!SWIG_IsOK(ecode2)) {
26996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26997 }
26998 arg2 = static_cast< wxListColumnFormat >(val2);
26999 {
27000 PyThreadState* __tstate = wxPyBeginAllowThreads();
27001 (arg1)->SetAlign(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_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27013 PyObject *resultobj = 0;
27014 wxListItem *arg1 = (wxListItem *) 0 ;
27015 wxColour *arg2 = 0 ;
27016 void *argp1 = 0 ;
27017 int res1 = 0 ;
27018 wxColour temp2 ;
27019 PyObject * obj0 = 0 ;
27020 PyObject * obj1 = 0 ;
27021 char * kwnames[] = {
27022 (char *) "self",(char *) "colText", NULL
27023 };
27024
27025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
27026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27027 if (!SWIG_IsOK(res1)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27029 }
27030 arg1 = reinterpret_cast< wxListItem * >(argp1);
27031 {
27032 arg2 = &temp2;
27033 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27034 }
27035 {
27036 PyThreadState* __tstate = wxPyBeginAllowThreads();
27037 (arg1)->SetTextColour((wxColour const &)*arg2);
27038 wxPyEndAllowThreads(__tstate);
27039 if (PyErr_Occurred()) SWIG_fail;
27040 }
27041 resultobj = SWIG_Py_Void();
27042 return resultobj;
27043 fail:
27044 return NULL;
27045 }
27046
27047
27048 SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27049 PyObject *resultobj = 0;
27050 wxListItem *arg1 = (wxListItem *) 0 ;
27051 wxColour *arg2 = 0 ;
27052 void *argp1 = 0 ;
27053 int res1 = 0 ;
27054 wxColour temp2 ;
27055 PyObject * obj0 = 0 ;
27056 PyObject * obj1 = 0 ;
27057 char * kwnames[] = {
27058 (char *) "self",(char *) "colBack", NULL
27059 };
27060
27061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
27062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27063 if (!SWIG_IsOK(res1)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27065 }
27066 arg1 = reinterpret_cast< wxListItem * >(argp1);
27067 {
27068 arg2 = &temp2;
27069 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27070 }
27071 {
27072 PyThreadState* __tstate = wxPyBeginAllowThreads();
27073 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
27074 wxPyEndAllowThreads(__tstate);
27075 if (PyErr_Occurred()) SWIG_fail;
27076 }
27077 resultobj = SWIG_Py_Void();
27078 return resultobj;
27079 fail:
27080 return NULL;
27081 }
27082
27083
27084 SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27085 PyObject *resultobj = 0;
27086 wxListItem *arg1 = (wxListItem *) 0 ;
27087 wxFont *arg2 = 0 ;
27088 void *argp1 = 0 ;
27089 int res1 = 0 ;
27090 void *argp2 = 0 ;
27091 int res2 = 0 ;
27092 PyObject * obj0 = 0 ;
27093 PyObject * obj1 = 0 ;
27094 char * kwnames[] = {
27095 (char *) "self",(char *) "font", NULL
27096 };
27097
27098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
27099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27100 if (!SWIG_IsOK(res1)) {
27101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27102 }
27103 arg1 = reinterpret_cast< wxListItem * >(argp1);
27104 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
27105 if (!SWIG_IsOK(res2)) {
27106 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27107 }
27108 if (!argp2) {
27109 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27110 }
27111 arg2 = reinterpret_cast< wxFont * >(argp2);
27112 {
27113 PyThreadState* __tstate = wxPyBeginAllowThreads();
27114 (arg1)->SetFont((wxFont const &)*arg2);
27115 wxPyEndAllowThreads(__tstate);
27116 if (PyErr_Occurred()) SWIG_fail;
27117 }
27118 resultobj = SWIG_Py_Void();
27119 return resultobj;
27120 fail:
27121 return NULL;
27122 }
27123
27124
27125 SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27126 PyObject *resultobj = 0;
27127 wxListItem *arg1 = (wxListItem *) 0 ;
27128 long result;
27129 void *argp1 = 0 ;
27130 int res1 = 0 ;
27131 PyObject *swig_obj[1] ;
27132
27133 if (!args) SWIG_fail;
27134 swig_obj[0] = args;
27135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27136 if (!SWIG_IsOK(res1)) {
27137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27138 }
27139 arg1 = reinterpret_cast< wxListItem * >(argp1);
27140 {
27141 PyThreadState* __tstate = wxPyBeginAllowThreads();
27142 result = (long)(arg1)->GetMask();
27143 wxPyEndAllowThreads(__tstate);
27144 if (PyErr_Occurred()) SWIG_fail;
27145 }
27146 resultobj = SWIG_From_long(static_cast< long >(result));
27147 return resultobj;
27148 fail:
27149 return NULL;
27150 }
27151
27152
27153 SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27154 PyObject *resultobj = 0;
27155 wxListItem *arg1 = (wxListItem *) 0 ;
27156 long result;
27157 void *argp1 = 0 ;
27158 int res1 = 0 ;
27159 PyObject *swig_obj[1] ;
27160
27161 if (!args) SWIG_fail;
27162 swig_obj[0] = args;
27163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27164 if (!SWIG_IsOK(res1)) {
27165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27166 }
27167 arg1 = reinterpret_cast< wxListItem * >(argp1);
27168 {
27169 PyThreadState* __tstate = wxPyBeginAllowThreads();
27170 result = (long)(arg1)->GetId();
27171 wxPyEndAllowThreads(__tstate);
27172 if (PyErr_Occurred()) SWIG_fail;
27173 }
27174 resultobj = SWIG_From_long(static_cast< long >(result));
27175 return resultobj;
27176 fail:
27177 return NULL;
27178 }
27179
27180
27181 SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27182 PyObject *resultobj = 0;
27183 wxListItem *arg1 = (wxListItem *) 0 ;
27184 int result;
27185 void *argp1 = 0 ;
27186 int res1 = 0 ;
27187 PyObject *swig_obj[1] ;
27188
27189 if (!args) SWIG_fail;
27190 swig_obj[0] = args;
27191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27192 if (!SWIG_IsOK(res1)) {
27193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27194 }
27195 arg1 = reinterpret_cast< wxListItem * >(argp1);
27196 {
27197 PyThreadState* __tstate = wxPyBeginAllowThreads();
27198 result = (int)(arg1)->GetColumn();
27199 wxPyEndAllowThreads(__tstate);
27200 if (PyErr_Occurred()) SWIG_fail;
27201 }
27202 resultobj = SWIG_From_int(static_cast< int >(result));
27203 return resultobj;
27204 fail:
27205 return NULL;
27206 }
27207
27208
27209 SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27210 PyObject *resultobj = 0;
27211 wxListItem *arg1 = (wxListItem *) 0 ;
27212 long result;
27213 void *argp1 = 0 ;
27214 int res1 = 0 ;
27215 PyObject *swig_obj[1] ;
27216
27217 if (!args) SWIG_fail;
27218 swig_obj[0] = args;
27219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27220 if (!SWIG_IsOK(res1)) {
27221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27222 }
27223 arg1 = reinterpret_cast< wxListItem * >(argp1);
27224 {
27225 PyThreadState* __tstate = wxPyBeginAllowThreads();
27226 result = (long)(arg1)->GetState();
27227 wxPyEndAllowThreads(__tstate);
27228 if (PyErr_Occurred()) SWIG_fail;
27229 }
27230 resultobj = SWIG_From_long(static_cast< long >(result));
27231 return resultobj;
27232 fail:
27233 return NULL;
27234 }
27235
27236
27237 SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27238 PyObject *resultobj = 0;
27239 wxListItem *arg1 = (wxListItem *) 0 ;
27240 wxString *result = 0 ;
27241 void *argp1 = 0 ;
27242 int res1 = 0 ;
27243 PyObject *swig_obj[1] ;
27244
27245 if (!args) SWIG_fail;
27246 swig_obj[0] = args;
27247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27248 if (!SWIG_IsOK(res1)) {
27249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27250 }
27251 arg1 = reinterpret_cast< wxListItem * >(argp1);
27252 {
27253 PyThreadState* __tstate = wxPyBeginAllowThreads();
27254 {
27255 wxString const &_result_ref = (arg1)->GetText();
27256 result = (wxString *) &_result_ref;
27257 }
27258 wxPyEndAllowThreads(__tstate);
27259 if (PyErr_Occurred()) SWIG_fail;
27260 }
27261 {
27262 #if wxUSE_UNICODE
27263 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27264 #else
27265 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27266 #endif
27267 }
27268 return resultobj;
27269 fail:
27270 return NULL;
27271 }
27272
27273
27274 SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27275 PyObject *resultobj = 0;
27276 wxListItem *arg1 = (wxListItem *) 0 ;
27277 int result;
27278 void *argp1 = 0 ;
27279 int res1 = 0 ;
27280 PyObject *swig_obj[1] ;
27281
27282 if (!args) SWIG_fail;
27283 swig_obj[0] = args;
27284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27285 if (!SWIG_IsOK(res1)) {
27286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27287 }
27288 arg1 = reinterpret_cast< wxListItem * >(argp1);
27289 {
27290 PyThreadState* __tstate = wxPyBeginAllowThreads();
27291 result = (int)(arg1)->GetImage();
27292 wxPyEndAllowThreads(__tstate);
27293 if (PyErr_Occurred()) SWIG_fail;
27294 }
27295 resultobj = SWIG_From_int(static_cast< int >(result));
27296 return resultobj;
27297 fail:
27298 return NULL;
27299 }
27300
27301
27302 SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27303 PyObject *resultobj = 0;
27304 wxListItem *arg1 = (wxListItem *) 0 ;
27305 long result;
27306 void *argp1 = 0 ;
27307 int res1 = 0 ;
27308 PyObject *swig_obj[1] ;
27309
27310 if (!args) SWIG_fail;
27311 swig_obj[0] = args;
27312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27313 if (!SWIG_IsOK(res1)) {
27314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27315 }
27316 arg1 = reinterpret_cast< wxListItem * >(argp1);
27317 {
27318 PyThreadState* __tstate = wxPyBeginAllowThreads();
27319 result = (long)(arg1)->GetData();
27320 wxPyEndAllowThreads(__tstate);
27321 if (PyErr_Occurred()) SWIG_fail;
27322 }
27323 resultobj = SWIG_From_long(static_cast< long >(result));
27324 return resultobj;
27325 fail:
27326 return NULL;
27327 }
27328
27329
27330 SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27331 PyObject *resultobj = 0;
27332 wxListItem *arg1 = (wxListItem *) 0 ;
27333 int result;
27334 void *argp1 = 0 ;
27335 int res1 = 0 ;
27336 PyObject *swig_obj[1] ;
27337
27338 if (!args) SWIG_fail;
27339 swig_obj[0] = args;
27340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27341 if (!SWIG_IsOK(res1)) {
27342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27343 }
27344 arg1 = reinterpret_cast< wxListItem * >(argp1);
27345 {
27346 PyThreadState* __tstate = wxPyBeginAllowThreads();
27347 result = (int)(arg1)->GetWidth();
27348 wxPyEndAllowThreads(__tstate);
27349 if (PyErr_Occurred()) SWIG_fail;
27350 }
27351 resultobj = SWIG_From_int(static_cast< int >(result));
27352 return resultobj;
27353 fail:
27354 return NULL;
27355 }
27356
27357
27358 SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27359 PyObject *resultobj = 0;
27360 wxListItem *arg1 = (wxListItem *) 0 ;
27361 wxListColumnFormat result;
27362 void *argp1 = 0 ;
27363 int res1 = 0 ;
27364 PyObject *swig_obj[1] ;
27365
27366 if (!args) SWIG_fail;
27367 swig_obj[0] = args;
27368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27369 if (!SWIG_IsOK(res1)) {
27370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27371 }
27372 arg1 = reinterpret_cast< wxListItem * >(argp1);
27373 {
27374 PyThreadState* __tstate = wxPyBeginAllowThreads();
27375 result = (wxListColumnFormat)(arg1)->GetAlign();
27376 wxPyEndAllowThreads(__tstate);
27377 if (PyErr_Occurred()) SWIG_fail;
27378 }
27379 resultobj = SWIG_From_int(static_cast< int >(result));
27380 return resultobj;
27381 fail:
27382 return NULL;
27383 }
27384
27385
27386 SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27387 PyObject *resultobj = 0;
27388 wxListItem *arg1 = (wxListItem *) 0 ;
27389 wxListItemAttr *result = 0 ;
27390 void *argp1 = 0 ;
27391 int res1 = 0 ;
27392 PyObject *swig_obj[1] ;
27393
27394 if (!args) SWIG_fail;
27395 swig_obj[0] = args;
27396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27397 if (!SWIG_IsOK(res1)) {
27398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27399 }
27400 arg1 = reinterpret_cast< wxListItem * >(argp1);
27401 {
27402 PyThreadState* __tstate = wxPyBeginAllowThreads();
27403 result = (wxListItemAttr *)(arg1)->GetAttributes();
27404 wxPyEndAllowThreads(__tstate);
27405 if (PyErr_Occurred()) SWIG_fail;
27406 }
27407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27408 return resultobj;
27409 fail:
27410 return NULL;
27411 }
27412
27413
27414 SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27415 PyObject *resultobj = 0;
27416 wxListItem *arg1 = (wxListItem *) 0 ;
27417 bool result;
27418 void *argp1 = 0 ;
27419 int res1 = 0 ;
27420 PyObject *swig_obj[1] ;
27421
27422 if (!args) SWIG_fail;
27423 swig_obj[0] = args;
27424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27425 if (!SWIG_IsOK(res1)) {
27426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27427 }
27428 arg1 = reinterpret_cast< wxListItem * >(argp1);
27429 {
27430 PyThreadState* __tstate = wxPyBeginAllowThreads();
27431 result = (bool)(arg1)->HasAttributes();
27432 wxPyEndAllowThreads(__tstate);
27433 if (PyErr_Occurred()) SWIG_fail;
27434 }
27435 {
27436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27437 }
27438 return resultobj;
27439 fail:
27440 return NULL;
27441 }
27442
27443
27444 SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27445 PyObject *resultobj = 0;
27446 wxListItem *arg1 = (wxListItem *) 0 ;
27447 wxColour result;
27448 void *argp1 = 0 ;
27449 int res1 = 0 ;
27450 PyObject *swig_obj[1] ;
27451
27452 if (!args) SWIG_fail;
27453 swig_obj[0] = args;
27454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27455 if (!SWIG_IsOK(res1)) {
27456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27457 }
27458 arg1 = reinterpret_cast< wxListItem * >(argp1);
27459 {
27460 PyThreadState* __tstate = wxPyBeginAllowThreads();
27461 result = ((wxListItem const *)arg1)->GetTextColour();
27462 wxPyEndAllowThreads(__tstate);
27463 if (PyErr_Occurred()) SWIG_fail;
27464 }
27465 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27466 return resultobj;
27467 fail:
27468 return NULL;
27469 }
27470
27471
27472 SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27473 PyObject *resultobj = 0;
27474 wxListItem *arg1 = (wxListItem *) 0 ;
27475 wxColour result;
27476 void *argp1 = 0 ;
27477 int res1 = 0 ;
27478 PyObject *swig_obj[1] ;
27479
27480 if (!args) SWIG_fail;
27481 swig_obj[0] = args;
27482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27483 if (!SWIG_IsOK(res1)) {
27484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27485 }
27486 arg1 = reinterpret_cast< wxListItem * >(argp1);
27487 {
27488 PyThreadState* __tstate = wxPyBeginAllowThreads();
27489 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27490 wxPyEndAllowThreads(__tstate);
27491 if (PyErr_Occurred()) SWIG_fail;
27492 }
27493 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27494 return resultobj;
27495 fail:
27496 return NULL;
27497 }
27498
27499
27500 SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27501 PyObject *resultobj = 0;
27502 wxListItem *arg1 = (wxListItem *) 0 ;
27503 wxFont result;
27504 void *argp1 = 0 ;
27505 int res1 = 0 ;
27506 PyObject *swig_obj[1] ;
27507
27508 if (!args) SWIG_fail;
27509 swig_obj[0] = args;
27510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27511 if (!SWIG_IsOK(res1)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27513 }
27514 arg1 = reinterpret_cast< wxListItem * >(argp1);
27515 {
27516 PyThreadState* __tstate = wxPyBeginAllowThreads();
27517 result = ((wxListItem const *)arg1)->GetFont();
27518 wxPyEndAllowThreads(__tstate);
27519 if (PyErr_Occurred()) SWIG_fail;
27520 }
27521 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27522 return resultobj;
27523 fail:
27524 return NULL;
27525 }
27526
27527
27528 SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27529 PyObject *resultobj = 0;
27530 wxListItem *arg1 = (wxListItem *) 0 ;
27531 long arg2 ;
27532 void *argp1 = 0 ;
27533 int res1 = 0 ;
27534 long val2 ;
27535 int ecode2 = 0 ;
27536 PyObject *swig_obj[2] ;
27537
27538 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27540 if (!SWIG_IsOK(res1)) {
27541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27542 }
27543 arg1 = reinterpret_cast< wxListItem * >(argp1);
27544 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27545 if (!SWIG_IsOK(ecode2)) {
27546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27547 }
27548 arg2 = static_cast< long >(val2);
27549 if (arg1) (arg1)->m_mask = arg2;
27550
27551 resultobj = SWIG_Py_Void();
27552 return resultobj;
27553 fail:
27554 return NULL;
27555 }
27556
27557
27558 SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27559 PyObject *resultobj = 0;
27560 wxListItem *arg1 = (wxListItem *) 0 ;
27561 long result;
27562 void *argp1 = 0 ;
27563 int res1 = 0 ;
27564 PyObject *swig_obj[1] ;
27565
27566 if (!args) SWIG_fail;
27567 swig_obj[0] = args;
27568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27569 if (!SWIG_IsOK(res1)) {
27570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27571 }
27572 arg1 = reinterpret_cast< wxListItem * >(argp1);
27573 result = (long) ((arg1)->m_mask);
27574 resultobj = SWIG_From_long(static_cast< long >(result));
27575 return resultobj;
27576 fail:
27577 return NULL;
27578 }
27579
27580
27581 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27582 PyObject *resultobj = 0;
27583 wxListItem *arg1 = (wxListItem *) 0 ;
27584 long arg2 ;
27585 void *argp1 = 0 ;
27586 int res1 = 0 ;
27587 long val2 ;
27588 int ecode2 = 0 ;
27589 PyObject *swig_obj[2] ;
27590
27591 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27593 if (!SWIG_IsOK(res1)) {
27594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27595 }
27596 arg1 = reinterpret_cast< wxListItem * >(argp1);
27597 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27598 if (!SWIG_IsOK(ecode2)) {
27599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27600 }
27601 arg2 = static_cast< long >(val2);
27602 if (arg1) (arg1)->m_itemId = arg2;
27603
27604 resultobj = SWIG_Py_Void();
27605 return resultobj;
27606 fail:
27607 return NULL;
27608 }
27609
27610
27611 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27612 PyObject *resultobj = 0;
27613 wxListItem *arg1 = (wxListItem *) 0 ;
27614 long result;
27615 void *argp1 = 0 ;
27616 int res1 = 0 ;
27617 PyObject *swig_obj[1] ;
27618
27619 if (!args) SWIG_fail;
27620 swig_obj[0] = args;
27621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27622 if (!SWIG_IsOK(res1)) {
27623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27624 }
27625 arg1 = reinterpret_cast< wxListItem * >(argp1);
27626 result = (long) ((arg1)->m_itemId);
27627 resultobj = SWIG_From_long(static_cast< long >(result));
27628 return resultobj;
27629 fail:
27630 return NULL;
27631 }
27632
27633
27634 SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27635 PyObject *resultobj = 0;
27636 wxListItem *arg1 = (wxListItem *) 0 ;
27637 int arg2 ;
27638 void *argp1 = 0 ;
27639 int res1 = 0 ;
27640 int val2 ;
27641 int ecode2 = 0 ;
27642 PyObject *swig_obj[2] ;
27643
27644 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27646 if (!SWIG_IsOK(res1)) {
27647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27648 }
27649 arg1 = reinterpret_cast< wxListItem * >(argp1);
27650 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27651 if (!SWIG_IsOK(ecode2)) {
27652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27653 }
27654 arg2 = static_cast< int >(val2);
27655 if (arg1) (arg1)->m_col = arg2;
27656
27657 resultobj = SWIG_Py_Void();
27658 return resultobj;
27659 fail:
27660 return NULL;
27661 }
27662
27663
27664 SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27665 PyObject *resultobj = 0;
27666 wxListItem *arg1 = (wxListItem *) 0 ;
27667 int result;
27668 void *argp1 = 0 ;
27669 int res1 = 0 ;
27670 PyObject *swig_obj[1] ;
27671
27672 if (!args) SWIG_fail;
27673 swig_obj[0] = args;
27674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27675 if (!SWIG_IsOK(res1)) {
27676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27677 }
27678 arg1 = reinterpret_cast< wxListItem * >(argp1);
27679 result = (int) ((arg1)->m_col);
27680 resultobj = SWIG_From_int(static_cast< int >(result));
27681 return resultobj;
27682 fail:
27683 return NULL;
27684 }
27685
27686
27687 SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27688 PyObject *resultobj = 0;
27689 wxListItem *arg1 = (wxListItem *) 0 ;
27690 long arg2 ;
27691 void *argp1 = 0 ;
27692 int res1 = 0 ;
27693 long val2 ;
27694 int ecode2 = 0 ;
27695 PyObject *swig_obj[2] ;
27696
27697 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27699 if (!SWIG_IsOK(res1)) {
27700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27701 }
27702 arg1 = reinterpret_cast< wxListItem * >(argp1);
27703 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27704 if (!SWIG_IsOK(ecode2)) {
27705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27706 }
27707 arg2 = static_cast< long >(val2);
27708 if (arg1) (arg1)->m_state = arg2;
27709
27710 resultobj = SWIG_Py_Void();
27711 return resultobj;
27712 fail:
27713 return NULL;
27714 }
27715
27716
27717 SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27718 PyObject *resultobj = 0;
27719 wxListItem *arg1 = (wxListItem *) 0 ;
27720 long result;
27721 void *argp1 = 0 ;
27722 int res1 = 0 ;
27723 PyObject *swig_obj[1] ;
27724
27725 if (!args) SWIG_fail;
27726 swig_obj[0] = args;
27727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27728 if (!SWIG_IsOK(res1)) {
27729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27730 }
27731 arg1 = reinterpret_cast< wxListItem * >(argp1);
27732 result = (long) ((arg1)->m_state);
27733 resultobj = SWIG_From_long(static_cast< long >(result));
27734 return resultobj;
27735 fail:
27736 return NULL;
27737 }
27738
27739
27740 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27741 PyObject *resultobj = 0;
27742 wxListItem *arg1 = (wxListItem *) 0 ;
27743 long arg2 ;
27744 void *argp1 = 0 ;
27745 int res1 = 0 ;
27746 long val2 ;
27747 int ecode2 = 0 ;
27748 PyObject *swig_obj[2] ;
27749
27750 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27752 if (!SWIG_IsOK(res1)) {
27753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27754 }
27755 arg1 = reinterpret_cast< wxListItem * >(argp1);
27756 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27757 if (!SWIG_IsOK(ecode2)) {
27758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27759 }
27760 arg2 = static_cast< long >(val2);
27761 if (arg1) (arg1)->m_stateMask = arg2;
27762
27763 resultobj = SWIG_Py_Void();
27764 return resultobj;
27765 fail:
27766 return NULL;
27767 }
27768
27769
27770 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27771 PyObject *resultobj = 0;
27772 wxListItem *arg1 = (wxListItem *) 0 ;
27773 long result;
27774 void *argp1 = 0 ;
27775 int res1 = 0 ;
27776 PyObject *swig_obj[1] ;
27777
27778 if (!args) SWIG_fail;
27779 swig_obj[0] = args;
27780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27781 if (!SWIG_IsOK(res1)) {
27782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27783 }
27784 arg1 = reinterpret_cast< wxListItem * >(argp1);
27785 result = (long) ((arg1)->m_stateMask);
27786 resultobj = SWIG_From_long(static_cast< long >(result));
27787 return resultobj;
27788 fail:
27789 return NULL;
27790 }
27791
27792
27793 SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27794 PyObject *resultobj = 0;
27795 wxListItem *arg1 = (wxListItem *) 0 ;
27796 wxString *arg2 = (wxString *) 0 ;
27797 void *argp1 = 0 ;
27798 int res1 = 0 ;
27799 bool temp2 = false ;
27800 PyObject *swig_obj[2] ;
27801
27802 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
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_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27806 }
27807 arg1 = reinterpret_cast< wxListItem * >(argp1);
27808 {
27809 arg2 = wxString_in_helper(swig_obj[1]);
27810 if (arg2 == NULL) SWIG_fail;
27811 temp2 = true;
27812 }
27813 if (arg1) (arg1)->m_text = *arg2;
27814
27815 resultobj = SWIG_Py_Void();
27816 {
27817 if (temp2)
27818 delete arg2;
27819 }
27820 return resultobj;
27821 fail:
27822 {
27823 if (temp2)
27824 delete arg2;
27825 }
27826 return NULL;
27827 }
27828
27829
27830 SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27831 PyObject *resultobj = 0;
27832 wxListItem *arg1 = (wxListItem *) 0 ;
27833 wxString *result = 0 ;
27834 void *argp1 = 0 ;
27835 int res1 = 0 ;
27836 PyObject *swig_obj[1] ;
27837
27838 if (!args) SWIG_fail;
27839 swig_obj[0] = args;
27840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27841 if (!SWIG_IsOK(res1)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27843 }
27844 arg1 = reinterpret_cast< wxListItem * >(argp1);
27845 result = (wxString *)& ((arg1)->m_text);
27846 {
27847 #if wxUSE_UNICODE
27848 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27849 #else
27850 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27851 #endif
27852 }
27853 return resultobj;
27854 fail:
27855 return NULL;
27856 }
27857
27858
27859 SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27860 PyObject *resultobj = 0;
27861 wxListItem *arg1 = (wxListItem *) 0 ;
27862 int arg2 ;
27863 void *argp1 = 0 ;
27864 int res1 = 0 ;
27865 int val2 ;
27866 int ecode2 = 0 ;
27867 PyObject *swig_obj[2] ;
27868
27869 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27871 if (!SWIG_IsOK(res1)) {
27872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27873 }
27874 arg1 = reinterpret_cast< wxListItem * >(argp1);
27875 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27876 if (!SWIG_IsOK(ecode2)) {
27877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27878 }
27879 arg2 = static_cast< int >(val2);
27880 if (arg1) (arg1)->m_image = arg2;
27881
27882 resultobj = SWIG_Py_Void();
27883 return resultobj;
27884 fail:
27885 return NULL;
27886 }
27887
27888
27889 SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27890 PyObject *resultobj = 0;
27891 wxListItem *arg1 = (wxListItem *) 0 ;
27892 int result;
27893 void *argp1 = 0 ;
27894 int res1 = 0 ;
27895 PyObject *swig_obj[1] ;
27896
27897 if (!args) SWIG_fail;
27898 swig_obj[0] = args;
27899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27900 if (!SWIG_IsOK(res1)) {
27901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27902 }
27903 arg1 = reinterpret_cast< wxListItem * >(argp1);
27904 result = (int) ((arg1)->m_image);
27905 resultobj = SWIG_From_int(static_cast< int >(result));
27906 return resultobj;
27907 fail:
27908 return NULL;
27909 }
27910
27911
27912 SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27913 PyObject *resultobj = 0;
27914 wxListItem *arg1 = (wxListItem *) 0 ;
27915 long arg2 ;
27916 void *argp1 = 0 ;
27917 int res1 = 0 ;
27918 long val2 ;
27919 int ecode2 = 0 ;
27920 PyObject *swig_obj[2] ;
27921
27922 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27924 if (!SWIG_IsOK(res1)) {
27925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27926 }
27927 arg1 = reinterpret_cast< wxListItem * >(argp1);
27928 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27929 if (!SWIG_IsOK(ecode2)) {
27930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27931 }
27932 arg2 = static_cast< long >(val2);
27933 if (arg1) (arg1)->m_data = arg2;
27934
27935 resultobj = SWIG_Py_Void();
27936 return resultobj;
27937 fail:
27938 return NULL;
27939 }
27940
27941
27942 SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27943 PyObject *resultobj = 0;
27944 wxListItem *arg1 = (wxListItem *) 0 ;
27945 long result;
27946 void *argp1 = 0 ;
27947 int res1 = 0 ;
27948 PyObject *swig_obj[1] ;
27949
27950 if (!args) SWIG_fail;
27951 swig_obj[0] = args;
27952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27953 if (!SWIG_IsOK(res1)) {
27954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27955 }
27956 arg1 = reinterpret_cast< wxListItem * >(argp1);
27957 result = (long) ((arg1)->m_data);
27958 resultobj = SWIG_From_long(static_cast< long >(result));
27959 return resultobj;
27960 fail:
27961 return NULL;
27962 }
27963
27964
27965 SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27966 PyObject *resultobj = 0;
27967 wxListItem *arg1 = (wxListItem *) 0 ;
27968 int arg2 ;
27969 void *argp1 = 0 ;
27970 int res1 = 0 ;
27971 int val2 ;
27972 int ecode2 = 0 ;
27973 PyObject *swig_obj[2] ;
27974
27975 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
27976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27977 if (!SWIG_IsOK(res1)) {
27978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27979 }
27980 arg1 = reinterpret_cast< wxListItem * >(argp1);
27981 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27982 if (!SWIG_IsOK(ecode2)) {
27983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27984 }
27985 arg2 = static_cast< int >(val2);
27986 if (arg1) (arg1)->m_format = arg2;
27987
27988 resultobj = SWIG_Py_Void();
27989 return resultobj;
27990 fail:
27991 return NULL;
27992 }
27993
27994
27995 SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27996 PyObject *resultobj = 0;
27997 wxListItem *arg1 = (wxListItem *) 0 ;
27998 int result;
27999 void *argp1 = 0 ;
28000 int res1 = 0 ;
28001 PyObject *swig_obj[1] ;
28002
28003 if (!args) SWIG_fail;
28004 swig_obj[0] = args;
28005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28006 if (!SWIG_IsOK(res1)) {
28007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28008 }
28009 arg1 = reinterpret_cast< wxListItem * >(argp1);
28010 result = (int) ((arg1)->m_format);
28011 resultobj = SWIG_From_int(static_cast< int >(result));
28012 return resultobj;
28013 fail:
28014 return NULL;
28015 }
28016
28017
28018 SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28019 PyObject *resultobj = 0;
28020 wxListItem *arg1 = (wxListItem *) 0 ;
28021 int arg2 ;
28022 void *argp1 = 0 ;
28023 int res1 = 0 ;
28024 int val2 ;
28025 int ecode2 = 0 ;
28026 PyObject *swig_obj[2] ;
28027
28028 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
28029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28030 if (!SWIG_IsOK(res1)) {
28031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28032 }
28033 arg1 = reinterpret_cast< wxListItem * >(argp1);
28034 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28035 if (!SWIG_IsOK(ecode2)) {
28036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28037 }
28038 arg2 = static_cast< int >(val2);
28039 if (arg1) (arg1)->m_width = arg2;
28040
28041 resultobj = SWIG_Py_Void();
28042 return resultobj;
28043 fail:
28044 return NULL;
28045 }
28046
28047
28048 SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28049 PyObject *resultobj = 0;
28050 wxListItem *arg1 = (wxListItem *) 0 ;
28051 int result;
28052 void *argp1 = 0 ;
28053 int res1 = 0 ;
28054 PyObject *swig_obj[1] ;
28055
28056 if (!args) SWIG_fail;
28057 swig_obj[0] = args;
28058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28059 if (!SWIG_IsOK(res1)) {
28060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28061 }
28062 arg1 = reinterpret_cast< wxListItem * >(argp1);
28063 result = (int) ((arg1)->m_width);
28064 resultobj = SWIG_From_int(static_cast< int >(result));
28065 return resultobj;
28066 fail:
28067 return NULL;
28068 }
28069
28070
28071 SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28072 PyObject *obj;
28073 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28074 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
28075 return SWIG_Py_Void();
28076 }
28077
28078 SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28079 return SWIG_Python_InitShadowInstance(args);
28080 }
28081
28082 SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28083 PyObject *resultobj = 0;
28084 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28085 int arg2 = (int) 0 ;
28086 wxListEvent *result = 0 ;
28087 int val1 ;
28088 int ecode1 = 0 ;
28089 int val2 ;
28090 int ecode2 = 0 ;
28091 PyObject * obj0 = 0 ;
28092 PyObject * obj1 = 0 ;
28093 char * kwnames[] = {
28094 (char *) "commandType",(char *) "id", NULL
28095 };
28096
28097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28098 if (obj0) {
28099 ecode1 = SWIG_AsVal_int(obj0, &val1);
28100 if (!SWIG_IsOK(ecode1)) {
28101 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28102 }
28103 arg1 = static_cast< wxEventType >(val1);
28104 }
28105 if (obj1) {
28106 ecode2 = SWIG_AsVal_int(obj1, &val2);
28107 if (!SWIG_IsOK(ecode2)) {
28108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28109 }
28110 arg2 = static_cast< int >(val2);
28111 }
28112 {
28113 PyThreadState* __tstate = wxPyBeginAllowThreads();
28114 result = (wxListEvent *)new wxListEvent(arg1,arg2);
28115 wxPyEndAllowThreads(__tstate);
28116 if (PyErr_Occurred()) SWIG_fail;
28117 }
28118 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
28119 return resultobj;
28120 fail:
28121 return NULL;
28122 }
28123
28124
28125 SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28126 PyObject *resultobj = 0;
28127 wxListEvent *arg1 = (wxListEvent *) 0 ;
28128 int arg2 ;
28129 void *argp1 = 0 ;
28130 int res1 = 0 ;
28131 int val2 ;
28132 int ecode2 = 0 ;
28133 PyObject *swig_obj[2] ;
28134
28135 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
28136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28137 if (!SWIG_IsOK(res1)) {
28138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28139 }
28140 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28141 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28142 if (!SWIG_IsOK(ecode2)) {
28143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28144 }
28145 arg2 = static_cast< int >(val2);
28146 if (arg1) (arg1)->m_code = arg2;
28147
28148 resultobj = SWIG_Py_Void();
28149 return resultobj;
28150 fail:
28151 return NULL;
28152 }
28153
28154
28155 SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28156 PyObject *resultobj = 0;
28157 wxListEvent *arg1 = (wxListEvent *) 0 ;
28158 int result;
28159 void *argp1 = 0 ;
28160 int res1 = 0 ;
28161 PyObject *swig_obj[1] ;
28162
28163 if (!args) SWIG_fail;
28164 swig_obj[0] = args;
28165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28166 if (!SWIG_IsOK(res1)) {
28167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28168 }
28169 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28170 result = (int) ((arg1)->m_code);
28171 resultobj = SWIG_From_int(static_cast< int >(result));
28172 return resultobj;
28173 fail:
28174 return NULL;
28175 }
28176
28177
28178 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28179 PyObject *resultobj = 0;
28180 wxListEvent *arg1 = (wxListEvent *) 0 ;
28181 long arg2 ;
28182 void *argp1 = 0 ;
28183 int res1 = 0 ;
28184 long val2 ;
28185 int ecode2 = 0 ;
28186 PyObject *swig_obj[2] ;
28187
28188 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
28189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28190 if (!SWIG_IsOK(res1)) {
28191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28192 }
28193 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28194 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28195 if (!SWIG_IsOK(ecode2)) {
28196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28197 }
28198 arg2 = static_cast< long >(val2);
28199 if (arg1) (arg1)->m_oldItemIndex = arg2;
28200
28201 resultobj = SWIG_Py_Void();
28202 return resultobj;
28203 fail:
28204 return NULL;
28205 }
28206
28207
28208 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28209 PyObject *resultobj = 0;
28210 wxListEvent *arg1 = (wxListEvent *) 0 ;
28211 long result;
28212 void *argp1 = 0 ;
28213 int res1 = 0 ;
28214 PyObject *swig_obj[1] ;
28215
28216 if (!args) SWIG_fail;
28217 swig_obj[0] = args;
28218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28219 if (!SWIG_IsOK(res1)) {
28220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28221 }
28222 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28223 result = (long) ((arg1)->m_oldItemIndex);
28224 resultobj = SWIG_From_long(static_cast< long >(result));
28225 return resultobj;
28226 fail:
28227 return NULL;
28228 }
28229
28230
28231 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28232 PyObject *resultobj = 0;
28233 wxListEvent *arg1 = (wxListEvent *) 0 ;
28234 long arg2 ;
28235 void *argp1 = 0 ;
28236 int res1 = 0 ;
28237 long val2 ;
28238 int ecode2 = 0 ;
28239 PyObject *swig_obj[2] ;
28240
28241 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
28242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28243 if (!SWIG_IsOK(res1)) {
28244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28245 }
28246 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28247 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28248 if (!SWIG_IsOK(ecode2)) {
28249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28250 }
28251 arg2 = static_cast< long >(val2);
28252 if (arg1) (arg1)->m_itemIndex = arg2;
28253
28254 resultobj = SWIG_Py_Void();
28255 return resultobj;
28256 fail:
28257 return NULL;
28258 }
28259
28260
28261 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28262 PyObject *resultobj = 0;
28263 wxListEvent *arg1 = (wxListEvent *) 0 ;
28264 long result;
28265 void *argp1 = 0 ;
28266 int res1 = 0 ;
28267 PyObject *swig_obj[1] ;
28268
28269 if (!args) SWIG_fail;
28270 swig_obj[0] = args;
28271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28272 if (!SWIG_IsOK(res1)) {
28273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28274 }
28275 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28276 result = (long) ((arg1)->m_itemIndex);
28277 resultobj = SWIG_From_long(static_cast< long >(result));
28278 return resultobj;
28279 fail:
28280 return NULL;
28281 }
28282
28283
28284 SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28285 PyObject *resultobj = 0;
28286 wxListEvent *arg1 = (wxListEvent *) 0 ;
28287 int arg2 ;
28288 void *argp1 = 0 ;
28289 int res1 = 0 ;
28290 int val2 ;
28291 int ecode2 = 0 ;
28292 PyObject *swig_obj[2] ;
28293
28294 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28296 if (!SWIG_IsOK(res1)) {
28297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28298 }
28299 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28300 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28301 if (!SWIG_IsOK(ecode2)) {
28302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28303 }
28304 arg2 = static_cast< int >(val2);
28305 if (arg1) (arg1)->m_col = arg2;
28306
28307 resultobj = SWIG_Py_Void();
28308 return resultobj;
28309 fail:
28310 return NULL;
28311 }
28312
28313
28314 SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28315 PyObject *resultobj = 0;
28316 wxListEvent *arg1 = (wxListEvent *) 0 ;
28317 int result;
28318 void *argp1 = 0 ;
28319 int res1 = 0 ;
28320 PyObject *swig_obj[1] ;
28321
28322 if (!args) SWIG_fail;
28323 swig_obj[0] = args;
28324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28325 if (!SWIG_IsOK(res1)) {
28326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28327 }
28328 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28329 result = (int) ((arg1)->m_col);
28330 resultobj = SWIG_From_int(static_cast< int >(result));
28331 return resultobj;
28332 fail:
28333 return NULL;
28334 }
28335
28336
28337 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28338 PyObject *resultobj = 0;
28339 wxListEvent *arg1 = (wxListEvent *) 0 ;
28340 wxPoint *arg2 = (wxPoint *) 0 ;
28341 void *argp1 = 0 ;
28342 int res1 = 0 ;
28343 void *argp2 = 0 ;
28344 int res2 = 0 ;
28345 PyObject *swig_obj[2] ;
28346
28347 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28349 if (!SWIG_IsOK(res1)) {
28350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28351 }
28352 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28353 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28354 if (!SWIG_IsOK(res2)) {
28355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28356 }
28357 arg2 = reinterpret_cast< wxPoint * >(argp2);
28358 if (arg1) (arg1)->m_pointDrag = *arg2;
28359
28360 resultobj = SWIG_Py_Void();
28361 return resultobj;
28362 fail:
28363 return NULL;
28364 }
28365
28366
28367 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28368 PyObject *resultobj = 0;
28369 wxListEvent *arg1 = (wxListEvent *) 0 ;
28370 wxPoint *result = 0 ;
28371 void *argp1 = 0 ;
28372 int res1 = 0 ;
28373 PyObject *swig_obj[1] ;
28374
28375 if (!args) SWIG_fail;
28376 swig_obj[0] = args;
28377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28378 if (!SWIG_IsOK(res1)) {
28379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28380 }
28381 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28382 result = (wxPoint *)& ((arg1)->m_pointDrag);
28383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28384 return resultobj;
28385 fail:
28386 return NULL;
28387 }
28388
28389
28390 SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28391 PyObject *resultobj = 0;
28392 wxListEvent *arg1 = (wxListEvent *) 0 ;
28393 wxListItem *result = 0 ;
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_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28403 }
28404 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28405 result = (wxListItem *)& ((arg1)->m_item);
28406 {
28407 resultobj = wxPyMake_wxObject(result, 0);
28408 }
28409 return resultobj;
28410 fail:
28411 return NULL;
28412 }
28413
28414
28415 SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28416 PyObject *resultobj = 0;
28417 wxListEvent *arg1 = (wxListEvent *) 0 ;
28418 int result;
28419 void *argp1 = 0 ;
28420 int res1 = 0 ;
28421 PyObject *swig_obj[1] ;
28422
28423 if (!args) SWIG_fail;
28424 swig_obj[0] = args;
28425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28426 if (!SWIG_IsOK(res1)) {
28427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28428 }
28429 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28430 {
28431 PyThreadState* __tstate = wxPyBeginAllowThreads();
28432 result = (int)(arg1)->GetKeyCode();
28433 wxPyEndAllowThreads(__tstate);
28434 if (PyErr_Occurred()) SWIG_fail;
28435 }
28436 resultobj = SWIG_From_int(static_cast< int >(result));
28437 return resultobj;
28438 fail:
28439 return NULL;
28440 }
28441
28442
28443 SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28444 PyObject *resultobj = 0;
28445 wxListEvent *arg1 = (wxListEvent *) 0 ;
28446 long result;
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_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28456 }
28457 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28458 {
28459 PyThreadState* __tstate = wxPyBeginAllowThreads();
28460 result = (long)(arg1)->GetIndex();
28461 wxPyEndAllowThreads(__tstate);
28462 if (PyErr_Occurred()) SWIG_fail;
28463 }
28464 resultobj = SWIG_From_long(static_cast< long >(result));
28465 return resultobj;
28466 fail:
28467 return NULL;
28468 }
28469
28470
28471 SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28472 PyObject *resultobj = 0;
28473 wxListEvent *arg1 = (wxListEvent *) 0 ;
28474 int result;
28475 void *argp1 = 0 ;
28476 int res1 = 0 ;
28477 PyObject *swig_obj[1] ;
28478
28479 if (!args) SWIG_fail;
28480 swig_obj[0] = args;
28481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28482 if (!SWIG_IsOK(res1)) {
28483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28484 }
28485 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28486 {
28487 PyThreadState* __tstate = wxPyBeginAllowThreads();
28488 result = (int)(arg1)->GetColumn();
28489 wxPyEndAllowThreads(__tstate);
28490 if (PyErr_Occurred()) SWIG_fail;
28491 }
28492 resultobj = SWIG_From_int(static_cast< int >(result));
28493 return resultobj;
28494 fail:
28495 return NULL;
28496 }
28497
28498
28499 SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28500 PyObject *resultobj = 0;
28501 wxListEvent *arg1 = (wxListEvent *) 0 ;
28502 wxPoint result;
28503 void *argp1 = 0 ;
28504 int res1 = 0 ;
28505 PyObject *swig_obj[1] ;
28506
28507 if (!args) SWIG_fail;
28508 swig_obj[0] = args;
28509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28510 if (!SWIG_IsOK(res1)) {
28511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28512 }
28513 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28514 {
28515 PyThreadState* __tstate = wxPyBeginAllowThreads();
28516 result = (arg1)->GetPoint();
28517 wxPyEndAllowThreads(__tstate);
28518 if (PyErr_Occurred()) SWIG_fail;
28519 }
28520 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28521 return resultobj;
28522 fail:
28523 return NULL;
28524 }
28525
28526
28527 SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28528 PyObject *resultobj = 0;
28529 wxListEvent *arg1 = (wxListEvent *) 0 ;
28530 wxString *result = 0 ;
28531 void *argp1 = 0 ;
28532 int res1 = 0 ;
28533 PyObject *swig_obj[1] ;
28534
28535 if (!args) SWIG_fail;
28536 swig_obj[0] = args;
28537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28538 if (!SWIG_IsOK(res1)) {
28539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28540 }
28541 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28542 {
28543 PyThreadState* __tstate = wxPyBeginAllowThreads();
28544 {
28545 wxString const &_result_ref = (arg1)->GetLabel();
28546 result = (wxString *) &_result_ref;
28547 }
28548 wxPyEndAllowThreads(__tstate);
28549 if (PyErr_Occurred()) SWIG_fail;
28550 }
28551 {
28552 #if wxUSE_UNICODE
28553 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28554 #else
28555 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28556 #endif
28557 }
28558 return resultobj;
28559 fail:
28560 return NULL;
28561 }
28562
28563
28564 SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28565 PyObject *resultobj = 0;
28566 wxListEvent *arg1 = (wxListEvent *) 0 ;
28567 wxString *result = 0 ;
28568 void *argp1 = 0 ;
28569 int res1 = 0 ;
28570 PyObject *swig_obj[1] ;
28571
28572 if (!args) SWIG_fail;
28573 swig_obj[0] = args;
28574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28575 if (!SWIG_IsOK(res1)) {
28576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28577 }
28578 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28579 {
28580 PyThreadState* __tstate = wxPyBeginAllowThreads();
28581 {
28582 wxString const &_result_ref = (arg1)->GetText();
28583 result = (wxString *) &_result_ref;
28584 }
28585 wxPyEndAllowThreads(__tstate);
28586 if (PyErr_Occurred()) SWIG_fail;
28587 }
28588 {
28589 #if wxUSE_UNICODE
28590 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28591 #else
28592 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28593 #endif
28594 }
28595 return resultobj;
28596 fail:
28597 return NULL;
28598 }
28599
28600
28601 SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28602 PyObject *resultobj = 0;
28603 wxListEvent *arg1 = (wxListEvent *) 0 ;
28604 int result;
28605 void *argp1 = 0 ;
28606 int res1 = 0 ;
28607 PyObject *swig_obj[1] ;
28608
28609 if (!args) SWIG_fail;
28610 swig_obj[0] = args;
28611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28612 if (!SWIG_IsOK(res1)) {
28613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28614 }
28615 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28616 {
28617 PyThreadState* __tstate = wxPyBeginAllowThreads();
28618 result = (int)(arg1)->GetImage();
28619 wxPyEndAllowThreads(__tstate);
28620 if (PyErr_Occurred()) SWIG_fail;
28621 }
28622 resultobj = SWIG_From_int(static_cast< int >(result));
28623 return resultobj;
28624 fail:
28625 return NULL;
28626 }
28627
28628
28629 SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28630 PyObject *resultobj = 0;
28631 wxListEvent *arg1 = (wxListEvent *) 0 ;
28632 long result;
28633 void *argp1 = 0 ;
28634 int res1 = 0 ;
28635 PyObject *swig_obj[1] ;
28636
28637 if (!args) SWIG_fail;
28638 swig_obj[0] = args;
28639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28640 if (!SWIG_IsOK(res1)) {
28641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28642 }
28643 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28644 {
28645 PyThreadState* __tstate = wxPyBeginAllowThreads();
28646 result = (long)(arg1)->GetData();
28647 wxPyEndAllowThreads(__tstate);
28648 if (PyErr_Occurred()) SWIG_fail;
28649 }
28650 resultobj = SWIG_From_long(static_cast< long >(result));
28651 return resultobj;
28652 fail:
28653 return NULL;
28654 }
28655
28656
28657 SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28658 PyObject *resultobj = 0;
28659 wxListEvent *arg1 = (wxListEvent *) 0 ;
28660 long result;
28661 void *argp1 = 0 ;
28662 int res1 = 0 ;
28663 PyObject *swig_obj[1] ;
28664
28665 if (!args) SWIG_fail;
28666 swig_obj[0] = args;
28667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28668 if (!SWIG_IsOK(res1)) {
28669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28670 }
28671 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28672 {
28673 PyThreadState* __tstate = wxPyBeginAllowThreads();
28674 result = (long)(arg1)->GetMask();
28675 wxPyEndAllowThreads(__tstate);
28676 if (PyErr_Occurred()) SWIG_fail;
28677 }
28678 resultobj = SWIG_From_long(static_cast< long >(result));
28679 return resultobj;
28680 fail:
28681 return NULL;
28682 }
28683
28684
28685 SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28686 PyObject *resultobj = 0;
28687 wxListEvent *arg1 = (wxListEvent *) 0 ;
28688 wxListItem *result = 0 ;
28689 void *argp1 = 0 ;
28690 int res1 = 0 ;
28691 PyObject *swig_obj[1] ;
28692
28693 if (!args) SWIG_fail;
28694 swig_obj[0] = args;
28695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28696 if (!SWIG_IsOK(res1)) {
28697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28698 }
28699 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28700 {
28701 PyThreadState* __tstate = wxPyBeginAllowThreads();
28702 {
28703 wxListItem const &_result_ref = (arg1)->GetItem();
28704 result = (wxListItem *) &_result_ref;
28705 }
28706 wxPyEndAllowThreads(__tstate);
28707 if (PyErr_Occurred()) SWIG_fail;
28708 }
28709 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28710 return resultobj;
28711 fail:
28712 return NULL;
28713 }
28714
28715
28716 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28717 PyObject *resultobj = 0;
28718 wxListEvent *arg1 = (wxListEvent *) 0 ;
28719 long result;
28720 void *argp1 = 0 ;
28721 int res1 = 0 ;
28722 PyObject *swig_obj[1] ;
28723
28724 if (!args) SWIG_fail;
28725 swig_obj[0] = args;
28726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28727 if (!SWIG_IsOK(res1)) {
28728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28729 }
28730 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28731 {
28732 PyThreadState* __tstate = wxPyBeginAllowThreads();
28733 result = (long)(arg1)->GetCacheFrom();
28734 wxPyEndAllowThreads(__tstate);
28735 if (PyErr_Occurred()) SWIG_fail;
28736 }
28737 resultobj = SWIG_From_long(static_cast< long >(result));
28738 return resultobj;
28739 fail:
28740 return NULL;
28741 }
28742
28743
28744 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28745 PyObject *resultobj = 0;
28746 wxListEvent *arg1 = (wxListEvent *) 0 ;
28747 long result;
28748 void *argp1 = 0 ;
28749 int res1 = 0 ;
28750 PyObject *swig_obj[1] ;
28751
28752 if (!args) SWIG_fail;
28753 swig_obj[0] = args;
28754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28755 if (!SWIG_IsOK(res1)) {
28756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28757 }
28758 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28759 {
28760 PyThreadState* __tstate = wxPyBeginAllowThreads();
28761 result = (long)(arg1)->GetCacheTo();
28762 wxPyEndAllowThreads(__tstate);
28763 if (PyErr_Occurred()) SWIG_fail;
28764 }
28765 resultobj = SWIG_From_long(static_cast< long >(result));
28766 return resultobj;
28767 fail:
28768 return NULL;
28769 }
28770
28771
28772 SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28773 PyObject *resultobj = 0;
28774 wxListEvent *arg1 = (wxListEvent *) 0 ;
28775 bool result;
28776 void *argp1 = 0 ;
28777 int res1 = 0 ;
28778 PyObject *swig_obj[1] ;
28779
28780 if (!args) SWIG_fail;
28781 swig_obj[0] = args;
28782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28783 if (!SWIG_IsOK(res1)) {
28784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28785 }
28786 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28787 {
28788 PyThreadState* __tstate = wxPyBeginAllowThreads();
28789 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28790 wxPyEndAllowThreads(__tstate);
28791 if (PyErr_Occurred()) SWIG_fail;
28792 }
28793 {
28794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28795 }
28796 return resultobj;
28797 fail:
28798 return NULL;
28799 }
28800
28801
28802 SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28803 PyObject *resultobj = 0;
28804 wxListEvent *arg1 = (wxListEvent *) 0 ;
28805 bool arg2 ;
28806 void *argp1 = 0 ;
28807 int res1 = 0 ;
28808 bool val2 ;
28809 int ecode2 = 0 ;
28810 PyObject * obj0 = 0 ;
28811 PyObject * obj1 = 0 ;
28812 char * kwnames[] = {
28813 (char *) "self",(char *) "editCancelled", NULL
28814 };
28815
28816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28818 if (!SWIG_IsOK(res1)) {
28819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28820 }
28821 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28822 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28823 if (!SWIG_IsOK(ecode2)) {
28824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28825 }
28826 arg2 = static_cast< bool >(val2);
28827 {
28828 PyThreadState* __tstate = wxPyBeginAllowThreads();
28829 (arg1)->SetEditCanceled(arg2);
28830 wxPyEndAllowThreads(__tstate);
28831 if (PyErr_Occurred()) SWIG_fail;
28832 }
28833 resultobj = SWIG_Py_Void();
28834 return resultobj;
28835 fail:
28836 return NULL;
28837 }
28838
28839
28840 SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28841 PyObject *obj;
28842 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28843 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28844 return SWIG_Py_Void();
28845 }
28846
28847 SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28848 return SWIG_Python_InitShadowInstance(args);
28849 }
28850
28851 SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28852 PyObject *resultobj = 0;
28853 wxWindow *arg1 = (wxWindow *) 0 ;
28854 int arg2 = (int) -1 ;
28855 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28856 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28857 wxSize const &arg4_defvalue = wxDefaultSize ;
28858 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28859 long arg5 = (long) wxLC_ICON ;
28860 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28861 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28862 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28863 wxString *arg7 = (wxString *) &arg7_defvalue ;
28864 wxPyListCtrl *result = 0 ;
28865 void *argp1 = 0 ;
28866 int res1 = 0 ;
28867 int val2 ;
28868 int ecode2 = 0 ;
28869 wxPoint temp3 ;
28870 wxSize temp4 ;
28871 long val5 ;
28872 int ecode5 = 0 ;
28873 void *argp6 = 0 ;
28874 int res6 = 0 ;
28875 bool temp7 = false ;
28876 PyObject * obj0 = 0 ;
28877 PyObject * obj1 = 0 ;
28878 PyObject * obj2 = 0 ;
28879 PyObject * obj3 = 0 ;
28880 PyObject * obj4 = 0 ;
28881 PyObject * obj5 = 0 ;
28882 PyObject * obj6 = 0 ;
28883 char * kwnames[] = {
28884 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28885 };
28886
28887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28889 if (!SWIG_IsOK(res1)) {
28890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28891 }
28892 arg1 = reinterpret_cast< wxWindow * >(argp1);
28893 if (obj1) {
28894 ecode2 = SWIG_AsVal_int(obj1, &val2);
28895 if (!SWIG_IsOK(ecode2)) {
28896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28897 }
28898 arg2 = static_cast< int >(val2);
28899 }
28900 if (obj2) {
28901 {
28902 arg3 = &temp3;
28903 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28904 }
28905 }
28906 if (obj3) {
28907 {
28908 arg4 = &temp4;
28909 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28910 }
28911 }
28912 if (obj4) {
28913 ecode5 = SWIG_AsVal_long(obj4, &val5);
28914 if (!SWIG_IsOK(ecode5)) {
28915 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28916 }
28917 arg5 = static_cast< long >(val5);
28918 }
28919 if (obj5) {
28920 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28921 if (!SWIG_IsOK(res6)) {
28922 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28923 }
28924 if (!argp6) {
28925 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28926 }
28927 arg6 = reinterpret_cast< wxValidator * >(argp6);
28928 }
28929 if (obj6) {
28930 {
28931 arg7 = wxString_in_helper(obj6);
28932 if (arg7 == NULL) SWIG_fail;
28933 temp7 = true;
28934 }
28935 }
28936 {
28937 if (!wxPyCheckForApp()) SWIG_fail;
28938 PyThreadState* __tstate = wxPyBeginAllowThreads();
28939 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28940 wxPyEndAllowThreads(__tstate);
28941 if (PyErr_Occurred()) SWIG_fail;
28942 }
28943 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
28944 {
28945 if (temp7)
28946 delete arg7;
28947 }
28948 return resultobj;
28949 fail:
28950 {
28951 if (temp7)
28952 delete arg7;
28953 }
28954 return NULL;
28955 }
28956
28957
28958 SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28959 PyObject *resultobj = 0;
28960 wxPyListCtrl *result = 0 ;
28961
28962 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
28963 {
28964 if (!wxPyCheckForApp()) SWIG_fail;
28965 PyThreadState* __tstate = wxPyBeginAllowThreads();
28966 result = (wxPyListCtrl *)new wxPyListCtrl();
28967 wxPyEndAllowThreads(__tstate);
28968 if (PyErr_Occurred()) SWIG_fail;
28969 }
28970 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
28971 return resultobj;
28972 fail:
28973 return NULL;
28974 }
28975
28976
28977 SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28978 PyObject *resultobj = 0;
28979 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28980 wxWindow *arg2 = (wxWindow *) 0 ;
28981 int arg3 = (int) -1 ;
28982 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28983 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28984 wxSize const &arg5_defvalue = wxDefaultSize ;
28985 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28986 long arg6 = (long) wxLC_ICON ;
28987 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28988 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28989 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
28990 wxString *arg8 = (wxString *) &arg8_defvalue ;
28991 bool result;
28992 void *argp1 = 0 ;
28993 int res1 = 0 ;
28994 void *argp2 = 0 ;
28995 int res2 = 0 ;
28996 int val3 ;
28997 int ecode3 = 0 ;
28998 wxPoint temp4 ;
28999 wxSize temp5 ;
29000 long val6 ;
29001 int ecode6 = 0 ;
29002 void *argp7 = 0 ;
29003 int res7 = 0 ;
29004 bool temp8 = false ;
29005 PyObject * obj0 = 0 ;
29006 PyObject * obj1 = 0 ;
29007 PyObject * obj2 = 0 ;
29008 PyObject * obj3 = 0 ;
29009 PyObject * obj4 = 0 ;
29010 PyObject * obj5 = 0 ;
29011 PyObject * obj6 = 0 ;
29012 PyObject * obj7 = 0 ;
29013 char * kwnames[] = {
29014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29015 };
29016
29017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
29018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29019 if (!SWIG_IsOK(res1)) {
29020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29021 }
29022 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29023 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29024 if (!SWIG_IsOK(res2)) {
29025 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29026 }
29027 arg2 = reinterpret_cast< wxWindow * >(argp2);
29028 if (obj2) {
29029 ecode3 = SWIG_AsVal_int(obj2, &val3);
29030 if (!SWIG_IsOK(ecode3)) {
29031 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29032 }
29033 arg3 = static_cast< int >(val3);
29034 }
29035 if (obj3) {
29036 {
29037 arg4 = &temp4;
29038 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29039 }
29040 }
29041 if (obj4) {
29042 {
29043 arg5 = &temp5;
29044 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29045 }
29046 }
29047 if (obj5) {
29048 ecode6 = SWIG_AsVal_long(obj5, &val6);
29049 if (!SWIG_IsOK(ecode6)) {
29050 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29051 }
29052 arg6 = static_cast< long >(val6);
29053 }
29054 if (obj6) {
29055 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
29056 if (!SWIG_IsOK(res7)) {
29057 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29058 }
29059 if (!argp7) {
29060 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29061 }
29062 arg7 = reinterpret_cast< wxValidator * >(argp7);
29063 }
29064 if (obj7) {
29065 {
29066 arg8 = wxString_in_helper(obj7);
29067 if (arg8 == NULL) SWIG_fail;
29068 temp8 = true;
29069 }
29070 }
29071 {
29072 PyThreadState* __tstate = wxPyBeginAllowThreads();
29073 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29074 wxPyEndAllowThreads(__tstate);
29075 if (PyErr_Occurred()) SWIG_fail;
29076 }
29077 {
29078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29079 }
29080 {
29081 if (temp8)
29082 delete arg8;
29083 }
29084 return resultobj;
29085 fail:
29086 {
29087 if (temp8)
29088 delete arg8;
29089 }
29090 return NULL;
29091 }
29092
29093
29094 SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29095 PyObject *resultobj = 0;
29096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29097 PyObject *arg2 = (PyObject *) 0 ;
29098 PyObject *arg3 = (PyObject *) 0 ;
29099 void *argp1 = 0 ;
29100 int res1 = 0 ;
29101 PyObject * obj0 = 0 ;
29102 PyObject * obj1 = 0 ;
29103 PyObject * obj2 = 0 ;
29104 char * kwnames[] = {
29105 (char *) "self",(char *) "self",(char *) "_class", NULL
29106 };
29107
29108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29110 if (!SWIG_IsOK(res1)) {
29111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29112 }
29113 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29114 arg2 = obj1;
29115 arg3 = obj2;
29116 {
29117 PyThreadState* __tstate = wxPyBeginAllowThreads();
29118 (arg1)->_setCallbackInfo(arg2,arg3);
29119 wxPyEndAllowThreads(__tstate);
29120 if (PyErr_Occurred()) SWIG_fail;
29121 }
29122 resultobj = SWIG_Py_Void();
29123 return resultobj;
29124 fail:
29125 return NULL;
29126 }
29127
29128
29129 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29130 PyObject *resultobj = 0;
29131 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29132 int arg2 ;
29133 wxListItem *result = 0 ;
29134 void *argp1 = 0 ;
29135 int res1 = 0 ;
29136 int val2 ;
29137 int ecode2 = 0 ;
29138 PyObject * obj0 = 0 ;
29139 PyObject * obj1 = 0 ;
29140 char * kwnames[] = {
29141 (char *) "self",(char *) "col", NULL
29142 };
29143
29144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
29145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29146 if (!SWIG_IsOK(res1)) {
29147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29148 }
29149 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29150 ecode2 = SWIG_AsVal_int(obj1, &val2);
29151 if (!SWIG_IsOK(ecode2)) {
29152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29153 }
29154 arg2 = static_cast< int >(val2);
29155 {
29156 PyThreadState* __tstate = wxPyBeginAllowThreads();
29157 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
29158 wxPyEndAllowThreads(__tstate);
29159 if (PyErr_Occurred()) SWIG_fail;
29160 }
29161 {
29162 resultobj = wxPyMake_wxObject(result, 0);
29163 }
29164 return resultobj;
29165 fail:
29166 return NULL;
29167 }
29168
29169
29170 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29171 PyObject *resultobj = 0;
29172 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29173 int arg2 ;
29174 wxListItem *arg3 = 0 ;
29175 bool result;
29176 void *argp1 = 0 ;
29177 int res1 = 0 ;
29178 int val2 ;
29179 int ecode2 = 0 ;
29180 void *argp3 = 0 ;
29181 int res3 = 0 ;
29182 PyObject * obj0 = 0 ;
29183 PyObject * obj1 = 0 ;
29184 PyObject * obj2 = 0 ;
29185 char * kwnames[] = {
29186 (char *) "self",(char *) "col",(char *) "item", NULL
29187 };
29188
29189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29191 if (!SWIG_IsOK(res1)) {
29192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29193 }
29194 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29195 ecode2 = SWIG_AsVal_int(obj1, &val2);
29196 if (!SWIG_IsOK(ecode2)) {
29197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29198 }
29199 arg2 = static_cast< int >(val2);
29200 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29201 if (!SWIG_IsOK(res3)) {
29202 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29203 }
29204 if (!argp3) {
29205 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29206 }
29207 arg3 = reinterpret_cast< wxListItem * >(argp3);
29208 {
29209 PyThreadState* __tstate = wxPyBeginAllowThreads();
29210 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29211 wxPyEndAllowThreads(__tstate);
29212 if (PyErr_Occurred()) SWIG_fail;
29213 }
29214 {
29215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29216 }
29217 return resultobj;
29218 fail:
29219 return NULL;
29220 }
29221
29222
29223 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29224 PyObject *resultobj = 0;
29225 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29226 int arg2 ;
29227 int result;
29228 void *argp1 = 0 ;
29229 int res1 = 0 ;
29230 int val2 ;
29231 int ecode2 = 0 ;
29232 PyObject * obj0 = 0 ;
29233 PyObject * obj1 = 0 ;
29234 char * kwnames[] = {
29235 (char *) "self",(char *) "col", NULL
29236 };
29237
29238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29240 if (!SWIG_IsOK(res1)) {
29241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29242 }
29243 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29244 ecode2 = SWIG_AsVal_int(obj1, &val2);
29245 if (!SWIG_IsOK(ecode2)) {
29246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29247 }
29248 arg2 = static_cast< int >(val2);
29249 {
29250 PyThreadState* __tstate = wxPyBeginAllowThreads();
29251 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29252 wxPyEndAllowThreads(__tstate);
29253 if (PyErr_Occurred()) SWIG_fail;
29254 }
29255 resultobj = SWIG_From_int(static_cast< int >(result));
29256 return resultobj;
29257 fail:
29258 return NULL;
29259 }
29260
29261
29262 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29263 PyObject *resultobj = 0;
29264 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29265 int arg2 ;
29266 int arg3 ;
29267 bool result;
29268 void *argp1 = 0 ;
29269 int res1 = 0 ;
29270 int val2 ;
29271 int ecode2 = 0 ;
29272 int val3 ;
29273 int ecode3 = 0 ;
29274 PyObject * obj0 = 0 ;
29275 PyObject * obj1 = 0 ;
29276 PyObject * obj2 = 0 ;
29277 char * kwnames[] = {
29278 (char *) "self",(char *) "col",(char *) "width", NULL
29279 };
29280
29281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29283 if (!SWIG_IsOK(res1)) {
29284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29285 }
29286 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29287 ecode2 = SWIG_AsVal_int(obj1, &val2);
29288 if (!SWIG_IsOK(ecode2)) {
29289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29290 }
29291 arg2 = static_cast< int >(val2);
29292 ecode3 = SWIG_AsVal_int(obj2, &val3);
29293 if (!SWIG_IsOK(ecode3)) {
29294 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29295 }
29296 arg3 = static_cast< int >(val3);
29297 {
29298 PyThreadState* __tstate = wxPyBeginAllowThreads();
29299 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29300 wxPyEndAllowThreads(__tstate);
29301 if (PyErr_Occurred()) SWIG_fail;
29302 }
29303 {
29304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29305 }
29306 return resultobj;
29307 fail:
29308 return NULL;
29309 }
29310
29311
29312 SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29313 PyObject *resultobj = 0;
29314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29315 int result;
29316 void *argp1 = 0 ;
29317 int res1 = 0 ;
29318 PyObject *swig_obj[1] ;
29319
29320 if (!args) SWIG_fail;
29321 swig_obj[0] = args;
29322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29323 if (!SWIG_IsOK(res1)) {
29324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29325 }
29326 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29327 {
29328 PyThreadState* __tstate = wxPyBeginAllowThreads();
29329 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29330 wxPyEndAllowThreads(__tstate);
29331 if (PyErr_Occurred()) SWIG_fail;
29332 }
29333 resultobj = SWIG_From_int(static_cast< int >(result));
29334 return resultobj;
29335 fail:
29336 return NULL;
29337 }
29338
29339
29340 SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29341 PyObject *resultobj = 0;
29342 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29343 wxRect result;
29344 void *argp1 = 0 ;
29345 int res1 = 0 ;
29346 PyObject *swig_obj[1] ;
29347
29348 if (!args) SWIG_fail;
29349 swig_obj[0] = args;
29350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29351 if (!SWIG_IsOK(res1)) {
29352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29353 }
29354 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29355 {
29356 PyThreadState* __tstate = wxPyBeginAllowThreads();
29357 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29358 wxPyEndAllowThreads(__tstate);
29359 if (PyErr_Occurred()) SWIG_fail;
29360 }
29361 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29362 return resultobj;
29363 fail:
29364 return NULL;
29365 }
29366
29367
29368 SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29369 PyObject *resultobj = 0;
29370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29371 wxTextCtrl *result = 0 ;
29372 void *argp1 = 0 ;
29373 int res1 = 0 ;
29374 PyObject *swig_obj[1] ;
29375
29376 if (!args) SWIG_fail;
29377 swig_obj[0] = args;
29378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29379 if (!SWIG_IsOK(res1)) {
29380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29381 }
29382 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29383 {
29384 PyThreadState* __tstate = wxPyBeginAllowThreads();
29385 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29386 wxPyEndAllowThreads(__tstate);
29387 if (PyErr_Occurred()) SWIG_fail;
29388 }
29389 {
29390 resultobj = wxPyMake_wxObject(result, 0);
29391 }
29392 return resultobj;
29393 fail:
29394 return NULL;
29395 }
29396
29397
29398 SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29399 PyObject *resultobj = 0;
29400 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29401 long arg2 ;
29402 int arg3 = (int) 0 ;
29403 wxListItem *result = 0 ;
29404 void *argp1 = 0 ;
29405 int res1 = 0 ;
29406 long val2 ;
29407 int ecode2 = 0 ;
29408 int val3 ;
29409 int ecode3 = 0 ;
29410 PyObject * obj0 = 0 ;
29411 PyObject * obj1 = 0 ;
29412 PyObject * obj2 = 0 ;
29413 char * kwnames[] = {
29414 (char *) "self",(char *) "itemId",(char *) "col", NULL
29415 };
29416
29417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29419 if (!SWIG_IsOK(res1)) {
29420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29421 }
29422 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29423 ecode2 = SWIG_AsVal_long(obj1, &val2);
29424 if (!SWIG_IsOK(ecode2)) {
29425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29426 }
29427 arg2 = static_cast< long >(val2);
29428 if (obj2) {
29429 ecode3 = SWIG_AsVal_int(obj2, &val3);
29430 if (!SWIG_IsOK(ecode3)) {
29431 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29432 }
29433 arg3 = static_cast< int >(val3);
29434 }
29435 {
29436 PyThreadState* __tstate = wxPyBeginAllowThreads();
29437 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29438 wxPyEndAllowThreads(__tstate);
29439 if (PyErr_Occurred()) SWIG_fail;
29440 }
29441 {
29442 resultobj = wxPyMake_wxObject(result, 0);
29443 }
29444 return resultobj;
29445 fail:
29446 return NULL;
29447 }
29448
29449
29450 SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29451 PyObject *resultobj = 0;
29452 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29453 wxListItem *arg2 = 0 ;
29454 bool result;
29455 void *argp1 = 0 ;
29456 int res1 = 0 ;
29457 void *argp2 = 0 ;
29458 int res2 = 0 ;
29459 PyObject * obj0 = 0 ;
29460 PyObject * obj1 = 0 ;
29461 char * kwnames[] = {
29462 (char *) "self",(char *) "info", NULL
29463 };
29464
29465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29467 if (!SWIG_IsOK(res1)) {
29468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29469 }
29470 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29471 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29472 if (!SWIG_IsOK(res2)) {
29473 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29474 }
29475 if (!argp2) {
29476 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29477 }
29478 arg2 = reinterpret_cast< wxListItem * >(argp2);
29479 {
29480 PyThreadState* __tstate = wxPyBeginAllowThreads();
29481 result = (bool)(arg1)->SetItem(*arg2);
29482 wxPyEndAllowThreads(__tstate);
29483 if (PyErr_Occurred()) SWIG_fail;
29484 }
29485 {
29486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29487 }
29488 return resultobj;
29489 fail:
29490 return NULL;
29491 }
29492
29493
29494 SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29495 PyObject *resultobj = 0;
29496 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29497 long arg2 ;
29498 int arg3 ;
29499 wxString *arg4 = 0 ;
29500 int arg5 = (int) -1 ;
29501 long result;
29502 void *argp1 = 0 ;
29503 int res1 = 0 ;
29504 long val2 ;
29505 int ecode2 = 0 ;
29506 int val3 ;
29507 int ecode3 = 0 ;
29508 bool temp4 = false ;
29509 int val5 ;
29510 int ecode5 = 0 ;
29511 PyObject * obj0 = 0 ;
29512 PyObject * obj1 = 0 ;
29513 PyObject * obj2 = 0 ;
29514 PyObject * obj3 = 0 ;
29515 PyObject * obj4 = 0 ;
29516 char * kwnames[] = {
29517 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29518 };
29519
29520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29522 if (!SWIG_IsOK(res1)) {
29523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29524 }
29525 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29526 ecode2 = SWIG_AsVal_long(obj1, &val2);
29527 if (!SWIG_IsOK(ecode2)) {
29528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29529 }
29530 arg2 = static_cast< long >(val2);
29531 ecode3 = SWIG_AsVal_int(obj2, &val3);
29532 if (!SWIG_IsOK(ecode3)) {
29533 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29534 }
29535 arg3 = static_cast< int >(val3);
29536 {
29537 arg4 = wxString_in_helper(obj3);
29538 if (arg4 == NULL) SWIG_fail;
29539 temp4 = true;
29540 }
29541 if (obj4) {
29542 ecode5 = SWIG_AsVal_int(obj4, &val5);
29543 if (!SWIG_IsOK(ecode5)) {
29544 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29545 }
29546 arg5 = static_cast< int >(val5);
29547 }
29548 {
29549 PyThreadState* __tstate = wxPyBeginAllowThreads();
29550 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29551 wxPyEndAllowThreads(__tstate);
29552 if (PyErr_Occurred()) SWIG_fail;
29553 }
29554 resultobj = SWIG_From_long(static_cast< long >(result));
29555 {
29556 if (temp4)
29557 delete arg4;
29558 }
29559 return resultobj;
29560 fail:
29561 {
29562 if (temp4)
29563 delete arg4;
29564 }
29565 return NULL;
29566 }
29567
29568
29569 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29570 PyObject *resultobj = 0;
29571 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29572 long arg2 ;
29573 long arg3 ;
29574 int result;
29575 void *argp1 = 0 ;
29576 int res1 = 0 ;
29577 long val2 ;
29578 int ecode2 = 0 ;
29579 long val3 ;
29580 int ecode3 = 0 ;
29581 PyObject * obj0 = 0 ;
29582 PyObject * obj1 = 0 ;
29583 PyObject * obj2 = 0 ;
29584 char * kwnames[] = {
29585 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29586 };
29587
29588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29590 if (!SWIG_IsOK(res1)) {
29591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29592 }
29593 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29594 ecode2 = SWIG_AsVal_long(obj1, &val2);
29595 if (!SWIG_IsOK(ecode2)) {
29596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29597 }
29598 arg2 = static_cast< long >(val2);
29599 ecode3 = SWIG_AsVal_long(obj2, &val3);
29600 if (!SWIG_IsOK(ecode3)) {
29601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29602 }
29603 arg3 = static_cast< long >(val3);
29604 {
29605 PyThreadState* __tstate = wxPyBeginAllowThreads();
29606 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29607 wxPyEndAllowThreads(__tstate);
29608 if (PyErr_Occurred()) SWIG_fail;
29609 }
29610 resultobj = SWIG_From_int(static_cast< int >(result));
29611 return resultobj;
29612 fail:
29613 return NULL;
29614 }
29615
29616
29617 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29618 PyObject *resultobj = 0;
29619 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29620 long arg2 ;
29621 long arg3 ;
29622 long arg4 ;
29623 bool result;
29624 void *argp1 = 0 ;
29625 int res1 = 0 ;
29626 long val2 ;
29627 int ecode2 = 0 ;
29628 long val3 ;
29629 int ecode3 = 0 ;
29630 long val4 ;
29631 int ecode4 = 0 ;
29632 PyObject * obj0 = 0 ;
29633 PyObject * obj1 = 0 ;
29634 PyObject * obj2 = 0 ;
29635 PyObject * obj3 = 0 ;
29636 char * kwnames[] = {
29637 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29638 };
29639
29640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29642 if (!SWIG_IsOK(res1)) {
29643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29644 }
29645 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29646 ecode2 = SWIG_AsVal_long(obj1, &val2);
29647 if (!SWIG_IsOK(ecode2)) {
29648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29649 }
29650 arg2 = static_cast< long >(val2);
29651 ecode3 = SWIG_AsVal_long(obj2, &val3);
29652 if (!SWIG_IsOK(ecode3)) {
29653 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29654 }
29655 arg3 = static_cast< long >(val3);
29656 ecode4 = SWIG_AsVal_long(obj3, &val4);
29657 if (!SWIG_IsOK(ecode4)) {
29658 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29659 }
29660 arg4 = static_cast< long >(val4);
29661 {
29662 PyThreadState* __tstate = wxPyBeginAllowThreads();
29663 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29664 wxPyEndAllowThreads(__tstate);
29665 if (PyErr_Occurred()) SWIG_fail;
29666 }
29667 {
29668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29669 }
29670 return resultobj;
29671 fail:
29672 return NULL;
29673 }
29674
29675
29676 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29677 PyObject *resultobj = 0;
29678 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29679 long arg2 ;
29680 int arg3 ;
29681 int arg4 = (int) -1 ;
29682 bool result;
29683 void *argp1 = 0 ;
29684 int res1 = 0 ;
29685 long val2 ;
29686 int ecode2 = 0 ;
29687 int val3 ;
29688 int ecode3 = 0 ;
29689 int val4 ;
29690 int ecode4 = 0 ;
29691 PyObject * obj0 = 0 ;
29692 PyObject * obj1 = 0 ;
29693 PyObject * obj2 = 0 ;
29694 PyObject * obj3 = 0 ;
29695 char * kwnames[] = {
29696 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29697 };
29698
29699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29701 if (!SWIG_IsOK(res1)) {
29702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29703 }
29704 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29705 ecode2 = SWIG_AsVal_long(obj1, &val2);
29706 if (!SWIG_IsOK(ecode2)) {
29707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29708 }
29709 arg2 = static_cast< long >(val2);
29710 ecode3 = SWIG_AsVal_int(obj2, &val3);
29711 if (!SWIG_IsOK(ecode3)) {
29712 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29713 }
29714 arg3 = static_cast< int >(val3);
29715 if (obj3) {
29716 ecode4 = SWIG_AsVal_int(obj3, &val4);
29717 if (!SWIG_IsOK(ecode4)) {
29718 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29719 }
29720 arg4 = static_cast< int >(val4);
29721 }
29722 {
29723 PyThreadState* __tstate = wxPyBeginAllowThreads();
29724 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29725 wxPyEndAllowThreads(__tstate);
29726 if (PyErr_Occurred()) SWIG_fail;
29727 }
29728 {
29729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29730 }
29731 return resultobj;
29732 fail:
29733 return NULL;
29734 }
29735
29736
29737 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29738 PyObject *resultobj = 0;
29739 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29740 long arg2 ;
29741 long arg3 ;
29742 int arg4 ;
29743 bool result;
29744 void *argp1 = 0 ;
29745 int res1 = 0 ;
29746 long val2 ;
29747 int ecode2 = 0 ;
29748 long val3 ;
29749 int ecode3 = 0 ;
29750 int val4 ;
29751 int ecode4 = 0 ;
29752 PyObject * obj0 = 0 ;
29753 PyObject * obj1 = 0 ;
29754 PyObject * obj2 = 0 ;
29755 PyObject * obj3 = 0 ;
29756 char * kwnames[] = {
29757 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29758 };
29759
29760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29762 if (!SWIG_IsOK(res1)) {
29763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29764 }
29765 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29766 ecode2 = SWIG_AsVal_long(obj1, &val2);
29767 if (!SWIG_IsOK(ecode2)) {
29768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29769 }
29770 arg2 = static_cast< long >(val2);
29771 ecode3 = SWIG_AsVal_long(obj2, &val3);
29772 if (!SWIG_IsOK(ecode3)) {
29773 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29774 }
29775 arg3 = static_cast< long >(val3);
29776 ecode4 = SWIG_AsVal_int(obj3, &val4);
29777 if (!SWIG_IsOK(ecode4)) {
29778 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29779 }
29780 arg4 = static_cast< int >(val4);
29781 {
29782 PyThreadState* __tstate = wxPyBeginAllowThreads();
29783 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29784 wxPyEndAllowThreads(__tstate);
29785 if (PyErr_Occurred()) SWIG_fail;
29786 }
29787 {
29788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29789 }
29790 return resultobj;
29791 fail:
29792 return NULL;
29793 }
29794
29795
29796 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29797 PyObject *resultobj = 0;
29798 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29799 long arg2 ;
29800 wxString result;
29801 void *argp1 = 0 ;
29802 int res1 = 0 ;
29803 long val2 ;
29804 int ecode2 = 0 ;
29805 PyObject * obj0 = 0 ;
29806 PyObject * obj1 = 0 ;
29807 char * kwnames[] = {
29808 (char *) "self",(char *) "item", NULL
29809 };
29810
29811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29813 if (!SWIG_IsOK(res1)) {
29814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29815 }
29816 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29817 ecode2 = SWIG_AsVal_long(obj1, &val2);
29818 if (!SWIG_IsOK(ecode2)) {
29819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29820 }
29821 arg2 = static_cast< long >(val2);
29822 {
29823 PyThreadState* __tstate = wxPyBeginAllowThreads();
29824 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29825 wxPyEndAllowThreads(__tstate);
29826 if (PyErr_Occurred()) SWIG_fail;
29827 }
29828 {
29829 #if wxUSE_UNICODE
29830 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29831 #else
29832 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29833 #endif
29834 }
29835 return resultobj;
29836 fail:
29837 return NULL;
29838 }
29839
29840
29841 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29842 PyObject *resultobj = 0;
29843 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29844 long arg2 ;
29845 wxString *arg3 = 0 ;
29846 void *argp1 = 0 ;
29847 int res1 = 0 ;
29848 long val2 ;
29849 int ecode2 = 0 ;
29850 bool temp3 = false ;
29851 PyObject * obj0 = 0 ;
29852 PyObject * obj1 = 0 ;
29853 PyObject * obj2 = 0 ;
29854 char * kwnames[] = {
29855 (char *) "self",(char *) "item",(char *) "str", NULL
29856 };
29857
29858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29860 if (!SWIG_IsOK(res1)) {
29861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29862 }
29863 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29864 ecode2 = SWIG_AsVal_long(obj1, &val2);
29865 if (!SWIG_IsOK(ecode2)) {
29866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29867 }
29868 arg2 = static_cast< long >(val2);
29869 {
29870 arg3 = wxString_in_helper(obj2);
29871 if (arg3 == NULL) SWIG_fail;
29872 temp3 = true;
29873 }
29874 {
29875 PyThreadState* __tstate = wxPyBeginAllowThreads();
29876 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29877 wxPyEndAllowThreads(__tstate);
29878 if (PyErr_Occurred()) SWIG_fail;
29879 }
29880 resultobj = SWIG_Py_Void();
29881 {
29882 if (temp3)
29883 delete arg3;
29884 }
29885 return resultobj;
29886 fail:
29887 {
29888 if (temp3)
29889 delete arg3;
29890 }
29891 return NULL;
29892 }
29893
29894
29895 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29896 PyObject *resultobj = 0;
29897 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29898 long arg2 ;
29899 long result;
29900 void *argp1 = 0 ;
29901 int res1 = 0 ;
29902 long val2 ;
29903 int ecode2 = 0 ;
29904 PyObject * obj0 = 0 ;
29905 PyObject * obj1 = 0 ;
29906 char * kwnames[] = {
29907 (char *) "self",(char *) "item", NULL
29908 };
29909
29910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29912 if (!SWIG_IsOK(res1)) {
29913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29914 }
29915 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29916 ecode2 = SWIG_AsVal_long(obj1, &val2);
29917 if (!SWIG_IsOK(ecode2)) {
29918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29919 }
29920 arg2 = static_cast< long >(val2);
29921 {
29922 PyThreadState* __tstate = wxPyBeginAllowThreads();
29923 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29924 wxPyEndAllowThreads(__tstate);
29925 if (PyErr_Occurred()) SWIG_fail;
29926 }
29927 resultobj = SWIG_From_long(static_cast< long >(result));
29928 return resultobj;
29929 fail:
29930 return NULL;
29931 }
29932
29933
29934 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29935 PyObject *resultobj = 0;
29936 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29937 long arg2 ;
29938 long arg3 ;
29939 bool result;
29940 void *argp1 = 0 ;
29941 int res1 = 0 ;
29942 long val2 ;
29943 int ecode2 = 0 ;
29944 long val3 ;
29945 int ecode3 = 0 ;
29946 PyObject * obj0 = 0 ;
29947 PyObject * obj1 = 0 ;
29948 PyObject * obj2 = 0 ;
29949 char * kwnames[] = {
29950 (char *) "self",(char *) "item",(char *) "data", NULL
29951 };
29952
29953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29955 if (!SWIG_IsOK(res1)) {
29956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29957 }
29958 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29959 ecode2 = SWIG_AsVal_long(obj1, &val2);
29960 if (!SWIG_IsOK(ecode2)) {
29961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29962 }
29963 arg2 = static_cast< long >(val2);
29964 ecode3 = SWIG_AsVal_long(obj2, &val3);
29965 if (!SWIG_IsOK(ecode3)) {
29966 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29967 }
29968 arg3 = static_cast< long >(val3);
29969 {
29970 PyThreadState* __tstate = wxPyBeginAllowThreads();
29971 result = (bool)(arg1)->SetItemData(arg2,arg3);
29972 wxPyEndAllowThreads(__tstate);
29973 if (PyErr_Occurred()) SWIG_fail;
29974 }
29975 {
29976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29977 }
29978 return resultobj;
29979 fail:
29980 return NULL;
29981 }
29982
29983
29984 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29985 PyObject *resultobj = 0;
29986 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29987 long arg2 ;
29988 wxPoint result;
29989 void *argp1 = 0 ;
29990 int res1 = 0 ;
29991 long val2 ;
29992 int ecode2 = 0 ;
29993 PyObject * obj0 = 0 ;
29994 PyObject * obj1 = 0 ;
29995 char * kwnames[] = {
29996 (char *) "self",(char *) "item", NULL
29997 };
29998
29999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
30000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30001 if (!SWIG_IsOK(res1)) {
30002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30003 }
30004 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30005 ecode2 = SWIG_AsVal_long(obj1, &val2);
30006 if (!SWIG_IsOK(ecode2)) {
30007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30008 }
30009 arg2 = static_cast< long >(val2);
30010 {
30011 PyThreadState* __tstate = wxPyBeginAllowThreads();
30012 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
30013 wxPyEndAllowThreads(__tstate);
30014 if (PyErr_Occurred()) SWIG_fail;
30015 }
30016 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
30017 return resultobj;
30018 fail:
30019 return NULL;
30020 }
30021
30022
30023 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30024 PyObject *resultobj = 0;
30025 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30026 long arg2 ;
30027 int arg3 = (int) wxLIST_RECT_BOUNDS ;
30028 wxRect result;
30029 void *argp1 = 0 ;
30030 int res1 = 0 ;
30031 long val2 ;
30032 int ecode2 = 0 ;
30033 int val3 ;
30034 int ecode3 = 0 ;
30035 PyObject * obj0 = 0 ;
30036 PyObject * obj1 = 0 ;
30037 PyObject * obj2 = 0 ;
30038 char * kwnames[] = {
30039 (char *) "self",(char *) "item",(char *) "code", NULL
30040 };
30041
30042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30044 if (!SWIG_IsOK(res1)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30046 }
30047 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30048 ecode2 = SWIG_AsVal_long(obj1, &val2);
30049 if (!SWIG_IsOK(ecode2)) {
30050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30051 }
30052 arg2 = static_cast< long >(val2);
30053 if (obj2) {
30054 ecode3 = SWIG_AsVal_int(obj2, &val3);
30055 if (!SWIG_IsOK(ecode3)) {
30056 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30057 }
30058 arg3 = static_cast< int >(val3);
30059 }
30060 {
30061 PyThreadState* __tstate = wxPyBeginAllowThreads();
30062 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
30063 wxPyEndAllowThreads(__tstate);
30064 if (PyErr_Occurred()) SWIG_fail;
30065 }
30066 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30067 return resultobj;
30068 fail:
30069 return NULL;
30070 }
30071
30072
30073 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30074 PyObject *resultobj = 0;
30075 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30076 long arg2 ;
30077 wxPoint *arg3 = 0 ;
30078 bool result;
30079 void *argp1 = 0 ;
30080 int res1 = 0 ;
30081 long val2 ;
30082 int ecode2 = 0 ;
30083 wxPoint temp3 ;
30084 PyObject * obj0 = 0 ;
30085 PyObject * obj1 = 0 ;
30086 PyObject * obj2 = 0 ;
30087 char * kwnames[] = {
30088 (char *) "self",(char *) "item",(char *) "pos", NULL
30089 };
30090
30091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30093 if (!SWIG_IsOK(res1)) {
30094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30095 }
30096 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30097 ecode2 = SWIG_AsVal_long(obj1, &val2);
30098 if (!SWIG_IsOK(ecode2)) {
30099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30100 }
30101 arg2 = static_cast< long >(val2);
30102 {
30103 arg3 = &temp3;
30104 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30105 }
30106 {
30107 PyThreadState* __tstate = wxPyBeginAllowThreads();
30108 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
30109 wxPyEndAllowThreads(__tstate);
30110 if (PyErr_Occurred()) SWIG_fail;
30111 }
30112 {
30113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30114 }
30115 return resultobj;
30116 fail:
30117 return NULL;
30118 }
30119
30120
30121 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30122 PyObject *resultobj = 0;
30123 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30124 int result;
30125 void *argp1 = 0 ;
30126 int res1 = 0 ;
30127 PyObject *swig_obj[1] ;
30128
30129 if (!args) SWIG_fail;
30130 swig_obj[0] = args;
30131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30132 if (!SWIG_IsOK(res1)) {
30133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30134 }
30135 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30136 {
30137 PyThreadState* __tstate = wxPyBeginAllowThreads();
30138 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
30139 wxPyEndAllowThreads(__tstate);
30140 if (PyErr_Occurred()) SWIG_fail;
30141 }
30142 resultobj = SWIG_From_int(static_cast< int >(result));
30143 return resultobj;
30144 fail:
30145 return NULL;
30146 }
30147
30148
30149 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30150 PyObject *resultobj = 0;
30151 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30152 int result;
30153 void *argp1 = 0 ;
30154 int res1 = 0 ;
30155 PyObject *swig_obj[1] ;
30156
30157 if (!args) SWIG_fail;
30158 swig_obj[0] = args;
30159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30160 if (!SWIG_IsOK(res1)) {
30161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30162 }
30163 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30164 {
30165 PyThreadState* __tstate = wxPyBeginAllowThreads();
30166 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30167 wxPyEndAllowThreads(__tstate);
30168 if (PyErr_Occurred()) SWIG_fail;
30169 }
30170 resultobj = SWIG_From_int(static_cast< int >(result));
30171 return resultobj;
30172 fail:
30173 return NULL;
30174 }
30175
30176
30177 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30178 PyObject *resultobj = 0;
30179 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30180 wxSize result;
30181 void *argp1 = 0 ;
30182 int res1 = 0 ;
30183 PyObject *swig_obj[1] ;
30184
30185 if (!args) SWIG_fail;
30186 swig_obj[0] = args;
30187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30188 if (!SWIG_IsOK(res1)) {
30189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30190 }
30191 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30192 {
30193 PyThreadState* __tstate = wxPyBeginAllowThreads();
30194 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30195 wxPyEndAllowThreads(__tstate);
30196 if (PyErr_Occurred()) SWIG_fail;
30197 }
30198 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30199 return resultobj;
30200 fail:
30201 return NULL;
30202 }
30203
30204
30205 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30206 PyObject *resultobj = 0;
30207 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30208 int arg2 ;
30209 bool arg3 = (bool) false ;
30210 void *argp1 = 0 ;
30211 int res1 = 0 ;
30212 int val2 ;
30213 int ecode2 = 0 ;
30214 bool val3 ;
30215 int ecode3 = 0 ;
30216 PyObject * obj0 = 0 ;
30217 PyObject * obj1 = 0 ;
30218 PyObject * obj2 = 0 ;
30219 char * kwnames[] = {
30220 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30221 };
30222
30223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30225 if (!SWIG_IsOK(res1)) {
30226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30227 }
30228 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30229 ecode2 = SWIG_AsVal_int(obj1, &val2);
30230 if (!SWIG_IsOK(ecode2)) {
30231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30232 }
30233 arg2 = static_cast< int >(val2);
30234 if (obj2) {
30235 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30236 if (!SWIG_IsOK(ecode3)) {
30237 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30238 }
30239 arg3 = static_cast< bool >(val3);
30240 }
30241 {
30242 PyThreadState* __tstate = wxPyBeginAllowThreads();
30243 (arg1)->SetItemSpacing(arg2,arg3);
30244 wxPyEndAllowThreads(__tstate);
30245 if (PyErr_Occurred()) SWIG_fail;
30246 }
30247 resultobj = SWIG_Py_Void();
30248 return resultobj;
30249 fail:
30250 return NULL;
30251 }
30252
30253
30254 SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30255 PyObject *resultobj = 0;
30256 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30257 int result;
30258 void *argp1 = 0 ;
30259 int res1 = 0 ;
30260 PyObject *swig_obj[1] ;
30261
30262 if (!args) SWIG_fail;
30263 swig_obj[0] = args;
30264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30265 if (!SWIG_IsOK(res1)) {
30266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30267 }
30268 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30269 {
30270 PyThreadState* __tstate = wxPyBeginAllowThreads();
30271 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30272 wxPyEndAllowThreads(__tstate);
30273 if (PyErr_Occurred()) SWIG_fail;
30274 }
30275 resultobj = SWIG_From_int(static_cast< int >(result));
30276 return resultobj;
30277 fail:
30278 return NULL;
30279 }
30280
30281
30282 SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30283 PyObject *resultobj = 0;
30284 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30285 wxColour result;
30286 void *argp1 = 0 ;
30287 int res1 = 0 ;
30288 PyObject *swig_obj[1] ;
30289
30290 if (!args) SWIG_fail;
30291 swig_obj[0] = args;
30292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30293 if (!SWIG_IsOK(res1)) {
30294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30295 }
30296 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30297 {
30298 PyThreadState* __tstate = wxPyBeginAllowThreads();
30299 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30300 wxPyEndAllowThreads(__tstate);
30301 if (PyErr_Occurred()) SWIG_fail;
30302 }
30303 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30304 return resultobj;
30305 fail:
30306 return NULL;
30307 }
30308
30309
30310 SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30311 PyObject *resultobj = 0;
30312 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30313 wxColour *arg2 = 0 ;
30314 void *argp1 = 0 ;
30315 int res1 = 0 ;
30316 wxColour temp2 ;
30317 PyObject * obj0 = 0 ;
30318 PyObject * obj1 = 0 ;
30319 char * kwnames[] = {
30320 (char *) "self",(char *) "col", NULL
30321 };
30322
30323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30325 if (!SWIG_IsOK(res1)) {
30326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30327 }
30328 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30329 {
30330 arg2 = &temp2;
30331 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30332 }
30333 {
30334 PyThreadState* __tstate = wxPyBeginAllowThreads();
30335 (arg1)->SetTextColour((wxColour const &)*arg2);
30336 wxPyEndAllowThreads(__tstate);
30337 if (PyErr_Occurred()) SWIG_fail;
30338 }
30339 resultobj = SWIG_Py_Void();
30340 return resultobj;
30341 fail:
30342 return NULL;
30343 }
30344
30345
30346 SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30347 PyObject *resultobj = 0;
30348 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30349 long result;
30350 void *argp1 = 0 ;
30351 int res1 = 0 ;
30352 PyObject *swig_obj[1] ;
30353
30354 if (!args) SWIG_fail;
30355 swig_obj[0] = args;
30356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30357 if (!SWIG_IsOK(res1)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30359 }
30360 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30361 {
30362 PyThreadState* __tstate = wxPyBeginAllowThreads();
30363 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30364 wxPyEndAllowThreads(__tstate);
30365 if (PyErr_Occurred()) SWIG_fail;
30366 }
30367 resultobj = SWIG_From_long(static_cast< long >(result));
30368 return resultobj;
30369 fail:
30370 return NULL;
30371 }
30372
30373
30374 SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30375 PyObject *resultobj = 0;
30376 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30377 long arg2 ;
30378 bool arg3 = (bool) true ;
30379 void *argp1 = 0 ;
30380 int res1 = 0 ;
30381 long val2 ;
30382 int ecode2 = 0 ;
30383 bool val3 ;
30384 int ecode3 = 0 ;
30385 PyObject * obj0 = 0 ;
30386 PyObject * obj1 = 0 ;
30387 PyObject * obj2 = 0 ;
30388 char * kwnames[] = {
30389 (char *) "self",(char *) "style",(char *) "add", NULL
30390 };
30391
30392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30394 if (!SWIG_IsOK(res1)) {
30395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30396 }
30397 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30398 ecode2 = SWIG_AsVal_long(obj1, &val2);
30399 if (!SWIG_IsOK(ecode2)) {
30400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30401 }
30402 arg2 = static_cast< long >(val2);
30403 if (obj2) {
30404 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30405 if (!SWIG_IsOK(ecode3)) {
30406 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30407 }
30408 arg3 = static_cast< bool >(val3);
30409 }
30410 {
30411 PyThreadState* __tstate = wxPyBeginAllowThreads();
30412 (arg1)->SetSingleStyle(arg2,arg3);
30413 wxPyEndAllowThreads(__tstate);
30414 if (PyErr_Occurred()) SWIG_fail;
30415 }
30416 resultobj = SWIG_Py_Void();
30417 return resultobj;
30418 fail:
30419 return NULL;
30420 }
30421
30422
30423 SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30424 PyObject *resultobj = 0;
30425 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30426 long arg2 ;
30427 int arg3 = (int) wxLIST_NEXT_ALL ;
30428 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30429 long result;
30430 void *argp1 = 0 ;
30431 int res1 = 0 ;
30432 long val2 ;
30433 int ecode2 = 0 ;
30434 int val3 ;
30435 int ecode3 = 0 ;
30436 int val4 ;
30437 int ecode4 = 0 ;
30438 PyObject * obj0 = 0 ;
30439 PyObject * obj1 = 0 ;
30440 PyObject * obj2 = 0 ;
30441 PyObject * obj3 = 0 ;
30442 char * kwnames[] = {
30443 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30444 };
30445
30446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30448 if (!SWIG_IsOK(res1)) {
30449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30450 }
30451 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30452 ecode2 = SWIG_AsVal_long(obj1, &val2);
30453 if (!SWIG_IsOK(ecode2)) {
30454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30455 }
30456 arg2 = static_cast< long >(val2);
30457 if (obj2) {
30458 ecode3 = SWIG_AsVal_int(obj2, &val3);
30459 if (!SWIG_IsOK(ecode3)) {
30460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30461 }
30462 arg3 = static_cast< int >(val3);
30463 }
30464 if (obj3) {
30465 ecode4 = SWIG_AsVal_int(obj3, &val4);
30466 if (!SWIG_IsOK(ecode4)) {
30467 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30468 }
30469 arg4 = static_cast< int >(val4);
30470 }
30471 {
30472 PyThreadState* __tstate = wxPyBeginAllowThreads();
30473 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30474 wxPyEndAllowThreads(__tstate);
30475 if (PyErr_Occurred()) SWIG_fail;
30476 }
30477 resultobj = SWIG_From_long(static_cast< long >(result));
30478 return resultobj;
30479 fail:
30480 return NULL;
30481 }
30482
30483
30484 SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30485 PyObject *resultobj = 0;
30486 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30487 int arg2 ;
30488 wxImageList *result = 0 ;
30489 void *argp1 = 0 ;
30490 int res1 = 0 ;
30491 int val2 ;
30492 int ecode2 = 0 ;
30493 PyObject * obj0 = 0 ;
30494 PyObject * obj1 = 0 ;
30495 char * kwnames[] = {
30496 (char *) "self",(char *) "which", NULL
30497 };
30498
30499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30501 if (!SWIG_IsOK(res1)) {
30502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30503 }
30504 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30505 ecode2 = SWIG_AsVal_int(obj1, &val2);
30506 if (!SWIG_IsOK(ecode2)) {
30507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30508 }
30509 arg2 = static_cast< int >(val2);
30510 {
30511 PyThreadState* __tstate = wxPyBeginAllowThreads();
30512 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30513 wxPyEndAllowThreads(__tstate);
30514 if (PyErr_Occurred()) SWIG_fail;
30515 }
30516 {
30517 resultobj = wxPyMake_wxObject(result, (bool)0);
30518 }
30519 return resultobj;
30520 fail:
30521 return NULL;
30522 }
30523
30524
30525 SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30526 PyObject *resultobj = 0;
30527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30528 wxImageList *arg2 = (wxImageList *) 0 ;
30529 int arg3 ;
30530 void *argp1 = 0 ;
30531 int res1 = 0 ;
30532 void *argp2 = 0 ;
30533 int res2 = 0 ;
30534 int val3 ;
30535 int ecode3 = 0 ;
30536 PyObject * obj0 = 0 ;
30537 PyObject * obj1 = 0 ;
30538 PyObject * obj2 = 0 ;
30539 char * kwnames[] = {
30540 (char *) "self",(char *) "imageList",(char *) "which", NULL
30541 };
30542
30543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30545 if (!SWIG_IsOK(res1)) {
30546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30547 }
30548 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30549 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30550 if (!SWIG_IsOK(res2)) {
30551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30552 }
30553 arg2 = reinterpret_cast< wxImageList * >(argp2);
30554 ecode3 = SWIG_AsVal_int(obj2, &val3);
30555 if (!SWIG_IsOK(ecode3)) {
30556 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30557 }
30558 arg3 = static_cast< int >(val3);
30559 {
30560 PyThreadState* __tstate = wxPyBeginAllowThreads();
30561 (arg1)->SetImageList(arg2,arg3);
30562 wxPyEndAllowThreads(__tstate);
30563 if (PyErr_Occurred()) SWIG_fail;
30564 }
30565 resultobj = SWIG_Py_Void();
30566 return resultobj;
30567 fail:
30568 return NULL;
30569 }
30570
30571
30572 SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30573 PyObject *resultobj = 0;
30574 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30575 wxImageList *arg2 = (wxImageList *) 0 ;
30576 int arg3 ;
30577 void *argp1 = 0 ;
30578 int res1 = 0 ;
30579 int res2 = 0 ;
30580 int val3 ;
30581 int ecode3 = 0 ;
30582 PyObject * obj0 = 0 ;
30583 PyObject * obj1 = 0 ;
30584 PyObject * obj2 = 0 ;
30585 char * kwnames[] = {
30586 (char *) "self",(char *) "imageList",(char *) "which", NULL
30587 };
30588
30589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30591 if (!SWIG_IsOK(res1)) {
30592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30593 }
30594 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30595 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30596 if (!SWIG_IsOK(res2)) {
30597 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30598 }
30599 ecode3 = SWIG_AsVal_int(obj2, &val3);
30600 if (!SWIG_IsOK(ecode3)) {
30601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30602 }
30603 arg3 = static_cast< int >(val3);
30604 {
30605 PyThreadState* __tstate = wxPyBeginAllowThreads();
30606 (arg1)->AssignImageList(arg2,arg3);
30607 wxPyEndAllowThreads(__tstate);
30608 if (PyErr_Occurred()) SWIG_fail;
30609 }
30610 resultobj = SWIG_Py_Void();
30611 return resultobj;
30612 fail:
30613 return NULL;
30614 }
30615
30616
30617 SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30618 PyObject *resultobj = 0;
30619 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30620 bool result;
30621 void *argp1 = 0 ;
30622 int res1 = 0 ;
30623 PyObject *swig_obj[1] ;
30624
30625 if (!args) SWIG_fail;
30626 swig_obj[0] = args;
30627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30628 if (!SWIG_IsOK(res1)) {
30629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30630 }
30631 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30632 {
30633 PyThreadState* __tstate = wxPyBeginAllowThreads();
30634 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30635 wxPyEndAllowThreads(__tstate);
30636 if (PyErr_Occurred()) SWIG_fail;
30637 }
30638 {
30639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30640 }
30641 return resultobj;
30642 fail:
30643 return NULL;
30644 }
30645
30646
30647 SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30648 PyObject *resultobj = 0;
30649 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30650 bool result;
30651 void *argp1 = 0 ;
30652 int res1 = 0 ;
30653 PyObject *swig_obj[1] ;
30654
30655 if (!args) SWIG_fail;
30656 swig_obj[0] = args;
30657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30658 if (!SWIG_IsOK(res1)) {
30659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30660 }
30661 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30662 {
30663 PyThreadState* __tstate = wxPyBeginAllowThreads();
30664 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30665 wxPyEndAllowThreads(__tstate);
30666 if (PyErr_Occurred()) SWIG_fail;
30667 }
30668 {
30669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30670 }
30671 return resultobj;
30672 fail:
30673 return NULL;
30674 }
30675
30676
30677 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30678 PyObject *resultobj = 0;
30679 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30680 long arg2 ;
30681 void *argp1 = 0 ;
30682 int res1 = 0 ;
30683 long val2 ;
30684 int ecode2 = 0 ;
30685 PyObject * obj0 = 0 ;
30686 PyObject * obj1 = 0 ;
30687 char * kwnames[] = {
30688 (char *) "self",(char *) "item", NULL
30689 };
30690
30691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30693 if (!SWIG_IsOK(res1)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30695 }
30696 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30697 ecode2 = SWIG_AsVal_long(obj1, &val2);
30698 if (!SWIG_IsOK(ecode2)) {
30699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30700 }
30701 arg2 = static_cast< long >(val2);
30702 {
30703 PyThreadState* __tstate = wxPyBeginAllowThreads();
30704 (arg1)->RefreshItem(arg2);
30705 wxPyEndAllowThreads(__tstate);
30706 if (PyErr_Occurred()) SWIG_fail;
30707 }
30708 resultobj = SWIG_Py_Void();
30709 return resultobj;
30710 fail:
30711 return NULL;
30712 }
30713
30714
30715 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30716 PyObject *resultobj = 0;
30717 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30718 long arg2 ;
30719 long arg3 ;
30720 void *argp1 = 0 ;
30721 int res1 = 0 ;
30722 long val2 ;
30723 int ecode2 = 0 ;
30724 long val3 ;
30725 int ecode3 = 0 ;
30726 PyObject * obj0 = 0 ;
30727 PyObject * obj1 = 0 ;
30728 PyObject * obj2 = 0 ;
30729 char * kwnames[] = {
30730 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30731 };
30732
30733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30735 if (!SWIG_IsOK(res1)) {
30736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30737 }
30738 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30739 ecode2 = SWIG_AsVal_long(obj1, &val2);
30740 if (!SWIG_IsOK(ecode2)) {
30741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30742 }
30743 arg2 = static_cast< long >(val2);
30744 ecode3 = SWIG_AsVal_long(obj2, &val3);
30745 if (!SWIG_IsOK(ecode3)) {
30746 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30747 }
30748 arg3 = static_cast< long >(val3);
30749 {
30750 PyThreadState* __tstate = wxPyBeginAllowThreads();
30751 (arg1)->RefreshItems(arg2,arg3);
30752 wxPyEndAllowThreads(__tstate);
30753 if (PyErr_Occurred()) SWIG_fail;
30754 }
30755 resultobj = SWIG_Py_Void();
30756 return resultobj;
30757 fail:
30758 return NULL;
30759 }
30760
30761
30762 SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30763 PyObject *resultobj = 0;
30764 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30765 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30766 bool result;
30767 void *argp1 = 0 ;
30768 int res1 = 0 ;
30769 int val2 ;
30770 int ecode2 = 0 ;
30771 PyObject * obj0 = 0 ;
30772 PyObject * obj1 = 0 ;
30773 char * kwnames[] = {
30774 (char *) "self",(char *) "flag", NULL
30775 };
30776
30777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30779 if (!SWIG_IsOK(res1)) {
30780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30781 }
30782 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30783 if (obj1) {
30784 ecode2 = SWIG_AsVal_int(obj1, &val2);
30785 if (!SWIG_IsOK(ecode2)) {
30786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30787 }
30788 arg2 = static_cast< int >(val2);
30789 }
30790 {
30791 PyThreadState* __tstate = wxPyBeginAllowThreads();
30792 result = (bool)(arg1)->Arrange(arg2);
30793 wxPyEndAllowThreads(__tstate);
30794 if (PyErr_Occurred()) SWIG_fail;
30795 }
30796 {
30797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30798 }
30799 return resultobj;
30800 fail:
30801 return NULL;
30802 }
30803
30804
30805 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30806 PyObject *resultobj = 0;
30807 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30808 long arg2 ;
30809 bool result;
30810 void *argp1 = 0 ;
30811 int res1 = 0 ;
30812 long val2 ;
30813 int ecode2 = 0 ;
30814 PyObject * obj0 = 0 ;
30815 PyObject * obj1 = 0 ;
30816 char * kwnames[] = {
30817 (char *) "self",(char *) "item", NULL
30818 };
30819
30820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30822 if (!SWIG_IsOK(res1)) {
30823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30824 }
30825 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30826 ecode2 = SWIG_AsVal_long(obj1, &val2);
30827 if (!SWIG_IsOK(ecode2)) {
30828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30829 }
30830 arg2 = static_cast< long >(val2);
30831 {
30832 PyThreadState* __tstate = wxPyBeginAllowThreads();
30833 result = (bool)(arg1)->DeleteItem(arg2);
30834 wxPyEndAllowThreads(__tstate);
30835 if (PyErr_Occurred()) SWIG_fail;
30836 }
30837 {
30838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30839 }
30840 return resultobj;
30841 fail:
30842 return NULL;
30843 }
30844
30845
30846 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30847 PyObject *resultobj = 0;
30848 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30849 bool result;
30850 void *argp1 = 0 ;
30851 int res1 = 0 ;
30852 PyObject *swig_obj[1] ;
30853
30854 if (!args) SWIG_fail;
30855 swig_obj[0] = args;
30856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30857 if (!SWIG_IsOK(res1)) {
30858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30859 }
30860 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30861 {
30862 PyThreadState* __tstate = wxPyBeginAllowThreads();
30863 result = (bool)(arg1)->DeleteAllItems();
30864 wxPyEndAllowThreads(__tstate);
30865 if (PyErr_Occurred()) SWIG_fail;
30866 }
30867 {
30868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30869 }
30870 return resultobj;
30871 fail:
30872 return NULL;
30873 }
30874
30875
30876 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30877 PyObject *resultobj = 0;
30878 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30879 int arg2 ;
30880 bool result;
30881 void *argp1 = 0 ;
30882 int res1 = 0 ;
30883 int val2 ;
30884 int ecode2 = 0 ;
30885 PyObject * obj0 = 0 ;
30886 PyObject * obj1 = 0 ;
30887 char * kwnames[] = {
30888 (char *) "self",(char *) "col", NULL
30889 };
30890
30891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30893 if (!SWIG_IsOK(res1)) {
30894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30895 }
30896 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30897 ecode2 = SWIG_AsVal_int(obj1, &val2);
30898 if (!SWIG_IsOK(ecode2)) {
30899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30900 }
30901 arg2 = static_cast< int >(val2);
30902 {
30903 PyThreadState* __tstate = wxPyBeginAllowThreads();
30904 result = (bool)(arg1)->DeleteColumn(arg2);
30905 wxPyEndAllowThreads(__tstate);
30906 if (PyErr_Occurred()) SWIG_fail;
30907 }
30908 {
30909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30910 }
30911 return resultobj;
30912 fail:
30913 return NULL;
30914 }
30915
30916
30917 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30918 PyObject *resultobj = 0;
30919 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30920 bool result;
30921 void *argp1 = 0 ;
30922 int res1 = 0 ;
30923 PyObject *swig_obj[1] ;
30924
30925 if (!args) SWIG_fail;
30926 swig_obj[0] = args;
30927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30928 if (!SWIG_IsOK(res1)) {
30929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30930 }
30931 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30932 {
30933 PyThreadState* __tstate = wxPyBeginAllowThreads();
30934 result = (bool)(arg1)->DeleteAllColumns();
30935 wxPyEndAllowThreads(__tstate);
30936 if (PyErr_Occurred()) SWIG_fail;
30937 }
30938 {
30939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30940 }
30941 return resultobj;
30942 fail:
30943 return NULL;
30944 }
30945
30946
30947 SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30948 PyObject *resultobj = 0;
30949 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30950 void *argp1 = 0 ;
30951 int res1 = 0 ;
30952 PyObject *swig_obj[1] ;
30953
30954 if (!args) SWIG_fail;
30955 swig_obj[0] = args;
30956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30957 if (!SWIG_IsOK(res1)) {
30958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30959 }
30960 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30961 {
30962 PyThreadState* __tstate = wxPyBeginAllowThreads();
30963 (arg1)->ClearAll();
30964 wxPyEndAllowThreads(__tstate);
30965 if (PyErr_Occurred()) SWIG_fail;
30966 }
30967 resultobj = SWIG_Py_Void();
30968 return resultobj;
30969 fail:
30970 return NULL;
30971 }
30972
30973
30974 SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30975 PyObject *resultobj = 0;
30976 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30977 long arg2 ;
30978 void *argp1 = 0 ;
30979 int res1 = 0 ;
30980 long val2 ;
30981 int ecode2 = 0 ;
30982 PyObject * obj0 = 0 ;
30983 PyObject * obj1 = 0 ;
30984 char * kwnames[] = {
30985 (char *) "self",(char *) "item", NULL
30986 };
30987
30988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30990 if (!SWIG_IsOK(res1)) {
30991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30992 }
30993 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30994 ecode2 = SWIG_AsVal_long(obj1, &val2);
30995 if (!SWIG_IsOK(ecode2)) {
30996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30997 }
30998 arg2 = static_cast< long >(val2);
30999 {
31000 PyThreadState* __tstate = wxPyBeginAllowThreads();
31001 (arg1)->EditLabel(arg2);
31002 wxPyEndAllowThreads(__tstate);
31003 if (PyErr_Occurred()) SWIG_fail;
31004 }
31005 resultobj = SWIG_Py_Void();
31006 return resultobj;
31007 fail:
31008 return NULL;
31009 }
31010
31011
31012 SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31013 PyObject *resultobj = 0;
31014 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31015 long arg2 ;
31016 bool result;
31017 void *argp1 = 0 ;
31018 int res1 = 0 ;
31019 long val2 ;
31020 int ecode2 = 0 ;
31021 PyObject * obj0 = 0 ;
31022 PyObject * obj1 = 0 ;
31023 char * kwnames[] = {
31024 (char *) "self",(char *) "item", NULL
31025 };
31026
31027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
31028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31029 if (!SWIG_IsOK(res1)) {
31030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31031 }
31032 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31033 ecode2 = SWIG_AsVal_long(obj1, &val2);
31034 if (!SWIG_IsOK(ecode2)) {
31035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31036 }
31037 arg2 = static_cast< long >(val2);
31038 {
31039 PyThreadState* __tstate = wxPyBeginAllowThreads();
31040 result = (bool)(arg1)->EnsureVisible(arg2);
31041 wxPyEndAllowThreads(__tstate);
31042 if (PyErr_Occurred()) SWIG_fail;
31043 }
31044 {
31045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31046 }
31047 return resultobj;
31048 fail:
31049 return NULL;
31050 }
31051
31052
31053 SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31054 PyObject *resultobj = 0;
31055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31056 long arg2 ;
31057 wxString *arg3 = 0 ;
31058 bool arg4 = (bool) false ;
31059 long result;
31060 void *argp1 = 0 ;
31061 int res1 = 0 ;
31062 long val2 ;
31063 int ecode2 = 0 ;
31064 bool temp3 = false ;
31065 bool val4 ;
31066 int ecode4 = 0 ;
31067 PyObject * obj0 = 0 ;
31068 PyObject * obj1 = 0 ;
31069 PyObject * obj2 = 0 ;
31070 PyObject * obj3 = 0 ;
31071 char * kwnames[] = {
31072 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31073 };
31074
31075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31077 if (!SWIG_IsOK(res1)) {
31078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31079 }
31080 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31081 ecode2 = SWIG_AsVal_long(obj1, &val2);
31082 if (!SWIG_IsOK(ecode2)) {
31083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31084 }
31085 arg2 = static_cast< long >(val2);
31086 {
31087 arg3 = wxString_in_helper(obj2);
31088 if (arg3 == NULL) SWIG_fail;
31089 temp3 = true;
31090 }
31091 if (obj3) {
31092 ecode4 = SWIG_AsVal_bool(obj3, &val4);
31093 if (!SWIG_IsOK(ecode4)) {
31094 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31095 }
31096 arg4 = static_cast< bool >(val4);
31097 }
31098 {
31099 PyThreadState* __tstate = wxPyBeginAllowThreads();
31100 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
31101 wxPyEndAllowThreads(__tstate);
31102 if (PyErr_Occurred()) SWIG_fail;
31103 }
31104 resultobj = SWIG_From_long(static_cast< long >(result));
31105 {
31106 if (temp3)
31107 delete arg3;
31108 }
31109 return resultobj;
31110 fail:
31111 {
31112 if (temp3)
31113 delete arg3;
31114 }
31115 return NULL;
31116 }
31117
31118
31119 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31120 PyObject *resultobj = 0;
31121 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31122 long arg2 ;
31123 long arg3 ;
31124 long result;
31125 void *argp1 = 0 ;
31126 int res1 = 0 ;
31127 long val2 ;
31128 int ecode2 = 0 ;
31129 long val3 ;
31130 int ecode3 = 0 ;
31131 PyObject * obj0 = 0 ;
31132 PyObject * obj1 = 0 ;
31133 PyObject * obj2 = 0 ;
31134 char * kwnames[] = {
31135 (char *) "self",(char *) "start",(char *) "data", NULL
31136 };
31137
31138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31140 if (!SWIG_IsOK(res1)) {
31141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31142 }
31143 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31144 ecode2 = SWIG_AsVal_long(obj1, &val2);
31145 if (!SWIG_IsOK(ecode2)) {
31146 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31147 }
31148 arg2 = static_cast< long >(val2);
31149 ecode3 = SWIG_AsVal_long(obj2, &val3);
31150 if (!SWIG_IsOK(ecode3)) {
31151 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31152 }
31153 arg3 = static_cast< long >(val3);
31154 {
31155 PyThreadState* __tstate = wxPyBeginAllowThreads();
31156 result = (long)(arg1)->FindItem(arg2,arg3);
31157 wxPyEndAllowThreads(__tstate);
31158 if (PyErr_Occurred()) SWIG_fail;
31159 }
31160 resultobj = SWIG_From_long(static_cast< long >(result));
31161 return resultobj;
31162 fail:
31163 return NULL;
31164 }
31165
31166
31167 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31168 PyObject *resultobj = 0;
31169 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31170 long arg2 ;
31171 wxPoint *arg3 = 0 ;
31172 int arg4 ;
31173 long result;
31174 void *argp1 = 0 ;
31175 int res1 = 0 ;
31176 long val2 ;
31177 int ecode2 = 0 ;
31178 wxPoint temp3 ;
31179 int val4 ;
31180 int ecode4 = 0 ;
31181 PyObject * obj0 = 0 ;
31182 PyObject * obj1 = 0 ;
31183 PyObject * obj2 = 0 ;
31184 PyObject * obj3 = 0 ;
31185 char * kwnames[] = {
31186 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31187 };
31188
31189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31191 if (!SWIG_IsOK(res1)) {
31192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31193 }
31194 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31195 ecode2 = SWIG_AsVal_long(obj1, &val2);
31196 if (!SWIG_IsOK(ecode2)) {
31197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31198 }
31199 arg2 = static_cast< long >(val2);
31200 {
31201 arg3 = &temp3;
31202 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31203 }
31204 ecode4 = SWIG_AsVal_int(obj3, &val4);
31205 if (!SWIG_IsOK(ecode4)) {
31206 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31207 }
31208 arg4 = static_cast< int >(val4);
31209 {
31210 PyThreadState* __tstate = wxPyBeginAllowThreads();
31211 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31212 wxPyEndAllowThreads(__tstate);
31213 if (PyErr_Occurred()) SWIG_fail;
31214 }
31215 resultobj = SWIG_From_long(static_cast< long >(result));
31216 return resultobj;
31217 fail:
31218 return NULL;
31219 }
31220
31221
31222 SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31223 PyObject *resultobj = 0;
31224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31225 wxPoint *arg2 = 0 ;
31226 int *arg3 = 0 ;
31227 long result;
31228 void *argp1 = 0 ;
31229 int res1 = 0 ;
31230 wxPoint temp2 ;
31231 int temp3 ;
31232 int res3 = SWIG_TMPOBJ ;
31233 PyObject * obj0 = 0 ;
31234 PyObject * obj1 = 0 ;
31235 char * kwnames[] = {
31236 (char *) "self",(char *) "point", NULL
31237 };
31238
31239 arg3 = &temp3;
31240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31242 if (!SWIG_IsOK(res1)) {
31243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31244 }
31245 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31246 {
31247 arg2 = &temp2;
31248 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31249 }
31250 {
31251 PyThreadState* __tstate = wxPyBeginAllowThreads();
31252 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31253 wxPyEndAllowThreads(__tstate);
31254 if (PyErr_Occurred()) SWIG_fail;
31255 }
31256 resultobj = SWIG_From_long(static_cast< long >(result));
31257 if (SWIG_IsTmpObj(res3)) {
31258 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31259 } else {
31260 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31261 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31262 }
31263 return resultobj;
31264 fail:
31265 return NULL;
31266 }
31267
31268
31269 SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31270 PyObject *resultobj = 0;
31271 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31272 wxPoint *arg2 = 0 ;
31273 int *arg3 = 0 ;
31274 long *arg4 = (long *) 0 ;
31275 long result;
31276 void *argp1 = 0 ;
31277 int res1 = 0 ;
31278 wxPoint temp2 ;
31279 int temp3 ;
31280 int res3 = SWIG_TMPOBJ ;
31281 long temp4 ;
31282 int res4 = SWIG_TMPOBJ ;
31283 PyObject * obj0 = 0 ;
31284 PyObject * obj1 = 0 ;
31285 char * kwnames[] = {
31286 (char *) "self",(char *) "point", NULL
31287 };
31288
31289 arg3 = &temp3;
31290 arg4 = &temp4;
31291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31293 if (!SWIG_IsOK(res1)) {
31294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31295 }
31296 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31297 {
31298 arg2 = &temp2;
31299 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31300 }
31301 {
31302 PyThreadState* __tstate = wxPyBeginAllowThreads();
31303 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31304 wxPyEndAllowThreads(__tstate);
31305 if (PyErr_Occurred()) SWIG_fail;
31306 }
31307 resultobj = SWIG_From_long(static_cast< long >(result));
31308 if (SWIG_IsTmpObj(res3)) {
31309 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31310 } else {
31311 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31312 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31313 }
31314 if (SWIG_IsTmpObj(res4)) {
31315 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31316 } else {
31317 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31318 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31319 }
31320 return resultobj;
31321 fail:
31322 return NULL;
31323 }
31324
31325
31326 SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31327 PyObject *resultobj = 0;
31328 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31329 wxListItem *arg2 = 0 ;
31330 long result;
31331 void *argp1 = 0 ;
31332 int res1 = 0 ;
31333 void *argp2 = 0 ;
31334 int res2 = 0 ;
31335 PyObject * obj0 = 0 ;
31336 PyObject * obj1 = 0 ;
31337 char * kwnames[] = {
31338 (char *) "self",(char *) "info", NULL
31339 };
31340
31341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31343 if (!SWIG_IsOK(res1)) {
31344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31345 }
31346 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31347 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31348 if (!SWIG_IsOK(res2)) {
31349 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31350 }
31351 if (!argp2) {
31352 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31353 }
31354 arg2 = reinterpret_cast< wxListItem * >(argp2);
31355 {
31356 PyThreadState* __tstate = wxPyBeginAllowThreads();
31357 result = (long)(arg1)->InsertItem(*arg2);
31358 wxPyEndAllowThreads(__tstate);
31359 if (PyErr_Occurred()) SWIG_fail;
31360 }
31361 resultobj = SWIG_From_long(static_cast< long >(result));
31362 return resultobj;
31363 fail:
31364 return NULL;
31365 }
31366
31367
31368 SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31369 PyObject *resultobj = 0;
31370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31371 long arg2 ;
31372 wxString *arg3 = 0 ;
31373 int arg4 = (int) -1 ;
31374 long result;
31375 void *argp1 = 0 ;
31376 int res1 = 0 ;
31377 long val2 ;
31378 int ecode2 = 0 ;
31379 bool temp3 = false ;
31380 int val4 ;
31381 int ecode4 = 0 ;
31382 PyObject * obj0 = 0 ;
31383 PyObject * obj1 = 0 ;
31384 PyObject * obj2 = 0 ;
31385 PyObject * obj3 = 0 ;
31386 char * kwnames[] = {
31387 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31388 };
31389
31390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31392 if (!SWIG_IsOK(res1)) {
31393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31394 }
31395 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31396 ecode2 = SWIG_AsVal_long(obj1, &val2);
31397 if (!SWIG_IsOK(ecode2)) {
31398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31399 }
31400 arg2 = static_cast< long >(val2);
31401 {
31402 arg3 = wxString_in_helper(obj2);
31403 if (arg3 == NULL) SWIG_fail;
31404 temp3 = true;
31405 }
31406 if (obj3) {
31407 ecode4 = SWIG_AsVal_int(obj3, &val4);
31408 if (!SWIG_IsOK(ecode4)) {
31409 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31410 }
31411 arg4 = static_cast< int >(val4);
31412 }
31413 {
31414 PyThreadState* __tstate = wxPyBeginAllowThreads();
31415 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31416 wxPyEndAllowThreads(__tstate);
31417 if (PyErr_Occurred()) SWIG_fail;
31418 }
31419 resultobj = SWIG_From_long(static_cast< long >(result));
31420 {
31421 if (temp3)
31422 delete arg3;
31423 }
31424 return resultobj;
31425 fail:
31426 {
31427 if (temp3)
31428 delete arg3;
31429 }
31430 return NULL;
31431 }
31432
31433
31434 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31435 PyObject *resultobj = 0;
31436 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31437 long arg2 ;
31438 int arg3 ;
31439 long result;
31440 void *argp1 = 0 ;
31441 int res1 = 0 ;
31442 long val2 ;
31443 int ecode2 = 0 ;
31444 int val3 ;
31445 int ecode3 = 0 ;
31446 PyObject * obj0 = 0 ;
31447 PyObject * obj1 = 0 ;
31448 PyObject * obj2 = 0 ;
31449 char * kwnames[] = {
31450 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31451 };
31452
31453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31455 if (!SWIG_IsOK(res1)) {
31456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31457 }
31458 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31459 ecode2 = SWIG_AsVal_long(obj1, &val2);
31460 if (!SWIG_IsOK(ecode2)) {
31461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31462 }
31463 arg2 = static_cast< long >(val2);
31464 ecode3 = SWIG_AsVal_int(obj2, &val3);
31465 if (!SWIG_IsOK(ecode3)) {
31466 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31467 }
31468 arg3 = static_cast< int >(val3);
31469 {
31470 PyThreadState* __tstate = wxPyBeginAllowThreads();
31471 result = (long)(arg1)->InsertItem(arg2,arg3);
31472 wxPyEndAllowThreads(__tstate);
31473 if (PyErr_Occurred()) SWIG_fail;
31474 }
31475 resultobj = SWIG_From_long(static_cast< long >(result));
31476 return resultobj;
31477 fail:
31478 return NULL;
31479 }
31480
31481
31482 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31483 PyObject *resultobj = 0;
31484 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31485 long arg2 ;
31486 wxString *arg3 = 0 ;
31487 int arg4 ;
31488 long result;
31489 void *argp1 = 0 ;
31490 int res1 = 0 ;
31491 long val2 ;
31492 int ecode2 = 0 ;
31493 bool temp3 = false ;
31494 int val4 ;
31495 int ecode4 = 0 ;
31496 PyObject * obj0 = 0 ;
31497 PyObject * obj1 = 0 ;
31498 PyObject * obj2 = 0 ;
31499 PyObject * obj3 = 0 ;
31500 char * kwnames[] = {
31501 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31502 };
31503
31504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31506 if (!SWIG_IsOK(res1)) {
31507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31508 }
31509 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31510 ecode2 = SWIG_AsVal_long(obj1, &val2);
31511 if (!SWIG_IsOK(ecode2)) {
31512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31513 }
31514 arg2 = static_cast< long >(val2);
31515 {
31516 arg3 = wxString_in_helper(obj2);
31517 if (arg3 == NULL) SWIG_fail;
31518 temp3 = true;
31519 }
31520 ecode4 = SWIG_AsVal_int(obj3, &val4);
31521 if (!SWIG_IsOK(ecode4)) {
31522 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31523 }
31524 arg4 = static_cast< int >(val4);
31525 {
31526 PyThreadState* __tstate = wxPyBeginAllowThreads();
31527 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31528 wxPyEndAllowThreads(__tstate);
31529 if (PyErr_Occurred()) SWIG_fail;
31530 }
31531 resultobj = SWIG_From_long(static_cast< long >(result));
31532 {
31533 if (temp3)
31534 delete arg3;
31535 }
31536 return resultobj;
31537 fail:
31538 {
31539 if (temp3)
31540 delete arg3;
31541 }
31542 return NULL;
31543 }
31544
31545
31546 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31547 PyObject *resultobj = 0;
31548 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31549 long arg2 ;
31550 wxListItem *arg3 = 0 ;
31551 long result;
31552 void *argp1 = 0 ;
31553 int res1 = 0 ;
31554 long val2 ;
31555 int ecode2 = 0 ;
31556 void *argp3 = 0 ;
31557 int res3 = 0 ;
31558 PyObject * obj0 = 0 ;
31559 PyObject * obj1 = 0 ;
31560 PyObject * obj2 = 0 ;
31561 char * kwnames[] = {
31562 (char *) "self",(char *) "col",(char *) "info", NULL
31563 };
31564
31565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31567 if (!SWIG_IsOK(res1)) {
31568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31569 }
31570 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31571 ecode2 = SWIG_AsVal_long(obj1, &val2);
31572 if (!SWIG_IsOK(ecode2)) {
31573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31574 }
31575 arg2 = static_cast< long >(val2);
31576 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31577 if (!SWIG_IsOK(res3)) {
31578 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31579 }
31580 if (!argp3) {
31581 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31582 }
31583 arg3 = reinterpret_cast< wxListItem * >(argp3);
31584 {
31585 PyThreadState* __tstate = wxPyBeginAllowThreads();
31586 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31587 wxPyEndAllowThreads(__tstate);
31588 if (PyErr_Occurred()) SWIG_fail;
31589 }
31590 resultobj = SWIG_From_long(static_cast< long >(result));
31591 return resultobj;
31592 fail:
31593 return NULL;
31594 }
31595
31596
31597 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31598 PyObject *resultobj = 0;
31599 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31600 long arg2 ;
31601 wxString *arg3 = 0 ;
31602 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31603 int arg5 = (int) -1 ;
31604 long result;
31605 void *argp1 = 0 ;
31606 int res1 = 0 ;
31607 long val2 ;
31608 int ecode2 = 0 ;
31609 bool temp3 = false ;
31610 int val4 ;
31611 int ecode4 = 0 ;
31612 int val5 ;
31613 int ecode5 = 0 ;
31614 PyObject * obj0 = 0 ;
31615 PyObject * obj1 = 0 ;
31616 PyObject * obj2 = 0 ;
31617 PyObject * obj3 = 0 ;
31618 PyObject * obj4 = 0 ;
31619 char * kwnames[] = {
31620 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31621 };
31622
31623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31625 if (!SWIG_IsOK(res1)) {
31626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31627 }
31628 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31629 ecode2 = SWIG_AsVal_long(obj1, &val2);
31630 if (!SWIG_IsOK(ecode2)) {
31631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31632 }
31633 arg2 = static_cast< long >(val2);
31634 {
31635 arg3 = wxString_in_helper(obj2);
31636 if (arg3 == NULL) SWIG_fail;
31637 temp3 = true;
31638 }
31639 if (obj3) {
31640 ecode4 = SWIG_AsVal_int(obj3, &val4);
31641 if (!SWIG_IsOK(ecode4)) {
31642 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31643 }
31644 arg4 = static_cast< int >(val4);
31645 }
31646 if (obj4) {
31647 ecode5 = SWIG_AsVal_int(obj4, &val5);
31648 if (!SWIG_IsOK(ecode5)) {
31649 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31650 }
31651 arg5 = static_cast< int >(val5);
31652 }
31653 {
31654 PyThreadState* __tstate = wxPyBeginAllowThreads();
31655 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31656 wxPyEndAllowThreads(__tstate);
31657 if (PyErr_Occurred()) SWIG_fail;
31658 }
31659 resultobj = SWIG_From_long(static_cast< long >(result));
31660 {
31661 if (temp3)
31662 delete arg3;
31663 }
31664 return resultobj;
31665 fail:
31666 {
31667 if (temp3)
31668 delete arg3;
31669 }
31670 return NULL;
31671 }
31672
31673
31674 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31675 PyObject *resultobj = 0;
31676 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31677 long arg2 ;
31678 void *argp1 = 0 ;
31679 int res1 = 0 ;
31680 long val2 ;
31681 int ecode2 = 0 ;
31682 PyObject * obj0 = 0 ;
31683 PyObject * obj1 = 0 ;
31684 char * kwnames[] = {
31685 (char *) "self",(char *) "count", NULL
31686 };
31687
31688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31690 if (!SWIG_IsOK(res1)) {
31691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31692 }
31693 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31694 ecode2 = SWIG_AsVal_long(obj1, &val2);
31695 if (!SWIG_IsOK(ecode2)) {
31696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31697 }
31698 arg2 = static_cast< long >(val2);
31699 {
31700 PyThreadState* __tstate = wxPyBeginAllowThreads();
31701 (arg1)->SetItemCount(arg2);
31702 wxPyEndAllowThreads(__tstate);
31703 if (PyErr_Occurred()) SWIG_fail;
31704 }
31705 resultobj = SWIG_Py_Void();
31706 return resultobj;
31707 fail:
31708 return NULL;
31709 }
31710
31711
31712 SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31713 PyObject *resultobj = 0;
31714 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31715 int arg2 ;
31716 int arg3 ;
31717 bool result;
31718 void *argp1 = 0 ;
31719 int res1 = 0 ;
31720 int val2 ;
31721 int ecode2 = 0 ;
31722 int val3 ;
31723 int ecode3 = 0 ;
31724 PyObject * obj0 = 0 ;
31725 PyObject * obj1 = 0 ;
31726 PyObject * obj2 = 0 ;
31727 char * kwnames[] = {
31728 (char *) "self",(char *) "dx",(char *) "dy", NULL
31729 };
31730
31731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31733 if (!SWIG_IsOK(res1)) {
31734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31735 }
31736 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31737 ecode2 = SWIG_AsVal_int(obj1, &val2);
31738 if (!SWIG_IsOK(ecode2)) {
31739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31740 }
31741 arg2 = static_cast< int >(val2);
31742 ecode3 = SWIG_AsVal_int(obj2, &val3);
31743 if (!SWIG_IsOK(ecode3)) {
31744 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31745 }
31746 arg3 = static_cast< int >(val3);
31747 {
31748 PyThreadState* __tstate = wxPyBeginAllowThreads();
31749 result = (bool)(arg1)->ScrollList(arg2,arg3);
31750 wxPyEndAllowThreads(__tstate);
31751 if (PyErr_Occurred()) SWIG_fail;
31752 }
31753 {
31754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31755 }
31756 return resultobj;
31757 fail:
31758 return NULL;
31759 }
31760
31761
31762 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31763 PyObject *resultobj = 0;
31764 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31765 long arg2 ;
31766 wxColour *arg3 = 0 ;
31767 void *argp1 = 0 ;
31768 int res1 = 0 ;
31769 long val2 ;
31770 int ecode2 = 0 ;
31771 wxColour temp3 ;
31772 PyObject * obj0 = 0 ;
31773 PyObject * obj1 = 0 ;
31774 PyObject * obj2 = 0 ;
31775 char * kwnames[] = {
31776 (char *) "self",(char *) "item",(char *) "col", NULL
31777 };
31778
31779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31781 if (!SWIG_IsOK(res1)) {
31782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31783 }
31784 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31785 ecode2 = SWIG_AsVal_long(obj1, &val2);
31786 if (!SWIG_IsOK(ecode2)) {
31787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31788 }
31789 arg2 = static_cast< long >(val2);
31790 {
31791 arg3 = &temp3;
31792 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31793 }
31794 {
31795 PyThreadState* __tstate = wxPyBeginAllowThreads();
31796 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31797 wxPyEndAllowThreads(__tstate);
31798 if (PyErr_Occurred()) SWIG_fail;
31799 }
31800 resultobj = SWIG_Py_Void();
31801 return resultobj;
31802 fail:
31803 return NULL;
31804 }
31805
31806
31807 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31808 PyObject *resultobj = 0;
31809 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31810 long arg2 ;
31811 wxColour result;
31812 void *argp1 = 0 ;
31813 int res1 = 0 ;
31814 long val2 ;
31815 int ecode2 = 0 ;
31816 PyObject * obj0 = 0 ;
31817 PyObject * obj1 = 0 ;
31818 char * kwnames[] = {
31819 (char *) "self",(char *) "item", NULL
31820 };
31821
31822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31824 if (!SWIG_IsOK(res1)) {
31825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31826 }
31827 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31828 ecode2 = SWIG_AsVal_long(obj1, &val2);
31829 if (!SWIG_IsOK(ecode2)) {
31830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31831 }
31832 arg2 = static_cast< long >(val2);
31833 {
31834 PyThreadState* __tstate = wxPyBeginAllowThreads();
31835 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31836 wxPyEndAllowThreads(__tstate);
31837 if (PyErr_Occurred()) SWIG_fail;
31838 }
31839 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31840 return resultobj;
31841 fail:
31842 return NULL;
31843 }
31844
31845
31846 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31847 PyObject *resultobj = 0;
31848 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31849 long arg2 ;
31850 wxColour *arg3 = 0 ;
31851 void *argp1 = 0 ;
31852 int res1 = 0 ;
31853 long val2 ;
31854 int ecode2 = 0 ;
31855 wxColour temp3 ;
31856 PyObject * obj0 = 0 ;
31857 PyObject * obj1 = 0 ;
31858 PyObject * obj2 = 0 ;
31859 char * kwnames[] = {
31860 (char *) "self",(char *) "item",(char *) "col", NULL
31861 };
31862
31863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31865 if (!SWIG_IsOK(res1)) {
31866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31867 }
31868 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31869 ecode2 = SWIG_AsVal_long(obj1, &val2);
31870 if (!SWIG_IsOK(ecode2)) {
31871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31872 }
31873 arg2 = static_cast< long >(val2);
31874 {
31875 arg3 = &temp3;
31876 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31877 }
31878 {
31879 PyThreadState* __tstate = wxPyBeginAllowThreads();
31880 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31881 wxPyEndAllowThreads(__tstate);
31882 if (PyErr_Occurred()) SWIG_fail;
31883 }
31884 resultobj = SWIG_Py_Void();
31885 return resultobj;
31886 fail:
31887 return NULL;
31888 }
31889
31890
31891 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31892 PyObject *resultobj = 0;
31893 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31894 long arg2 ;
31895 wxColour result;
31896 void *argp1 = 0 ;
31897 int res1 = 0 ;
31898 long val2 ;
31899 int ecode2 = 0 ;
31900 PyObject * obj0 = 0 ;
31901 PyObject * obj1 = 0 ;
31902 char * kwnames[] = {
31903 (char *) "self",(char *) "item", NULL
31904 };
31905
31906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31908 if (!SWIG_IsOK(res1)) {
31909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31910 }
31911 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31912 ecode2 = SWIG_AsVal_long(obj1, &val2);
31913 if (!SWIG_IsOK(ecode2)) {
31914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31915 }
31916 arg2 = static_cast< long >(val2);
31917 {
31918 PyThreadState* __tstate = wxPyBeginAllowThreads();
31919 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31920 wxPyEndAllowThreads(__tstate);
31921 if (PyErr_Occurred()) SWIG_fail;
31922 }
31923 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31924 return resultobj;
31925 fail:
31926 return NULL;
31927 }
31928
31929
31930 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31931 PyObject *resultobj = 0;
31932 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31933 long arg2 ;
31934 wxFont *arg3 = 0 ;
31935 void *argp1 = 0 ;
31936 int res1 = 0 ;
31937 long val2 ;
31938 int ecode2 = 0 ;
31939 void *argp3 = 0 ;
31940 int res3 = 0 ;
31941 PyObject * obj0 = 0 ;
31942 PyObject * obj1 = 0 ;
31943 PyObject * obj2 = 0 ;
31944 char * kwnames[] = {
31945 (char *) "self",(char *) "item",(char *) "f", NULL
31946 };
31947
31948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31950 if (!SWIG_IsOK(res1)) {
31951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31952 }
31953 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31954 ecode2 = SWIG_AsVal_long(obj1, &val2);
31955 if (!SWIG_IsOK(ecode2)) {
31956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31957 }
31958 arg2 = static_cast< long >(val2);
31959 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
31960 if (!SWIG_IsOK(res3)) {
31961 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31962 }
31963 if (!argp3) {
31964 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31965 }
31966 arg3 = reinterpret_cast< wxFont * >(argp3);
31967 {
31968 PyThreadState* __tstate = wxPyBeginAllowThreads();
31969 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
31970 wxPyEndAllowThreads(__tstate);
31971 if (PyErr_Occurred()) SWIG_fail;
31972 }
31973 resultobj = SWIG_Py_Void();
31974 return resultobj;
31975 fail:
31976 return NULL;
31977 }
31978
31979
31980 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31981 PyObject *resultobj = 0;
31982 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31983 long arg2 ;
31984 wxFont result;
31985 void *argp1 = 0 ;
31986 int res1 = 0 ;
31987 long val2 ;
31988 int ecode2 = 0 ;
31989 PyObject * obj0 = 0 ;
31990 PyObject * obj1 = 0 ;
31991 char * kwnames[] = {
31992 (char *) "self",(char *) "item", NULL
31993 };
31994
31995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
31996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31997 if (!SWIG_IsOK(res1)) {
31998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31999 }
32000 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32001 ecode2 = SWIG_AsVal_long(obj1, &val2);
32002 if (!SWIG_IsOK(ecode2)) {
32003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32004 }
32005 arg2 = static_cast< long >(val2);
32006 {
32007 PyThreadState* __tstate = wxPyBeginAllowThreads();
32008 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
32009 wxPyEndAllowThreads(__tstate);
32010 if (PyErr_Occurred()) SWIG_fail;
32011 }
32012 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
32013 return resultobj;
32014 fail:
32015 return NULL;
32016 }
32017
32018
32019 SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32020 PyObject *resultobj = 0;
32021 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32022 PyObject *arg2 = (PyObject *) 0 ;
32023 bool result;
32024 void *argp1 = 0 ;
32025 int res1 = 0 ;
32026 PyObject * obj0 = 0 ;
32027 PyObject * obj1 = 0 ;
32028 char * kwnames[] = {
32029 (char *) "self",(char *) "func", NULL
32030 };
32031
32032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
32033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32034 if (!SWIG_IsOK(res1)) {
32035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32036 }
32037 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32038 arg2 = obj1;
32039 {
32040 PyThreadState* __tstate = wxPyBeginAllowThreads();
32041 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
32042 wxPyEndAllowThreads(__tstate);
32043 if (PyErr_Occurred()) SWIG_fail;
32044 }
32045 {
32046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32047 }
32048 return resultobj;
32049 fail:
32050 return NULL;
32051 }
32052
32053
32054 SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32055 PyObject *resultobj = 0;
32056 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32057 wxWindow *result = 0 ;
32058 void *argp1 = 0 ;
32059 int res1 = 0 ;
32060 PyObject *swig_obj[1] ;
32061
32062 if (!args) SWIG_fail;
32063 swig_obj[0] = args;
32064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32065 if (!SWIG_IsOK(res1)) {
32066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32067 }
32068 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32069 {
32070 PyThreadState* __tstate = wxPyBeginAllowThreads();
32071 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
32072 wxPyEndAllowThreads(__tstate);
32073 if (PyErr_Occurred()) SWIG_fail;
32074 }
32075 {
32076 resultobj = wxPyMake_wxObject(result, 0);
32077 }
32078 return resultobj;
32079 fail:
32080 return NULL;
32081 }
32082
32083
32084 SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32085 PyObject *resultobj = 0;
32086 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32087 SwigValueWrapper<wxVisualAttributes > result;
32088 int val1 ;
32089 int ecode1 = 0 ;
32090 PyObject * obj0 = 0 ;
32091 char * kwnames[] = {
32092 (char *) "variant", NULL
32093 };
32094
32095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
32096 if (obj0) {
32097 ecode1 = SWIG_AsVal_int(obj0, &val1);
32098 if (!SWIG_IsOK(ecode1)) {
32099 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32100 }
32101 arg1 = static_cast< wxWindowVariant >(val1);
32102 }
32103 {
32104 if (!wxPyCheckForApp()) SWIG_fail;
32105 PyThreadState* __tstate = wxPyBeginAllowThreads();
32106 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
32107 wxPyEndAllowThreads(__tstate);
32108 if (PyErr_Occurred()) SWIG_fail;
32109 }
32110 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
32111 return resultobj;
32112 fail:
32113 return NULL;
32114 }
32115
32116
32117 SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32118 PyObject *obj;
32119 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32120 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
32121 return SWIG_Py_Void();
32122 }
32123
32124 SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32125 return SWIG_Python_InitShadowInstance(args);
32126 }
32127
32128 SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32129 PyObject *resultobj = 0;
32130 wxWindow *arg1 = (wxWindow *) 0 ;
32131 int arg2 = (int) -1 ;
32132 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32133 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32134 wxSize const &arg4_defvalue = wxDefaultSize ;
32135 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32136 long arg5 = (long) wxLC_REPORT ;
32137 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32138 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32139 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
32140 wxString *arg7 = (wxString *) &arg7_defvalue ;
32141 wxListView *result = 0 ;
32142 void *argp1 = 0 ;
32143 int res1 = 0 ;
32144 int val2 ;
32145 int ecode2 = 0 ;
32146 wxPoint temp3 ;
32147 wxSize temp4 ;
32148 long val5 ;
32149 int ecode5 = 0 ;
32150 void *argp6 = 0 ;
32151 int res6 = 0 ;
32152 bool temp7 = false ;
32153 PyObject * obj0 = 0 ;
32154 PyObject * obj1 = 0 ;
32155 PyObject * obj2 = 0 ;
32156 PyObject * obj3 = 0 ;
32157 PyObject * obj4 = 0 ;
32158 PyObject * obj5 = 0 ;
32159 PyObject * obj6 = 0 ;
32160 char * kwnames[] = {
32161 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32162 };
32163
32164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
32166 if (!SWIG_IsOK(res1)) {
32167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32168 }
32169 arg1 = reinterpret_cast< wxWindow * >(argp1);
32170 if (obj1) {
32171 ecode2 = SWIG_AsVal_int(obj1, &val2);
32172 if (!SWIG_IsOK(ecode2)) {
32173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32174 }
32175 arg2 = static_cast< int >(val2);
32176 }
32177 if (obj2) {
32178 {
32179 arg3 = &temp3;
32180 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32181 }
32182 }
32183 if (obj3) {
32184 {
32185 arg4 = &temp4;
32186 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32187 }
32188 }
32189 if (obj4) {
32190 ecode5 = SWIG_AsVal_long(obj4, &val5);
32191 if (!SWIG_IsOK(ecode5)) {
32192 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32193 }
32194 arg5 = static_cast< long >(val5);
32195 }
32196 if (obj5) {
32197 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32198 if (!SWIG_IsOK(res6)) {
32199 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32200 }
32201 if (!argp6) {
32202 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32203 }
32204 arg6 = reinterpret_cast< wxValidator * >(argp6);
32205 }
32206 if (obj6) {
32207 {
32208 arg7 = wxString_in_helper(obj6);
32209 if (arg7 == NULL) SWIG_fail;
32210 temp7 = true;
32211 }
32212 }
32213 {
32214 if (!wxPyCheckForApp()) SWIG_fail;
32215 PyThreadState* __tstate = wxPyBeginAllowThreads();
32216 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32217 wxPyEndAllowThreads(__tstate);
32218 if (PyErr_Occurred()) SWIG_fail;
32219 }
32220 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32221 {
32222 if (temp7)
32223 delete arg7;
32224 }
32225 return resultobj;
32226 fail:
32227 {
32228 if (temp7)
32229 delete arg7;
32230 }
32231 return NULL;
32232 }
32233
32234
32235 SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32236 PyObject *resultobj = 0;
32237 wxListView *result = 0 ;
32238
32239 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32240 {
32241 if (!wxPyCheckForApp()) SWIG_fail;
32242 PyThreadState* __tstate = wxPyBeginAllowThreads();
32243 result = (wxListView *)new wxListView();
32244 wxPyEndAllowThreads(__tstate);
32245 if (PyErr_Occurred()) SWIG_fail;
32246 }
32247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32248 return resultobj;
32249 fail:
32250 return NULL;
32251 }
32252
32253
32254 SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32255 PyObject *resultobj = 0;
32256 wxListView *arg1 = (wxListView *) 0 ;
32257 wxWindow *arg2 = (wxWindow *) 0 ;
32258 int arg3 = (int) -1 ;
32259 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32260 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32261 wxSize const &arg5_defvalue = wxDefaultSize ;
32262 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32263 long arg6 = (long) wxLC_REPORT ;
32264 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32265 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32266 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32267 wxString *arg8 = (wxString *) &arg8_defvalue ;
32268 bool result;
32269 void *argp1 = 0 ;
32270 int res1 = 0 ;
32271 void *argp2 = 0 ;
32272 int res2 = 0 ;
32273 int val3 ;
32274 int ecode3 = 0 ;
32275 wxPoint temp4 ;
32276 wxSize temp5 ;
32277 long val6 ;
32278 int ecode6 = 0 ;
32279 void *argp7 = 0 ;
32280 int res7 = 0 ;
32281 bool temp8 = false ;
32282 PyObject * obj0 = 0 ;
32283 PyObject * obj1 = 0 ;
32284 PyObject * obj2 = 0 ;
32285 PyObject * obj3 = 0 ;
32286 PyObject * obj4 = 0 ;
32287 PyObject * obj5 = 0 ;
32288 PyObject * obj6 = 0 ;
32289 PyObject * obj7 = 0 ;
32290 char * kwnames[] = {
32291 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32292 };
32293
32294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32296 if (!SWIG_IsOK(res1)) {
32297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32298 }
32299 arg1 = reinterpret_cast< wxListView * >(argp1);
32300 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32301 if (!SWIG_IsOK(res2)) {
32302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32303 }
32304 arg2 = reinterpret_cast< wxWindow * >(argp2);
32305 if (obj2) {
32306 ecode3 = SWIG_AsVal_int(obj2, &val3);
32307 if (!SWIG_IsOK(ecode3)) {
32308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32309 }
32310 arg3 = static_cast< int >(val3);
32311 }
32312 if (obj3) {
32313 {
32314 arg4 = &temp4;
32315 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32316 }
32317 }
32318 if (obj4) {
32319 {
32320 arg5 = &temp5;
32321 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32322 }
32323 }
32324 if (obj5) {
32325 ecode6 = SWIG_AsVal_long(obj5, &val6);
32326 if (!SWIG_IsOK(ecode6)) {
32327 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32328 }
32329 arg6 = static_cast< long >(val6);
32330 }
32331 if (obj6) {
32332 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32333 if (!SWIG_IsOK(res7)) {
32334 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32335 }
32336 if (!argp7) {
32337 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32338 }
32339 arg7 = reinterpret_cast< wxValidator * >(argp7);
32340 }
32341 if (obj7) {
32342 {
32343 arg8 = wxString_in_helper(obj7);
32344 if (arg8 == NULL) SWIG_fail;
32345 temp8 = true;
32346 }
32347 }
32348 {
32349 PyThreadState* __tstate = wxPyBeginAllowThreads();
32350 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32351 wxPyEndAllowThreads(__tstate);
32352 if (PyErr_Occurred()) SWIG_fail;
32353 }
32354 {
32355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32356 }
32357 {
32358 if (temp8)
32359 delete arg8;
32360 }
32361 return resultobj;
32362 fail:
32363 {
32364 if (temp8)
32365 delete arg8;
32366 }
32367 return NULL;
32368 }
32369
32370
32371 SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32372 PyObject *resultobj = 0;
32373 wxListView *arg1 = (wxListView *) 0 ;
32374 long arg2 ;
32375 bool arg3 = (bool) true ;
32376 void *argp1 = 0 ;
32377 int res1 = 0 ;
32378 long val2 ;
32379 int ecode2 = 0 ;
32380 bool val3 ;
32381 int ecode3 = 0 ;
32382 PyObject * obj0 = 0 ;
32383 PyObject * obj1 = 0 ;
32384 PyObject * obj2 = 0 ;
32385 char * kwnames[] = {
32386 (char *) "self",(char *) "n",(char *) "on", NULL
32387 };
32388
32389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32391 if (!SWIG_IsOK(res1)) {
32392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32393 }
32394 arg1 = reinterpret_cast< wxListView * >(argp1);
32395 ecode2 = SWIG_AsVal_long(obj1, &val2);
32396 if (!SWIG_IsOK(ecode2)) {
32397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32398 }
32399 arg2 = static_cast< long >(val2);
32400 if (obj2) {
32401 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32402 if (!SWIG_IsOK(ecode3)) {
32403 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32404 }
32405 arg3 = static_cast< bool >(val3);
32406 }
32407 {
32408 PyThreadState* __tstate = wxPyBeginAllowThreads();
32409 (arg1)->Select(arg2,arg3);
32410 wxPyEndAllowThreads(__tstate);
32411 if (PyErr_Occurred()) SWIG_fail;
32412 }
32413 resultobj = SWIG_Py_Void();
32414 return resultobj;
32415 fail:
32416 return NULL;
32417 }
32418
32419
32420 SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32421 PyObject *resultobj = 0;
32422 wxListView *arg1 = (wxListView *) 0 ;
32423 long arg2 ;
32424 void *argp1 = 0 ;
32425 int res1 = 0 ;
32426 long val2 ;
32427 int ecode2 = 0 ;
32428 PyObject * obj0 = 0 ;
32429 PyObject * obj1 = 0 ;
32430 char * kwnames[] = {
32431 (char *) "self",(char *) "index", NULL
32432 };
32433
32434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32436 if (!SWIG_IsOK(res1)) {
32437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32438 }
32439 arg1 = reinterpret_cast< wxListView * >(argp1);
32440 ecode2 = SWIG_AsVal_long(obj1, &val2);
32441 if (!SWIG_IsOK(ecode2)) {
32442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32443 }
32444 arg2 = static_cast< long >(val2);
32445 {
32446 PyThreadState* __tstate = wxPyBeginAllowThreads();
32447 (arg1)->Focus(arg2);
32448 wxPyEndAllowThreads(__tstate);
32449 if (PyErr_Occurred()) SWIG_fail;
32450 }
32451 resultobj = SWIG_Py_Void();
32452 return resultobj;
32453 fail:
32454 return NULL;
32455 }
32456
32457
32458 SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32459 PyObject *resultobj = 0;
32460 wxListView *arg1 = (wxListView *) 0 ;
32461 long result;
32462 void *argp1 = 0 ;
32463 int res1 = 0 ;
32464 PyObject *swig_obj[1] ;
32465
32466 if (!args) SWIG_fail;
32467 swig_obj[0] = args;
32468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32469 if (!SWIG_IsOK(res1)) {
32470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32471 }
32472 arg1 = reinterpret_cast< wxListView * >(argp1);
32473 {
32474 PyThreadState* __tstate = wxPyBeginAllowThreads();
32475 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32476 wxPyEndAllowThreads(__tstate);
32477 if (PyErr_Occurred()) SWIG_fail;
32478 }
32479 resultobj = SWIG_From_long(static_cast< long >(result));
32480 return resultobj;
32481 fail:
32482 return NULL;
32483 }
32484
32485
32486 SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32487 PyObject *resultobj = 0;
32488 wxListView *arg1 = (wxListView *) 0 ;
32489 long arg2 ;
32490 long result;
32491 void *argp1 = 0 ;
32492 int res1 = 0 ;
32493 long val2 ;
32494 int ecode2 = 0 ;
32495 PyObject * obj0 = 0 ;
32496 PyObject * obj1 = 0 ;
32497 char * kwnames[] = {
32498 (char *) "self",(char *) "item", NULL
32499 };
32500
32501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32503 if (!SWIG_IsOK(res1)) {
32504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32505 }
32506 arg1 = reinterpret_cast< wxListView * >(argp1);
32507 ecode2 = SWIG_AsVal_long(obj1, &val2);
32508 if (!SWIG_IsOK(ecode2)) {
32509 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32510 }
32511 arg2 = static_cast< long >(val2);
32512 {
32513 PyThreadState* __tstate = wxPyBeginAllowThreads();
32514 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32515 wxPyEndAllowThreads(__tstate);
32516 if (PyErr_Occurred()) SWIG_fail;
32517 }
32518 resultobj = SWIG_From_long(static_cast< long >(result));
32519 return resultobj;
32520 fail:
32521 return NULL;
32522 }
32523
32524
32525 SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32526 PyObject *resultobj = 0;
32527 wxListView *arg1 = (wxListView *) 0 ;
32528 long result;
32529 void *argp1 = 0 ;
32530 int res1 = 0 ;
32531 PyObject *swig_obj[1] ;
32532
32533 if (!args) SWIG_fail;
32534 swig_obj[0] = args;
32535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32536 if (!SWIG_IsOK(res1)) {
32537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32538 }
32539 arg1 = reinterpret_cast< wxListView * >(argp1);
32540 {
32541 PyThreadState* __tstate = wxPyBeginAllowThreads();
32542 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32543 wxPyEndAllowThreads(__tstate);
32544 if (PyErr_Occurred()) SWIG_fail;
32545 }
32546 resultobj = SWIG_From_long(static_cast< long >(result));
32547 return resultobj;
32548 fail:
32549 return NULL;
32550 }
32551
32552
32553 SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32554 PyObject *resultobj = 0;
32555 wxListView *arg1 = (wxListView *) 0 ;
32556 long arg2 ;
32557 bool result;
32558 void *argp1 = 0 ;
32559 int res1 = 0 ;
32560 long val2 ;
32561 int ecode2 = 0 ;
32562 PyObject * obj0 = 0 ;
32563 PyObject * obj1 = 0 ;
32564 char * kwnames[] = {
32565 (char *) "self",(char *) "index", NULL
32566 };
32567
32568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32570 if (!SWIG_IsOK(res1)) {
32571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32572 }
32573 arg1 = reinterpret_cast< wxListView * >(argp1);
32574 ecode2 = SWIG_AsVal_long(obj1, &val2);
32575 if (!SWIG_IsOK(ecode2)) {
32576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32577 }
32578 arg2 = static_cast< long >(val2);
32579 {
32580 PyThreadState* __tstate = wxPyBeginAllowThreads();
32581 result = (bool)(arg1)->IsSelected(arg2);
32582 wxPyEndAllowThreads(__tstate);
32583 if (PyErr_Occurred()) SWIG_fail;
32584 }
32585 {
32586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32587 }
32588 return resultobj;
32589 fail:
32590 return NULL;
32591 }
32592
32593
32594 SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32595 PyObject *resultobj = 0;
32596 wxListView *arg1 = (wxListView *) 0 ;
32597 int arg2 ;
32598 int arg3 ;
32599 void *argp1 = 0 ;
32600 int res1 = 0 ;
32601 int val2 ;
32602 int ecode2 = 0 ;
32603 int val3 ;
32604 int ecode3 = 0 ;
32605 PyObject * obj0 = 0 ;
32606 PyObject * obj1 = 0 ;
32607 PyObject * obj2 = 0 ;
32608 char * kwnames[] = {
32609 (char *) "self",(char *) "col",(char *) "image", NULL
32610 };
32611
32612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32614 if (!SWIG_IsOK(res1)) {
32615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32616 }
32617 arg1 = reinterpret_cast< wxListView * >(argp1);
32618 ecode2 = SWIG_AsVal_int(obj1, &val2);
32619 if (!SWIG_IsOK(ecode2)) {
32620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32621 }
32622 arg2 = static_cast< int >(val2);
32623 ecode3 = SWIG_AsVal_int(obj2, &val3);
32624 if (!SWIG_IsOK(ecode3)) {
32625 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32626 }
32627 arg3 = static_cast< int >(val3);
32628 {
32629 PyThreadState* __tstate = wxPyBeginAllowThreads();
32630 (arg1)->SetColumnImage(arg2,arg3);
32631 wxPyEndAllowThreads(__tstate);
32632 if (PyErr_Occurred()) SWIG_fail;
32633 }
32634 resultobj = SWIG_Py_Void();
32635 return resultobj;
32636 fail:
32637 return NULL;
32638 }
32639
32640
32641 SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32642 PyObject *resultobj = 0;
32643 wxListView *arg1 = (wxListView *) 0 ;
32644 int arg2 ;
32645 void *argp1 = 0 ;
32646 int res1 = 0 ;
32647 int val2 ;
32648 int ecode2 = 0 ;
32649 PyObject * obj0 = 0 ;
32650 PyObject * obj1 = 0 ;
32651 char * kwnames[] = {
32652 (char *) "self",(char *) "col", NULL
32653 };
32654
32655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32657 if (!SWIG_IsOK(res1)) {
32658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32659 }
32660 arg1 = reinterpret_cast< wxListView * >(argp1);
32661 ecode2 = SWIG_AsVal_int(obj1, &val2);
32662 if (!SWIG_IsOK(ecode2)) {
32663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32664 }
32665 arg2 = static_cast< int >(val2);
32666 {
32667 PyThreadState* __tstate = wxPyBeginAllowThreads();
32668 (arg1)->ClearColumnImage(arg2);
32669 wxPyEndAllowThreads(__tstate);
32670 if (PyErr_Occurred()) SWIG_fail;
32671 }
32672 resultobj = SWIG_Py_Void();
32673 return resultobj;
32674 fail:
32675 return NULL;
32676 }
32677
32678
32679 SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32680 PyObject *obj;
32681 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32682 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32683 return SWIG_Py_Void();
32684 }
32685
32686 SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32687 return SWIG_Python_InitShadowInstance(args);
32688 }
32689
32690 SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32691 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32692 return 1;
32693 }
32694
32695
32696 SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32697 PyObject *pyobj = 0;
32698
32699 {
32700 #if wxUSE_UNICODE
32701 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32702 #else
32703 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32704 #endif
32705 }
32706 return pyobj;
32707 }
32708
32709
32710 SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32711 PyObject *resultobj = 0;
32712 wxTreeItemId *result = 0 ;
32713
32714 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32715 {
32716 PyThreadState* __tstate = wxPyBeginAllowThreads();
32717 result = (wxTreeItemId *)new wxTreeItemId();
32718 wxPyEndAllowThreads(__tstate);
32719 if (PyErr_Occurred()) SWIG_fail;
32720 }
32721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32722 return resultobj;
32723 fail:
32724 return NULL;
32725 }
32726
32727
32728 SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32729 PyObject *resultobj = 0;
32730 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32731 void *argp1 = 0 ;
32732 int res1 = 0 ;
32733 PyObject *swig_obj[1] ;
32734
32735 if (!args) SWIG_fail;
32736 swig_obj[0] = args;
32737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32738 if (!SWIG_IsOK(res1)) {
32739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32740 }
32741 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32742 {
32743 PyThreadState* __tstate = wxPyBeginAllowThreads();
32744 delete arg1;
32745
32746 wxPyEndAllowThreads(__tstate);
32747 if (PyErr_Occurred()) SWIG_fail;
32748 }
32749 resultobj = SWIG_Py_Void();
32750 return resultobj;
32751 fail:
32752 return NULL;
32753 }
32754
32755
32756 SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32757 PyObject *resultobj = 0;
32758 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32759 bool result;
32760 void *argp1 = 0 ;
32761 int res1 = 0 ;
32762 PyObject *swig_obj[1] ;
32763
32764 if (!args) SWIG_fail;
32765 swig_obj[0] = args;
32766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32767 if (!SWIG_IsOK(res1)) {
32768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32769 }
32770 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32771 {
32772 PyThreadState* __tstate = wxPyBeginAllowThreads();
32773 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32774 wxPyEndAllowThreads(__tstate);
32775 if (PyErr_Occurred()) SWIG_fail;
32776 }
32777 {
32778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32779 }
32780 return resultobj;
32781 fail:
32782 return NULL;
32783 }
32784
32785
32786 SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32787 PyObject *resultobj = 0;
32788 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32789 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32790 bool result;
32791 void *argp1 = 0 ;
32792 int res1 = 0 ;
32793 void *argp2 = 0 ;
32794 int res2 = 0 ;
32795 PyObject * obj0 = 0 ;
32796 PyObject * obj1 = 0 ;
32797 char * kwnames[] = {
32798 (char *) "self",(char *) "other", NULL
32799 };
32800
32801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32803 if (!SWIG_IsOK(res1)) {
32804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32805 }
32806 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32807 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32808 if (!SWIG_IsOK(res2)) {
32809 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32810 }
32811 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32812 {
32813 PyThreadState* __tstate = wxPyBeginAllowThreads();
32814 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32815 wxPyEndAllowThreads(__tstate);
32816 if (PyErr_Occurred()) SWIG_fail;
32817 }
32818 {
32819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32820 }
32821 return resultobj;
32822 fail:
32823 return NULL;
32824 }
32825
32826
32827 SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32828 PyObject *resultobj = 0;
32829 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32830 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32831 bool result;
32832 void *argp1 = 0 ;
32833 int res1 = 0 ;
32834 void *argp2 = 0 ;
32835 int res2 = 0 ;
32836 PyObject * obj0 = 0 ;
32837 PyObject * obj1 = 0 ;
32838 char * kwnames[] = {
32839 (char *) "self",(char *) "other", NULL
32840 };
32841
32842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32844 if (!SWIG_IsOK(res1)) {
32845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32846 }
32847 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32848 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32849 if (!SWIG_IsOK(res2)) {
32850 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32851 }
32852 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32853 {
32854 PyThreadState* __tstate = wxPyBeginAllowThreads();
32855 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32856 wxPyEndAllowThreads(__tstate);
32857 if (PyErr_Occurred()) SWIG_fail;
32858 }
32859 {
32860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32861 }
32862 return resultobj;
32863 fail:
32864 return NULL;
32865 }
32866
32867
32868 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32869 PyObject *resultobj = 0;
32870 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32871 void *arg2 = (void *) 0 ;
32872 void *argp1 = 0 ;
32873 int res1 = 0 ;
32874 int res2 ;
32875 PyObject *swig_obj[2] ;
32876
32877 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32879 if (!SWIG_IsOK(res1)) {
32880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32881 }
32882 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32883 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32884 if (!SWIG_IsOK(res2)) {
32885 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32886 }
32887 if (arg1) (arg1)->m_pItem = arg2;
32888
32889 resultobj = SWIG_Py_Void();
32890 return resultobj;
32891 fail:
32892 return NULL;
32893 }
32894
32895
32896 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32897 PyObject *resultobj = 0;
32898 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32899 void *result = 0 ;
32900 void *argp1 = 0 ;
32901 int res1 = 0 ;
32902 PyObject *swig_obj[1] ;
32903
32904 if (!args) SWIG_fail;
32905 swig_obj[0] = args;
32906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32907 if (!SWIG_IsOK(res1)) {
32908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32909 }
32910 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32911 result = (void *) ((arg1)->m_pItem);
32912 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32913 return resultobj;
32914 fail:
32915 return NULL;
32916 }
32917
32918
32919 SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32920 PyObject *obj;
32921 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32922 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32923 return SWIG_Py_Void();
32924 }
32925
32926 SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32927 return SWIG_Python_InitShadowInstance(args);
32928 }
32929
32930 SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32931 PyObject *resultobj = 0;
32932 PyObject *arg1 = (PyObject *) NULL ;
32933 wxPyTreeItemData *result = 0 ;
32934 PyObject * obj0 = 0 ;
32935 char * kwnames[] = {
32936 (char *) "obj", NULL
32937 };
32938
32939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32940 if (obj0) {
32941 arg1 = obj0;
32942 }
32943 {
32944 PyThreadState* __tstate = wxPyBeginAllowThreads();
32945 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
32946 wxPyEndAllowThreads(__tstate);
32947 if (PyErr_Occurred()) SWIG_fail;
32948 }
32949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
32950 return resultobj;
32951 fail:
32952 return NULL;
32953 }
32954
32955
32956 SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32957 PyObject *resultobj = 0;
32958 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32959 void *argp1 = 0 ;
32960 int res1 = 0 ;
32961 PyObject *swig_obj[1] ;
32962
32963 if (!args) SWIG_fail;
32964 swig_obj[0] = args;
32965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
32966 if (!SWIG_IsOK(res1)) {
32967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32968 }
32969 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32970 {
32971 PyThreadState* __tstate = wxPyBeginAllowThreads();
32972 delete arg1;
32973
32974 wxPyEndAllowThreads(__tstate);
32975 if (PyErr_Occurred()) SWIG_fail;
32976 }
32977 resultobj = SWIG_Py_Void();
32978 return resultobj;
32979 fail:
32980 return NULL;
32981 }
32982
32983
32984 SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32985 PyObject *resultobj = 0;
32986 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32987 PyObject *result = 0 ;
32988 void *argp1 = 0 ;
32989 int res1 = 0 ;
32990 PyObject *swig_obj[1] ;
32991
32992 if (!args) SWIG_fail;
32993 swig_obj[0] = args;
32994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32995 if (!SWIG_IsOK(res1)) {
32996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32997 }
32998 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32999 {
33000 PyThreadState* __tstate = wxPyBeginAllowThreads();
33001 result = (PyObject *)(arg1)->GetData();
33002 wxPyEndAllowThreads(__tstate);
33003 if (PyErr_Occurred()) SWIG_fail;
33004 }
33005 resultobj = result;
33006 return resultobj;
33007 fail:
33008 return NULL;
33009 }
33010
33011
33012 SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33013 PyObject *resultobj = 0;
33014 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33015 PyObject *arg2 = (PyObject *) 0 ;
33016 void *argp1 = 0 ;
33017 int res1 = 0 ;
33018 PyObject * obj0 = 0 ;
33019 PyObject * obj1 = 0 ;
33020 char * kwnames[] = {
33021 (char *) "self",(char *) "obj", NULL
33022 };
33023
33024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
33025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33026 if (!SWIG_IsOK(res1)) {
33027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33028 }
33029 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33030 arg2 = obj1;
33031 {
33032 PyThreadState* __tstate = wxPyBeginAllowThreads();
33033 (arg1)->SetData(arg2);
33034 wxPyEndAllowThreads(__tstate);
33035 if (PyErr_Occurred()) SWIG_fail;
33036 }
33037 resultobj = SWIG_Py_Void();
33038 return resultobj;
33039 fail:
33040 return NULL;
33041 }
33042
33043
33044 SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33045 PyObject *resultobj = 0;
33046 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33047 wxTreeItemId *result = 0 ;
33048 void *argp1 = 0 ;
33049 int res1 = 0 ;
33050 PyObject *swig_obj[1] ;
33051
33052 if (!args) SWIG_fail;
33053 swig_obj[0] = args;
33054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33055 if (!SWIG_IsOK(res1)) {
33056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33057 }
33058 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33059 {
33060 PyThreadState* __tstate = wxPyBeginAllowThreads();
33061 {
33062 wxTreeItemId const &_result_ref = (arg1)->GetId();
33063 result = (wxTreeItemId *) &_result_ref;
33064 }
33065 wxPyEndAllowThreads(__tstate);
33066 if (PyErr_Occurred()) SWIG_fail;
33067 }
33068 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33069 return resultobj;
33070 fail:
33071 return NULL;
33072 }
33073
33074
33075 SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33076 PyObject *resultobj = 0;
33077 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33078 wxTreeItemId *arg2 = 0 ;
33079 void *argp1 = 0 ;
33080 int res1 = 0 ;
33081 void *argp2 = 0 ;
33082 int res2 = 0 ;
33083 PyObject * obj0 = 0 ;
33084 PyObject * obj1 = 0 ;
33085 char * kwnames[] = {
33086 (char *) "self",(char *) "id", NULL
33087 };
33088
33089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
33090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33091 if (!SWIG_IsOK(res1)) {
33092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33093 }
33094 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33095 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33096 if (!SWIG_IsOK(res2)) {
33097 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33098 }
33099 if (!argp2) {
33100 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33101 }
33102 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33103 {
33104 PyThreadState* __tstate = wxPyBeginAllowThreads();
33105 (arg1)->SetId((wxTreeItemId const &)*arg2);
33106 wxPyEndAllowThreads(__tstate);
33107 if (PyErr_Occurred()) SWIG_fail;
33108 }
33109 resultobj = SWIG_Py_Void();
33110 return resultobj;
33111 fail:
33112 return NULL;
33113 }
33114
33115
33116 SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33117 PyObject *resultobj = 0;
33118 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 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_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33128 }
33129 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33130 {
33131 PyThreadState* __tstate = wxPyBeginAllowThreads();
33132 wxPyTreeItemData_Destroy(arg1);
33133 wxPyEndAllowThreads(__tstate);
33134 if (PyErr_Occurred()) SWIG_fail;
33135 }
33136 resultobj = SWIG_Py_Void();
33137 return resultobj;
33138 fail:
33139 return NULL;
33140 }
33141
33142
33143 SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33144 PyObject *obj;
33145 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33146 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
33147 return SWIG_Py_Void();
33148 }
33149
33150 SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33151 return SWIG_Python_InitShadowInstance(args);
33152 }
33153
33154 SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
33155 {
33156 void *argp = 0;
33157 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33158 if (!SWIG_IsOK(res)) {
33159 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33160 }
33161 if (!argp) {
33162 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33163 } else {
33164 wxTreeItemId * temp;
33165 temp = reinterpret_cast< wxTreeItemId * >(argp);
33166 wxNullTreeItemId = *temp;
33167 if (SWIG_IsNewObj(res)) delete temp;
33168 }
33169 }
33170 return 0;
33171 fail:
33172 return 1;
33173 }
33174
33175
33176 SWIGINTERN PyObject *NullTreeItemId_get(void) {
33177 PyObject *pyobj = 0;
33178
33179 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33180 return pyobj;
33181 }
33182
33183
33184 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33185 PyObject *resultobj = 0;
33186 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33187 int arg2 = (int) 0 ;
33188 wxTreeEvent *result = 0 ;
33189 int val1 ;
33190 int ecode1 = 0 ;
33191 int val2 ;
33192 int ecode2 = 0 ;
33193
33194 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33195 if (swig_obj[0]) {
33196 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33197 if (!SWIG_IsOK(ecode1)) {
33198 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33199 }
33200 arg1 = static_cast< wxEventType >(val1);
33201 }
33202 if (swig_obj[1]) {
33203 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
33204 if (!SWIG_IsOK(ecode2)) {
33205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33206 }
33207 arg2 = static_cast< int >(val2);
33208 }
33209 {
33210 PyThreadState* __tstate = wxPyBeginAllowThreads();
33211 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33212 wxPyEndAllowThreads(__tstate);
33213 if (PyErr_Occurred()) SWIG_fail;
33214 }
33215 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33216 return resultobj;
33217 fail:
33218 return NULL;
33219 }
33220
33221
33222 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33223 PyObject *resultobj = 0;
33224 wxEventType arg1 ;
33225 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33226 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33227 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33228 wxTreeEvent *result = 0 ;
33229 int val1 ;
33230 int ecode1 = 0 ;
33231 void *argp2 = 0 ;
33232 int res2 = 0 ;
33233 void *argp3 = 0 ;
33234 int res3 = 0 ;
33235
33236 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33237 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33238 if (!SWIG_IsOK(ecode1)) {
33239 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33240 }
33241 arg1 = static_cast< wxEventType >(val1);
33242 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33243 if (!SWIG_IsOK(res2)) {
33244 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33245 }
33246 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33247 if (swig_obj[2]) {
33248 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33249 if (!SWIG_IsOK(res3)) {
33250 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33251 }
33252 if (!argp3) {
33253 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33254 }
33255 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33256 }
33257 {
33258 PyThreadState* __tstate = wxPyBeginAllowThreads();
33259 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33260 wxPyEndAllowThreads(__tstate);
33261 if (PyErr_Occurred()) SWIG_fail;
33262 }
33263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33264 return resultobj;
33265 fail:
33266 return NULL;
33267 }
33268
33269
33270 SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33271 int argc;
33272 PyObject *argv[4];
33273
33274 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33275 --argc;
33276 if ((argc >= 0) && (argc <= 2)) {
33277 int _v = 0;
33278 if (argc > 1) {
33279 {
33280 {
33281 int res = SWIG_AsVal_int(argv[1], NULL);
33282 _v = SWIG_CheckState(res);
33283 }
33284 }
33285 if (!_v) goto check_1;
33286 }
33287 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33288 }
33289 check_1:
33290
33291 if ((argc >= 2) && (argc <= 3)) {
33292 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33293 }
33294
33295 fail:
33296 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33297 return NULL;
33298 }
33299
33300
33301 SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33302 PyObject *resultobj = 0;
33303 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33304 wxTreeItemId result;
33305 void *argp1 = 0 ;
33306 int res1 = 0 ;
33307 PyObject *swig_obj[1] ;
33308
33309 if (!args) SWIG_fail;
33310 swig_obj[0] = args;
33311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33312 if (!SWIG_IsOK(res1)) {
33313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33314 }
33315 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33316 {
33317 PyThreadState* __tstate = wxPyBeginAllowThreads();
33318 result = ((wxTreeEvent const *)arg1)->GetItem();
33319 wxPyEndAllowThreads(__tstate);
33320 if (PyErr_Occurred()) SWIG_fail;
33321 }
33322 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33323 return resultobj;
33324 fail:
33325 return NULL;
33326 }
33327
33328
33329 SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33330 PyObject *resultobj = 0;
33331 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33332 wxTreeItemId *arg2 = 0 ;
33333 void *argp1 = 0 ;
33334 int res1 = 0 ;
33335 void *argp2 = 0 ;
33336 int res2 = 0 ;
33337 PyObject * obj0 = 0 ;
33338 PyObject * obj1 = 0 ;
33339 char * kwnames[] = {
33340 (char *) "self",(char *) "item", NULL
33341 };
33342
33343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33345 if (!SWIG_IsOK(res1)) {
33346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33347 }
33348 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33349 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33350 if (!SWIG_IsOK(res2)) {
33351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33352 }
33353 if (!argp2) {
33354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33355 }
33356 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33357 {
33358 PyThreadState* __tstate = wxPyBeginAllowThreads();
33359 (arg1)->SetItem((wxTreeItemId const &)*arg2);
33360 wxPyEndAllowThreads(__tstate);
33361 if (PyErr_Occurred()) SWIG_fail;
33362 }
33363 resultobj = SWIG_Py_Void();
33364 return resultobj;
33365 fail:
33366 return NULL;
33367 }
33368
33369
33370 SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33371 PyObject *resultobj = 0;
33372 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33373 wxTreeItemId result;
33374 void *argp1 = 0 ;
33375 int res1 = 0 ;
33376 PyObject *swig_obj[1] ;
33377
33378 if (!args) SWIG_fail;
33379 swig_obj[0] = args;
33380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33381 if (!SWIG_IsOK(res1)) {
33382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33383 }
33384 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33385 {
33386 PyThreadState* __tstate = wxPyBeginAllowThreads();
33387 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33388 wxPyEndAllowThreads(__tstate);
33389 if (PyErr_Occurred()) SWIG_fail;
33390 }
33391 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33392 return resultobj;
33393 fail:
33394 return NULL;
33395 }
33396
33397
33398 SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33399 PyObject *resultobj = 0;
33400 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33401 wxTreeItemId *arg2 = 0 ;
33402 void *argp1 = 0 ;
33403 int res1 = 0 ;
33404 void *argp2 = 0 ;
33405 int res2 = 0 ;
33406 PyObject * obj0 = 0 ;
33407 PyObject * obj1 = 0 ;
33408 char * kwnames[] = {
33409 (char *) "self",(char *) "item", NULL
33410 };
33411
33412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33414 if (!SWIG_IsOK(res1)) {
33415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33416 }
33417 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33418 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33419 if (!SWIG_IsOK(res2)) {
33420 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33421 }
33422 if (!argp2) {
33423 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33424 }
33425 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33426 {
33427 PyThreadState* __tstate = wxPyBeginAllowThreads();
33428 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33429 wxPyEndAllowThreads(__tstate);
33430 if (PyErr_Occurred()) SWIG_fail;
33431 }
33432 resultobj = SWIG_Py_Void();
33433 return resultobj;
33434 fail:
33435 return NULL;
33436 }
33437
33438
33439 SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33440 PyObject *resultobj = 0;
33441 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33442 wxPoint result;
33443 void *argp1 = 0 ;
33444 int res1 = 0 ;
33445 PyObject *swig_obj[1] ;
33446
33447 if (!args) SWIG_fail;
33448 swig_obj[0] = args;
33449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33450 if (!SWIG_IsOK(res1)) {
33451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33452 }
33453 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33454 {
33455 PyThreadState* __tstate = wxPyBeginAllowThreads();
33456 result = ((wxTreeEvent const *)arg1)->GetPoint();
33457 wxPyEndAllowThreads(__tstate);
33458 if (PyErr_Occurred()) SWIG_fail;
33459 }
33460 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33461 return resultobj;
33462 fail:
33463 return NULL;
33464 }
33465
33466
33467 SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33468 PyObject *resultobj = 0;
33469 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33470 wxPoint *arg2 = 0 ;
33471 void *argp1 = 0 ;
33472 int res1 = 0 ;
33473 wxPoint temp2 ;
33474 PyObject * obj0 = 0 ;
33475 PyObject * obj1 = 0 ;
33476 char * kwnames[] = {
33477 (char *) "self",(char *) "pt", NULL
33478 };
33479
33480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33482 if (!SWIG_IsOK(res1)) {
33483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33484 }
33485 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33486 {
33487 arg2 = &temp2;
33488 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33489 }
33490 {
33491 PyThreadState* __tstate = wxPyBeginAllowThreads();
33492 (arg1)->SetPoint((wxPoint const &)*arg2);
33493 wxPyEndAllowThreads(__tstate);
33494 if (PyErr_Occurred()) SWIG_fail;
33495 }
33496 resultobj = SWIG_Py_Void();
33497 return resultobj;
33498 fail:
33499 return NULL;
33500 }
33501
33502
33503 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33504 PyObject *resultobj = 0;
33505 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33506 wxKeyEvent *result = 0 ;
33507 void *argp1 = 0 ;
33508 int res1 = 0 ;
33509 PyObject *swig_obj[1] ;
33510
33511 if (!args) SWIG_fail;
33512 swig_obj[0] = args;
33513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33514 if (!SWIG_IsOK(res1)) {
33515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33516 }
33517 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33518 {
33519 PyThreadState* __tstate = wxPyBeginAllowThreads();
33520 {
33521 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33522 result = (wxKeyEvent *) &_result_ref;
33523 }
33524 wxPyEndAllowThreads(__tstate);
33525 if (PyErr_Occurred()) SWIG_fail;
33526 }
33527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33528 return resultobj;
33529 fail:
33530 return NULL;
33531 }
33532
33533
33534 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33535 PyObject *resultobj = 0;
33536 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33537 int result;
33538 void *argp1 = 0 ;
33539 int res1 = 0 ;
33540 PyObject *swig_obj[1] ;
33541
33542 if (!args) SWIG_fail;
33543 swig_obj[0] = args;
33544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33545 if (!SWIG_IsOK(res1)) {
33546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33547 }
33548 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33549 {
33550 PyThreadState* __tstate = wxPyBeginAllowThreads();
33551 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33552 wxPyEndAllowThreads(__tstate);
33553 if (PyErr_Occurred()) SWIG_fail;
33554 }
33555 resultobj = SWIG_From_int(static_cast< int >(result));
33556 return resultobj;
33557 fail:
33558 return NULL;
33559 }
33560
33561
33562 SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33563 PyObject *resultobj = 0;
33564 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33565 wxKeyEvent *arg2 = 0 ;
33566 void *argp1 = 0 ;
33567 int res1 = 0 ;
33568 void *argp2 = 0 ;
33569 int res2 = 0 ;
33570 PyObject * obj0 = 0 ;
33571 PyObject * obj1 = 0 ;
33572 char * kwnames[] = {
33573 (char *) "self",(char *) "evt", NULL
33574 };
33575
33576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33578 if (!SWIG_IsOK(res1)) {
33579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33580 }
33581 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33582 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33583 if (!SWIG_IsOK(res2)) {
33584 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33585 }
33586 if (!argp2) {
33587 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33588 }
33589 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33590 {
33591 PyThreadState* __tstate = wxPyBeginAllowThreads();
33592 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33593 wxPyEndAllowThreads(__tstate);
33594 if (PyErr_Occurred()) SWIG_fail;
33595 }
33596 resultobj = SWIG_Py_Void();
33597 return resultobj;
33598 fail:
33599 return NULL;
33600 }
33601
33602
33603 SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33604 PyObject *resultobj = 0;
33605 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33606 wxString *result = 0 ;
33607 void *argp1 = 0 ;
33608 int res1 = 0 ;
33609 PyObject *swig_obj[1] ;
33610
33611 if (!args) SWIG_fail;
33612 swig_obj[0] = args;
33613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33614 if (!SWIG_IsOK(res1)) {
33615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33616 }
33617 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33618 {
33619 PyThreadState* __tstate = wxPyBeginAllowThreads();
33620 {
33621 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33622 result = (wxString *) &_result_ref;
33623 }
33624 wxPyEndAllowThreads(__tstate);
33625 if (PyErr_Occurred()) SWIG_fail;
33626 }
33627 {
33628 #if wxUSE_UNICODE
33629 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33630 #else
33631 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33632 #endif
33633 }
33634 return resultobj;
33635 fail:
33636 return NULL;
33637 }
33638
33639
33640 SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33641 PyObject *resultobj = 0;
33642 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33643 wxString *arg2 = 0 ;
33644 void *argp1 = 0 ;
33645 int res1 = 0 ;
33646 bool temp2 = false ;
33647 PyObject * obj0 = 0 ;
33648 PyObject * obj1 = 0 ;
33649 char * kwnames[] = {
33650 (char *) "self",(char *) "label", NULL
33651 };
33652
33653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33655 if (!SWIG_IsOK(res1)) {
33656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33657 }
33658 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33659 {
33660 arg2 = wxString_in_helper(obj1);
33661 if (arg2 == NULL) SWIG_fail;
33662 temp2 = true;
33663 }
33664 {
33665 PyThreadState* __tstate = wxPyBeginAllowThreads();
33666 (arg1)->SetLabel((wxString const &)*arg2);
33667 wxPyEndAllowThreads(__tstate);
33668 if (PyErr_Occurred()) SWIG_fail;
33669 }
33670 resultobj = SWIG_Py_Void();
33671 {
33672 if (temp2)
33673 delete arg2;
33674 }
33675 return resultobj;
33676 fail:
33677 {
33678 if (temp2)
33679 delete arg2;
33680 }
33681 return NULL;
33682 }
33683
33684
33685 SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33686 PyObject *resultobj = 0;
33687 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33688 bool result;
33689 void *argp1 = 0 ;
33690 int res1 = 0 ;
33691 PyObject *swig_obj[1] ;
33692
33693 if (!args) SWIG_fail;
33694 swig_obj[0] = args;
33695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33696 if (!SWIG_IsOK(res1)) {
33697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33698 }
33699 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33700 {
33701 PyThreadState* __tstate = wxPyBeginAllowThreads();
33702 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33703 wxPyEndAllowThreads(__tstate);
33704 if (PyErr_Occurred()) SWIG_fail;
33705 }
33706 {
33707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33708 }
33709 return resultobj;
33710 fail:
33711 return NULL;
33712 }
33713
33714
33715 SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33716 PyObject *resultobj = 0;
33717 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33718 bool arg2 ;
33719 void *argp1 = 0 ;
33720 int res1 = 0 ;
33721 bool val2 ;
33722 int ecode2 = 0 ;
33723 PyObject * obj0 = 0 ;
33724 PyObject * obj1 = 0 ;
33725 char * kwnames[] = {
33726 (char *) "self",(char *) "editCancelled", NULL
33727 };
33728
33729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33731 if (!SWIG_IsOK(res1)) {
33732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33733 }
33734 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33735 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33736 if (!SWIG_IsOK(ecode2)) {
33737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33738 }
33739 arg2 = static_cast< bool >(val2);
33740 {
33741 PyThreadState* __tstate = wxPyBeginAllowThreads();
33742 (arg1)->SetEditCanceled(arg2);
33743 wxPyEndAllowThreads(__tstate);
33744 if (PyErr_Occurred()) SWIG_fail;
33745 }
33746 resultobj = SWIG_Py_Void();
33747 return resultobj;
33748 fail:
33749 return NULL;
33750 }
33751
33752
33753 SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33754 PyObject *resultobj = 0;
33755 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33756 wxString *arg2 = 0 ;
33757 void *argp1 = 0 ;
33758 int res1 = 0 ;
33759 bool temp2 = false ;
33760 PyObject * obj0 = 0 ;
33761 PyObject * obj1 = 0 ;
33762 char * kwnames[] = {
33763 (char *) "self",(char *) "toolTip", NULL
33764 };
33765
33766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33768 if (!SWIG_IsOK(res1)) {
33769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33770 }
33771 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33772 {
33773 arg2 = wxString_in_helper(obj1);
33774 if (arg2 == NULL) SWIG_fail;
33775 temp2 = true;
33776 }
33777 {
33778 PyThreadState* __tstate = wxPyBeginAllowThreads();
33779 (arg1)->SetToolTip((wxString const &)*arg2);
33780 wxPyEndAllowThreads(__tstate);
33781 if (PyErr_Occurred()) SWIG_fail;
33782 }
33783 resultobj = SWIG_Py_Void();
33784 {
33785 if (temp2)
33786 delete arg2;
33787 }
33788 return resultobj;
33789 fail:
33790 {
33791 if (temp2)
33792 delete arg2;
33793 }
33794 return NULL;
33795 }
33796
33797
33798 SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33799 PyObject *resultobj = 0;
33800 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33801 wxString result;
33802 void *argp1 = 0 ;
33803 int res1 = 0 ;
33804 PyObject *swig_obj[1] ;
33805
33806 if (!args) SWIG_fail;
33807 swig_obj[0] = args;
33808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33809 if (!SWIG_IsOK(res1)) {
33810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33811 }
33812 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33813 {
33814 PyThreadState* __tstate = wxPyBeginAllowThreads();
33815 result = (arg1)->GetToolTip();
33816 wxPyEndAllowThreads(__tstate);
33817 if (PyErr_Occurred()) SWIG_fail;
33818 }
33819 {
33820 #if wxUSE_UNICODE
33821 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33822 #else
33823 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33824 #endif
33825 }
33826 return resultobj;
33827 fail:
33828 return NULL;
33829 }
33830
33831
33832 SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33833 PyObject *obj;
33834 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33835 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33836 return SWIG_Py_Void();
33837 }
33838
33839 SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33840 return SWIG_Python_InitShadowInstance(args);
33841 }
33842
33843 SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33844 PyObject *resultobj = 0;
33845 wxWindow *arg1 = (wxWindow *) 0 ;
33846 int arg2 = (int) -1 ;
33847 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33848 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33849 wxSize const &arg4_defvalue = wxDefaultSize ;
33850 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33851 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33852 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33853 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33854 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33855 wxString *arg7 = (wxString *) &arg7_defvalue ;
33856 wxPyTreeCtrl *result = 0 ;
33857 void *argp1 = 0 ;
33858 int res1 = 0 ;
33859 int val2 ;
33860 int ecode2 = 0 ;
33861 wxPoint temp3 ;
33862 wxSize temp4 ;
33863 long val5 ;
33864 int ecode5 = 0 ;
33865 void *argp6 = 0 ;
33866 int res6 = 0 ;
33867 bool temp7 = false ;
33868 PyObject * obj0 = 0 ;
33869 PyObject * obj1 = 0 ;
33870 PyObject * obj2 = 0 ;
33871 PyObject * obj3 = 0 ;
33872 PyObject * obj4 = 0 ;
33873 PyObject * obj5 = 0 ;
33874 PyObject * obj6 = 0 ;
33875 char * kwnames[] = {
33876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33877 };
33878
33879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33881 if (!SWIG_IsOK(res1)) {
33882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33883 }
33884 arg1 = reinterpret_cast< wxWindow * >(argp1);
33885 if (obj1) {
33886 ecode2 = SWIG_AsVal_int(obj1, &val2);
33887 if (!SWIG_IsOK(ecode2)) {
33888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33889 }
33890 arg2 = static_cast< int >(val2);
33891 }
33892 if (obj2) {
33893 {
33894 arg3 = &temp3;
33895 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33896 }
33897 }
33898 if (obj3) {
33899 {
33900 arg4 = &temp4;
33901 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33902 }
33903 }
33904 if (obj4) {
33905 ecode5 = SWIG_AsVal_long(obj4, &val5);
33906 if (!SWIG_IsOK(ecode5)) {
33907 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33908 }
33909 arg5 = static_cast< long >(val5);
33910 }
33911 if (obj5) {
33912 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33913 if (!SWIG_IsOK(res6)) {
33914 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33915 }
33916 if (!argp6) {
33917 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33918 }
33919 arg6 = reinterpret_cast< wxValidator * >(argp6);
33920 }
33921 if (obj6) {
33922 {
33923 arg7 = wxString_in_helper(obj6);
33924 if (arg7 == NULL) SWIG_fail;
33925 temp7 = true;
33926 }
33927 }
33928 {
33929 if (!wxPyCheckForApp()) SWIG_fail;
33930 PyThreadState* __tstate = wxPyBeginAllowThreads();
33931 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33932 wxPyEndAllowThreads(__tstate);
33933 if (PyErr_Occurred()) SWIG_fail;
33934 }
33935 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33936 {
33937 if (temp7)
33938 delete arg7;
33939 }
33940 return resultobj;
33941 fail:
33942 {
33943 if (temp7)
33944 delete arg7;
33945 }
33946 return NULL;
33947 }
33948
33949
33950 SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33951 PyObject *resultobj = 0;
33952 wxPyTreeCtrl *result = 0 ;
33953
33954 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
33955 {
33956 if (!wxPyCheckForApp()) SWIG_fail;
33957 PyThreadState* __tstate = wxPyBeginAllowThreads();
33958 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
33959 wxPyEndAllowThreads(__tstate);
33960 if (PyErr_Occurred()) SWIG_fail;
33961 }
33962 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
33963 return resultobj;
33964 fail:
33965 return NULL;
33966 }
33967
33968
33969 SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33970 PyObject *resultobj = 0;
33971 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33972 wxWindow *arg2 = (wxWindow *) 0 ;
33973 int arg3 = (int) -1 ;
33974 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33975 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33976 wxSize const &arg5_defvalue = wxDefaultSize ;
33977 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33978 long arg6 = (long) wxTR_DEFAULT_STYLE ;
33979 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33980 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33981 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
33982 wxString *arg8 = (wxString *) &arg8_defvalue ;
33983 bool result;
33984 void *argp1 = 0 ;
33985 int res1 = 0 ;
33986 void *argp2 = 0 ;
33987 int res2 = 0 ;
33988 int val3 ;
33989 int ecode3 = 0 ;
33990 wxPoint temp4 ;
33991 wxSize temp5 ;
33992 long val6 ;
33993 int ecode6 = 0 ;
33994 void *argp7 = 0 ;
33995 int res7 = 0 ;
33996 bool temp8 = false ;
33997 PyObject * obj0 = 0 ;
33998 PyObject * obj1 = 0 ;
33999 PyObject * obj2 = 0 ;
34000 PyObject * obj3 = 0 ;
34001 PyObject * obj4 = 0 ;
34002 PyObject * obj5 = 0 ;
34003 PyObject * obj6 = 0 ;
34004 PyObject * obj7 = 0 ;
34005 char * kwnames[] = {
34006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34007 };
34008
34009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
34010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34011 if (!SWIG_IsOK(res1)) {
34012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34013 }
34014 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34015 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
34016 if (!SWIG_IsOK(res2)) {
34017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34018 }
34019 arg2 = reinterpret_cast< wxWindow * >(argp2);
34020 if (obj2) {
34021 ecode3 = SWIG_AsVal_int(obj2, &val3);
34022 if (!SWIG_IsOK(ecode3)) {
34023 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34024 }
34025 arg3 = static_cast< int >(val3);
34026 }
34027 if (obj3) {
34028 {
34029 arg4 = &temp4;
34030 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34031 }
34032 }
34033 if (obj4) {
34034 {
34035 arg5 = &temp5;
34036 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34037 }
34038 }
34039 if (obj5) {
34040 ecode6 = SWIG_AsVal_long(obj5, &val6);
34041 if (!SWIG_IsOK(ecode6)) {
34042 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34043 }
34044 arg6 = static_cast< long >(val6);
34045 }
34046 if (obj6) {
34047 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
34048 if (!SWIG_IsOK(res7)) {
34049 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34050 }
34051 if (!argp7) {
34052 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34053 }
34054 arg7 = reinterpret_cast< wxValidator * >(argp7);
34055 }
34056 if (obj7) {
34057 {
34058 arg8 = wxString_in_helper(obj7);
34059 if (arg8 == NULL) SWIG_fail;
34060 temp8 = true;
34061 }
34062 }
34063 {
34064 PyThreadState* __tstate = wxPyBeginAllowThreads();
34065 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34066 wxPyEndAllowThreads(__tstate);
34067 if (PyErr_Occurred()) SWIG_fail;
34068 }
34069 {
34070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34071 }
34072 {
34073 if (temp8)
34074 delete arg8;
34075 }
34076 return resultobj;
34077 fail:
34078 {
34079 if (temp8)
34080 delete arg8;
34081 }
34082 return NULL;
34083 }
34084
34085
34086 SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34087 PyObject *resultobj = 0;
34088 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34089 PyObject *arg2 = (PyObject *) 0 ;
34090 PyObject *arg3 = (PyObject *) 0 ;
34091 void *argp1 = 0 ;
34092 int res1 = 0 ;
34093 PyObject * obj0 = 0 ;
34094 PyObject * obj1 = 0 ;
34095 PyObject * obj2 = 0 ;
34096 char * kwnames[] = {
34097 (char *) "self",(char *) "self",(char *) "_class", NULL
34098 };
34099
34100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34102 if (!SWIG_IsOK(res1)) {
34103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34104 }
34105 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34106 arg2 = obj1;
34107 arg3 = obj2;
34108 {
34109 PyThreadState* __tstate = wxPyBeginAllowThreads();
34110 (arg1)->_setCallbackInfo(arg2,arg3);
34111 wxPyEndAllowThreads(__tstate);
34112 if (PyErr_Occurred()) SWIG_fail;
34113 }
34114 resultobj = SWIG_Py_Void();
34115 return resultobj;
34116 fail:
34117 return NULL;
34118 }
34119
34120
34121 SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34122 PyObject *resultobj = 0;
34123 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34124 unsigned int result;
34125 void *argp1 = 0 ;
34126 int res1 = 0 ;
34127 PyObject *swig_obj[1] ;
34128
34129 if (!args) SWIG_fail;
34130 swig_obj[0] = args;
34131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34132 if (!SWIG_IsOK(res1)) {
34133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34134 }
34135 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34136 {
34137 PyThreadState* __tstate = wxPyBeginAllowThreads();
34138 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
34139 wxPyEndAllowThreads(__tstate);
34140 if (PyErr_Occurred()) SWIG_fail;
34141 }
34142 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34143 return resultobj;
34144 fail:
34145 return NULL;
34146 }
34147
34148
34149 SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34150 PyObject *resultobj = 0;
34151 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34152 unsigned int result;
34153 void *argp1 = 0 ;
34154 int res1 = 0 ;
34155 PyObject *swig_obj[1] ;
34156
34157 if (!args) SWIG_fail;
34158 swig_obj[0] = args;
34159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34160 if (!SWIG_IsOK(res1)) {
34161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34162 }
34163 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34164 {
34165 PyThreadState* __tstate = wxPyBeginAllowThreads();
34166 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
34167 wxPyEndAllowThreads(__tstate);
34168 if (PyErr_Occurred()) SWIG_fail;
34169 }
34170 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34171 return resultobj;
34172 fail:
34173 return NULL;
34174 }
34175
34176
34177 SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34178 PyObject *resultobj = 0;
34179 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34180 unsigned int arg2 ;
34181 void *argp1 = 0 ;
34182 int res1 = 0 ;
34183 unsigned int val2 ;
34184 int ecode2 = 0 ;
34185 PyObject * obj0 = 0 ;
34186 PyObject * obj1 = 0 ;
34187 char * kwnames[] = {
34188 (char *) "self",(char *) "indent", NULL
34189 };
34190
34191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34193 if (!SWIG_IsOK(res1)) {
34194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34195 }
34196 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34197 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34198 if (!SWIG_IsOK(ecode2)) {
34199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34200 }
34201 arg2 = static_cast< unsigned int >(val2);
34202 {
34203 PyThreadState* __tstate = wxPyBeginAllowThreads();
34204 (arg1)->SetIndent(arg2);
34205 wxPyEndAllowThreads(__tstate);
34206 if (PyErr_Occurred()) SWIG_fail;
34207 }
34208 resultobj = SWIG_Py_Void();
34209 return resultobj;
34210 fail:
34211 return NULL;
34212 }
34213
34214
34215 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34216 PyObject *resultobj = 0;
34217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34218 unsigned int result;
34219 void *argp1 = 0 ;
34220 int res1 = 0 ;
34221 PyObject *swig_obj[1] ;
34222
34223 if (!args) SWIG_fail;
34224 swig_obj[0] = args;
34225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34226 if (!SWIG_IsOK(res1)) {
34227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34228 }
34229 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34230 {
34231 PyThreadState* __tstate = wxPyBeginAllowThreads();
34232 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34233 wxPyEndAllowThreads(__tstate);
34234 if (PyErr_Occurred()) SWIG_fail;
34235 }
34236 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34237 return resultobj;
34238 fail:
34239 return NULL;
34240 }
34241
34242
34243 SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34244 PyObject *resultobj = 0;
34245 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34246 unsigned int arg2 ;
34247 void *argp1 = 0 ;
34248 int res1 = 0 ;
34249 unsigned int val2 ;
34250 int ecode2 = 0 ;
34251 PyObject * obj0 = 0 ;
34252 PyObject * obj1 = 0 ;
34253 char * kwnames[] = {
34254 (char *) "self",(char *) "spacing", NULL
34255 };
34256
34257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
34258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34259 if (!SWIG_IsOK(res1)) {
34260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34261 }
34262 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34263 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34264 if (!SWIG_IsOK(ecode2)) {
34265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34266 }
34267 arg2 = static_cast< unsigned int >(val2);
34268 {
34269 PyThreadState* __tstate = wxPyBeginAllowThreads();
34270 (arg1)->SetSpacing(arg2);
34271 wxPyEndAllowThreads(__tstate);
34272 if (PyErr_Occurred()) SWIG_fail;
34273 }
34274 resultobj = SWIG_Py_Void();
34275 return resultobj;
34276 fail:
34277 return NULL;
34278 }
34279
34280
34281 SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34282 PyObject *resultobj = 0;
34283 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34284 wxImageList *result = 0 ;
34285 void *argp1 = 0 ;
34286 int res1 = 0 ;
34287 PyObject *swig_obj[1] ;
34288
34289 if (!args) SWIG_fail;
34290 swig_obj[0] = args;
34291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34292 if (!SWIG_IsOK(res1)) {
34293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34294 }
34295 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34296 {
34297 PyThreadState* __tstate = wxPyBeginAllowThreads();
34298 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34299 wxPyEndAllowThreads(__tstate);
34300 if (PyErr_Occurred()) SWIG_fail;
34301 }
34302 {
34303 resultobj = wxPyMake_wxObject(result, (bool)0);
34304 }
34305 return resultobj;
34306 fail:
34307 return NULL;
34308 }
34309
34310
34311 SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34312 PyObject *resultobj = 0;
34313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34314 wxImageList *result = 0 ;
34315 void *argp1 = 0 ;
34316 int res1 = 0 ;
34317 PyObject *swig_obj[1] ;
34318
34319 if (!args) SWIG_fail;
34320 swig_obj[0] = args;
34321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34322 if (!SWIG_IsOK(res1)) {
34323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34324 }
34325 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34326 {
34327 PyThreadState* __tstate = wxPyBeginAllowThreads();
34328 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34329 wxPyEndAllowThreads(__tstate);
34330 if (PyErr_Occurred()) SWIG_fail;
34331 }
34332 {
34333 resultobj = wxPyMake_wxObject(result, (bool)0);
34334 }
34335 return resultobj;
34336 fail:
34337 return NULL;
34338 }
34339
34340
34341 SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34342 PyObject *resultobj = 0;
34343 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34344 wxImageList *arg2 = (wxImageList *) 0 ;
34345 void *argp1 = 0 ;
34346 int res1 = 0 ;
34347 void *argp2 = 0 ;
34348 int res2 = 0 ;
34349 PyObject * obj0 = 0 ;
34350 PyObject * obj1 = 0 ;
34351 char * kwnames[] = {
34352 (char *) "self",(char *) "imageList", NULL
34353 };
34354
34355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34357 if (!SWIG_IsOK(res1)) {
34358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34359 }
34360 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34361 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34362 if (!SWIG_IsOK(res2)) {
34363 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34364 }
34365 arg2 = reinterpret_cast< wxImageList * >(argp2);
34366 {
34367 PyThreadState* __tstate = wxPyBeginAllowThreads();
34368 (arg1)->SetImageList(arg2);
34369 wxPyEndAllowThreads(__tstate);
34370 if (PyErr_Occurred()) SWIG_fail;
34371 }
34372 resultobj = SWIG_Py_Void();
34373 return resultobj;
34374 fail:
34375 return NULL;
34376 }
34377
34378
34379 SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34380 PyObject *resultobj = 0;
34381 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34382 wxImageList *arg2 = (wxImageList *) 0 ;
34383 void *argp1 = 0 ;
34384 int res1 = 0 ;
34385 void *argp2 = 0 ;
34386 int res2 = 0 ;
34387 PyObject * obj0 = 0 ;
34388 PyObject * obj1 = 0 ;
34389 char * kwnames[] = {
34390 (char *) "self",(char *) "imageList", NULL
34391 };
34392
34393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34395 if (!SWIG_IsOK(res1)) {
34396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34397 }
34398 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34399 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34400 if (!SWIG_IsOK(res2)) {
34401 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34402 }
34403 arg2 = reinterpret_cast< wxImageList * >(argp2);
34404 {
34405 PyThreadState* __tstate = wxPyBeginAllowThreads();
34406 (arg1)->SetStateImageList(arg2);
34407 wxPyEndAllowThreads(__tstate);
34408 if (PyErr_Occurred()) SWIG_fail;
34409 }
34410 resultobj = SWIG_Py_Void();
34411 return resultobj;
34412 fail:
34413 return NULL;
34414 }
34415
34416
34417 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34418 PyObject *resultobj = 0;
34419 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34420 wxImageList *arg2 = (wxImageList *) 0 ;
34421 void *argp1 = 0 ;
34422 int res1 = 0 ;
34423 int res2 = 0 ;
34424 PyObject * obj0 = 0 ;
34425 PyObject * obj1 = 0 ;
34426 char * kwnames[] = {
34427 (char *) "self",(char *) "imageList", NULL
34428 };
34429
34430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34432 if (!SWIG_IsOK(res1)) {
34433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34434 }
34435 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34436 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34437 if (!SWIG_IsOK(res2)) {
34438 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34439 }
34440 {
34441 PyThreadState* __tstate = wxPyBeginAllowThreads();
34442 (arg1)->AssignImageList(arg2);
34443 wxPyEndAllowThreads(__tstate);
34444 if (PyErr_Occurred()) SWIG_fail;
34445 }
34446 resultobj = SWIG_Py_Void();
34447 return resultobj;
34448 fail:
34449 return NULL;
34450 }
34451
34452
34453 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34454 PyObject *resultobj = 0;
34455 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34456 wxImageList *arg2 = (wxImageList *) 0 ;
34457 void *argp1 = 0 ;
34458 int res1 = 0 ;
34459 int res2 = 0 ;
34460 PyObject * obj0 = 0 ;
34461 PyObject * obj1 = 0 ;
34462 char * kwnames[] = {
34463 (char *) "self",(char *) "imageList", NULL
34464 };
34465
34466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34468 if (!SWIG_IsOK(res1)) {
34469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34470 }
34471 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34472 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34473 if (!SWIG_IsOK(res2)) {
34474 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34475 }
34476 {
34477 PyThreadState* __tstate = wxPyBeginAllowThreads();
34478 (arg1)->AssignStateImageList(arg2);
34479 wxPyEndAllowThreads(__tstate);
34480 if (PyErr_Occurred()) SWIG_fail;
34481 }
34482 resultobj = SWIG_Py_Void();
34483 return resultobj;
34484 fail:
34485 return NULL;
34486 }
34487
34488
34489 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34490 PyObject *resultobj = 0;
34491 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34492 wxTreeItemId *arg2 = 0 ;
34493 wxString result;
34494 void *argp1 = 0 ;
34495 int res1 = 0 ;
34496 void *argp2 = 0 ;
34497 int res2 = 0 ;
34498 PyObject * obj0 = 0 ;
34499 PyObject * obj1 = 0 ;
34500 char * kwnames[] = {
34501 (char *) "self",(char *) "item", NULL
34502 };
34503
34504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34506 if (!SWIG_IsOK(res1)) {
34507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34508 }
34509 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34510 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34511 if (!SWIG_IsOK(res2)) {
34512 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34513 }
34514 if (!argp2) {
34515 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34516 }
34517 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34518 {
34519 PyThreadState* __tstate = wxPyBeginAllowThreads();
34520 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34521 wxPyEndAllowThreads(__tstate);
34522 if (PyErr_Occurred()) SWIG_fail;
34523 }
34524 {
34525 #if wxUSE_UNICODE
34526 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34527 #else
34528 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34529 #endif
34530 }
34531 return resultobj;
34532 fail:
34533 return NULL;
34534 }
34535
34536
34537 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34538 PyObject *resultobj = 0;
34539 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34540 wxTreeItemId *arg2 = 0 ;
34541 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34542 int result;
34543 void *argp1 = 0 ;
34544 int res1 = 0 ;
34545 void *argp2 = 0 ;
34546 int res2 = 0 ;
34547 int val3 ;
34548 int ecode3 = 0 ;
34549 PyObject * obj0 = 0 ;
34550 PyObject * obj1 = 0 ;
34551 PyObject * obj2 = 0 ;
34552 char * kwnames[] = {
34553 (char *) "self",(char *) "item",(char *) "which", NULL
34554 };
34555
34556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34558 if (!SWIG_IsOK(res1)) {
34559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34560 }
34561 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34562 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34563 if (!SWIG_IsOK(res2)) {
34564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34565 }
34566 if (!argp2) {
34567 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34568 }
34569 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34570 if (obj2) {
34571 ecode3 = SWIG_AsVal_int(obj2, &val3);
34572 if (!SWIG_IsOK(ecode3)) {
34573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34574 }
34575 arg3 = static_cast< wxTreeItemIcon >(val3);
34576 }
34577 {
34578 PyThreadState* __tstate = wxPyBeginAllowThreads();
34579 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34580 wxPyEndAllowThreads(__tstate);
34581 if (PyErr_Occurred()) SWIG_fail;
34582 }
34583 resultobj = SWIG_From_int(static_cast< int >(result));
34584 return resultobj;
34585 fail:
34586 return NULL;
34587 }
34588
34589
34590 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34591 PyObject *resultobj = 0;
34592 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34593 wxTreeItemId *arg2 = 0 ;
34594 wxPyTreeItemData *result = 0 ;
34595 void *argp1 = 0 ;
34596 int res1 = 0 ;
34597 void *argp2 = 0 ;
34598 int res2 = 0 ;
34599 PyObject * obj0 = 0 ;
34600 PyObject * obj1 = 0 ;
34601 char * kwnames[] = {
34602 (char *) "self",(char *) "item", NULL
34603 };
34604
34605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34607 if (!SWIG_IsOK(res1)) {
34608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34609 }
34610 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34611 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34612 if (!SWIG_IsOK(res2)) {
34613 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34614 }
34615 if (!argp2) {
34616 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34617 }
34618 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34619 {
34620 PyThreadState* __tstate = wxPyBeginAllowThreads();
34621 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34622 wxPyEndAllowThreads(__tstate);
34623 if (PyErr_Occurred()) SWIG_fail;
34624 }
34625 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34626 return resultobj;
34627 fail:
34628 return NULL;
34629 }
34630
34631
34632 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34633 PyObject *resultobj = 0;
34634 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34635 wxTreeItemId *arg2 = 0 ;
34636 PyObject *result = 0 ;
34637 void *argp1 = 0 ;
34638 int res1 = 0 ;
34639 void *argp2 = 0 ;
34640 int res2 = 0 ;
34641 PyObject * obj0 = 0 ;
34642 PyObject * obj1 = 0 ;
34643 char * kwnames[] = {
34644 (char *) "self",(char *) "item", NULL
34645 };
34646
34647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34649 if (!SWIG_IsOK(res1)) {
34650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34651 }
34652 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34653 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34654 if (!SWIG_IsOK(res2)) {
34655 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34656 }
34657 if (!argp2) {
34658 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34659 }
34660 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34661 {
34662 PyThreadState* __tstate = wxPyBeginAllowThreads();
34663 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34664 wxPyEndAllowThreads(__tstate);
34665 if (PyErr_Occurred()) SWIG_fail;
34666 }
34667 resultobj = result;
34668 return resultobj;
34669 fail:
34670 return NULL;
34671 }
34672
34673
34674 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34675 PyObject *resultobj = 0;
34676 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34677 wxTreeItemId *arg2 = 0 ;
34678 wxColour result;
34679 void *argp1 = 0 ;
34680 int res1 = 0 ;
34681 void *argp2 = 0 ;
34682 int res2 = 0 ;
34683 PyObject * obj0 = 0 ;
34684 PyObject * obj1 = 0 ;
34685 char * kwnames[] = {
34686 (char *) "self",(char *) "item", NULL
34687 };
34688
34689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34691 if (!SWIG_IsOK(res1)) {
34692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34693 }
34694 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34695 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34696 if (!SWIG_IsOK(res2)) {
34697 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34698 }
34699 if (!argp2) {
34700 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34701 }
34702 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34703 {
34704 PyThreadState* __tstate = wxPyBeginAllowThreads();
34705 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34706 wxPyEndAllowThreads(__tstate);
34707 if (PyErr_Occurred()) SWIG_fail;
34708 }
34709 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34710 return resultobj;
34711 fail:
34712 return NULL;
34713 }
34714
34715
34716 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34717 PyObject *resultobj = 0;
34718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34719 wxTreeItemId *arg2 = 0 ;
34720 wxColour result;
34721 void *argp1 = 0 ;
34722 int res1 = 0 ;
34723 void *argp2 = 0 ;
34724 int res2 = 0 ;
34725 PyObject * obj0 = 0 ;
34726 PyObject * obj1 = 0 ;
34727 char * kwnames[] = {
34728 (char *) "self",(char *) "item", NULL
34729 };
34730
34731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34733 if (!SWIG_IsOK(res1)) {
34734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34735 }
34736 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34737 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34738 if (!SWIG_IsOK(res2)) {
34739 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34740 }
34741 if (!argp2) {
34742 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34743 }
34744 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34745 {
34746 PyThreadState* __tstate = wxPyBeginAllowThreads();
34747 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34748 wxPyEndAllowThreads(__tstate);
34749 if (PyErr_Occurred()) SWIG_fail;
34750 }
34751 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34752 return resultobj;
34753 fail:
34754 return NULL;
34755 }
34756
34757
34758 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34759 PyObject *resultobj = 0;
34760 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34761 wxTreeItemId *arg2 = 0 ;
34762 wxFont result;
34763 void *argp1 = 0 ;
34764 int res1 = 0 ;
34765 void *argp2 = 0 ;
34766 int res2 = 0 ;
34767 PyObject * obj0 = 0 ;
34768 PyObject * obj1 = 0 ;
34769 char * kwnames[] = {
34770 (char *) "self",(char *) "item", NULL
34771 };
34772
34773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34775 if (!SWIG_IsOK(res1)) {
34776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34777 }
34778 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34779 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34780 if (!SWIG_IsOK(res2)) {
34781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34782 }
34783 if (!argp2) {
34784 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34785 }
34786 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34787 {
34788 PyThreadState* __tstate = wxPyBeginAllowThreads();
34789 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34790 wxPyEndAllowThreads(__tstate);
34791 if (PyErr_Occurred()) SWIG_fail;
34792 }
34793 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34794 return resultobj;
34795 fail:
34796 return NULL;
34797 }
34798
34799
34800 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34801 PyObject *resultobj = 0;
34802 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34803 wxTreeItemId *arg2 = 0 ;
34804 wxString *arg3 = 0 ;
34805 void *argp1 = 0 ;
34806 int res1 = 0 ;
34807 void *argp2 = 0 ;
34808 int res2 = 0 ;
34809 bool temp3 = false ;
34810 PyObject * obj0 = 0 ;
34811 PyObject * obj1 = 0 ;
34812 PyObject * obj2 = 0 ;
34813 char * kwnames[] = {
34814 (char *) "self",(char *) "item",(char *) "text", NULL
34815 };
34816
34817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34819 if (!SWIG_IsOK(res1)) {
34820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34821 }
34822 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34823 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34824 if (!SWIG_IsOK(res2)) {
34825 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34826 }
34827 if (!argp2) {
34828 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34829 }
34830 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34831 {
34832 arg3 = wxString_in_helper(obj2);
34833 if (arg3 == NULL) SWIG_fail;
34834 temp3 = true;
34835 }
34836 {
34837 PyThreadState* __tstate = wxPyBeginAllowThreads();
34838 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34839 wxPyEndAllowThreads(__tstate);
34840 if (PyErr_Occurred()) SWIG_fail;
34841 }
34842 resultobj = SWIG_Py_Void();
34843 {
34844 if (temp3)
34845 delete arg3;
34846 }
34847 return resultobj;
34848 fail:
34849 {
34850 if (temp3)
34851 delete arg3;
34852 }
34853 return NULL;
34854 }
34855
34856
34857 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34858 PyObject *resultobj = 0;
34859 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34860 wxTreeItemId *arg2 = 0 ;
34861 int arg3 ;
34862 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34863 void *argp1 = 0 ;
34864 int res1 = 0 ;
34865 void *argp2 = 0 ;
34866 int res2 = 0 ;
34867 int val3 ;
34868 int ecode3 = 0 ;
34869 int val4 ;
34870 int ecode4 = 0 ;
34871 PyObject * obj0 = 0 ;
34872 PyObject * obj1 = 0 ;
34873 PyObject * obj2 = 0 ;
34874 PyObject * obj3 = 0 ;
34875 char * kwnames[] = {
34876 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34877 };
34878
34879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34881 if (!SWIG_IsOK(res1)) {
34882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34883 }
34884 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34885 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34886 if (!SWIG_IsOK(res2)) {
34887 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34888 }
34889 if (!argp2) {
34890 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34891 }
34892 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34893 ecode3 = SWIG_AsVal_int(obj2, &val3);
34894 if (!SWIG_IsOK(ecode3)) {
34895 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34896 }
34897 arg3 = static_cast< int >(val3);
34898 if (obj3) {
34899 ecode4 = SWIG_AsVal_int(obj3, &val4);
34900 if (!SWIG_IsOK(ecode4)) {
34901 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34902 }
34903 arg4 = static_cast< wxTreeItemIcon >(val4);
34904 }
34905 {
34906 PyThreadState* __tstate = wxPyBeginAllowThreads();
34907 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34908 wxPyEndAllowThreads(__tstate);
34909 if (PyErr_Occurred()) SWIG_fail;
34910 }
34911 resultobj = SWIG_Py_Void();
34912 return resultobj;
34913 fail:
34914 return NULL;
34915 }
34916
34917
34918 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34919 PyObject *resultobj = 0;
34920 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34921 wxTreeItemId *arg2 = 0 ;
34922 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34923 void *argp1 = 0 ;
34924 int res1 = 0 ;
34925 void *argp2 = 0 ;
34926 int res2 = 0 ;
34927 int res3 = 0 ;
34928 PyObject * obj0 = 0 ;
34929 PyObject * obj1 = 0 ;
34930 PyObject * obj2 = 0 ;
34931 char * kwnames[] = {
34932 (char *) "self",(char *) "item",(char *) "data", NULL
34933 };
34934
34935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34937 if (!SWIG_IsOK(res1)) {
34938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34939 }
34940 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34941 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34942 if (!SWIG_IsOK(res2)) {
34943 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34944 }
34945 if (!argp2) {
34946 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34947 }
34948 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34949 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
34950 if (!SWIG_IsOK(res3)) {
34951 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34952 }
34953 {
34954 PyThreadState* __tstate = wxPyBeginAllowThreads();
34955 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
34956 wxPyEndAllowThreads(__tstate);
34957 if (PyErr_Occurred()) SWIG_fail;
34958 }
34959 resultobj = SWIG_Py_Void();
34960 return resultobj;
34961 fail:
34962 return NULL;
34963 }
34964
34965
34966 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34967 PyObject *resultobj = 0;
34968 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34969 wxTreeItemId *arg2 = 0 ;
34970 PyObject *arg3 = (PyObject *) 0 ;
34971 void *argp1 = 0 ;
34972 int res1 = 0 ;
34973 void *argp2 = 0 ;
34974 int res2 = 0 ;
34975 PyObject * obj0 = 0 ;
34976 PyObject * obj1 = 0 ;
34977 PyObject * obj2 = 0 ;
34978 char * kwnames[] = {
34979 (char *) "self",(char *) "item",(char *) "obj", NULL
34980 };
34981
34982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34984 if (!SWIG_IsOK(res1)) {
34985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34986 }
34987 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34988 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34989 if (!SWIG_IsOK(res2)) {
34990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34991 }
34992 if (!argp2) {
34993 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34994 }
34995 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34996 arg3 = obj2;
34997 {
34998 PyThreadState* __tstate = wxPyBeginAllowThreads();
34999 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
35000 wxPyEndAllowThreads(__tstate);
35001 if (PyErr_Occurred()) SWIG_fail;
35002 }
35003 resultobj = SWIG_Py_Void();
35004 return resultobj;
35005 fail:
35006 return NULL;
35007 }
35008
35009
35010 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35011 PyObject *resultobj = 0;
35012 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35013 wxTreeItemId *arg2 = 0 ;
35014 bool arg3 = (bool) true ;
35015 void *argp1 = 0 ;
35016 int res1 = 0 ;
35017 void *argp2 = 0 ;
35018 int res2 = 0 ;
35019 bool val3 ;
35020 int ecode3 = 0 ;
35021 PyObject * obj0 = 0 ;
35022 PyObject * obj1 = 0 ;
35023 PyObject * obj2 = 0 ;
35024 char * kwnames[] = {
35025 (char *) "self",(char *) "item",(char *) "has", NULL
35026 };
35027
35028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35030 if (!SWIG_IsOK(res1)) {
35031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35032 }
35033 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35034 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35035 if (!SWIG_IsOK(res2)) {
35036 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35037 }
35038 if (!argp2) {
35039 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35040 }
35041 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35042 if (obj2) {
35043 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35044 if (!SWIG_IsOK(ecode3)) {
35045 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35046 }
35047 arg3 = static_cast< bool >(val3);
35048 }
35049 {
35050 PyThreadState* __tstate = wxPyBeginAllowThreads();
35051 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
35052 wxPyEndAllowThreads(__tstate);
35053 if (PyErr_Occurred()) SWIG_fail;
35054 }
35055 resultobj = SWIG_Py_Void();
35056 return resultobj;
35057 fail:
35058 return NULL;
35059 }
35060
35061
35062 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35063 PyObject *resultobj = 0;
35064 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35065 wxTreeItemId *arg2 = 0 ;
35066 bool arg3 = (bool) true ;
35067 void *argp1 = 0 ;
35068 int res1 = 0 ;
35069 void *argp2 = 0 ;
35070 int res2 = 0 ;
35071 bool val3 ;
35072 int ecode3 = 0 ;
35073 PyObject * obj0 = 0 ;
35074 PyObject * obj1 = 0 ;
35075 PyObject * obj2 = 0 ;
35076 char * kwnames[] = {
35077 (char *) "self",(char *) "item",(char *) "bold", NULL
35078 };
35079
35080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35082 if (!SWIG_IsOK(res1)) {
35083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35084 }
35085 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35086 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35087 if (!SWIG_IsOK(res2)) {
35088 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35089 }
35090 if (!argp2) {
35091 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35092 }
35093 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35094 if (obj2) {
35095 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35096 if (!SWIG_IsOK(ecode3)) {
35097 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35098 }
35099 arg3 = static_cast< bool >(val3);
35100 }
35101 {
35102 PyThreadState* __tstate = wxPyBeginAllowThreads();
35103 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
35104 wxPyEndAllowThreads(__tstate);
35105 if (PyErr_Occurred()) SWIG_fail;
35106 }
35107 resultobj = SWIG_Py_Void();
35108 return resultobj;
35109 fail:
35110 return NULL;
35111 }
35112
35113
35114 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35115 PyObject *resultobj = 0;
35116 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35117 wxTreeItemId *arg2 = 0 ;
35118 bool arg3 = (bool) true ;
35119 void *argp1 = 0 ;
35120 int res1 = 0 ;
35121 void *argp2 = 0 ;
35122 int res2 = 0 ;
35123 bool val3 ;
35124 int ecode3 = 0 ;
35125 PyObject * obj0 = 0 ;
35126 PyObject * obj1 = 0 ;
35127 PyObject * obj2 = 0 ;
35128 char * kwnames[] = {
35129 (char *) "self",(char *) "item",(char *) "highlight", NULL
35130 };
35131
35132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35134 if (!SWIG_IsOK(res1)) {
35135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35136 }
35137 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35138 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35139 if (!SWIG_IsOK(res2)) {
35140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35141 }
35142 if (!argp2) {
35143 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35144 }
35145 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35146 if (obj2) {
35147 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35148 if (!SWIG_IsOK(ecode3)) {
35149 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35150 }
35151 arg3 = static_cast< bool >(val3);
35152 }
35153 {
35154 PyThreadState* __tstate = wxPyBeginAllowThreads();
35155 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
35156 wxPyEndAllowThreads(__tstate);
35157 if (PyErr_Occurred()) SWIG_fail;
35158 }
35159 resultobj = SWIG_Py_Void();
35160 return resultobj;
35161 fail:
35162 return NULL;
35163 }
35164
35165
35166 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35167 PyObject *resultobj = 0;
35168 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35169 wxTreeItemId *arg2 = 0 ;
35170 wxColour *arg3 = 0 ;
35171 void *argp1 = 0 ;
35172 int res1 = 0 ;
35173 void *argp2 = 0 ;
35174 int res2 = 0 ;
35175 wxColour temp3 ;
35176 PyObject * obj0 = 0 ;
35177 PyObject * obj1 = 0 ;
35178 PyObject * obj2 = 0 ;
35179 char * kwnames[] = {
35180 (char *) "self",(char *) "item",(char *) "col", NULL
35181 };
35182
35183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35185 if (!SWIG_IsOK(res1)) {
35186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35187 }
35188 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35189 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35190 if (!SWIG_IsOK(res2)) {
35191 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35192 }
35193 if (!argp2) {
35194 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35195 }
35196 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35197 {
35198 arg3 = &temp3;
35199 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35200 }
35201 {
35202 PyThreadState* __tstate = wxPyBeginAllowThreads();
35203 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35204 wxPyEndAllowThreads(__tstate);
35205 if (PyErr_Occurred()) SWIG_fail;
35206 }
35207 resultobj = SWIG_Py_Void();
35208 return resultobj;
35209 fail:
35210 return NULL;
35211 }
35212
35213
35214 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35215 PyObject *resultobj = 0;
35216 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35217 wxTreeItemId *arg2 = 0 ;
35218 wxColour *arg3 = 0 ;
35219 void *argp1 = 0 ;
35220 int res1 = 0 ;
35221 void *argp2 = 0 ;
35222 int res2 = 0 ;
35223 wxColour temp3 ;
35224 PyObject * obj0 = 0 ;
35225 PyObject * obj1 = 0 ;
35226 PyObject * obj2 = 0 ;
35227 char * kwnames[] = {
35228 (char *) "self",(char *) "item",(char *) "col", NULL
35229 };
35230
35231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35233 if (!SWIG_IsOK(res1)) {
35234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35235 }
35236 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35237 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35238 if (!SWIG_IsOK(res2)) {
35239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35240 }
35241 if (!argp2) {
35242 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35243 }
35244 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35245 {
35246 arg3 = &temp3;
35247 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35248 }
35249 {
35250 PyThreadState* __tstate = wxPyBeginAllowThreads();
35251 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35252 wxPyEndAllowThreads(__tstate);
35253 if (PyErr_Occurred()) SWIG_fail;
35254 }
35255 resultobj = SWIG_Py_Void();
35256 return resultobj;
35257 fail:
35258 return NULL;
35259 }
35260
35261
35262 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35263 PyObject *resultobj = 0;
35264 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35265 wxTreeItemId *arg2 = 0 ;
35266 wxFont *arg3 = 0 ;
35267 void *argp1 = 0 ;
35268 int res1 = 0 ;
35269 void *argp2 = 0 ;
35270 int res2 = 0 ;
35271 void *argp3 = 0 ;
35272 int res3 = 0 ;
35273 PyObject * obj0 = 0 ;
35274 PyObject * obj1 = 0 ;
35275 PyObject * obj2 = 0 ;
35276 char * kwnames[] = {
35277 (char *) "self",(char *) "item",(char *) "font", NULL
35278 };
35279
35280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35282 if (!SWIG_IsOK(res1)) {
35283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35284 }
35285 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35286 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35287 if (!SWIG_IsOK(res2)) {
35288 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35289 }
35290 if (!argp2) {
35291 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35292 }
35293 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35294 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35295 if (!SWIG_IsOK(res3)) {
35296 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35297 }
35298 if (!argp3) {
35299 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35300 }
35301 arg3 = reinterpret_cast< wxFont * >(argp3);
35302 {
35303 PyThreadState* __tstate = wxPyBeginAllowThreads();
35304 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35305 wxPyEndAllowThreads(__tstate);
35306 if (PyErr_Occurred()) SWIG_fail;
35307 }
35308 resultobj = SWIG_Py_Void();
35309 return resultobj;
35310 fail:
35311 return NULL;
35312 }
35313
35314
35315 SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35316 PyObject *resultobj = 0;
35317 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35318 wxTreeItemId *arg2 = 0 ;
35319 bool result;
35320 void *argp1 = 0 ;
35321 int res1 = 0 ;
35322 void *argp2 = 0 ;
35323 int res2 = 0 ;
35324 PyObject * obj0 = 0 ;
35325 PyObject * obj1 = 0 ;
35326 char * kwnames[] = {
35327 (char *) "self",(char *) "item", NULL
35328 };
35329
35330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35332 if (!SWIG_IsOK(res1)) {
35333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35334 }
35335 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35336 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35337 if (!SWIG_IsOK(res2)) {
35338 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35339 }
35340 if (!argp2) {
35341 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35342 }
35343 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35344 {
35345 PyThreadState* __tstate = wxPyBeginAllowThreads();
35346 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35347 wxPyEndAllowThreads(__tstate);
35348 if (PyErr_Occurred()) SWIG_fail;
35349 }
35350 {
35351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35352 }
35353 return resultobj;
35354 fail:
35355 return NULL;
35356 }
35357
35358
35359 SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35360 PyObject *resultobj = 0;
35361 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35362 wxTreeItemId *arg2 = 0 ;
35363 bool result;
35364 void *argp1 = 0 ;
35365 int res1 = 0 ;
35366 void *argp2 = 0 ;
35367 int res2 = 0 ;
35368 PyObject * obj0 = 0 ;
35369 PyObject * obj1 = 0 ;
35370 char * kwnames[] = {
35371 (char *) "self",(char *) "item", NULL
35372 };
35373
35374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35376 if (!SWIG_IsOK(res1)) {
35377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35378 }
35379 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35380 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35381 if (!SWIG_IsOK(res2)) {
35382 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35383 }
35384 if (!argp2) {
35385 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35386 }
35387 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35388 {
35389 PyThreadState* __tstate = wxPyBeginAllowThreads();
35390 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35391 wxPyEndAllowThreads(__tstate);
35392 if (PyErr_Occurred()) SWIG_fail;
35393 }
35394 {
35395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35396 }
35397 return resultobj;
35398 fail:
35399 return NULL;
35400 }
35401
35402
35403 SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35404 PyObject *resultobj = 0;
35405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35406 wxTreeItemId *arg2 = 0 ;
35407 bool result;
35408 void *argp1 = 0 ;
35409 int res1 = 0 ;
35410 void *argp2 = 0 ;
35411 int res2 = 0 ;
35412 PyObject * obj0 = 0 ;
35413 PyObject * obj1 = 0 ;
35414 char * kwnames[] = {
35415 (char *) "self",(char *) "item", NULL
35416 };
35417
35418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35420 if (!SWIG_IsOK(res1)) {
35421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35422 }
35423 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35424 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35425 if (!SWIG_IsOK(res2)) {
35426 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35427 }
35428 if (!argp2) {
35429 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35430 }
35431 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35432 {
35433 PyThreadState* __tstate = wxPyBeginAllowThreads();
35434 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35435 wxPyEndAllowThreads(__tstate);
35436 if (PyErr_Occurred()) SWIG_fail;
35437 }
35438 {
35439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35440 }
35441 return resultobj;
35442 fail:
35443 return NULL;
35444 }
35445
35446
35447 SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35448 PyObject *resultobj = 0;
35449 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35450 wxTreeItemId *arg2 = 0 ;
35451 bool result;
35452 void *argp1 = 0 ;
35453 int res1 = 0 ;
35454 void *argp2 = 0 ;
35455 int res2 = 0 ;
35456 PyObject * obj0 = 0 ;
35457 PyObject * obj1 = 0 ;
35458 char * kwnames[] = {
35459 (char *) "self",(char *) "item", NULL
35460 };
35461
35462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35464 if (!SWIG_IsOK(res1)) {
35465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35466 }
35467 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35468 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35469 if (!SWIG_IsOK(res2)) {
35470 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35471 }
35472 if (!argp2) {
35473 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35474 }
35475 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35476 {
35477 PyThreadState* __tstate = wxPyBeginAllowThreads();
35478 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35479 wxPyEndAllowThreads(__tstate);
35480 if (PyErr_Occurred()) SWIG_fail;
35481 }
35482 {
35483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35484 }
35485 return resultobj;
35486 fail:
35487 return NULL;
35488 }
35489
35490
35491 SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35492 PyObject *resultobj = 0;
35493 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35494 wxTreeItemId *arg2 = 0 ;
35495 bool result;
35496 void *argp1 = 0 ;
35497 int res1 = 0 ;
35498 void *argp2 = 0 ;
35499 int res2 = 0 ;
35500 PyObject * obj0 = 0 ;
35501 PyObject * obj1 = 0 ;
35502 char * kwnames[] = {
35503 (char *) "self",(char *) "item", NULL
35504 };
35505
35506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35508 if (!SWIG_IsOK(res1)) {
35509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35510 }
35511 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35512 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35513 if (!SWIG_IsOK(res2)) {
35514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35515 }
35516 if (!argp2) {
35517 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35518 }
35519 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35520 {
35521 PyThreadState* __tstate = wxPyBeginAllowThreads();
35522 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35523 wxPyEndAllowThreads(__tstate);
35524 if (PyErr_Occurred()) SWIG_fail;
35525 }
35526 {
35527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35528 }
35529 return resultobj;
35530 fail:
35531 return NULL;
35532 }
35533
35534
35535 SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35536 PyObject *resultobj = 0;
35537 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35538 wxTreeItemId *arg2 = 0 ;
35539 bool arg3 = (bool) true ;
35540 size_t result;
35541 void *argp1 = 0 ;
35542 int res1 = 0 ;
35543 void *argp2 = 0 ;
35544 int res2 = 0 ;
35545 bool val3 ;
35546 int ecode3 = 0 ;
35547 PyObject * obj0 = 0 ;
35548 PyObject * obj1 = 0 ;
35549 PyObject * obj2 = 0 ;
35550 char * kwnames[] = {
35551 (char *) "self",(char *) "item",(char *) "recursively", NULL
35552 };
35553
35554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35556 if (!SWIG_IsOK(res1)) {
35557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35558 }
35559 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35560 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35561 if (!SWIG_IsOK(res2)) {
35562 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35563 }
35564 if (!argp2) {
35565 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35566 }
35567 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35568 if (obj2) {
35569 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35570 if (!SWIG_IsOK(ecode3)) {
35571 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35572 }
35573 arg3 = static_cast< bool >(val3);
35574 }
35575 {
35576 PyThreadState* __tstate = wxPyBeginAllowThreads();
35577 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35578 wxPyEndAllowThreads(__tstate);
35579 if (PyErr_Occurred()) SWIG_fail;
35580 }
35581 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35582 return resultobj;
35583 fail:
35584 return NULL;
35585 }
35586
35587
35588 SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35589 PyObject *resultobj = 0;
35590 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35591 wxTreeItemId result;
35592 void *argp1 = 0 ;
35593 int res1 = 0 ;
35594 PyObject *swig_obj[1] ;
35595
35596 if (!args) SWIG_fail;
35597 swig_obj[0] = args;
35598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35599 if (!SWIG_IsOK(res1)) {
35600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35601 }
35602 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35603 {
35604 PyThreadState* __tstate = wxPyBeginAllowThreads();
35605 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35606 wxPyEndAllowThreads(__tstate);
35607 if (PyErr_Occurred()) SWIG_fail;
35608 }
35609 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35610 return resultobj;
35611 fail:
35612 return NULL;
35613 }
35614
35615
35616 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35617 PyObject *resultobj = 0;
35618 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35619 wxTreeItemId result;
35620 void *argp1 = 0 ;
35621 int res1 = 0 ;
35622 PyObject *swig_obj[1] ;
35623
35624 if (!args) SWIG_fail;
35625 swig_obj[0] = args;
35626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35627 if (!SWIG_IsOK(res1)) {
35628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35629 }
35630 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35631 {
35632 PyThreadState* __tstate = wxPyBeginAllowThreads();
35633 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35634 wxPyEndAllowThreads(__tstate);
35635 if (PyErr_Occurred()) SWIG_fail;
35636 }
35637 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35638 return resultobj;
35639 fail:
35640 return NULL;
35641 }
35642
35643
35644 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35645 PyObject *resultobj = 0;
35646 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35647 PyObject *result = 0 ;
35648 void *argp1 = 0 ;
35649 int res1 = 0 ;
35650 PyObject *swig_obj[1] ;
35651
35652 if (!args) SWIG_fail;
35653 swig_obj[0] = args;
35654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35655 if (!SWIG_IsOK(res1)) {
35656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35657 }
35658 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35659 {
35660 PyThreadState* __tstate = wxPyBeginAllowThreads();
35661 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35662 wxPyEndAllowThreads(__tstate);
35663 if (PyErr_Occurred()) SWIG_fail;
35664 }
35665 resultobj = result;
35666 return resultobj;
35667 fail:
35668 return NULL;
35669 }
35670
35671
35672 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35673 PyObject *resultobj = 0;
35674 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35675 wxTreeItemId *arg2 = 0 ;
35676 wxTreeItemId result;
35677 void *argp1 = 0 ;
35678 int res1 = 0 ;
35679 void *argp2 = 0 ;
35680 int res2 = 0 ;
35681 PyObject * obj0 = 0 ;
35682 PyObject * obj1 = 0 ;
35683 char * kwnames[] = {
35684 (char *) "self",(char *) "item", NULL
35685 };
35686
35687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35689 if (!SWIG_IsOK(res1)) {
35690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35691 }
35692 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35693 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35694 if (!SWIG_IsOK(res2)) {
35695 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35696 }
35697 if (!argp2) {
35698 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35699 }
35700 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35701 {
35702 PyThreadState* __tstate = wxPyBeginAllowThreads();
35703 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35704 wxPyEndAllowThreads(__tstate);
35705 if (PyErr_Occurred()) SWIG_fail;
35706 }
35707 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35708 return resultobj;
35709 fail:
35710 return NULL;
35711 }
35712
35713
35714 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35715 PyObject *resultobj = 0;
35716 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35717 wxTreeItemId *arg2 = 0 ;
35718 PyObject *result = 0 ;
35719 void *argp1 = 0 ;
35720 int res1 = 0 ;
35721 void *argp2 = 0 ;
35722 int res2 = 0 ;
35723 PyObject * obj0 = 0 ;
35724 PyObject * obj1 = 0 ;
35725 char * kwnames[] = {
35726 (char *) "self",(char *) "item", NULL
35727 };
35728
35729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35731 if (!SWIG_IsOK(res1)) {
35732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35733 }
35734 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35735 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35736 if (!SWIG_IsOK(res2)) {
35737 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35738 }
35739 if (!argp2) {
35740 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35741 }
35742 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35743 {
35744 PyThreadState* __tstate = wxPyBeginAllowThreads();
35745 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35746 wxPyEndAllowThreads(__tstate);
35747 if (PyErr_Occurred()) SWIG_fail;
35748 }
35749 resultobj = result;
35750 return resultobj;
35751 fail:
35752 return NULL;
35753 }
35754
35755
35756 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35757 PyObject *resultobj = 0;
35758 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35759 wxTreeItemId *arg2 = 0 ;
35760 void *arg3 = (void *) 0 ;
35761 PyObject *result = 0 ;
35762 void *argp1 = 0 ;
35763 int res1 = 0 ;
35764 void *argp2 = 0 ;
35765 int res2 = 0 ;
35766 int res3 ;
35767 PyObject * obj0 = 0 ;
35768 PyObject * obj1 = 0 ;
35769 PyObject * obj2 = 0 ;
35770 char * kwnames[] = {
35771 (char *) "self",(char *) "item",(char *) "cookie", NULL
35772 };
35773
35774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35776 if (!SWIG_IsOK(res1)) {
35777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35778 }
35779 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35780 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35781 if (!SWIG_IsOK(res2)) {
35782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35783 }
35784 if (!argp2) {
35785 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35786 }
35787 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35788 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35789 if (!SWIG_IsOK(res3)) {
35790 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35791 }
35792 {
35793 PyThreadState* __tstate = wxPyBeginAllowThreads();
35794 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35795 wxPyEndAllowThreads(__tstate);
35796 if (PyErr_Occurred()) SWIG_fail;
35797 }
35798 resultobj = result;
35799 return resultobj;
35800 fail:
35801 return NULL;
35802 }
35803
35804
35805 SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35806 PyObject *resultobj = 0;
35807 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35808 wxTreeItemId *arg2 = 0 ;
35809 wxTreeItemId result;
35810 void *argp1 = 0 ;
35811 int res1 = 0 ;
35812 void *argp2 = 0 ;
35813 int res2 = 0 ;
35814 PyObject * obj0 = 0 ;
35815 PyObject * obj1 = 0 ;
35816 char * kwnames[] = {
35817 (char *) "self",(char *) "item", NULL
35818 };
35819
35820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35822 if (!SWIG_IsOK(res1)) {
35823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35824 }
35825 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35826 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35827 if (!SWIG_IsOK(res2)) {
35828 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35829 }
35830 if (!argp2) {
35831 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35832 }
35833 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35834 {
35835 PyThreadState* __tstate = wxPyBeginAllowThreads();
35836 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35837 wxPyEndAllowThreads(__tstate);
35838 if (PyErr_Occurred()) SWIG_fail;
35839 }
35840 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35841 return resultobj;
35842 fail:
35843 return NULL;
35844 }
35845
35846
35847 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35848 PyObject *resultobj = 0;
35849 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35850 wxTreeItemId *arg2 = 0 ;
35851 wxTreeItemId result;
35852 void *argp1 = 0 ;
35853 int res1 = 0 ;
35854 void *argp2 = 0 ;
35855 int res2 = 0 ;
35856 PyObject * obj0 = 0 ;
35857 PyObject * obj1 = 0 ;
35858 char * kwnames[] = {
35859 (char *) "self",(char *) "item", NULL
35860 };
35861
35862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35864 if (!SWIG_IsOK(res1)) {
35865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35866 }
35867 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35868 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35869 if (!SWIG_IsOK(res2)) {
35870 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35871 }
35872 if (!argp2) {
35873 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35874 }
35875 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35876 {
35877 PyThreadState* __tstate = wxPyBeginAllowThreads();
35878 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35879 wxPyEndAllowThreads(__tstate);
35880 if (PyErr_Occurred()) SWIG_fail;
35881 }
35882 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35883 return resultobj;
35884 fail:
35885 return NULL;
35886 }
35887
35888
35889 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35890 PyObject *resultobj = 0;
35891 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35892 wxTreeItemId *arg2 = 0 ;
35893 wxTreeItemId result;
35894 void *argp1 = 0 ;
35895 int res1 = 0 ;
35896 void *argp2 = 0 ;
35897 int res2 = 0 ;
35898 PyObject * obj0 = 0 ;
35899 PyObject * obj1 = 0 ;
35900 char * kwnames[] = {
35901 (char *) "self",(char *) "item", NULL
35902 };
35903
35904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35906 if (!SWIG_IsOK(res1)) {
35907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35908 }
35909 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35910 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35911 if (!SWIG_IsOK(res2)) {
35912 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35913 }
35914 if (!argp2) {
35915 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35916 }
35917 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35918 {
35919 PyThreadState* __tstate = wxPyBeginAllowThreads();
35920 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35921 wxPyEndAllowThreads(__tstate);
35922 if (PyErr_Occurred()) SWIG_fail;
35923 }
35924 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35925 return resultobj;
35926 fail:
35927 return NULL;
35928 }
35929
35930
35931 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35932 PyObject *resultobj = 0;
35933 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35934 wxTreeItemId result;
35935 void *argp1 = 0 ;
35936 int res1 = 0 ;
35937 PyObject *swig_obj[1] ;
35938
35939 if (!args) SWIG_fail;
35940 swig_obj[0] = args;
35941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35942 if (!SWIG_IsOK(res1)) {
35943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35944 }
35945 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35946 {
35947 PyThreadState* __tstate = wxPyBeginAllowThreads();
35948 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
35949 wxPyEndAllowThreads(__tstate);
35950 if (PyErr_Occurred()) SWIG_fail;
35951 }
35952 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35953 return resultobj;
35954 fail:
35955 return NULL;
35956 }
35957
35958
35959 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35960 PyObject *resultobj = 0;
35961 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35962 wxTreeItemId *arg2 = 0 ;
35963 wxTreeItemId result;
35964 void *argp1 = 0 ;
35965 int res1 = 0 ;
35966 void *argp2 = 0 ;
35967 int res2 = 0 ;
35968 PyObject * obj0 = 0 ;
35969 PyObject * obj1 = 0 ;
35970 char * kwnames[] = {
35971 (char *) "self",(char *) "item", NULL
35972 };
35973
35974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35976 if (!SWIG_IsOK(res1)) {
35977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35978 }
35979 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35980 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35981 if (!SWIG_IsOK(res2)) {
35982 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35983 }
35984 if (!argp2) {
35985 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35986 }
35987 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35988 {
35989 PyThreadState* __tstate = wxPyBeginAllowThreads();
35990 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
35991 wxPyEndAllowThreads(__tstate);
35992 if (PyErr_Occurred()) SWIG_fail;
35993 }
35994 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35995 return resultobj;
35996 fail:
35997 return NULL;
35998 }
35999
36000
36001 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36002 PyObject *resultobj = 0;
36003 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36004 wxTreeItemId *arg2 = 0 ;
36005 wxTreeItemId result;
36006 void *argp1 = 0 ;
36007 int res1 = 0 ;
36008 void *argp2 = 0 ;
36009 int res2 = 0 ;
36010 PyObject * obj0 = 0 ;
36011 PyObject * obj1 = 0 ;
36012 char * kwnames[] = {
36013 (char *) "self",(char *) "item", NULL
36014 };
36015
36016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36018 if (!SWIG_IsOK(res1)) {
36019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36020 }
36021 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36022 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36023 if (!SWIG_IsOK(res2)) {
36024 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36025 }
36026 if (!argp2) {
36027 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36028 }
36029 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36030 {
36031 PyThreadState* __tstate = wxPyBeginAllowThreads();
36032 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
36033 wxPyEndAllowThreads(__tstate);
36034 if (PyErr_Occurred()) SWIG_fail;
36035 }
36036 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36037 return resultobj;
36038 fail:
36039 return NULL;
36040 }
36041
36042
36043 SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36044 PyObject *resultobj = 0;
36045 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36046 wxString *arg2 = 0 ;
36047 int arg3 = (int) -1 ;
36048 int arg4 = (int) -1 ;
36049 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
36050 wxTreeItemId result;
36051 void *argp1 = 0 ;
36052 int res1 = 0 ;
36053 bool temp2 = false ;
36054 int val3 ;
36055 int ecode3 = 0 ;
36056 int val4 ;
36057 int ecode4 = 0 ;
36058 int res5 = 0 ;
36059 PyObject * obj0 = 0 ;
36060 PyObject * obj1 = 0 ;
36061 PyObject * obj2 = 0 ;
36062 PyObject * obj3 = 0 ;
36063 PyObject * obj4 = 0 ;
36064 char * kwnames[] = {
36065 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36066 };
36067
36068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
36069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36070 if (!SWIG_IsOK(res1)) {
36071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36072 }
36073 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36074 {
36075 arg2 = wxString_in_helper(obj1);
36076 if (arg2 == NULL) SWIG_fail;
36077 temp2 = true;
36078 }
36079 if (obj2) {
36080 ecode3 = SWIG_AsVal_int(obj2, &val3);
36081 if (!SWIG_IsOK(ecode3)) {
36082 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36083 }
36084 arg3 = static_cast< int >(val3);
36085 }
36086 if (obj3) {
36087 ecode4 = SWIG_AsVal_int(obj3, &val4);
36088 if (!SWIG_IsOK(ecode4)) {
36089 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36090 }
36091 arg4 = static_cast< int >(val4);
36092 }
36093 if (obj4) {
36094 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36095 if (!SWIG_IsOK(res5)) {
36096 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36097 }
36098 }
36099 {
36100 PyThreadState* __tstate = wxPyBeginAllowThreads();
36101 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
36102 wxPyEndAllowThreads(__tstate);
36103 if (PyErr_Occurred()) SWIG_fail;
36104 }
36105 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36106 {
36107 if (temp2)
36108 delete arg2;
36109 }
36110 return resultobj;
36111 fail:
36112 {
36113 if (temp2)
36114 delete arg2;
36115 }
36116 return NULL;
36117 }
36118
36119
36120 SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36121 PyObject *resultobj = 0;
36122 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36123 wxTreeItemId *arg2 = 0 ;
36124 wxString *arg3 = 0 ;
36125 int arg4 = (int) -1 ;
36126 int arg5 = (int) -1 ;
36127 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36128 wxTreeItemId result;
36129 void *argp1 = 0 ;
36130 int res1 = 0 ;
36131 void *argp2 = 0 ;
36132 int res2 = 0 ;
36133 bool temp3 = false ;
36134 int val4 ;
36135 int ecode4 = 0 ;
36136 int val5 ;
36137 int ecode5 = 0 ;
36138 int res6 = 0 ;
36139 PyObject * obj0 = 0 ;
36140 PyObject * obj1 = 0 ;
36141 PyObject * obj2 = 0 ;
36142 PyObject * obj3 = 0 ;
36143 PyObject * obj4 = 0 ;
36144 PyObject * obj5 = 0 ;
36145 char * kwnames[] = {
36146 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36147 };
36148
36149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36151 if (!SWIG_IsOK(res1)) {
36152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36153 }
36154 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36155 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36156 if (!SWIG_IsOK(res2)) {
36157 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36158 }
36159 if (!argp2) {
36160 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36161 }
36162 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36163 {
36164 arg3 = wxString_in_helper(obj2);
36165 if (arg3 == NULL) SWIG_fail;
36166 temp3 = true;
36167 }
36168 if (obj3) {
36169 ecode4 = SWIG_AsVal_int(obj3, &val4);
36170 if (!SWIG_IsOK(ecode4)) {
36171 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36172 }
36173 arg4 = static_cast< int >(val4);
36174 }
36175 if (obj4) {
36176 ecode5 = SWIG_AsVal_int(obj4, &val5);
36177 if (!SWIG_IsOK(ecode5)) {
36178 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36179 }
36180 arg5 = static_cast< int >(val5);
36181 }
36182 if (obj5) {
36183 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36184 if (!SWIG_IsOK(res6)) {
36185 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36186 }
36187 }
36188 {
36189 PyThreadState* __tstate = wxPyBeginAllowThreads();
36190 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36191 wxPyEndAllowThreads(__tstate);
36192 if (PyErr_Occurred()) SWIG_fail;
36193 }
36194 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36195 {
36196 if (temp3)
36197 delete arg3;
36198 }
36199 return resultobj;
36200 fail:
36201 {
36202 if (temp3)
36203 delete arg3;
36204 }
36205 return NULL;
36206 }
36207
36208
36209 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36210 PyObject *resultobj = 0;
36211 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36212 wxTreeItemId *arg2 = 0 ;
36213 wxTreeItemId *arg3 = 0 ;
36214 wxString *arg4 = 0 ;
36215 int arg5 = (int) -1 ;
36216 int arg6 = (int) -1 ;
36217 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36218 wxTreeItemId result;
36219 void *argp1 = 0 ;
36220 int res1 = 0 ;
36221 void *argp2 = 0 ;
36222 int res2 = 0 ;
36223 void *argp3 = 0 ;
36224 int res3 = 0 ;
36225 bool temp4 = false ;
36226 int val5 ;
36227 int ecode5 = 0 ;
36228 int val6 ;
36229 int ecode6 = 0 ;
36230 int res7 = 0 ;
36231 PyObject * obj0 = 0 ;
36232 PyObject * obj1 = 0 ;
36233 PyObject * obj2 = 0 ;
36234 PyObject * obj3 = 0 ;
36235 PyObject * obj4 = 0 ;
36236 PyObject * obj5 = 0 ;
36237 PyObject * obj6 = 0 ;
36238 char * kwnames[] = {
36239 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36240 };
36241
36242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36244 if (!SWIG_IsOK(res1)) {
36245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36246 }
36247 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36248 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36249 if (!SWIG_IsOK(res2)) {
36250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36251 }
36252 if (!argp2) {
36253 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36254 }
36255 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36256 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36257 if (!SWIG_IsOK(res3)) {
36258 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36259 }
36260 if (!argp3) {
36261 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36262 }
36263 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36264 {
36265 arg4 = wxString_in_helper(obj3);
36266 if (arg4 == NULL) SWIG_fail;
36267 temp4 = true;
36268 }
36269 if (obj4) {
36270 ecode5 = SWIG_AsVal_int(obj4, &val5);
36271 if (!SWIG_IsOK(ecode5)) {
36272 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36273 }
36274 arg5 = static_cast< int >(val5);
36275 }
36276 if (obj5) {
36277 ecode6 = SWIG_AsVal_int(obj5, &val6);
36278 if (!SWIG_IsOK(ecode6)) {
36279 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36280 }
36281 arg6 = static_cast< int >(val6);
36282 }
36283 if (obj6) {
36284 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36285 if (!SWIG_IsOK(res7)) {
36286 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36287 }
36288 }
36289 {
36290 PyThreadState* __tstate = wxPyBeginAllowThreads();
36291 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36292 wxPyEndAllowThreads(__tstate);
36293 if (PyErr_Occurred()) SWIG_fail;
36294 }
36295 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36296 {
36297 if (temp4)
36298 delete arg4;
36299 }
36300 return resultobj;
36301 fail:
36302 {
36303 if (temp4)
36304 delete arg4;
36305 }
36306 return NULL;
36307 }
36308
36309
36310 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36311 PyObject *resultobj = 0;
36312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36313 wxTreeItemId *arg2 = 0 ;
36314 size_t arg3 ;
36315 wxString *arg4 = 0 ;
36316 int arg5 = (int) -1 ;
36317 int arg6 = (int) -1 ;
36318 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36319 wxTreeItemId result;
36320 void *argp1 = 0 ;
36321 int res1 = 0 ;
36322 void *argp2 = 0 ;
36323 int res2 = 0 ;
36324 size_t val3 ;
36325 int ecode3 = 0 ;
36326 bool temp4 = false ;
36327 int val5 ;
36328 int ecode5 = 0 ;
36329 int val6 ;
36330 int ecode6 = 0 ;
36331 int res7 = 0 ;
36332 PyObject * obj0 = 0 ;
36333 PyObject * obj1 = 0 ;
36334 PyObject * obj2 = 0 ;
36335 PyObject * obj3 = 0 ;
36336 PyObject * obj4 = 0 ;
36337 PyObject * obj5 = 0 ;
36338 PyObject * obj6 = 0 ;
36339 char * kwnames[] = {
36340 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36341 };
36342
36343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36345 if (!SWIG_IsOK(res1)) {
36346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36347 }
36348 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36349 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36350 if (!SWIG_IsOK(res2)) {
36351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36352 }
36353 if (!argp2) {
36354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36355 }
36356 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36357 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36358 if (!SWIG_IsOK(ecode3)) {
36359 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36360 }
36361 arg3 = static_cast< size_t >(val3);
36362 {
36363 arg4 = wxString_in_helper(obj3);
36364 if (arg4 == NULL) SWIG_fail;
36365 temp4 = true;
36366 }
36367 if (obj4) {
36368 ecode5 = SWIG_AsVal_int(obj4, &val5);
36369 if (!SWIG_IsOK(ecode5)) {
36370 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36371 }
36372 arg5 = static_cast< int >(val5);
36373 }
36374 if (obj5) {
36375 ecode6 = SWIG_AsVal_int(obj5, &val6);
36376 if (!SWIG_IsOK(ecode6)) {
36377 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36378 }
36379 arg6 = static_cast< int >(val6);
36380 }
36381 if (obj6) {
36382 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36383 if (!SWIG_IsOK(res7)) {
36384 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36385 }
36386 }
36387 {
36388 PyThreadState* __tstate = wxPyBeginAllowThreads();
36389 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36390 wxPyEndAllowThreads(__tstate);
36391 if (PyErr_Occurred()) SWIG_fail;
36392 }
36393 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36394 {
36395 if (temp4)
36396 delete arg4;
36397 }
36398 return resultobj;
36399 fail:
36400 {
36401 if (temp4)
36402 delete arg4;
36403 }
36404 return NULL;
36405 }
36406
36407
36408 SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36409 PyObject *resultobj = 0;
36410 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36411 wxTreeItemId *arg2 = 0 ;
36412 wxString *arg3 = 0 ;
36413 int arg4 = (int) -1 ;
36414 int arg5 = (int) -1 ;
36415 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36416 wxTreeItemId result;
36417 void *argp1 = 0 ;
36418 int res1 = 0 ;
36419 void *argp2 = 0 ;
36420 int res2 = 0 ;
36421 bool temp3 = false ;
36422 int val4 ;
36423 int ecode4 = 0 ;
36424 int val5 ;
36425 int ecode5 = 0 ;
36426 int res6 = 0 ;
36427 PyObject * obj0 = 0 ;
36428 PyObject * obj1 = 0 ;
36429 PyObject * obj2 = 0 ;
36430 PyObject * obj3 = 0 ;
36431 PyObject * obj4 = 0 ;
36432 PyObject * obj5 = 0 ;
36433 char * kwnames[] = {
36434 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36435 };
36436
36437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36439 if (!SWIG_IsOK(res1)) {
36440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36441 }
36442 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36443 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36444 if (!SWIG_IsOK(res2)) {
36445 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36446 }
36447 if (!argp2) {
36448 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36449 }
36450 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36451 {
36452 arg3 = wxString_in_helper(obj2);
36453 if (arg3 == NULL) SWIG_fail;
36454 temp3 = true;
36455 }
36456 if (obj3) {
36457 ecode4 = SWIG_AsVal_int(obj3, &val4);
36458 if (!SWIG_IsOK(ecode4)) {
36459 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36460 }
36461 arg4 = static_cast< int >(val4);
36462 }
36463 if (obj4) {
36464 ecode5 = SWIG_AsVal_int(obj4, &val5);
36465 if (!SWIG_IsOK(ecode5)) {
36466 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36467 }
36468 arg5 = static_cast< int >(val5);
36469 }
36470 if (obj5) {
36471 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36472 if (!SWIG_IsOK(res6)) {
36473 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36474 }
36475 }
36476 {
36477 PyThreadState* __tstate = wxPyBeginAllowThreads();
36478 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36479 wxPyEndAllowThreads(__tstate);
36480 if (PyErr_Occurred()) SWIG_fail;
36481 }
36482 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36483 {
36484 if (temp3)
36485 delete arg3;
36486 }
36487 return resultobj;
36488 fail:
36489 {
36490 if (temp3)
36491 delete arg3;
36492 }
36493 return NULL;
36494 }
36495
36496
36497 SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36498 PyObject *resultobj = 0;
36499 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36500 wxTreeItemId *arg2 = 0 ;
36501 void *argp1 = 0 ;
36502 int res1 = 0 ;
36503 void *argp2 = 0 ;
36504 int res2 = 0 ;
36505 PyObject * obj0 = 0 ;
36506 PyObject * obj1 = 0 ;
36507 char * kwnames[] = {
36508 (char *) "self",(char *) "item", NULL
36509 };
36510
36511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36513 if (!SWIG_IsOK(res1)) {
36514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36515 }
36516 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36517 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36518 if (!SWIG_IsOK(res2)) {
36519 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36520 }
36521 if (!argp2) {
36522 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36523 }
36524 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36525 {
36526 PyThreadState* __tstate = wxPyBeginAllowThreads();
36527 (arg1)->Delete((wxTreeItemId const &)*arg2);
36528 wxPyEndAllowThreads(__tstate);
36529 if (PyErr_Occurred()) SWIG_fail;
36530 }
36531 resultobj = SWIG_Py_Void();
36532 return resultobj;
36533 fail:
36534 return NULL;
36535 }
36536
36537
36538 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36539 PyObject *resultobj = 0;
36540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36541 wxTreeItemId *arg2 = 0 ;
36542 void *argp1 = 0 ;
36543 int res1 = 0 ;
36544 void *argp2 = 0 ;
36545 int res2 = 0 ;
36546 PyObject * obj0 = 0 ;
36547 PyObject * obj1 = 0 ;
36548 char * kwnames[] = {
36549 (char *) "self",(char *) "item", NULL
36550 };
36551
36552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36554 if (!SWIG_IsOK(res1)) {
36555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36556 }
36557 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36558 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36559 if (!SWIG_IsOK(res2)) {
36560 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36561 }
36562 if (!argp2) {
36563 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36564 }
36565 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36566 {
36567 PyThreadState* __tstate = wxPyBeginAllowThreads();
36568 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36569 wxPyEndAllowThreads(__tstate);
36570 if (PyErr_Occurred()) SWIG_fail;
36571 }
36572 resultobj = SWIG_Py_Void();
36573 return resultobj;
36574 fail:
36575 return NULL;
36576 }
36577
36578
36579 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36580 PyObject *resultobj = 0;
36581 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36582 void *argp1 = 0 ;
36583 int res1 = 0 ;
36584 PyObject *swig_obj[1] ;
36585
36586 if (!args) SWIG_fail;
36587 swig_obj[0] = args;
36588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36589 if (!SWIG_IsOK(res1)) {
36590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36591 }
36592 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36593 {
36594 PyThreadState* __tstate = wxPyBeginAllowThreads();
36595 (arg1)->DeleteAllItems();
36596 wxPyEndAllowThreads(__tstate);
36597 if (PyErr_Occurred()) SWIG_fail;
36598 }
36599 resultobj = SWIG_Py_Void();
36600 return resultobj;
36601 fail:
36602 return NULL;
36603 }
36604
36605
36606 SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36607 PyObject *resultobj = 0;
36608 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36609 wxTreeItemId *arg2 = 0 ;
36610 void *argp1 = 0 ;
36611 int res1 = 0 ;
36612 void *argp2 = 0 ;
36613 int res2 = 0 ;
36614 PyObject * obj0 = 0 ;
36615 PyObject * obj1 = 0 ;
36616 char * kwnames[] = {
36617 (char *) "self",(char *) "item", NULL
36618 };
36619
36620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36622 if (!SWIG_IsOK(res1)) {
36623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36624 }
36625 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36626 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36627 if (!SWIG_IsOK(res2)) {
36628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36629 }
36630 if (!argp2) {
36631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36632 }
36633 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36634 {
36635 PyThreadState* __tstate = wxPyBeginAllowThreads();
36636 (arg1)->Expand((wxTreeItemId const &)*arg2);
36637 wxPyEndAllowThreads(__tstate);
36638 if (PyErr_Occurred()) SWIG_fail;
36639 }
36640 resultobj = SWIG_Py_Void();
36641 return resultobj;
36642 fail:
36643 return NULL;
36644 }
36645
36646
36647 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36648 PyObject *resultobj = 0;
36649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36650 wxTreeItemId *arg2 = 0 ;
36651 void *argp1 = 0 ;
36652 int res1 = 0 ;
36653 void *argp2 = 0 ;
36654 int res2 = 0 ;
36655 PyObject * obj0 = 0 ;
36656 PyObject * obj1 = 0 ;
36657 char * kwnames[] = {
36658 (char *) "self",(char *) "item", NULL
36659 };
36660
36661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36663 if (!SWIG_IsOK(res1)) {
36664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36665 }
36666 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36667 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36668 if (!SWIG_IsOK(res2)) {
36669 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36670 }
36671 if (!argp2) {
36672 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36673 }
36674 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36675 {
36676 PyThreadState* __tstate = wxPyBeginAllowThreads();
36677 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
36678 wxPyEndAllowThreads(__tstate);
36679 if (PyErr_Occurred()) SWIG_fail;
36680 }
36681 resultobj = SWIG_Py_Void();
36682 return resultobj;
36683 fail:
36684 return NULL;
36685 }
36686
36687
36688 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36689 PyObject *resultobj = 0;
36690 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36691 void *argp1 = 0 ;
36692 int res1 = 0 ;
36693 PyObject *swig_obj[1] ;
36694
36695 if (!args) SWIG_fail;
36696 swig_obj[0] = args;
36697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36698 if (!SWIG_IsOK(res1)) {
36699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36700 }
36701 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36702 {
36703 PyThreadState* __tstate = wxPyBeginAllowThreads();
36704 (arg1)->ExpandAll();
36705 wxPyEndAllowThreads(__tstate);
36706 if (PyErr_Occurred()) SWIG_fail;
36707 }
36708 resultobj = SWIG_Py_Void();
36709 return resultobj;
36710 fail:
36711 return NULL;
36712 }
36713
36714
36715 SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36716 PyObject *resultobj = 0;
36717 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36718 wxTreeItemId *arg2 = 0 ;
36719 void *argp1 = 0 ;
36720 int res1 = 0 ;
36721 void *argp2 = 0 ;
36722 int res2 = 0 ;
36723 PyObject * obj0 = 0 ;
36724 PyObject * obj1 = 0 ;
36725 char * kwnames[] = {
36726 (char *) "self",(char *) "item", NULL
36727 };
36728
36729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36731 if (!SWIG_IsOK(res1)) {
36732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36733 }
36734 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36735 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36736 if (!SWIG_IsOK(res2)) {
36737 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36738 }
36739 if (!argp2) {
36740 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36741 }
36742 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36743 {
36744 PyThreadState* __tstate = wxPyBeginAllowThreads();
36745 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36746 wxPyEndAllowThreads(__tstate);
36747 if (PyErr_Occurred()) SWIG_fail;
36748 }
36749 resultobj = SWIG_Py_Void();
36750 return resultobj;
36751 fail:
36752 return NULL;
36753 }
36754
36755
36756 SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36757 PyObject *resultobj = 0;
36758 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36759 wxTreeItemId *arg2 = 0 ;
36760 void *argp1 = 0 ;
36761 int res1 = 0 ;
36762 void *argp2 = 0 ;
36763 int res2 = 0 ;
36764 PyObject * obj0 = 0 ;
36765 PyObject * obj1 = 0 ;
36766 char * kwnames[] = {
36767 (char *) "self",(char *) "item", NULL
36768 };
36769
36770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36772 if (!SWIG_IsOK(res1)) {
36773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36774 }
36775 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36776 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36777 if (!SWIG_IsOK(res2)) {
36778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36779 }
36780 if (!argp2) {
36781 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36782 }
36783 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36784 {
36785 PyThreadState* __tstate = wxPyBeginAllowThreads();
36786 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36787 wxPyEndAllowThreads(__tstate);
36788 if (PyErr_Occurred()) SWIG_fail;
36789 }
36790 resultobj = SWIG_Py_Void();
36791 return resultobj;
36792 fail:
36793 return NULL;
36794 }
36795
36796
36797 SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36798 PyObject *resultobj = 0;
36799 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36800 wxTreeItemId *arg2 = 0 ;
36801 void *argp1 = 0 ;
36802 int res1 = 0 ;
36803 void *argp2 = 0 ;
36804 int res2 = 0 ;
36805 PyObject * obj0 = 0 ;
36806 PyObject * obj1 = 0 ;
36807 char * kwnames[] = {
36808 (char *) "self",(char *) "item", NULL
36809 };
36810
36811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36813 if (!SWIG_IsOK(res1)) {
36814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36815 }
36816 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36817 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36818 if (!SWIG_IsOK(res2)) {
36819 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36820 }
36821 if (!argp2) {
36822 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36823 }
36824 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36825 {
36826 PyThreadState* __tstate = wxPyBeginAllowThreads();
36827 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36828 wxPyEndAllowThreads(__tstate);
36829 if (PyErr_Occurred()) SWIG_fail;
36830 }
36831 resultobj = SWIG_Py_Void();
36832 return resultobj;
36833 fail:
36834 return NULL;
36835 }
36836
36837
36838 SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36839 PyObject *resultobj = 0;
36840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36841 void *argp1 = 0 ;
36842 int res1 = 0 ;
36843 PyObject *swig_obj[1] ;
36844
36845 if (!args) SWIG_fail;
36846 swig_obj[0] = args;
36847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36848 if (!SWIG_IsOK(res1)) {
36849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36850 }
36851 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36852 {
36853 PyThreadState* __tstate = wxPyBeginAllowThreads();
36854 (arg1)->Unselect();
36855 wxPyEndAllowThreads(__tstate);
36856 if (PyErr_Occurred()) SWIG_fail;
36857 }
36858 resultobj = SWIG_Py_Void();
36859 return resultobj;
36860 fail:
36861 return NULL;
36862 }
36863
36864
36865 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36866 PyObject *resultobj = 0;
36867 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36868 wxTreeItemId *arg2 = 0 ;
36869 void *argp1 = 0 ;
36870 int res1 = 0 ;
36871 void *argp2 = 0 ;
36872 int res2 = 0 ;
36873 PyObject * obj0 = 0 ;
36874 PyObject * obj1 = 0 ;
36875 char * kwnames[] = {
36876 (char *) "self",(char *) "item", NULL
36877 };
36878
36879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36881 if (!SWIG_IsOK(res1)) {
36882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36883 }
36884 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36885 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36886 if (!SWIG_IsOK(res2)) {
36887 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36888 }
36889 if (!argp2) {
36890 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36891 }
36892 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36893 {
36894 PyThreadState* __tstate = wxPyBeginAllowThreads();
36895 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36896 wxPyEndAllowThreads(__tstate);
36897 if (PyErr_Occurred()) SWIG_fail;
36898 }
36899 resultobj = SWIG_Py_Void();
36900 return resultobj;
36901 fail:
36902 return NULL;
36903 }
36904
36905
36906 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36907 PyObject *resultobj = 0;
36908 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36909 void *argp1 = 0 ;
36910 int res1 = 0 ;
36911 PyObject *swig_obj[1] ;
36912
36913 if (!args) SWIG_fail;
36914 swig_obj[0] = args;
36915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36916 if (!SWIG_IsOK(res1)) {
36917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36918 }
36919 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36920 {
36921 PyThreadState* __tstate = wxPyBeginAllowThreads();
36922 (arg1)->UnselectAll();
36923 wxPyEndAllowThreads(__tstate);
36924 if (PyErr_Occurred()) SWIG_fail;
36925 }
36926 resultobj = SWIG_Py_Void();
36927 return resultobj;
36928 fail:
36929 return NULL;
36930 }
36931
36932
36933 SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36934 PyObject *resultobj = 0;
36935 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36936 wxTreeItemId *arg2 = 0 ;
36937 bool arg3 = (bool) true ;
36938 void *argp1 = 0 ;
36939 int res1 = 0 ;
36940 void *argp2 = 0 ;
36941 int res2 = 0 ;
36942 bool val3 ;
36943 int ecode3 = 0 ;
36944 PyObject * obj0 = 0 ;
36945 PyObject * obj1 = 0 ;
36946 PyObject * obj2 = 0 ;
36947 char * kwnames[] = {
36948 (char *) "self",(char *) "item",(char *) "select", NULL
36949 };
36950
36951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36953 if (!SWIG_IsOK(res1)) {
36954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36955 }
36956 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36957 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36958 if (!SWIG_IsOK(res2)) {
36959 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36960 }
36961 if (!argp2) {
36962 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36963 }
36964 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36965 if (obj2) {
36966 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36967 if (!SWIG_IsOK(ecode3)) {
36968 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36969 }
36970 arg3 = static_cast< bool >(val3);
36971 }
36972 {
36973 PyThreadState* __tstate = wxPyBeginAllowThreads();
36974 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
36975 wxPyEndAllowThreads(__tstate);
36976 if (PyErr_Occurred()) SWIG_fail;
36977 }
36978 resultobj = SWIG_Py_Void();
36979 return resultobj;
36980 fail:
36981 return NULL;
36982 }
36983
36984
36985 SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36986 PyObject *resultobj = 0;
36987 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36988 wxTreeItemId *arg2 = 0 ;
36989 void *argp1 = 0 ;
36990 int res1 = 0 ;
36991 void *argp2 = 0 ;
36992 int res2 = 0 ;
36993 PyObject * obj0 = 0 ;
36994 PyObject * obj1 = 0 ;
36995 char * kwnames[] = {
36996 (char *) "self",(char *) "item", NULL
36997 };
36998
36999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
37000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37001 if (!SWIG_IsOK(res1)) {
37002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37003 }
37004 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37005 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37006 if (!SWIG_IsOK(res2)) {
37007 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37008 }
37009 if (!argp2) {
37010 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37011 }
37012 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37013 {
37014 PyThreadState* __tstate = wxPyBeginAllowThreads();
37015 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
37016 wxPyEndAllowThreads(__tstate);
37017 if (PyErr_Occurred()) SWIG_fail;
37018 }
37019 resultobj = SWIG_Py_Void();
37020 return resultobj;
37021 fail:
37022 return NULL;
37023 }
37024
37025
37026 SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37027 PyObject *resultobj = 0;
37028 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37029 wxTreeItemId *arg2 = 0 ;
37030 void *argp1 = 0 ;
37031 int res1 = 0 ;
37032 void *argp2 = 0 ;
37033 int res2 = 0 ;
37034 PyObject * obj0 = 0 ;
37035 PyObject * obj1 = 0 ;
37036 char * kwnames[] = {
37037 (char *) "self",(char *) "item", NULL
37038 };
37039
37040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
37041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37042 if (!SWIG_IsOK(res1)) {
37043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37044 }
37045 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37046 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37047 if (!SWIG_IsOK(res2)) {
37048 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37049 }
37050 if (!argp2) {
37051 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37052 }
37053 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37054 {
37055 PyThreadState* __tstate = wxPyBeginAllowThreads();
37056 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
37057 wxPyEndAllowThreads(__tstate);
37058 if (PyErr_Occurred()) SWIG_fail;
37059 }
37060 resultobj = SWIG_Py_Void();
37061 return resultobj;
37062 fail:
37063 return NULL;
37064 }
37065
37066
37067 SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37068 PyObject *resultobj = 0;
37069 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37070 wxTreeItemId *arg2 = 0 ;
37071 void *argp1 = 0 ;
37072 int res1 = 0 ;
37073 void *argp2 = 0 ;
37074 int res2 = 0 ;
37075 PyObject * obj0 = 0 ;
37076 PyObject * obj1 = 0 ;
37077 char * kwnames[] = {
37078 (char *) "self",(char *) "item", NULL
37079 };
37080
37081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
37082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37083 if (!SWIG_IsOK(res1)) {
37084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37085 }
37086 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37087 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37088 if (!SWIG_IsOK(res2)) {
37089 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37090 }
37091 if (!argp2) {
37092 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37093 }
37094 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37095 {
37096 PyThreadState* __tstate = wxPyBeginAllowThreads();
37097 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
37098 wxPyEndAllowThreads(__tstate);
37099 if (PyErr_Occurred()) SWIG_fail;
37100 }
37101 resultobj = SWIG_Py_Void();
37102 return resultobj;
37103 fail:
37104 return NULL;
37105 }
37106
37107
37108 SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37109 PyObject *resultobj = 0;
37110 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37111 wxTreeItemId *arg2 = 0 ;
37112 void *argp1 = 0 ;
37113 int res1 = 0 ;
37114 void *argp2 = 0 ;
37115 int res2 = 0 ;
37116 PyObject * obj0 = 0 ;
37117 PyObject * obj1 = 0 ;
37118 char * kwnames[] = {
37119 (char *) "self",(char *) "item", NULL
37120 };
37121
37122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
37123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37124 if (!SWIG_IsOK(res1)) {
37125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37126 }
37127 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37128 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37129 if (!SWIG_IsOK(res2)) {
37130 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37131 }
37132 if (!argp2) {
37133 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37134 }
37135 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37136 {
37137 PyThreadState* __tstate = wxPyBeginAllowThreads();
37138 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
37139 wxPyEndAllowThreads(__tstate);
37140 if (PyErr_Occurred()) SWIG_fail;
37141 }
37142 resultobj = SWIG_Py_Void();
37143 return resultobj;
37144 fail:
37145 return NULL;
37146 }
37147
37148
37149 SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37150 PyObject *resultobj = 0;
37151 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37152 wxTextCtrl *result = 0 ;
37153 void *argp1 = 0 ;
37154 int res1 = 0 ;
37155 PyObject *swig_obj[1] ;
37156
37157 if (!args) SWIG_fail;
37158 swig_obj[0] = args;
37159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37160 if (!SWIG_IsOK(res1)) {
37161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37162 }
37163 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37164 {
37165 PyThreadState* __tstate = wxPyBeginAllowThreads();
37166 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
37167 wxPyEndAllowThreads(__tstate);
37168 if (PyErr_Occurred()) SWIG_fail;
37169 }
37170 {
37171 resultobj = wxPyMake_wxObject(result, 0);
37172 }
37173 return resultobj;
37174 fail:
37175 return NULL;
37176 }
37177
37178
37179 SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(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_SortChildren",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_SortChildren" "', 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_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37202 }
37203 if (!argp2) {
37204 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37205 }
37206 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37207 {
37208 PyThreadState* __tstate = wxPyBeginAllowThreads();
37209 (arg1)->SortChildren((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_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37221 PyObject *resultobj = 0;
37222 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37223 wxPoint *arg2 = 0 ;
37224 int *arg3 = 0 ;
37225 wxTreeItemId result;
37226 void *argp1 = 0 ;
37227 int res1 = 0 ;
37228 wxPoint temp2 ;
37229 int temp3 ;
37230 int res3 = SWIG_TMPOBJ ;
37231 PyObject * obj0 = 0 ;
37232 PyObject * obj1 = 0 ;
37233 char * kwnames[] = {
37234 (char *) "self",(char *) "point", NULL
37235 };
37236
37237 arg3 = &temp3;
37238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37240 if (!SWIG_IsOK(res1)) {
37241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37242 }
37243 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37244 {
37245 arg2 = &temp2;
37246 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37247 }
37248 {
37249 PyThreadState* __tstate = wxPyBeginAllowThreads();
37250 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37251 wxPyEndAllowThreads(__tstate);
37252 if (PyErr_Occurred()) SWIG_fail;
37253 }
37254 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37255 if (SWIG_IsTmpObj(res3)) {
37256 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37257 } else {
37258 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37259 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37260 }
37261 return resultobj;
37262 fail:
37263 return NULL;
37264 }
37265
37266
37267 SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37268 PyObject *resultobj = 0;
37269 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37270 wxTreeItemId *arg2 = 0 ;
37271 bool arg3 = (bool) false ;
37272 PyObject *result = 0 ;
37273 void *argp1 = 0 ;
37274 int res1 = 0 ;
37275 void *argp2 = 0 ;
37276 int res2 = 0 ;
37277 bool val3 ;
37278 int ecode3 = 0 ;
37279 PyObject * obj0 = 0 ;
37280 PyObject * obj1 = 0 ;
37281 PyObject * obj2 = 0 ;
37282 char * kwnames[] = {
37283 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37284 };
37285
37286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37288 if (!SWIG_IsOK(res1)) {
37289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37290 }
37291 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37292 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37293 if (!SWIG_IsOK(res2)) {
37294 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37295 }
37296 if (!argp2) {
37297 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37298 }
37299 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37300 if (obj2) {
37301 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37302 if (!SWIG_IsOK(ecode3)) {
37303 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37304 }
37305 arg3 = static_cast< bool >(val3);
37306 }
37307 {
37308 PyThreadState* __tstate = wxPyBeginAllowThreads();
37309 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37310 wxPyEndAllowThreads(__tstate);
37311 if (PyErr_Occurred()) SWIG_fail;
37312 }
37313 resultobj = result;
37314 return resultobj;
37315 fail:
37316 return NULL;
37317 }
37318
37319
37320 SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37321 PyObject *resultobj = 0;
37322 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37323 SwigValueWrapper<wxVisualAttributes > result;
37324 int val1 ;
37325 int ecode1 = 0 ;
37326 PyObject * obj0 = 0 ;
37327 char * kwnames[] = {
37328 (char *) "variant", NULL
37329 };
37330
37331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37332 if (obj0) {
37333 ecode1 = SWIG_AsVal_int(obj0, &val1);
37334 if (!SWIG_IsOK(ecode1)) {
37335 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37336 }
37337 arg1 = static_cast< wxWindowVariant >(val1);
37338 }
37339 {
37340 if (!wxPyCheckForApp()) SWIG_fail;
37341 PyThreadState* __tstate = wxPyBeginAllowThreads();
37342 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37343 wxPyEndAllowThreads(__tstate);
37344 if (PyErr_Occurred()) SWIG_fail;
37345 }
37346 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37347 return resultobj;
37348 fail:
37349 return NULL;
37350 }
37351
37352
37353 SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37354 PyObject *resultobj = 0;
37355 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37356 bool arg2 ;
37357 void *argp1 = 0 ;
37358 int res1 = 0 ;
37359 bool val2 ;
37360 int ecode2 = 0 ;
37361 PyObject * obj0 = 0 ;
37362 PyObject * obj1 = 0 ;
37363 char * kwnames[] = {
37364 (char *) "self",(char *) "q", NULL
37365 };
37366
37367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37369 if (!SWIG_IsOK(res1)) {
37370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37371 }
37372 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37373 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37374 if (!SWIG_IsOK(ecode2)) {
37375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37376 }
37377 arg2 = static_cast< bool >(val2);
37378 {
37379 PyThreadState* __tstate = wxPyBeginAllowThreads();
37380 (arg1)->SetQuickBestSize(arg2);
37381 wxPyEndAllowThreads(__tstate);
37382 if (PyErr_Occurred()) SWIG_fail;
37383 }
37384 resultobj = SWIG_Py_Void();
37385 return resultobj;
37386 fail:
37387 return NULL;
37388 }
37389
37390
37391 SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37392 PyObject *resultobj = 0;
37393 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37394 bool result;
37395 void *argp1 = 0 ;
37396 int res1 = 0 ;
37397 PyObject *swig_obj[1] ;
37398
37399 if (!args) SWIG_fail;
37400 swig_obj[0] = args;
37401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37402 if (!SWIG_IsOK(res1)) {
37403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37404 }
37405 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37406 {
37407 PyThreadState* __tstate = wxPyBeginAllowThreads();
37408 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37409 wxPyEndAllowThreads(__tstate);
37410 if (PyErr_Occurred()) SWIG_fail;
37411 }
37412 {
37413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37414 }
37415 return resultobj;
37416 fail:
37417 return NULL;
37418 }
37419
37420
37421 SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37422 PyObject *obj;
37423 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37424 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37425 return SWIG_Py_Void();
37426 }
37427
37428 SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37429 return SWIG_Python_InitShadowInstance(args);
37430 }
37431
37432 SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37433 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37434 return 1;
37435 }
37436
37437
37438 SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37439 PyObject *pyobj = 0;
37440
37441 {
37442 #if wxUSE_UNICODE
37443 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37444 #else
37445 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37446 #endif
37447 }
37448 return pyobj;
37449 }
37450
37451
37452 SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37453 PyObject *resultobj = 0;
37454 wxWindow *arg1 = (wxWindow *) 0 ;
37455 int arg2 = (int) (int)-1 ;
37456 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37457 wxString *arg3 = (wxString *) &arg3_defvalue ;
37458 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37459 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37460 wxSize const &arg5_defvalue = wxDefaultSize ;
37461 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37462 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37463 wxString const &arg7_defvalue = wxPyEmptyString ;
37464 wxString *arg7 = (wxString *) &arg7_defvalue ;
37465 int arg8 = (int) 0 ;
37466 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37467 wxString *arg9 = (wxString *) &arg9_defvalue ;
37468 wxGenericDirCtrl *result = 0 ;
37469 void *argp1 = 0 ;
37470 int res1 = 0 ;
37471 int val2 ;
37472 int ecode2 = 0 ;
37473 bool temp3 = false ;
37474 wxPoint temp4 ;
37475 wxSize temp5 ;
37476 long val6 ;
37477 int ecode6 = 0 ;
37478 bool temp7 = false ;
37479 int val8 ;
37480 int ecode8 = 0 ;
37481 bool temp9 = false ;
37482 PyObject * obj0 = 0 ;
37483 PyObject * obj1 = 0 ;
37484 PyObject * obj2 = 0 ;
37485 PyObject * obj3 = 0 ;
37486 PyObject * obj4 = 0 ;
37487 PyObject * obj5 = 0 ;
37488 PyObject * obj6 = 0 ;
37489 PyObject * obj7 = 0 ;
37490 PyObject * obj8 = 0 ;
37491 char * kwnames[] = {
37492 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37493 };
37494
37495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37497 if (!SWIG_IsOK(res1)) {
37498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37499 }
37500 arg1 = reinterpret_cast< wxWindow * >(argp1);
37501 if (obj1) {
37502 ecode2 = SWIG_AsVal_int(obj1, &val2);
37503 if (!SWIG_IsOK(ecode2)) {
37504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37505 }
37506 arg2 = static_cast< int >(val2);
37507 }
37508 if (obj2) {
37509 {
37510 arg3 = wxString_in_helper(obj2);
37511 if (arg3 == NULL) SWIG_fail;
37512 temp3 = true;
37513 }
37514 }
37515 if (obj3) {
37516 {
37517 arg4 = &temp4;
37518 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
37519 }
37520 }
37521 if (obj4) {
37522 {
37523 arg5 = &temp5;
37524 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
37525 }
37526 }
37527 if (obj5) {
37528 ecode6 = SWIG_AsVal_long(obj5, &val6);
37529 if (!SWIG_IsOK(ecode6)) {
37530 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37531 }
37532 arg6 = static_cast< long >(val6);
37533 }
37534 if (obj6) {
37535 {
37536 arg7 = wxString_in_helper(obj6);
37537 if (arg7 == NULL) SWIG_fail;
37538 temp7 = true;
37539 }
37540 }
37541 if (obj7) {
37542 ecode8 = SWIG_AsVal_int(obj7, &val8);
37543 if (!SWIG_IsOK(ecode8)) {
37544 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37545 }
37546 arg8 = static_cast< int >(val8);
37547 }
37548 if (obj8) {
37549 {
37550 arg9 = wxString_in_helper(obj8);
37551 if (arg9 == NULL) SWIG_fail;
37552 temp9 = true;
37553 }
37554 }
37555 {
37556 if (!wxPyCheckForApp()) SWIG_fail;
37557 PyThreadState* __tstate = wxPyBeginAllowThreads();
37558 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37559 wxPyEndAllowThreads(__tstate);
37560 if (PyErr_Occurred()) SWIG_fail;
37561 }
37562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37563 {
37564 if (temp3)
37565 delete arg3;
37566 }
37567 {
37568 if (temp7)
37569 delete arg7;
37570 }
37571 {
37572 if (temp9)
37573 delete arg9;
37574 }
37575 return resultobj;
37576 fail:
37577 {
37578 if (temp3)
37579 delete arg3;
37580 }
37581 {
37582 if (temp7)
37583 delete arg7;
37584 }
37585 {
37586 if (temp9)
37587 delete arg9;
37588 }
37589 return NULL;
37590 }
37591
37592
37593 SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37594 PyObject *resultobj = 0;
37595 wxGenericDirCtrl *result = 0 ;
37596
37597 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37598 {
37599 if (!wxPyCheckForApp()) SWIG_fail;
37600 PyThreadState* __tstate = wxPyBeginAllowThreads();
37601 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37602 wxPyEndAllowThreads(__tstate);
37603 if (PyErr_Occurred()) SWIG_fail;
37604 }
37605 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37606 return resultobj;
37607 fail:
37608 return NULL;
37609 }
37610
37611
37612 SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37613 PyObject *resultobj = 0;
37614 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37615 wxWindow *arg2 = (wxWindow *) 0 ;
37616 int arg3 = (int) (int)-1 ;
37617 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37618 wxString *arg4 = (wxString *) &arg4_defvalue ;
37619 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37620 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37621 wxSize const &arg6_defvalue = wxDefaultSize ;
37622 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37623 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37624 wxString const &arg8_defvalue = wxPyEmptyString ;
37625 wxString *arg8 = (wxString *) &arg8_defvalue ;
37626 int arg9 = (int) 0 ;
37627 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37628 wxString *arg10 = (wxString *) &arg10_defvalue ;
37629 bool result;
37630 void *argp1 = 0 ;
37631 int res1 = 0 ;
37632 void *argp2 = 0 ;
37633 int res2 = 0 ;
37634 int val3 ;
37635 int ecode3 = 0 ;
37636 bool temp4 = false ;
37637 wxPoint temp5 ;
37638 wxSize temp6 ;
37639 long val7 ;
37640 int ecode7 = 0 ;
37641 bool temp8 = false ;
37642 int val9 ;
37643 int ecode9 = 0 ;
37644 bool temp10 = false ;
37645 PyObject * obj0 = 0 ;
37646 PyObject * obj1 = 0 ;
37647 PyObject * obj2 = 0 ;
37648 PyObject * obj3 = 0 ;
37649 PyObject * obj4 = 0 ;
37650 PyObject * obj5 = 0 ;
37651 PyObject * obj6 = 0 ;
37652 PyObject * obj7 = 0 ;
37653 PyObject * obj8 = 0 ;
37654 PyObject * obj9 = 0 ;
37655 char * kwnames[] = {
37656 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37657 };
37658
37659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37661 if (!SWIG_IsOK(res1)) {
37662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37663 }
37664 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37665 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37666 if (!SWIG_IsOK(res2)) {
37667 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37668 }
37669 arg2 = reinterpret_cast< wxWindow * >(argp2);
37670 if (obj2) {
37671 ecode3 = SWIG_AsVal_int(obj2, &val3);
37672 if (!SWIG_IsOK(ecode3)) {
37673 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37674 }
37675 arg3 = static_cast< int >(val3);
37676 }
37677 if (obj3) {
37678 {
37679 arg4 = wxString_in_helper(obj3);
37680 if (arg4 == NULL) SWIG_fail;
37681 temp4 = true;
37682 }
37683 }
37684 if (obj4) {
37685 {
37686 arg5 = &temp5;
37687 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
37688 }
37689 }
37690 if (obj5) {
37691 {
37692 arg6 = &temp6;
37693 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
37694 }
37695 }
37696 if (obj6) {
37697 ecode7 = SWIG_AsVal_long(obj6, &val7);
37698 if (!SWIG_IsOK(ecode7)) {
37699 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37700 }
37701 arg7 = static_cast< long >(val7);
37702 }
37703 if (obj7) {
37704 {
37705 arg8 = wxString_in_helper(obj7);
37706 if (arg8 == NULL) SWIG_fail;
37707 temp8 = true;
37708 }
37709 }
37710 if (obj8) {
37711 ecode9 = SWIG_AsVal_int(obj8, &val9);
37712 if (!SWIG_IsOK(ecode9)) {
37713 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37714 }
37715 arg9 = static_cast< int >(val9);
37716 }
37717 if (obj9) {
37718 {
37719 arg10 = wxString_in_helper(obj9);
37720 if (arg10 == NULL) SWIG_fail;
37721 temp10 = true;
37722 }
37723 }
37724 {
37725 PyThreadState* __tstate = wxPyBeginAllowThreads();
37726 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37727 wxPyEndAllowThreads(__tstate);
37728 if (PyErr_Occurred()) SWIG_fail;
37729 }
37730 {
37731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37732 }
37733 {
37734 if (temp4)
37735 delete arg4;
37736 }
37737 {
37738 if (temp8)
37739 delete arg8;
37740 }
37741 {
37742 if (temp10)
37743 delete arg10;
37744 }
37745 return resultobj;
37746 fail:
37747 {
37748 if (temp4)
37749 delete arg4;
37750 }
37751 {
37752 if (temp8)
37753 delete arg8;
37754 }
37755 {
37756 if (temp10)
37757 delete arg10;
37758 }
37759 return NULL;
37760 }
37761
37762
37763 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37764 PyObject *resultobj = 0;
37765 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37766 wxString *arg2 = 0 ;
37767 bool result;
37768 void *argp1 = 0 ;
37769 int res1 = 0 ;
37770 bool temp2 = false ;
37771 PyObject * obj0 = 0 ;
37772 PyObject * obj1 = 0 ;
37773 char * kwnames[] = {
37774 (char *) "self",(char *) "path", NULL
37775 };
37776
37777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37779 if (!SWIG_IsOK(res1)) {
37780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37781 }
37782 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37783 {
37784 arg2 = wxString_in_helper(obj1);
37785 if (arg2 == NULL) SWIG_fail;
37786 temp2 = true;
37787 }
37788 {
37789 PyThreadState* __tstate = wxPyBeginAllowThreads();
37790 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37791 wxPyEndAllowThreads(__tstate);
37792 if (PyErr_Occurred()) SWIG_fail;
37793 }
37794 {
37795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37796 }
37797 {
37798 if (temp2)
37799 delete arg2;
37800 }
37801 return resultobj;
37802 fail:
37803 {
37804 if (temp2)
37805 delete arg2;
37806 }
37807 return NULL;
37808 }
37809
37810
37811 SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37812 PyObject *resultobj = 0;
37813 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37814 wxString *arg2 = 0 ;
37815 bool result;
37816 void *argp1 = 0 ;
37817 int res1 = 0 ;
37818 bool temp2 = false ;
37819 PyObject * obj0 = 0 ;
37820 PyObject * obj1 = 0 ;
37821 char * kwnames[] = {
37822 (char *) "self",(char *) "path", NULL
37823 };
37824
37825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
37826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37827 if (!SWIG_IsOK(res1)) {
37828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37829 }
37830 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37831 {
37832 arg2 = wxString_in_helper(obj1);
37833 if (arg2 == NULL) SWIG_fail;
37834 temp2 = true;
37835 }
37836 {
37837 PyThreadState* __tstate = wxPyBeginAllowThreads();
37838 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
37839 wxPyEndAllowThreads(__tstate);
37840 if (PyErr_Occurred()) SWIG_fail;
37841 }
37842 {
37843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37844 }
37845 {
37846 if (temp2)
37847 delete arg2;
37848 }
37849 return resultobj;
37850 fail:
37851 {
37852 if (temp2)
37853 delete arg2;
37854 }
37855 return NULL;
37856 }
37857
37858
37859 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37860 PyObject *resultobj = 0;
37861 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37862 wxString result;
37863 void *argp1 = 0 ;
37864 int res1 = 0 ;
37865 PyObject *swig_obj[1] ;
37866
37867 if (!args) SWIG_fail;
37868 swig_obj[0] = args;
37869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37870 if (!SWIG_IsOK(res1)) {
37871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37872 }
37873 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37874 {
37875 PyThreadState* __tstate = wxPyBeginAllowThreads();
37876 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
37877 wxPyEndAllowThreads(__tstate);
37878 if (PyErr_Occurred()) SWIG_fail;
37879 }
37880 {
37881 #if wxUSE_UNICODE
37882 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37883 #else
37884 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37885 #endif
37886 }
37887 return resultobj;
37888 fail:
37889 return NULL;
37890 }
37891
37892
37893 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37894 PyObject *resultobj = 0;
37895 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37896 wxString *arg2 = 0 ;
37897 void *argp1 = 0 ;
37898 int res1 = 0 ;
37899 bool temp2 = false ;
37900 PyObject * obj0 = 0 ;
37901 PyObject * obj1 = 0 ;
37902 char * kwnames[] = {
37903 (char *) "self",(char *) "path", NULL
37904 };
37905
37906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
37907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37908 if (!SWIG_IsOK(res1)) {
37909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37910 }
37911 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37912 {
37913 arg2 = wxString_in_helper(obj1);
37914 if (arg2 == NULL) SWIG_fail;
37915 temp2 = true;
37916 }
37917 {
37918 PyThreadState* __tstate = wxPyBeginAllowThreads();
37919 (arg1)->SetDefaultPath((wxString const &)*arg2);
37920 wxPyEndAllowThreads(__tstate);
37921 if (PyErr_Occurred()) SWIG_fail;
37922 }
37923 resultobj = SWIG_Py_Void();
37924 {
37925 if (temp2)
37926 delete arg2;
37927 }
37928 return resultobj;
37929 fail:
37930 {
37931 if (temp2)
37932 delete arg2;
37933 }
37934 return NULL;
37935 }
37936
37937
37938 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37939 PyObject *resultobj = 0;
37940 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37941 wxString result;
37942 void *argp1 = 0 ;
37943 int res1 = 0 ;
37944 PyObject *swig_obj[1] ;
37945
37946 if (!args) SWIG_fail;
37947 swig_obj[0] = args;
37948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37949 if (!SWIG_IsOK(res1)) {
37950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37951 }
37952 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37953 {
37954 PyThreadState* __tstate = wxPyBeginAllowThreads();
37955 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
37956 wxPyEndAllowThreads(__tstate);
37957 if (PyErr_Occurred()) SWIG_fail;
37958 }
37959 {
37960 #if wxUSE_UNICODE
37961 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37962 #else
37963 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37964 #endif
37965 }
37966 return resultobj;
37967 fail:
37968 return NULL;
37969 }
37970
37971
37972 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37973 PyObject *resultobj = 0;
37974 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37975 wxString result;
37976 void *argp1 = 0 ;
37977 int res1 = 0 ;
37978 PyObject *swig_obj[1] ;
37979
37980 if (!args) SWIG_fail;
37981 swig_obj[0] = args;
37982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37983 if (!SWIG_IsOK(res1)) {
37984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37985 }
37986 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37987 {
37988 PyThreadState* __tstate = wxPyBeginAllowThreads();
37989 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
37990 wxPyEndAllowThreads(__tstate);
37991 if (PyErr_Occurred()) SWIG_fail;
37992 }
37993 {
37994 #if wxUSE_UNICODE
37995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37996 #else
37997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37998 #endif
37999 }
38000 return resultobj;
38001 fail:
38002 return NULL;
38003 }
38004
38005
38006 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38007 PyObject *resultobj = 0;
38008 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38009 wxString *arg2 = 0 ;
38010 void *argp1 = 0 ;
38011 int res1 = 0 ;
38012 bool temp2 = false ;
38013 PyObject * obj0 = 0 ;
38014 PyObject * obj1 = 0 ;
38015 char * kwnames[] = {
38016 (char *) "self",(char *) "path", NULL
38017 };
38018
38019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
38020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38021 if (!SWIG_IsOK(res1)) {
38022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38023 }
38024 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38025 {
38026 arg2 = wxString_in_helper(obj1);
38027 if (arg2 == NULL) SWIG_fail;
38028 temp2 = true;
38029 }
38030 {
38031 PyThreadState* __tstate = wxPyBeginAllowThreads();
38032 (arg1)->SetPath((wxString const &)*arg2);
38033 wxPyEndAllowThreads(__tstate);
38034 if (PyErr_Occurred()) SWIG_fail;
38035 }
38036 resultobj = SWIG_Py_Void();
38037 {
38038 if (temp2)
38039 delete arg2;
38040 }
38041 return resultobj;
38042 fail:
38043 {
38044 if (temp2)
38045 delete arg2;
38046 }
38047 return NULL;
38048 }
38049
38050
38051 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38052 PyObject *resultobj = 0;
38053 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38054 bool arg2 ;
38055 void *argp1 = 0 ;
38056 int res1 = 0 ;
38057 bool val2 ;
38058 int ecode2 = 0 ;
38059 PyObject * obj0 = 0 ;
38060 PyObject * obj1 = 0 ;
38061 char * kwnames[] = {
38062 (char *) "self",(char *) "show", NULL
38063 };
38064
38065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
38066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38067 if (!SWIG_IsOK(res1)) {
38068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38069 }
38070 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38071 ecode2 = SWIG_AsVal_bool(obj1, &val2);
38072 if (!SWIG_IsOK(ecode2)) {
38073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38074 }
38075 arg2 = static_cast< bool >(val2);
38076 {
38077 PyThreadState* __tstate = wxPyBeginAllowThreads();
38078 (arg1)->ShowHidden(arg2);
38079 wxPyEndAllowThreads(__tstate);
38080 if (PyErr_Occurred()) SWIG_fail;
38081 }
38082 resultobj = SWIG_Py_Void();
38083 return resultobj;
38084 fail:
38085 return NULL;
38086 }
38087
38088
38089 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38090 PyObject *resultobj = 0;
38091 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38092 bool result;
38093 void *argp1 = 0 ;
38094 int res1 = 0 ;
38095 PyObject *swig_obj[1] ;
38096
38097 if (!args) SWIG_fail;
38098 swig_obj[0] = args;
38099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38100 if (!SWIG_IsOK(res1)) {
38101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38102 }
38103 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38104 {
38105 PyThreadState* __tstate = wxPyBeginAllowThreads();
38106 result = (bool)(arg1)->GetShowHidden();
38107 wxPyEndAllowThreads(__tstate);
38108 if (PyErr_Occurred()) SWIG_fail;
38109 }
38110 {
38111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38112 }
38113 return resultobj;
38114 fail:
38115 return NULL;
38116 }
38117
38118
38119 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38120 PyObject *resultobj = 0;
38121 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38122 wxString result;
38123 void *argp1 = 0 ;
38124 int res1 = 0 ;
38125 PyObject *swig_obj[1] ;
38126
38127 if (!args) SWIG_fail;
38128 swig_obj[0] = args;
38129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38130 if (!SWIG_IsOK(res1)) {
38131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38132 }
38133 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38134 {
38135 PyThreadState* __tstate = wxPyBeginAllowThreads();
38136 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38137 wxPyEndAllowThreads(__tstate);
38138 if (PyErr_Occurred()) SWIG_fail;
38139 }
38140 {
38141 #if wxUSE_UNICODE
38142 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38143 #else
38144 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38145 #endif
38146 }
38147 return resultobj;
38148 fail:
38149 return NULL;
38150 }
38151
38152
38153 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38154 PyObject *resultobj = 0;
38155 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38156 wxString *arg2 = 0 ;
38157 void *argp1 = 0 ;
38158 int res1 = 0 ;
38159 bool temp2 = false ;
38160 PyObject * obj0 = 0 ;
38161 PyObject * obj1 = 0 ;
38162 char * kwnames[] = {
38163 (char *) "self",(char *) "filter", NULL
38164 };
38165
38166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38168 if (!SWIG_IsOK(res1)) {
38169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38170 }
38171 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38172 {
38173 arg2 = wxString_in_helper(obj1);
38174 if (arg2 == NULL) SWIG_fail;
38175 temp2 = true;
38176 }
38177 {
38178 PyThreadState* __tstate = wxPyBeginAllowThreads();
38179 (arg1)->SetFilter((wxString const &)*arg2);
38180 wxPyEndAllowThreads(__tstate);
38181 if (PyErr_Occurred()) SWIG_fail;
38182 }
38183 resultobj = SWIG_Py_Void();
38184 {
38185 if (temp2)
38186 delete arg2;
38187 }
38188 return resultobj;
38189 fail:
38190 {
38191 if (temp2)
38192 delete arg2;
38193 }
38194 return NULL;
38195 }
38196
38197
38198 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38199 PyObject *resultobj = 0;
38200 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38201 int result;
38202 void *argp1 = 0 ;
38203 int res1 = 0 ;
38204 PyObject *swig_obj[1] ;
38205
38206 if (!args) SWIG_fail;
38207 swig_obj[0] = args;
38208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38209 if (!SWIG_IsOK(res1)) {
38210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38211 }
38212 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38213 {
38214 PyThreadState* __tstate = wxPyBeginAllowThreads();
38215 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38216 wxPyEndAllowThreads(__tstate);
38217 if (PyErr_Occurred()) SWIG_fail;
38218 }
38219 resultobj = SWIG_From_int(static_cast< int >(result));
38220 return resultobj;
38221 fail:
38222 return NULL;
38223 }
38224
38225
38226 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38227 PyObject *resultobj = 0;
38228 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38229 int arg2 ;
38230 void *argp1 = 0 ;
38231 int res1 = 0 ;
38232 int val2 ;
38233 int ecode2 = 0 ;
38234 PyObject * obj0 = 0 ;
38235 PyObject * obj1 = 0 ;
38236 char * kwnames[] = {
38237 (char *) "self",(char *) "n", NULL
38238 };
38239
38240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
38241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38242 if (!SWIG_IsOK(res1)) {
38243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38244 }
38245 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38246 ecode2 = SWIG_AsVal_int(obj1, &val2);
38247 if (!SWIG_IsOK(ecode2)) {
38248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38249 }
38250 arg2 = static_cast< int >(val2);
38251 {
38252 PyThreadState* __tstate = wxPyBeginAllowThreads();
38253 (arg1)->SetFilterIndex(arg2);
38254 wxPyEndAllowThreads(__tstate);
38255 if (PyErr_Occurred()) SWIG_fail;
38256 }
38257 resultobj = SWIG_Py_Void();
38258 return resultobj;
38259 fail:
38260 return NULL;
38261 }
38262
38263
38264 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38265 PyObject *resultobj = 0;
38266 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38267 wxTreeItemId result;
38268 void *argp1 = 0 ;
38269 int res1 = 0 ;
38270 PyObject *swig_obj[1] ;
38271
38272 if (!args) SWIG_fail;
38273 swig_obj[0] = args;
38274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38275 if (!SWIG_IsOK(res1)) {
38276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38277 }
38278 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38279 {
38280 PyThreadState* __tstate = wxPyBeginAllowThreads();
38281 result = (arg1)->GetRootId();
38282 wxPyEndAllowThreads(__tstate);
38283 if (PyErr_Occurred()) SWIG_fail;
38284 }
38285 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38286 return resultobj;
38287 fail:
38288 return NULL;
38289 }
38290
38291
38292 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38293 PyObject *resultobj = 0;
38294 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38295 wxPyTreeCtrl *result = 0 ;
38296 void *argp1 = 0 ;
38297 int res1 = 0 ;
38298 PyObject *swig_obj[1] ;
38299
38300 if (!args) SWIG_fail;
38301 swig_obj[0] = args;
38302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38303 if (!SWIG_IsOK(res1)) {
38304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38305 }
38306 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38307 {
38308 PyThreadState* __tstate = wxPyBeginAllowThreads();
38309 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38310 wxPyEndAllowThreads(__tstate);
38311 if (PyErr_Occurred()) SWIG_fail;
38312 }
38313 {
38314 resultobj = wxPyMake_wxObject(result, 0);
38315 }
38316 return resultobj;
38317 fail:
38318 return NULL;
38319 }
38320
38321
38322 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38323 PyObject *resultobj = 0;
38324 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38325 wxDirFilterListCtrl *result = 0 ;
38326 void *argp1 = 0 ;
38327 int res1 = 0 ;
38328 PyObject *swig_obj[1] ;
38329
38330 if (!args) SWIG_fail;
38331 swig_obj[0] = args;
38332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38333 if (!SWIG_IsOK(res1)) {
38334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38335 }
38336 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38337 {
38338 PyThreadState* __tstate = wxPyBeginAllowThreads();
38339 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38340 wxPyEndAllowThreads(__tstate);
38341 if (PyErr_Occurred()) SWIG_fail;
38342 }
38343 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38344 return resultobj;
38345 fail:
38346 return NULL;
38347 }
38348
38349
38350 SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38351 PyObject *resultobj = 0;
38352 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38353 wxTreeItemId arg2 ;
38354 wxString *arg3 = 0 ;
38355 bool *arg4 = 0 ;
38356 wxTreeItemId result;
38357 void *argp1 = 0 ;
38358 int res1 = 0 ;
38359 void *argp2 ;
38360 int res2 = 0 ;
38361 bool temp3 = false ;
38362 bool temp4 ;
38363 int res4 = SWIG_TMPOBJ ;
38364 PyObject * obj0 = 0 ;
38365 PyObject * obj1 = 0 ;
38366 PyObject * obj2 = 0 ;
38367 char * kwnames[] = {
38368 (char *) "self",(char *) "parentId",(char *) "path", NULL
38369 };
38370
38371 arg4 = &temp4;
38372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38374 if (!SWIG_IsOK(res1)) {
38375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38376 }
38377 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38378 {
38379 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38380 if (!SWIG_IsOK(res2)) {
38381 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38382 }
38383 if (!argp2) {
38384 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38385 } else {
38386 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38387 arg2 = *temp;
38388 if (SWIG_IsNewObj(res2)) delete temp;
38389 }
38390 }
38391 {
38392 arg3 = wxString_in_helper(obj2);
38393 if (arg3 == NULL) SWIG_fail;
38394 temp3 = true;
38395 }
38396 {
38397 PyThreadState* __tstate = wxPyBeginAllowThreads();
38398 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38399 wxPyEndAllowThreads(__tstate);
38400 if (PyErr_Occurred()) SWIG_fail;
38401 }
38402 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38403 if (SWIG_IsTmpObj(res4)) {
38404 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38405 } else {
38406 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38407 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38408 }
38409 {
38410 if (temp3)
38411 delete arg3;
38412 }
38413 return resultobj;
38414 fail:
38415 {
38416 if (temp3)
38417 delete arg3;
38418 }
38419 return NULL;
38420 }
38421
38422
38423 SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38424 PyObject *resultobj = 0;
38425 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38426 void *argp1 = 0 ;
38427 int res1 = 0 ;
38428 PyObject *swig_obj[1] ;
38429
38430 if (!args) SWIG_fail;
38431 swig_obj[0] = args;
38432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38433 if (!SWIG_IsOK(res1)) {
38434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38435 }
38436 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38437 {
38438 PyThreadState* __tstate = wxPyBeginAllowThreads();
38439 (arg1)->DoResize();
38440 wxPyEndAllowThreads(__tstate);
38441 if (PyErr_Occurred()) SWIG_fail;
38442 }
38443 resultobj = SWIG_Py_Void();
38444 return resultobj;
38445 fail:
38446 return NULL;
38447 }
38448
38449
38450 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38451 PyObject *resultobj = 0;
38452 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38453 void *argp1 = 0 ;
38454 int res1 = 0 ;
38455 PyObject *swig_obj[1] ;
38456
38457 if (!args) SWIG_fail;
38458 swig_obj[0] = args;
38459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38460 if (!SWIG_IsOK(res1)) {
38461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38462 }
38463 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38464 {
38465 PyThreadState* __tstate = wxPyBeginAllowThreads();
38466 (arg1)->ReCreateTree();
38467 wxPyEndAllowThreads(__tstate);
38468 if (PyErr_Occurred()) SWIG_fail;
38469 }
38470 resultobj = SWIG_Py_Void();
38471 return resultobj;
38472 fail:
38473 return NULL;
38474 }
38475
38476
38477 SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38478 PyObject *obj;
38479 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38480 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38481 return SWIG_Py_Void();
38482 }
38483
38484 SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38485 return SWIG_Python_InitShadowInstance(args);
38486 }
38487
38488 SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38489 PyObject *resultobj = 0;
38490 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38491 int arg2 = (int) (int)-1 ;
38492 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38493 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38494 wxSize const &arg4_defvalue = wxDefaultSize ;
38495 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38496 long arg5 = (long) 0 ;
38497 wxDirFilterListCtrl *result = 0 ;
38498 void *argp1 = 0 ;
38499 int res1 = 0 ;
38500 int val2 ;
38501 int ecode2 = 0 ;
38502 wxPoint temp3 ;
38503 wxSize temp4 ;
38504 long val5 ;
38505 int ecode5 = 0 ;
38506 PyObject * obj0 = 0 ;
38507 PyObject * obj1 = 0 ;
38508 PyObject * obj2 = 0 ;
38509 PyObject * obj3 = 0 ;
38510 PyObject * obj4 = 0 ;
38511 char * kwnames[] = {
38512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38513 };
38514
38515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38517 if (!SWIG_IsOK(res1)) {
38518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38519 }
38520 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38521 if (obj1) {
38522 ecode2 = SWIG_AsVal_int(obj1, &val2);
38523 if (!SWIG_IsOK(ecode2)) {
38524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38525 }
38526 arg2 = static_cast< int >(val2);
38527 }
38528 if (obj2) {
38529 {
38530 arg3 = &temp3;
38531 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38532 }
38533 }
38534 if (obj3) {
38535 {
38536 arg4 = &temp4;
38537 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
38538 }
38539 }
38540 if (obj4) {
38541 ecode5 = SWIG_AsVal_long(obj4, &val5);
38542 if (!SWIG_IsOK(ecode5)) {
38543 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38544 }
38545 arg5 = static_cast< long >(val5);
38546 }
38547 {
38548 if (!wxPyCheckForApp()) SWIG_fail;
38549 PyThreadState* __tstate = wxPyBeginAllowThreads();
38550 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38551 wxPyEndAllowThreads(__tstate);
38552 if (PyErr_Occurred()) SWIG_fail;
38553 }
38554 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38555 return resultobj;
38556 fail:
38557 return NULL;
38558 }
38559
38560
38561 SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38562 PyObject *resultobj = 0;
38563 wxDirFilterListCtrl *result = 0 ;
38564
38565 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38566 {
38567 if (!wxPyCheckForApp()) SWIG_fail;
38568 PyThreadState* __tstate = wxPyBeginAllowThreads();
38569 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38570 wxPyEndAllowThreads(__tstate);
38571 if (PyErr_Occurred()) SWIG_fail;
38572 }
38573 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38574 return resultobj;
38575 fail:
38576 return NULL;
38577 }
38578
38579
38580 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38581 PyObject *resultobj = 0;
38582 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38583 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38584 int arg3 = (int) (int)-1 ;
38585 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38586 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38587 wxSize const &arg5_defvalue = wxDefaultSize ;
38588 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38589 long arg6 = (long) 0 ;
38590 bool result;
38591 void *argp1 = 0 ;
38592 int res1 = 0 ;
38593 void *argp2 = 0 ;
38594 int res2 = 0 ;
38595 int val3 ;
38596 int ecode3 = 0 ;
38597 wxPoint temp4 ;
38598 wxSize temp5 ;
38599 long val6 ;
38600 int ecode6 = 0 ;
38601 PyObject * obj0 = 0 ;
38602 PyObject * obj1 = 0 ;
38603 PyObject * obj2 = 0 ;
38604 PyObject * obj3 = 0 ;
38605 PyObject * obj4 = 0 ;
38606 PyObject * obj5 = 0 ;
38607 char * kwnames[] = {
38608 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38609 };
38610
38611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38613 if (!SWIG_IsOK(res1)) {
38614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38615 }
38616 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38617 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38618 if (!SWIG_IsOK(res2)) {
38619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38620 }
38621 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38622 if (obj2) {
38623 ecode3 = SWIG_AsVal_int(obj2, &val3);
38624 if (!SWIG_IsOK(ecode3)) {
38625 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38626 }
38627 arg3 = static_cast< int >(val3);
38628 }
38629 if (obj3) {
38630 {
38631 arg4 = &temp4;
38632 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
38633 }
38634 }
38635 if (obj4) {
38636 {
38637 arg5 = &temp5;
38638 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
38639 }
38640 }
38641 if (obj5) {
38642 ecode6 = SWIG_AsVal_long(obj5, &val6);
38643 if (!SWIG_IsOK(ecode6)) {
38644 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38645 }
38646 arg6 = static_cast< long >(val6);
38647 }
38648 {
38649 PyThreadState* __tstate = wxPyBeginAllowThreads();
38650 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38651 wxPyEndAllowThreads(__tstate);
38652 if (PyErr_Occurred()) SWIG_fail;
38653 }
38654 {
38655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38656 }
38657 return resultobj;
38658 fail:
38659 return NULL;
38660 }
38661
38662
38663 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38664 PyObject *resultobj = 0;
38665 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38666 wxString *arg2 = 0 ;
38667 int arg3 ;
38668 void *argp1 = 0 ;
38669 int res1 = 0 ;
38670 bool temp2 = false ;
38671 int val3 ;
38672 int ecode3 = 0 ;
38673 PyObject * obj0 = 0 ;
38674 PyObject * obj1 = 0 ;
38675 PyObject * obj2 = 0 ;
38676 char * kwnames[] = {
38677 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38678 };
38679
38680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38682 if (!SWIG_IsOK(res1)) {
38683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38684 }
38685 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38686 {
38687 arg2 = wxString_in_helper(obj1);
38688 if (arg2 == NULL) SWIG_fail;
38689 temp2 = true;
38690 }
38691 ecode3 = SWIG_AsVal_int(obj2, &val3);
38692 if (!SWIG_IsOK(ecode3)) {
38693 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38694 }
38695 arg3 = static_cast< int >(val3);
38696 {
38697 PyThreadState* __tstate = wxPyBeginAllowThreads();
38698 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38699 wxPyEndAllowThreads(__tstate);
38700 if (PyErr_Occurred()) SWIG_fail;
38701 }
38702 resultobj = SWIG_Py_Void();
38703 {
38704 if (temp2)
38705 delete arg2;
38706 }
38707 return resultobj;
38708 fail:
38709 {
38710 if (temp2)
38711 delete arg2;
38712 }
38713 return NULL;
38714 }
38715
38716
38717 SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38718 PyObject *obj;
38719 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38720 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38721 return SWIG_Py_Void();
38722 }
38723
38724 SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38725 return SWIG_Python_InitShadowInstance(args);
38726 }
38727
38728 SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38729 PyObject *resultobj = 0;
38730 wxWindow *arg1 = (wxWindow *) 0 ;
38731 int arg2 = (int) (int)-1 ;
38732 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38733 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38734 wxSize const &arg4_defvalue = wxDefaultSize ;
38735 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38736 long arg5 = (long) 0 ;
38737 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38738 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38739 wxString const &arg7_defvalue = wxPyControlNameStr ;
38740 wxString *arg7 = (wxString *) &arg7_defvalue ;
38741 wxPyControl *result = 0 ;
38742 void *argp1 = 0 ;
38743 int res1 = 0 ;
38744 int val2 ;
38745 int ecode2 = 0 ;
38746 wxPoint temp3 ;
38747 wxSize temp4 ;
38748 long val5 ;
38749 int ecode5 = 0 ;
38750 void *argp6 = 0 ;
38751 int res6 = 0 ;
38752 bool temp7 = false ;
38753 PyObject * obj0 = 0 ;
38754 PyObject * obj1 = 0 ;
38755 PyObject * obj2 = 0 ;
38756 PyObject * obj3 = 0 ;
38757 PyObject * obj4 = 0 ;
38758 PyObject * obj5 = 0 ;
38759 PyObject * obj6 = 0 ;
38760 char * kwnames[] = {
38761 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38762 };
38763
38764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38766 if (!SWIG_IsOK(res1)) {
38767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38768 }
38769 arg1 = reinterpret_cast< wxWindow * >(argp1);
38770 if (obj1) {
38771 ecode2 = SWIG_AsVal_int(obj1, &val2);
38772 if (!SWIG_IsOK(ecode2)) {
38773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38774 }
38775 arg2 = static_cast< int >(val2);
38776 }
38777 if (obj2) {
38778 {
38779 arg3 = &temp3;
38780 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38781 }
38782 }
38783 if (obj3) {
38784 {
38785 arg4 = &temp4;
38786 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
38787 }
38788 }
38789 if (obj4) {
38790 ecode5 = SWIG_AsVal_long(obj4, &val5);
38791 if (!SWIG_IsOK(ecode5)) {
38792 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38793 }
38794 arg5 = static_cast< long >(val5);
38795 }
38796 if (obj5) {
38797 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38798 if (!SWIG_IsOK(res6)) {
38799 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38800 }
38801 if (!argp6) {
38802 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38803 }
38804 arg6 = reinterpret_cast< wxValidator * >(argp6);
38805 }
38806 if (obj6) {
38807 {
38808 arg7 = wxString_in_helper(obj6);
38809 if (arg7 == NULL) SWIG_fail;
38810 temp7 = true;
38811 }
38812 }
38813 {
38814 if (!wxPyCheckForApp()) SWIG_fail;
38815 PyThreadState* __tstate = wxPyBeginAllowThreads();
38816 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
38817 wxPyEndAllowThreads(__tstate);
38818 if (PyErr_Occurred()) SWIG_fail;
38819 }
38820 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
38821 {
38822 if (temp7)
38823 delete arg7;
38824 }
38825 return resultobj;
38826 fail:
38827 {
38828 if (temp7)
38829 delete arg7;
38830 }
38831 return NULL;
38832 }
38833
38834
38835 SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38836 PyObject *resultobj = 0;
38837 wxPyControl *result = 0 ;
38838
38839 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
38840 {
38841 if (!wxPyCheckForApp()) SWIG_fail;
38842 PyThreadState* __tstate = wxPyBeginAllowThreads();
38843 result = (wxPyControl *)new wxPyControl();
38844 wxPyEndAllowThreads(__tstate);
38845 if (PyErr_Occurred()) SWIG_fail;
38846 }
38847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
38848 return resultobj;
38849 fail:
38850 return NULL;
38851 }
38852
38853
38854 SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38855 PyObject *resultobj = 0;
38856 wxPyControl *arg1 = (wxPyControl *) 0 ;
38857 PyObject *arg2 = (PyObject *) 0 ;
38858 PyObject *arg3 = (PyObject *) 0 ;
38859 void *argp1 = 0 ;
38860 int res1 = 0 ;
38861 PyObject * obj0 = 0 ;
38862 PyObject * obj1 = 0 ;
38863 PyObject * obj2 = 0 ;
38864 char * kwnames[] = {
38865 (char *) "self",(char *) "self",(char *) "_class", NULL
38866 };
38867
38868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38870 if (!SWIG_IsOK(res1)) {
38871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38872 }
38873 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38874 arg2 = obj1;
38875 arg3 = obj2;
38876 {
38877 PyThreadState* __tstate = wxPyBeginAllowThreads();
38878 (arg1)->_setCallbackInfo(arg2,arg3);
38879 wxPyEndAllowThreads(__tstate);
38880 if (PyErr_Occurred()) SWIG_fail;
38881 }
38882 resultobj = SWIG_Py_Void();
38883 return resultobj;
38884 fail:
38885 return NULL;
38886 }
38887
38888
38889 SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38890 PyObject *resultobj = 0;
38891 wxPyControl *arg1 = (wxPyControl *) 0 ;
38892 wxDC *arg2 = (wxDC *) 0 ;
38893 bool result;
38894 void *argp1 = 0 ;
38895 int res1 = 0 ;
38896 void *argp2 = 0 ;
38897 int res2 = 0 ;
38898 PyObject * obj0 = 0 ;
38899 PyObject * obj1 = 0 ;
38900 char * kwnames[] = {
38901 (char *) "self",(char *) "dc", NULL
38902 };
38903
38904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
38905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38906 if (!SWIG_IsOK(res1)) {
38907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38908 }
38909 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38910 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
38911 if (!SWIG_IsOK(res2)) {
38912 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38913 }
38914 arg2 = reinterpret_cast< wxDC * >(argp2);
38915 {
38916 PyThreadState* __tstate = wxPyBeginAllowThreads();
38917 result = (bool)(arg1)->DoEraseBackground(arg2);
38918 wxPyEndAllowThreads(__tstate);
38919 if (PyErr_Occurred()) SWIG_fail;
38920 }
38921 {
38922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38923 }
38924 return resultobj;
38925 fail:
38926 return NULL;
38927 }
38928
38929
38930 SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38931 PyObject *resultobj = 0;
38932 wxPyControl *arg1 = (wxPyControl *) 0 ;
38933 int arg2 ;
38934 int arg3 ;
38935 int arg4 ;
38936 int arg5 ;
38937 void *argp1 = 0 ;
38938 int res1 = 0 ;
38939 int val2 ;
38940 int ecode2 = 0 ;
38941 int val3 ;
38942 int ecode3 = 0 ;
38943 int val4 ;
38944 int ecode4 = 0 ;
38945 int val5 ;
38946 int ecode5 = 0 ;
38947 PyObject * obj0 = 0 ;
38948 PyObject * obj1 = 0 ;
38949 PyObject * obj2 = 0 ;
38950 PyObject * obj3 = 0 ;
38951 PyObject * obj4 = 0 ;
38952 char * kwnames[] = {
38953 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38954 };
38955
38956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38958 if (!SWIG_IsOK(res1)) {
38959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38960 }
38961 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38962 ecode2 = SWIG_AsVal_int(obj1, &val2);
38963 if (!SWIG_IsOK(ecode2)) {
38964 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38965 }
38966 arg2 = static_cast< int >(val2);
38967 ecode3 = SWIG_AsVal_int(obj2, &val3);
38968 if (!SWIG_IsOK(ecode3)) {
38969 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38970 }
38971 arg3 = static_cast< int >(val3);
38972 ecode4 = SWIG_AsVal_int(obj3, &val4);
38973 if (!SWIG_IsOK(ecode4)) {
38974 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38975 }
38976 arg4 = static_cast< int >(val4);
38977 ecode5 = SWIG_AsVal_int(obj4, &val5);
38978 if (!SWIG_IsOK(ecode5)) {
38979 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38980 }
38981 arg5 = static_cast< int >(val5);
38982 {
38983 PyThreadState* __tstate = wxPyBeginAllowThreads();
38984 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
38985 wxPyEndAllowThreads(__tstate);
38986 if (PyErr_Occurred()) SWIG_fail;
38987 }
38988 resultobj = SWIG_Py_Void();
38989 return resultobj;
38990 fail:
38991 return NULL;
38992 }
38993
38994
38995 SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38996 PyObject *resultobj = 0;
38997 wxPyControl *arg1 = (wxPyControl *) 0 ;
38998 int arg2 ;
38999 int arg3 ;
39000 int arg4 ;
39001 int arg5 ;
39002 int arg6 = (int) wxSIZE_AUTO ;
39003 void *argp1 = 0 ;
39004 int res1 = 0 ;
39005 int val2 ;
39006 int ecode2 = 0 ;
39007 int val3 ;
39008 int ecode3 = 0 ;
39009 int val4 ;
39010 int ecode4 = 0 ;
39011 int val5 ;
39012 int ecode5 = 0 ;
39013 int val6 ;
39014 int ecode6 = 0 ;
39015 PyObject * obj0 = 0 ;
39016 PyObject * obj1 = 0 ;
39017 PyObject * obj2 = 0 ;
39018 PyObject * obj3 = 0 ;
39019 PyObject * obj4 = 0 ;
39020 PyObject * obj5 = 0 ;
39021 char * kwnames[] = {
39022 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39023 };
39024
39025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39027 if (!SWIG_IsOK(res1)) {
39028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39029 }
39030 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39031 ecode2 = SWIG_AsVal_int(obj1, &val2);
39032 if (!SWIG_IsOK(ecode2)) {
39033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39034 }
39035 arg2 = static_cast< int >(val2);
39036 ecode3 = SWIG_AsVal_int(obj2, &val3);
39037 if (!SWIG_IsOK(ecode3)) {
39038 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39039 }
39040 arg3 = static_cast< int >(val3);
39041 ecode4 = SWIG_AsVal_int(obj3, &val4);
39042 if (!SWIG_IsOK(ecode4)) {
39043 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39044 }
39045 arg4 = static_cast< int >(val4);
39046 ecode5 = SWIG_AsVal_int(obj4, &val5);
39047 if (!SWIG_IsOK(ecode5)) {
39048 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39049 }
39050 arg5 = static_cast< int >(val5);
39051 if (obj5) {
39052 ecode6 = SWIG_AsVal_int(obj5, &val6);
39053 if (!SWIG_IsOK(ecode6)) {
39054 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39055 }
39056 arg6 = static_cast< int >(val6);
39057 }
39058 {
39059 PyThreadState* __tstate = wxPyBeginAllowThreads();
39060 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
39061 wxPyEndAllowThreads(__tstate);
39062 if (PyErr_Occurred()) SWIG_fail;
39063 }
39064 resultobj = SWIG_Py_Void();
39065 return resultobj;
39066 fail:
39067 return NULL;
39068 }
39069
39070
39071 SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39072 PyObject *resultobj = 0;
39073 wxPyControl *arg1 = (wxPyControl *) 0 ;
39074 int arg2 ;
39075 int arg3 ;
39076 void *argp1 = 0 ;
39077 int res1 = 0 ;
39078 int val2 ;
39079 int ecode2 = 0 ;
39080 int val3 ;
39081 int ecode3 = 0 ;
39082 PyObject * obj0 = 0 ;
39083 PyObject * obj1 = 0 ;
39084 PyObject * obj2 = 0 ;
39085 char * kwnames[] = {
39086 (char *) "self",(char *) "width",(char *) "height", NULL
39087 };
39088
39089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39091 if (!SWIG_IsOK(res1)) {
39092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39093 }
39094 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39095 ecode2 = SWIG_AsVal_int(obj1, &val2);
39096 if (!SWIG_IsOK(ecode2)) {
39097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39098 }
39099 arg2 = static_cast< int >(val2);
39100 ecode3 = SWIG_AsVal_int(obj2, &val3);
39101 if (!SWIG_IsOK(ecode3)) {
39102 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39103 }
39104 arg3 = static_cast< int >(val3);
39105 {
39106 PyThreadState* __tstate = wxPyBeginAllowThreads();
39107 (arg1)->DoSetClientSize(arg2,arg3);
39108 wxPyEndAllowThreads(__tstate);
39109 if (PyErr_Occurred()) SWIG_fail;
39110 }
39111 resultobj = SWIG_Py_Void();
39112 return resultobj;
39113 fail:
39114 return NULL;
39115 }
39116
39117
39118 SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39119 PyObject *resultobj = 0;
39120 wxPyControl *arg1 = (wxPyControl *) 0 ;
39121 int arg2 ;
39122 int arg3 ;
39123 void *argp1 = 0 ;
39124 int res1 = 0 ;
39125 int val2 ;
39126 int ecode2 = 0 ;
39127 int val3 ;
39128 int ecode3 = 0 ;
39129 PyObject * obj0 = 0 ;
39130 PyObject * obj1 = 0 ;
39131 PyObject * obj2 = 0 ;
39132 char * kwnames[] = {
39133 (char *) "self",(char *) "x",(char *) "y", NULL
39134 };
39135
39136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39138 if (!SWIG_IsOK(res1)) {
39139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39140 }
39141 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39142 ecode2 = SWIG_AsVal_int(obj1, &val2);
39143 if (!SWIG_IsOK(ecode2)) {
39144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39145 }
39146 arg2 = static_cast< int >(val2);
39147 ecode3 = SWIG_AsVal_int(obj2, &val3);
39148 if (!SWIG_IsOK(ecode3)) {
39149 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39150 }
39151 arg3 = static_cast< int >(val3);
39152 {
39153 PyThreadState* __tstate = wxPyBeginAllowThreads();
39154 (arg1)->DoSetVirtualSize(arg2,arg3);
39155 wxPyEndAllowThreads(__tstate);
39156 if (PyErr_Occurred()) SWIG_fail;
39157 }
39158 resultobj = SWIG_Py_Void();
39159 return resultobj;
39160 fail:
39161 return NULL;
39162 }
39163
39164
39165 SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39166 PyObject *resultobj = 0;
39167 wxPyControl *arg1 = (wxPyControl *) 0 ;
39168 int *arg2 = (int *) 0 ;
39169 int *arg3 = (int *) 0 ;
39170 void *argp1 = 0 ;
39171 int res1 = 0 ;
39172 int temp2 ;
39173 int res2 = SWIG_TMPOBJ ;
39174 int temp3 ;
39175 int res3 = SWIG_TMPOBJ ;
39176 PyObject *swig_obj[1] ;
39177
39178 arg2 = &temp2;
39179 arg3 = &temp3;
39180 if (!args) SWIG_fail;
39181 swig_obj[0] = args;
39182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39183 if (!SWIG_IsOK(res1)) {
39184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39185 }
39186 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39187 {
39188 PyThreadState* __tstate = wxPyBeginAllowThreads();
39189 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39190 wxPyEndAllowThreads(__tstate);
39191 if (PyErr_Occurred()) SWIG_fail;
39192 }
39193 resultobj = SWIG_Py_Void();
39194 if (SWIG_IsTmpObj(res2)) {
39195 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39196 } else {
39197 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39198 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39199 }
39200 if (SWIG_IsTmpObj(res3)) {
39201 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39202 } else {
39203 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39204 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39205 }
39206 return resultobj;
39207 fail:
39208 return NULL;
39209 }
39210
39211
39212 SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39213 PyObject *resultobj = 0;
39214 wxPyControl *arg1 = (wxPyControl *) 0 ;
39215 int *arg2 = (int *) 0 ;
39216 int *arg3 = (int *) 0 ;
39217 void *argp1 = 0 ;
39218 int res1 = 0 ;
39219 int temp2 ;
39220 int res2 = SWIG_TMPOBJ ;
39221 int temp3 ;
39222 int res3 = SWIG_TMPOBJ ;
39223 PyObject *swig_obj[1] ;
39224
39225 arg2 = &temp2;
39226 arg3 = &temp3;
39227 if (!args) SWIG_fail;
39228 swig_obj[0] = args;
39229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39230 if (!SWIG_IsOK(res1)) {
39231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39232 }
39233 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39234 {
39235 PyThreadState* __tstate = wxPyBeginAllowThreads();
39236 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39237 wxPyEndAllowThreads(__tstate);
39238 if (PyErr_Occurred()) SWIG_fail;
39239 }
39240 resultobj = SWIG_Py_Void();
39241 if (SWIG_IsTmpObj(res2)) {
39242 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39243 } else {
39244 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39245 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39246 }
39247 if (SWIG_IsTmpObj(res3)) {
39248 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39249 } else {
39250 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39251 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39252 }
39253 return resultobj;
39254 fail:
39255 return NULL;
39256 }
39257
39258
39259 SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39260 PyObject *resultobj = 0;
39261 wxPyControl *arg1 = (wxPyControl *) 0 ;
39262 int *arg2 = (int *) 0 ;
39263 int *arg3 = (int *) 0 ;
39264 void *argp1 = 0 ;
39265 int res1 = 0 ;
39266 int temp2 ;
39267 int res2 = SWIG_TMPOBJ ;
39268 int temp3 ;
39269 int res3 = SWIG_TMPOBJ ;
39270 PyObject *swig_obj[1] ;
39271
39272 arg2 = &temp2;
39273 arg3 = &temp3;
39274 if (!args) SWIG_fail;
39275 swig_obj[0] = args;
39276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39277 if (!SWIG_IsOK(res1)) {
39278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39279 }
39280 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39281 {
39282 PyThreadState* __tstate = wxPyBeginAllowThreads();
39283 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39284 wxPyEndAllowThreads(__tstate);
39285 if (PyErr_Occurred()) SWIG_fail;
39286 }
39287 resultobj = SWIG_Py_Void();
39288 if (SWIG_IsTmpObj(res2)) {
39289 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39290 } else {
39291 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39292 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39293 }
39294 if (SWIG_IsTmpObj(res3)) {
39295 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39296 } else {
39297 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39298 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39299 }
39300 return resultobj;
39301 fail:
39302 return NULL;
39303 }
39304
39305
39306 SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39307 PyObject *resultobj = 0;
39308 wxPyControl *arg1 = (wxPyControl *) 0 ;
39309 wxSize result;
39310 void *argp1 = 0 ;
39311 int res1 = 0 ;
39312 PyObject *swig_obj[1] ;
39313
39314 if (!args) SWIG_fail;
39315 swig_obj[0] = args;
39316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39317 if (!SWIG_IsOK(res1)) {
39318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39319 }
39320 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39321 {
39322 PyThreadState* __tstate = wxPyBeginAllowThreads();
39323 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39324 wxPyEndAllowThreads(__tstate);
39325 if (PyErr_Occurred()) SWIG_fail;
39326 }
39327 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39328 return resultobj;
39329 fail:
39330 return NULL;
39331 }
39332
39333
39334 SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39335 PyObject *resultobj = 0;
39336 wxPyControl *arg1 = (wxPyControl *) 0 ;
39337 wxSize result;
39338 void *argp1 = 0 ;
39339 int res1 = 0 ;
39340 PyObject *swig_obj[1] ;
39341
39342 if (!args) SWIG_fail;
39343 swig_obj[0] = args;
39344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39345 if (!SWIG_IsOK(res1)) {
39346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39347 }
39348 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39349 {
39350 PyThreadState* __tstate = wxPyBeginAllowThreads();
39351 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39352 wxPyEndAllowThreads(__tstate);
39353 if (PyErr_Occurred()) SWIG_fail;
39354 }
39355 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39356 return resultobj;
39357 fail:
39358 return NULL;
39359 }
39360
39361
39362 SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39363 PyObject *resultobj = 0;
39364 wxPyControl *arg1 = (wxPyControl *) 0 ;
39365 SwigValueWrapper<wxVisualAttributes > result;
39366 void *argp1 = 0 ;
39367 int res1 = 0 ;
39368 PyObject *swig_obj[1] ;
39369
39370 if (!args) SWIG_fail;
39371 swig_obj[0] = args;
39372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39373 if (!SWIG_IsOK(res1)) {
39374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39375 }
39376 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39377 {
39378 PyThreadState* __tstate = wxPyBeginAllowThreads();
39379 result = (arg1)->GetDefaultAttributes();
39380 wxPyEndAllowThreads(__tstate);
39381 if (PyErr_Occurred()) SWIG_fail;
39382 }
39383 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39384 return resultobj;
39385 fail:
39386 return NULL;
39387 }
39388
39389
39390 SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39391 PyObject *resultobj = 0;
39392 wxPyControl *arg1 = (wxPyControl *) 0 ;
39393 void *argp1 = 0 ;
39394 int res1 = 0 ;
39395 PyObject *swig_obj[1] ;
39396
39397 if (!args) SWIG_fail;
39398 swig_obj[0] = args;
39399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39400 if (!SWIG_IsOK(res1)) {
39401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39402 }
39403 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39404 {
39405 PyThreadState* __tstate = wxPyBeginAllowThreads();
39406 (arg1)->OnInternalIdle();
39407 wxPyEndAllowThreads(__tstate);
39408 if (PyErr_Occurred()) SWIG_fail;
39409 }
39410 resultobj = SWIG_Py_Void();
39411 return resultobj;
39412 fail:
39413 return NULL;
39414 }
39415
39416
39417 SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39418 PyObject *obj;
39419 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39420 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39421 return SWIG_Py_Void();
39422 }
39423
39424 SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39425 return SWIG_Python_InitShadowInstance(args);
39426 }
39427
39428 SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39429 PyObject *resultobj = 0;
39430 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39431 int arg2 = (int) 0 ;
39432 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39433 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39434 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
39435 wxHelpEvent *result = 0 ;
39436 int val1 ;
39437 int ecode1 = 0 ;
39438 int val2 ;
39439 int ecode2 = 0 ;
39440 wxPoint temp3 ;
39441 int val4 ;
39442 int ecode4 = 0 ;
39443 PyObject * obj0 = 0 ;
39444 PyObject * obj1 = 0 ;
39445 PyObject * obj2 = 0 ;
39446 PyObject * obj3 = 0 ;
39447 char * kwnames[] = {
39448 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39449 };
39450
39451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
39452 if (obj0) {
39453 ecode1 = SWIG_AsVal_int(obj0, &val1);
39454 if (!SWIG_IsOK(ecode1)) {
39455 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39456 }
39457 arg1 = static_cast< wxEventType >(val1);
39458 }
39459 if (obj1) {
39460 ecode2 = SWIG_AsVal_int(obj1, &val2);
39461 if (!SWIG_IsOK(ecode2)) {
39462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39463 }
39464 arg2 = static_cast< int >(val2);
39465 }
39466 if (obj2) {
39467 {
39468 arg3 = &temp3;
39469 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39470 }
39471 }
39472 if (obj3) {
39473 ecode4 = SWIG_AsVal_int(obj3, &val4);
39474 if (!SWIG_IsOK(ecode4)) {
39475 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39476 }
39477 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39478 }
39479 {
39480 PyThreadState* __tstate = wxPyBeginAllowThreads();
39481 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
39482 wxPyEndAllowThreads(__tstate);
39483 if (PyErr_Occurred()) SWIG_fail;
39484 }
39485 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39486 return resultobj;
39487 fail:
39488 return NULL;
39489 }
39490
39491
39492 SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39493 PyObject *resultobj = 0;
39494 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39495 wxPoint result;
39496 void *argp1 = 0 ;
39497 int res1 = 0 ;
39498 PyObject *swig_obj[1] ;
39499
39500 if (!args) SWIG_fail;
39501 swig_obj[0] = args;
39502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39503 if (!SWIG_IsOK(res1)) {
39504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39505 }
39506 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39507 {
39508 PyThreadState* __tstate = wxPyBeginAllowThreads();
39509 result = ((wxHelpEvent const *)arg1)->GetPosition();
39510 wxPyEndAllowThreads(__tstate);
39511 if (PyErr_Occurred()) SWIG_fail;
39512 }
39513 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39514 return resultobj;
39515 fail:
39516 return NULL;
39517 }
39518
39519
39520 SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39521 PyObject *resultobj = 0;
39522 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39523 wxPoint *arg2 = 0 ;
39524 void *argp1 = 0 ;
39525 int res1 = 0 ;
39526 wxPoint temp2 ;
39527 PyObject * obj0 = 0 ;
39528 PyObject * obj1 = 0 ;
39529 char * kwnames[] = {
39530 (char *) "self",(char *) "pos", NULL
39531 };
39532
39533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39535 if (!SWIG_IsOK(res1)) {
39536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39537 }
39538 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39539 {
39540 arg2 = &temp2;
39541 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39542 }
39543 {
39544 PyThreadState* __tstate = wxPyBeginAllowThreads();
39545 (arg1)->SetPosition((wxPoint const &)*arg2);
39546 wxPyEndAllowThreads(__tstate);
39547 if (PyErr_Occurred()) SWIG_fail;
39548 }
39549 resultobj = SWIG_Py_Void();
39550 return resultobj;
39551 fail:
39552 return NULL;
39553 }
39554
39555
39556 SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39557 PyObject *resultobj = 0;
39558 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39559 wxString *result = 0 ;
39560 void *argp1 = 0 ;
39561 int res1 = 0 ;
39562 PyObject *swig_obj[1] ;
39563
39564 if (!args) SWIG_fail;
39565 swig_obj[0] = args;
39566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39567 if (!SWIG_IsOK(res1)) {
39568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39569 }
39570 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39571 {
39572 PyThreadState* __tstate = wxPyBeginAllowThreads();
39573 {
39574 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39575 result = (wxString *) &_result_ref;
39576 }
39577 wxPyEndAllowThreads(__tstate);
39578 if (PyErr_Occurred()) SWIG_fail;
39579 }
39580 {
39581 #if wxUSE_UNICODE
39582 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39583 #else
39584 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39585 #endif
39586 }
39587 return resultobj;
39588 fail:
39589 return NULL;
39590 }
39591
39592
39593 SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39594 PyObject *resultobj = 0;
39595 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39596 wxString *arg2 = 0 ;
39597 void *argp1 = 0 ;
39598 int res1 = 0 ;
39599 bool temp2 = false ;
39600 PyObject * obj0 = 0 ;
39601 PyObject * obj1 = 0 ;
39602 char * kwnames[] = {
39603 (char *) "self",(char *) "link", NULL
39604 };
39605
39606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39608 if (!SWIG_IsOK(res1)) {
39609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39610 }
39611 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39612 {
39613 arg2 = wxString_in_helper(obj1);
39614 if (arg2 == NULL) SWIG_fail;
39615 temp2 = true;
39616 }
39617 {
39618 PyThreadState* __tstate = wxPyBeginAllowThreads();
39619 (arg1)->SetLink((wxString const &)*arg2);
39620 wxPyEndAllowThreads(__tstate);
39621 if (PyErr_Occurred()) SWIG_fail;
39622 }
39623 resultobj = SWIG_Py_Void();
39624 {
39625 if (temp2)
39626 delete arg2;
39627 }
39628 return resultobj;
39629 fail:
39630 {
39631 if (temp2)
39632 delete arg2;
39633 }
39634 return NULL;
39635 }
39636
39637
39638 SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39639 PyObject *resultobj = 0;
39640 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39641 wxString *result = 0 ;
39642 void *argp1 = 0 ;
39643 int res1 = 0 ;
39644 PyObject *swig_obj[1] ;
39645
39646 if (!args) SWIG_fail;
39647 swig_obj[0] = args;
39648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39649 if (!SWIG_IsOK(res1)) {
39650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39651 }
39652 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39653 {
39654 PyThreadState* __tstate = wxPyBeginAllowThreads();
39655 {
39656 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39657 result = (wxString *) &_result_ref;
39658 }
39659 wxPyEndAllowThreads(__tstate);
39660 if (PyErr_Occurred()) SWIG_fail;
39661 }
39662 {
39663 #if wxUSE_UNICODE
39664 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39665 #else
39666 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39667 #endif
39668 }
39669 return resultobj;
39670 fail:
39671 return NULL;
39672 }
39673
39674
39675 SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39676 PyObject *resultobj = 0;
39677 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39678 wxString *arg2 = 0 ;
39679 void *argp1 = 0 ;
39680 int res1 = 0 ;
39681 bool temp2 = false ;
39682 PyObject * obj0 = 0 ;
39683 PyObject * obj1 = 0 ;
39684 char * kwnames[] = {
39685 (char *) "self",(char *) "target", NULL
39686 };
39687
39688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39690 if (!SWIG_IsOK(res1)) {
39691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39692 }
39693 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39694 {
39695 arg2 = wxString_in_helper(obj1);
39696 if (arg2 == NULL) SWIG_fail;
39697 temp2 = true;
39698 }
39699 {
39700 PyThreadState* __tstate = wxPyBeginAllowThreads();
39701 (arg1)->SetTarget((wxString const &)*arg2);
39702 wxPyEndAllowThreads(__tstate);
39703 if (PyErr_Occurred()) SWIG_fail;
39704 }
39705 resultobj = SWIG_Py_Void();
39706 {
39707 if (temp2)
39708 delete arg2;
39709 }
39710 return resultobj;
39711 fail:
39712 {
39713 if (temp2)
39714 delete arg2;
39715 }
39716 return NULL;
39717 }
39718
39719
39720 SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39721 PyObject *resultobj = 0;
39722 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39723 wxHelpEvent::Origin result;
39724 void *argp1 = 0 ;
39725 int res1 = 0 ;
39726 PyObject *swig_obj[1] ;
39727
39728 if (!args) SWIG_fail;
39729 swig_obj[0] = args;
39730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39731 if (!SWIG_IsOK(res1)) {
39732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39733 }
39734 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39735 {
39736 PyThreadState* __tstate = wxPyBeginAllowThreads();
39737 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39738 wxPyEndAllowThreads(__tstate);
39739 if (PyErr_Occurred()) SWIG_fail;
39740 }
39741 resultobj = SWIG_From_int(static_cast< int >(result));
39742 return resultobj;
39743 fail:
39744 return NULL;
39745 }
39746
39747
39748 SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39749 PyObject *resultobj = 0;
39750 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39751 wxHelpEvent::Origin arg2 ;
39752 void *argp1 = 0 ;
39753 int res1 = 0 ;
39754 int val2 ;
39755 int ecode2 = 0 ;
39756 PyObject * obj0 = 0 ;
39757 PyObject * obj1 = 0 ;
39758 char * kwnames[] = {
39759 (char *) "self",(char *) "origin", NULL
39760 };
39761
39762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39764 if (!SWIG_IsOK(res1)) {
39765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39766 }
39767 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39768 ecode2 = SWIG_AsVal_int(obj1, &val2);
39769 if (!SWIG_IsOK(ecode2)) {
39770 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39771 }
39772 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39773 {
39774 PyThreadState* __tstate = wxPyBeginAllowThreads();
39775 (arg1)->SetOrigin(arg2);
39776 wxPyEndAllowThreads(__tstate);
39777 if (PyErr_Occurred()) SWIG_fail;
39778 }
39779 resultobj = SWIG_Py_Void();
39780 return resultobj;
39781 fail:
39782 return NULL;
39783 }
39784
39785
39786 SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39787 PyObject *obj;
39788 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39789 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
39790 return SWIG_Py_Void();
39791 }
39792
39793 SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39794 return SWIG_Python_InitShadowInstance(args);
39795 }
39796
39797 SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39798 PyObject *resultobj = 0;
39799 wxWindow *arg1 = (wxWindow *) NULL ;
39800 bool arg2 = (bool) true ;
39801 wxContextHelp *result = 0 ;
39802 void *argp1 = 0 ;
39803 int res1 = 0 ;
39804 bool val2 ;
39805 int ecode2 = 0 ;
39806 PyObject * obj0 = 0 ;
39807 PyObject * obj1 = 0 ;
39808 char * kwnames[] = {
39809 (char *) "window",(char *) "doNow", NULL
39810 };
39811
39812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39813 if (obj0) {
39814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39815 if (!SWIG_IsOK(res1)) {
39816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39817 }
39818 arg1 = reinterpret_cast< wxWindow * >(argp1);
39819 }
39820 if (obj1) {
39821 ecode2 = SWIG_AsVal_bool(obj1, &val2);
39822 if (!SWIG_IsOK(ecode2)) {
39823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39824 }
39825 arg2 = static_cast< bool >(val2);
39826 }
39827 {
39828 if (!wxPyCheckForApp()) SWIG_fail;
39829 PyThreadState* __tstate = wxPyBeginAllowThreads();
39830 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
39831 wxPyEndAllowThreads(__tstate);
39832 if (PyErr_Occurred()) SWIG_fail;
39833 }
39834 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
39835 return resultobj;
39836 fail:
39837 return NULL;
39838 }
39839
39840
39841 SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39842 PyObject *resultobj = 0;
39843 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39844 void *argp1 = 0 ;
39845 int res1 = 0 ;
39846 PyObject *swig_obj[1] ;
39847
39848 if (!args) SWIG_fail;
39849 swig_obj[0] = args;
39850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
39851 if (!SWIG_IsOK(res1)) {
39852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39853 }
39854 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39855 {
39856 PyThreadState* __tstate = wxPyBeginAllowThreads();
39857 delete arg1;
39858
39859 wxPyEndAllowThreads(__tstate);
39860 if (PyErr_Occurred()) SWIG_fail;
39861 }
39862 resultobj = SWIG_Py_Void();
39863 return resultobj;
39864 fail:
39865 return NULL;
39866 }
39867
39868
39869 SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39870 PyObject *resultobj = 0;
39871 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39872 wxWindow *arg2 = (wxWindow *) NULL ;
39873 bool result;
39874 void *argp1 = 0 ;
39875 int res1 = 0 ;
39876 void *argp2 = 0 ;
39877 int res2 = 0 ;
39878 PyObject * obj0 = 0 ;
39879 PyObject * obj1 = 0 ;
39880 char * kwnames[] = {
39881 (char *) "self",(char *) "window", NULL
39882 };
39883
39884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39886 if (!SWIG_IsOK(res1)) {
39887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39888 }
39889 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39890 if (obj1) {
39891 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39892 if (!SWIG_IsOK(res2)) {
39893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39894 }
39895 arg2 = reinterpret_cast< wxWindow * >(argp2);
39896 }
39897 {
39898 PyThreadState* __tstate = wxPyBeginAllowThreads();
39899 result = (bool)(arg1)->BeginContextHelp(arg2);
39900 wxPyEndAllowThreads(__tstate);
39901 if (PyErr_Occurred()) SWIG_fail;
39902 }
39903 {
39904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39905 }
39906 return resultobj;
39907 fail:
39908 return NULL;
39909 }
39910
39911
39912 SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39913 PyObject *resultobj = 0;
39914 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39915 bool result;
39916 void *argp1 = 0 ;
39917 int res1 = 0 ;
39918 PyObject *swig_obj[1] ;
39919
39920 if (!args) SWIG_fail;
39921 swig_obj[0] = args;
39922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39923 if (!SWIG_IsOK(res1)) {
39924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39925 }
39926 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39927 {
39928 PyThreadState* __tstate = wxPyBeginAllowThreads();
39929 result = (bool)(arg1)->EndContextHelp();
39930 wxPyEndAllowThreads(__tstate);
39931 if (PyErr_Occurred()) SWIG_fail;
39932 }
39933 {
39934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39935 }
39936 return resultobj;
39937 fail:
39938 return NULL;
39939 }
39940
39941
39942 SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39943 PyObject *obj;
39944 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39945 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
39946 return SWIG_Py_Void();
39947 }
39948
39949 SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39950 return SWIG_Python_InitShadowInstance(args);
39951 }
39952
39953 SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39954 PyObject *resultobj = 0;
39955 wxWindow *arg1 = (wxWindow *) 0 ;
39956 int arg2 = (int) wxID_CONTEXT_HELP ;
39957 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39958 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39959 wxSize const &arg4_defvalue = wxDefaultSize ;
39960 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
39961 long arg5 = (long) wxBU_AUTODRAW ;
39962 wxContextHelpButton *result = 0 ;
39963 void *argp1 = 0 ;
39964 int res1 = 0 ;
39965 int val2 ;
39966 int ecode2 = 0 ;
39967 wxPoint temp3 ;
39968 wxSize temp4 ;
39969 long val5 ;
39970 int ecode5 = 0 ;
39971 PyObject * obj0 = 0 ;
39972 PyObject * obj1 = 0 ;
39973 PyObject * obj2 = 0 ;
39974 PyObject * obj3 = 0 ;
39975 PyObject * obj4 = 0 ;
39976 char * kwnames[] = {
39977 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39978 };
39979
39980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39982 if (!SWIG_IsOK(res1)) {
39983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39984 }
39985 arg1 = reinterpret_cast< wxWindow * >(argp1);
39986 if (obj1) {
39987 ecode2 = SWIG_AsVal_int(obj1, &val2);
39988 if (!SWIG_IsOK(ecode2)) {
39989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39990 }
39991 arg2 = static_cast< int >(val2);
39992 }
39993 if (obj2) {
39994 {
39995 arg3 = &temp3;
39996 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39997 }
39998 }
39999 if (obj3) {
40000 {
40001 arg4 = &temp4;
40002 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
40003 }
40004 }
40005 if (obj4) {
40006 ecode5 = SWIG_AsVal_long(obj4, &val5);
40007 if (!SWIG_IsOK(ecode5)) {
40008 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40009 }
40010 arg5 = static_cast< long >(val5);
40011 }
40012 {
40013 if (!wxPyCheckForApp()) SWIG_fail;
40014 PyThreadState* __tstate = wxPyBeginAllowThreads();
40015 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
40016 wxPyEndAllowThreads(__tstate);
40017 if (PyErr_Occurred()) SWIG_fail;
40018 }
40019 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
40020 return resultobj;
40021 fail:
40022 return NULL;
40023 }
40024
40025
40026 SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40027 PyObject *obj;
40028 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40029 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
40030 return SWIG_Py_Void();
40031 }
40032
40033 SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40034 return SWIG_Python_InitShadowInstance(args);
40035 }
40036
40037 SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40038 PyObject *resultobj = 0;
40039 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40040 void *argp1 = 0 ;
40041 int res1 = 0 ;
40042 PyObject *swig_obj[1] ;
40043
40044 if (!args) SWIG_fail;
40045 swig_obj[0] = args;
40046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40047 if (!SWIG_IsOK(res1)) {
40048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40049 }
40050 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40051 {
40052 PyThreadState* __tstate = wxPyBeginAllowThreads();
40053 delete arg1;
40054
40055 wxPyEndAllowThreads(__tstate);
40056 if (PyErr_Occurred()) SWIG_fail;
40057 }
40058 resultobj = SWIG_Py_Void();
40059 return resultobj;
40060 fail:
40061 return NULL;
40062 }
40063
40064
40065 SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40066 PyObject *resultobj = 0;
40067 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40068 wxHelpProvider *result = 0 ;
40069 int res1 = 0 ;
40070 PyObject * obj0 = 0 ;
40071 char * kwnames[] = {
40072 (char *) "helpProvider", NULL
40073 };
40074
40075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
40076 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40077 if (!SWIG_IsOK(res1)) {
40078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40079 }
40080 {
40081 PyThreadState* __tstate = wxPyBeginAllowThreads();
40082 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40083 wxPyEndAllowThreads(__tstate);
40084 if (PyErr_Occurred()) SWIG_fail;
40085 }
40086 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40087 return resultobj;
40088 fail:
40089 return NULL;
40090 }
40091
40092
40093 SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40094 PyObject *resultobj = 0;
40095 wxHelpProvider *result = 0 ;
40096
40097 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40098 {
40099 PyThreadState* __tstate = wxPyBeginAllowThreads();
40100 result = (wxHelpProvider *)wxHelpProvider::Get();
40101 wxPyEndAllowThreads(__tstate);
40102 if (PyErr_Occurred()) SWIG_fail;
40103 }
40104 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40105 return resultobj;
40106 fail:
40107 return NULL;
40108 }
40109
40110
40111 SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40112 PyObject *resultobj = 0;
40113 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40114 wxWindow *arg2 = (wxWindow *) 0 ;
40115 wxString result;
40116 void *argp1 = 0 ;
40117 int res1 = 0 ;
40118 void *argp2 = 0 ;
40119 int res2 = 0 ;
40120 PyObject * obj0 = 0 ;
40121 PyObject * obj1 = 0 ;
40122 char * kwnames[] = {
40123 (char *) "self",(char *) "window", NULL
40124 };
40125
40126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40128 if (!SWIG_IsOK(res1)) {
40129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40130 }
40131 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40132 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40133 if (!SWIG_IsOK(res2)) {
40134 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40135 }
40136 arg2 = reinterpret_cast< wxWindow * >(argp2);
40137 {
40138 PyThreadState* __tstate = wxPyBeginAllowThreads();
40139 result = (arg1)->GetHelp((wxWindow const *)arg2);
40140 wxPyEndAllowThreads(__tstate);
40141 if (PyErr_Occurred()) SWIG_fail;
40142 }
40143 {
40144 #if wxUSE_UNICODE
40145 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40146 #else
40147 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40148 #endif
40149 }
40150 return resultobj;
40151 fail:
40152 return NULL;
40153 }
40154
40155
40156 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40157 PyObject *resultobj = 0;
40158 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40159 wxWindow *arg2 = (wxWindow *) 0 ;
40160 bool result;
40161 void *argp1 = 0 ;
40162 int res1 = 0 ;
40163 void *argp2 = 0 ;
40164 int res2 = 0 ;
40165 PyObject * obj0 = 0 ;
40166 PyObject * obj1 = 0 ;
40167 char * kwnames[] = {
40168 (char *) "self",(char *) "window", NULL
40169 };
40170
40171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40173 if (!SWIG_IsOK(res1)) {
40174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40175 }
40176 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40177 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40178 if (!SWIG_IsOK(res2)) {
40179 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40180 }
40181 arg2 = reinterpret_cast< wxWindow * >(argp2);
40182 {
40183 PyThreadState* __tstate = wxPyBeginAllowThreads();
40184 result = (bool)(arg1)->ShowHelp(arg2);
40185 wxPyEndAllowThreads(__tstate);
40186 if (PyErr_Occurred()) SWIG_fail;
40187 }
40188 {
40189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40190 }
40191 return resultobj;
40192 fail:
40193 return NULL;
40194 }
40195
40196
40197 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40198 PyObject *resultobj = 0;
40199 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40200 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40201 wxPoint *arg3 = 0 ;
40202 wxHelpEvent::Origin arg4 ;
40203 bool result;
40204 void *argp1 = 0 ;
40205 int res1 = 0 ;
40206 void *argp2 = 0 ;
40207 int res2 = 0 ;
40208 wxPoint temp3 ;
40209 int val4 ;
40210 int ecode4 = 0 ;
40211 PyObject * obj0 = 0 ;
40212 PyObject * obj1 = 0 ;
40213 PyObject * obj2 = 0 ;
40214 PyObject * obj3 = 0 ;
40215 char * kwnames[] = {
40216 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40217 };
40218
40219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40221 if (!SWIG_IsOK(res1)) {
40222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40223 }
40224 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40225 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40226 if (!SWIG_IsOK(res2)) {
40227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40228 }
40229 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40230 {
40231 arg3 = &temp3;
40232 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40233 }
40234 ecode4 = SWIG_AsVal_int(obj3, &val4);
40235 if (!SWIG_IsOK(ecode4)) {
40236 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40237 }
40238 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40239 {
40240 PyThreadState* __tstate = wxPyBeginAllowThreads();
40241 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40242 wxPyEndAllowThreads(__tstate);
40243 if (PyErr_Occurred()) SWIG_fail;
40244 }
40245 {
40246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40247 }
40248 return resultobj;
40249 fail:
40250 return NULL;
40251 }
40252
40253
40254 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40255 PyObject *resultobj = 0;
40256 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40257 wxWindow *arg2 = (wxWindow *) 0 ;
40258 wxString *arg3 = 0 ;
40259 void *argp1 = 0 ;
40260 int res1 = 0 ;
40261 void *argp2 = 0 ;
40262 int res2 = 0 ;
40263 bool temp3 = false ;
40264 PyObject * obj0 = 0 ;
40265 PyObject * obj1 = 0 ;
40266 PyObject * obj2 = 0 ;
40267 char * kwnames[] = {
40268 (char *) "self",(char *) "window",(char *) "text", NULL
40269 };
40270
40271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40273 if (!SWIG_IsOK(res1)) {
40274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40275 }
40276 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40277 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40278 if (!SWIG_IsOK(res2)) {
40279 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40280 }
40281 arg2 = reinterpret_cast< wxWindow * >(argp2);
40282 {
40283 arg3 = wxString_in_helper(obj2);
40284 if (arg3 == NULL) SWIG_fail;
40285 temp3 = true;
40286 }
40287 {
40288 PyThreadState* __tstate = wxPyBeginAllowThreads();
40289 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40290 wxPyEndAllowThreads(__tstate);
40291 if (PyErr_Occurred()) SWIG_fail;
40292 }
40293 resultobj = SWIG_Py_Void();
40294 {
40295 if (temp3)
40296 delete arg3;
40297 }
40298 return resultobj;
40299 fail:
40300 {
40301 if (temp3)
40302 delete arg3;
40303 }
40304 return NULL;
40305 }
40306
40307
40308 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40309 PyObject *resultobj = 0;
40310 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40311 int arg2 ;
40312 wxString *arg3 = 0 ;
40313 void *argp1 = 0 ;
40314 int res1 = 0 ;
40315 int val2 ;
40316 int ecode2 = 0 ;
40317 bool temp3 = false ;
40318 PyObject * obj0 = 0 ;
40319 PyObject * obj1 = 0 ;
40320 PyObject * obj2 = 0 ;
40321 char * kwnames[] = {
40322 (char *) "self",(char *) "id",(char *) "text", NULL
40323 };
40324
40325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40327 if (!SWIG_IsOK(res1)) {
40328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40329 }
40330 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40331 ecode2 = SWIG_AsVal_int(obj1, &val2);
40332 if (!SWIG_IsOK(ecode2)) {
40333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40334 }
40335 arg2 = static_cast< int >(val2);
40336 {
40337 arg3 = wxString_in_helper(obj2);
40338 if (arg3 == NULL) SWIG_fail;
40339 temp3 = true;
40340 }
40341 {
40342 PyThreadState* __tstate = wxPyBeginAllowThreads();
40343 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40344 wxPyEndAllowThreads(__tstate);
40345 if (PyErr_Occurred()) SWIG_fail;
40346 }
40347 resultobj = SWIG_Py_Void();
40348 {
40349 if (temp3)
40350 delete arg3;
40351 }
40352 return resultobj;
40353 fail:
40354 {
40355 if (temp3)
40356 delete arg3;
40357 }
40358 return NULL;
40359 }
40360
40361
40362 SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40363 PyObject *resultobj = 0;
40364 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40365 wxWindow *arg2 = (wxWindow *) 0 ;
40366 void *argp1 = 0 ;
40367 int res1 = 0 ;
40368 void *argp2 = 0 ;
40369 int res2 = 0 ;
40370 PyObject * obj0 = 0 ;
40371 PyObject * obj1 = 0 ;
40372 char * kwnames[] = {
40373 (char *) "self",(char *) "window", NULL
40374 };
40375
40376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40378 if (!SWIG_IsOK(res1)) {
40379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40380 }
40381 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40382 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40383 if (!SWIG_IsOK(res2)) {
40384 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40385 }
40386 arg2 = reinterpret_cast< wxWindow * >(argp2);
40387 {
40388 PyThreadState* __tstate = wxPyBeginAllowThreads();
40389 (arg1)->RemoveHelp(arg2);
40390 wxPyEndAllowThreads(__tstate);
40391 if (PyErr_Occurred()) SWIG_fail;
40392 }
40393 resultobj = SWIG_Py_Void();
40394 return resultobj;
40395 fail:
40396 return NULL;
40397 }
40398
40399
40400 SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40401 PyObject *resultobj = 0;
40402 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40403 void *argp1 = 0 ;
40404 int res1 = 0 ;
40405 PyObject *swig_obj[1] ;
40406
40407 if (!args) SWIG_fail;
40408 swig_obj[0] = args;
40409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40410 if (!SWIG_IsOK(res1)) {
40411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40412 }
40413 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40414 {
40415 PyThreadState* __tstate = wxPyBeginAllowThreads();
40416 wxHelpProvider_Destroy(arg1);
40417 wxPyEndAllowThreads(__tstate);
40418 if (PyErr_Occurred()) SWIG_fail;
40419 }
40420 resultobj = SWIG_Py_Void();
40421 return resultobj;
40422 fail:
40423 return NULL;
40424 }
40425
40426
40427 SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40428 PyObject *obj;
40429 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40430 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40431 return SWIG_Py_Void();
40432 }
40433
40434 SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40435 PyObject *resultobj = 0;
40436 wxSimpleHelpProvider *result = 0 ;
40437
40438 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40439 {
40440 PyThreadState* __tstate = wxPyBeginAllowThreads();
40441 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40442 wxPyEndAllowThreads(__tstate);
40443 if (PyErr_Occurred()) SWIG_fail;
40444 }
40445 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40446 return resultobj;
40447 fail:
40448 return NULL;
40449 }
40450
40451
40452 SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40453 PyObject *obj;
40454 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40455 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40456 return SWIG_Py_Void();
40457 }
40458
40459 SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40460 return SWIG_Python_InitShadowInstance(args);
40461 }
40462
40463 SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40464 PyObject *resultobj = 0;
40465 wxBitmap *arg1 = 0 ;
40466 wxCursor const &arg2_defvalue = wxNullCursor ;
40467 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40468 wxGenericDragImage *result = 0 ;
40469 void *argp1 = 0 ;
40470 int res1 = 0 ;
40471 void *argp2 = 0 ;
40472 int res2 = 0 ;
40473 PyObject * obj0 = 0 ;
40474 PyObject * obj1 = 0 ;
40475 char * kwnames[] = {
40476 (char *) "image",(char *) "cursor", NULL
40477 };
40478
40479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40480 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40481 if (!SWIG_IsOK(res1)) {
40482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40483 }
40484 if (!argp1) {
40485 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40486 }
40487 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40488 if (obj1) {
40489 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40490 if (!SWIG_IsOK(res2)) {
40491 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40492 }
40493 if (!argp2) {
40494 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40495 }
40496 arg2 = reinterpret_cast< wxCursor * >(argp2);
40497 }
40498 {
40499 if (!wxPyCheckForApp()) SWIG_fail;
40500 PyThreadState* __tstate = wxPyBeginAllowThreads();
40501 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40502 wxPyEndAllowThreads(__tstate);
40503 if (PyErr_Occurred()) SWIG_fail;
40504 }
40505 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40506 return resultobj;
40507 fail:
40508 return NULL;
40509 }
40510
40511
40512 SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40513 PyObject *resultobj = 0;
40514 wxIcon *arg1 = 0 ;
40515 wxCursor const &arg2_defvalue = wxNullCursor ;
40516 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40517 wxGenericDragImage *result = 0 ;
40518 void *argp1 = 0 ;
40519 int res1 = 0 ;
40520 void *argp2 = 0 ;
40521 int res2 = 0 ;
40522 PyObject * obj0 = 0 ;
40523 PyObject * obj1 = 0 ;
40524 char * kwnames[] = {
40525 (char *) "image",(char *) "cursor", NULL
40526 };
40527
40528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40529 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40530 if (!SWIG_IsOK(res1)) {
40531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40532 }
40533 if (!argp1) {
40534 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40535 }
40536 arg1 = reinterpret_cast< wxIcon * >(argp1);
40537 if (obj1) {
40538 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40539 if (!SWIG_IsOK(res2)) {
40540 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40541 }
40542 if (!argp2) {
40543 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40544 }
40545 arg2 = reinterpret_cast< wxCursor * >(argp2);
40546 }
40547 {
40548 if (!wxPyCheckForApp()) SWIG_fail;
40549 PyThreadState* __tstate = wxPyBeginAllowThreads();
40550 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40551 wxPyEndAllowThreads(__tstate);
40552 if (PyErr_Occurred()) SWIG_fail;
40553 }
40554 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40555 return resultobj;
40556 fail:
40557 return NULL;
40558 }
40559
40560
40561 SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40562 PyObject *resultobj = 0;
40563 wxString *arg1 = 0 ;
40564 wxCursor const &arg2_defvalue = wxNullCursor ;
40565 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40566 wxGenericDragImage *result = 0 ;
40567 bool temp1 = false ;
40568 void *argp2 = 0 ;
40569 int res2 = 0 ;
40570 PyObject * obj0 = 0 ;
40571 PyObject * obj1 = 0 ;
40572 char * kwnames[] = {
40573 (char *) "str",(char *) "cursor", NULL
40574 };
40575
40576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40577 {
40578 arg1 = wxString_in_helper(obj0);
40579 if (arg1 == NULL) SWIG_fail;
40580 temp1 = true;
40581 }
40582 if (obj1) {
40583 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40584 if (!SWIG_IsOK(res2)) {
40585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40586 }
40587 if (!argp2) {
40588 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40589 }
40590 arg2 = reinterpret_cast< wxCursor * >(argp2);
40591 }
40592 {
40593 if (!wxPyCheckForApp()) SWIG_fail;
40594 PyThreadState* __tstate = wxPyBeginAllowThreads();
40595 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40596 wxPyEndAllowThreads(__tstate);
40597 if (PyErr_Occurred()) SWIG_fail;
40598 }
40599 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40600 {
40601 if (temp1)
40602 delete arg1;
40603 }
40604 return resultobj;
40605 fail:
40606 {
40607 if (temp1)
40608 delete arg1;
40609 }
40610 return NULL;
40611 }
40612
40613
40614 SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40615 PyObject *resultobj = 0;
40616 wxPyTreeCtrl *arg1 = 0 ;
40617 wxTreeItemId *arg2 = 0 ;
40618 wxGenericDragImage *result = 0 ;
40619 void *argp1 = 0 ;
40620 int res1 = 0 ;
40621 void *argp2 = 0 ;
40622 int res2 = 0 ;
40623 PyObject * obj0 = 0 ;
40624 PyObject * obj1 = 0 ;
40625 char * kwnames[] = {
40626 (char *) "treeCtrl",(char *) "id", NULL
40627 };
40628
40629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40630 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40631 if (!SWIG_IsOK(res1)) {
40632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40633 }
40634 if (!argp1) {
40635 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40636 }
40637 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40638 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40639 if (!SWIG_IsOK(res2)) {
40640 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40641 }
40642 if (!argp2) {
40643 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40644 }
40645 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40646 {
40647 if (!wxPyCheckForApp()) SWIG_fail;
40648 PyThreadState* __tstate = wxPyBeginAllowThreads();
40649 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40650 wxPyEndAllowThreads(__tstate);
40651 if (PyErr_Occurred()) SWIG_fail;
40652 }
40653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40654 return resultobj;
40655 fail:
40656 return NULL;
40657 }
40658
40659
40660 SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40661 PyObject *resultobj = 0;
40662 wxPyListCtrl *arg1 = 0 ;
40663 long arg2 ;
40664 wxGenericDragImage *result = 0 ;
40665 void *argp1 = 0 ;
40666 int res1 = 0 ;
40667 long val2 ;
40668 int ecode2 = 0 ;
40669 PyObject * obj0 = 0 ;
40670 PyObject * obj1 = 0 ;
40671 char * kwnames[] = {
40672 (char *) "listCtrl",(char *) "id", NULL
40673 };
40674
40675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40676 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40677 if (!SWIG_IsOK(res1)) {
40678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40679 }
40680 if (!argp1) {
40681 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40682 }
40683 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40684 ecode2 = SWIG_AsVal_long(obj1, &val2);
40685 if (!SWIG_IsOK(ecode2)) {
40686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40687 }
40688 arg2 = static_cast< long >(val2);
40689 {
40690 if (!wxPyCheckForApp()) SWIG_fail;
40691 PyThreadState* __tstate = wxPyBeginAllowThreads();
40692 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40693 wxPyEndAllowThreads(__tstate);
40694 if (PyErr_Occurred()) SWIG_fail;
40695 }
40696 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40697 return resultobj;
40698 fail:
40699 return NULL;
40700 }
40701
40702
40703 SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40704 PyObject *resultobj = 0;
40705 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40706 void *argp1 = 0 ;
40707 int res1 = 0 ;
40708 PyObject *swig_obj[1] ;
40709
40710 if (!args) SWIG_fail;
40711 swig_obj[0] = args;
40712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40713 if (!SWIG_IsOK(res1)) {
40714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40715 }
40716 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40717 {
40718 PyThreadState* __tstate = wxPyBeginAllowThreads();
40719 delete arg1;
40720
40721 wxPyEndAllowThreads(__tstate);
40722 if (PyErr_Occurred()) SWIG_fail;
40723 }
40724 resultobj = SWIG_Py_Void();
40725 return resultobj;
40726 fail:
40727 return NULL;
40728 }
40729
40730
40731 SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40732 PyObject *resultobj = 0;
40733 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40734 wxBitmap *arg2 = (wxBitmap *) 0 ;
40735 void *argp1 = 0 ;
40736 int res1 = 0 ;
40737 void *argp2 = 0 ;
40738 int res2 = 0 ;
40739 PyObject * obj0 = 0 ;
40740 PyObject * obj1 = 0 ;
40741 char * kwnames[] = {
40742 (char *) "self",(char *) "bitmap", NULL
40743 };
40744
40745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40747 if (!SWIG_IsOK(res1)) {
40748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40749 }
40750 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40751 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40752 if (!SWIG_IsOK(res2)) {
40753 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40754 }
40755 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40756 {
40757 PyThreadState* __tstate = wxPyBeginAllowThreads();
40758 (arg1)->SetBackingBitmap(arg2);
40759 wxPyEndAllowThreads(__tstate);
40760 if (PyErr_Occurred()) SWIG_fail;
40761 }
40762 resultobj = SWIG_Py_Void();
40763 return resultobj;
40764 fail:
40765 return NULL;
40766 }
40767
40768
40769 SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40770 PyObject *resultobj = 0;
40771 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40772 wxPoint *arg2 = 0 ;
40773 wxWindow *arg3 = (wxWindow *) 0 ;
40774 bool arg4 = (bool) false ;
40775 wxRect *arg5 = (wxRect *) NULL ;
40776 bool result;
40777 void *argp1 = 0 ;
40778 int res1 = 0 ;
40779 wxPoint temp2 ;
40780 void *argp3 = 0 ;
40781 int res3 = 0 ;
40782 bool val4 ;
40783 int ecode4 = 0 ;
40784 void *argp5 = 0 ;
40785 int res5 = 0 ;
40786 PyObject * obj0 = 0 ;
40787 PyObject * obj1 = 0 ;
40788 PyObject * obj2 = 0 ;
40789 PyObject * obj3 = 0 ;
40790 PyObject * obj4 = 0 ;
40791 char * kwnames[] = {
40792 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40793 };
40794
40795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40797 if (!SWIG_IsOK(res1)) {
40798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40799 }
40800 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40801 {
40802 arg2 = &temp2;
40803 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40804 }
40805 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40806 if (!SWIG_IsOK(res3)) {
40807 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40808 }
40809 arg3 = reinterpret_cast< wxWindow * >(argp3);
40810 if (obj3) {
40811 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40812 if (!SWIG_IsOK(ecode4)) {
40813 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40814 }
40815 arg4 = static_cast< bool >(val4);
40816 }
40817 if (obj4) {
40818 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
40819 if (!SWIG_IsOK(res5)) {
40820 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40821 }
40822 arg5 = reinterpret_cast< wxRect * >(argp5);
40823 }
40824 {
40825 PyThreadState* __tstate = wxPyBeginAllowThreads();
40826 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
40827 wxPyEndAllowThreads(__tstate);
40828 if (PyErr_Occurred()) SWIG_fail;
40829 }
40830 {
40831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40832 }
40833 return resultobj;
40834 fail:
40835 return NULL;
40836 }
40837
40838
40839 SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40840 PyObject *resultobj = 0;
40841 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40842 wxPoint *arg2 = 0 ;
40843 wxWindow *arg3 = (wxWindow *) 0 ;
40844 wxWindow *arg4 = (wxWindow *) 0 ;
40845 bool result;
40846 void *argp1 = 0 ;
40847 int res1 = 0 ;
40848 wxPoint temp2 ;
40849 void *argp3 = 0 ;
40850 int res3 = 0 ;
40851 void *argp4 = 0 ;
40852 int res4 = 0 ;
40853 PyObject * obj0 = 0 ;
40854 PyObject * obj1 = 0 ;
40855 PyObject * obj2 = 0 ;
40856 PyObject * obj3 = 0 ;
40857 char * kwnames[] = {
40858 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40859 };
40860
40861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40863 if (!SWIG_IsOK(res1)) {
40864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40865 }
40866 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40867 {
40868 arg2 = &temp2;
40869 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40870 }
40871 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40872 if (!SWIG_IsOK(res3)) {
40873 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40874 }
40875 arg3 = reinterpret_cast< wxWindow * >(argp3);
40876 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
40877 if (!SWIG_IsOK(res4)) {
40878 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40879 }
40880 arg4 = reinterpret_cast< wxWindow * >(argp4);
40881 {
40882 PyThreadState* __tstate = wxPyBeginAllowThreads();
40883 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
40884 wxPyEndAllowThreads(__tstate);
40885 if (PyErr_Occurred()) SWIG_fail;
40886 }
40887 {
40888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40889 }
40890 return resultobj;
40891 fail:
40892 return NULL;
40893 }
40894
40895
40896 SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40897 PyObject *resultobj = 0;
40898 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40899 bool result;
40900 void *argp1 = 0 ;
40901 int res1 = 0 ;
40902 PyObject *swig_obj[1] ;
40903
40904 if (!args) SWIG_fail;
40905 swig_obj[0] = args;
40906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40907 if (!SWIG_IsOK(res1)) {
40908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40909 }
40910 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40911 {
40912 PyThreadState* __tstate = wxPyBeginAllowThreads();
40913 result = (bool)(arg1)->EndDrag();
40914 wxPyEndAllowThreads(__tstate);
40915 if (PyErr_Occurred()) SWIG_fail;
40916 }
40917 {
40918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40919 }
40920 return resultobj;
40921 fail:
40922 return NULL;
40923 }
40924
40925
40926 SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40927 PyObject *resultobj = 0;
40928 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40929 wxPoint *arg2 = 0 ;
40930 bool result;
40931 void *argp1 = 0 ;
40932 int res1 = 0 ;
40933 wxPoint temp2 ;
40934 PyObject * obj0 = 0 ;
40935 PyObject * obj1 = 0 ;
40936 char * kwnames[] = {
40937 (char *) "self",(char *) "pt", NULL
40938 };
40939
40940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
40941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40942 if (!SWIG_IsOK(res1)) {
40943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40944 }
40945 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40946 {
40947 arg2 = &temp2;
40948 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40949 }
40950 {
40951 PyThreadState* __tstate = wxPyBeginAllowThreads();
40952 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
40953 wxPyEndAllowThreads(__tstate);
40954 if (PyErr_Occurred()) SWIG_fail;
40955 }
40956 {
40957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40958 }
40959 return resultobj;
40960 fail:
40961 return NULL;
40962 }
40963
40964
40965 SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40966 PyObject *resultobj = 0;
40967 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40968 bool result;
40969 void *argp1 = 0 ;
40970 int res1 = 0 ;
40971 PyObject *swig_obj[1] ;
40972
40973 if (!args) SWIG_fail;
40974 swig_obj[0] = args;
40975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40976 if (!SWIG_IsOK(res1)) {
40977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40978 }
40979 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40980 {
40981 PyThreadState* __tstate = wxPyBeginAllowThreads();
40982 result = (bool)(arg1)->Show();
40983 wxPyEndAllowThreads(__tstate);
40984 if (PyErr_Occurred()) SWIG_fail;
40985 }
40986 {
40987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40988 }
40989 return resultobj;
40990 fail:
40991 return NULL;
40992 }
40993
40994
40995 SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40996 PyObject *resultobj = 0;
40997 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40998 bool result;
40999 void *argp1 = 0 ;
41000 int res1 = 0 ;
41001 PyObject *swig_obj[1] ;
41002
41003 if (!args) SWIG_fail;
41004 swig_obj[0] = args;
41005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41006 if (!SWIG_IsOK(res1)) {
41007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41008 }
41009 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41010 {
41011 PyThreadState* __tstate = wxPyBeginAllowThreads();
41012 result = (bool)(arg1)->Hide();
41013 wxPyEndAllowThreads(__tstate);
41014 if (PyErr_Occurred()) SWIG_fail;
41015 }
41016 {
41017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41018 }
41019 return resultobj;
41020 fail:
41021 return NULL;
41022 }
41023
41024
41025 SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41026 PyObject *resultobj = 0;
41027 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41028 wxPoint *arg2 = 0 ;
41029 wxRect result;
41030 void *argp1 = 0 ;
41031 int res1 = 0 ;
41032 wxPoint temp2 ;
41033 PyObject * obj0 = 0 ;
41034 PyObject * obj1 = 0 ;
41035 char * kwnames[] = {
41036 (char *) "self",(char *) "pos", NULL
41037 };
41038
41039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
41040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41041 if (!SWIG_IsOK(res1)) {
41042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41043 }
41044 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41045 {
41046 arg2 = &temp2;
41047 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41048 }
41049 {
41050 PyThreadState* __tstate = wxPyBeginAllowThreads();
41051 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
41052 wxPyEndAllowThreads(__tstate);
41053 if (PyErr_Occurred()) SWIG_fail;
41054 }
41055 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
41056 return resultobj;
41057 fail:
41058 return NULL;
41059 }
41060
41061
41062 SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41063 PyObject *resultobj = 0;
41064 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41065 wxDC *arg2 = 0 ;
41066 wxPoint *arg3 = 0 ;
41067 bool result;
41068 void *argp1 = 0 ;
41069 int res1 = 0 ;
41070 void *argp2 = 0 ;
41071 int res2 = 0 ;
41072 wxPoint temp3 ;
41073 PyObject * obj0 = 0 ;
41074 PyObject * obj1 = 0 ;
41075 PyObject * obj2 = 0 ;
41076 char * kwnames[] = {
41077 (char *) "self",(char *) "dc",(char *) "pos", NULL
41078 };
41079
41080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41082 if (!SWIG_IsOK(res1)) {
41083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41084 }
41085 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41086 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41087 if (!SWIG_IsOK(res2)) {
41088 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41089 }
41090 if (!argp2) {
41091 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41092 }
41093 arg2 = reinterpret_cast< wxDC * >(argp2);
41094 {
41095 arg3 = &temp3;
41096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41097 }
41098 {
41099 PyThreadState* __tstate = wxPyBeginAllowThreads();
41100 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41101 wxPyEndAllowThreads(__tstate);
41102 if (PyErr_Occurred()) SWIG_fail;
41103 }
41104 {
41105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41106 }
41107 return resultobj;
41108 fail:
41109 return NULL;
41110 }
41111
41112
41113 SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41114 PyObject *resultobj = 0;
41115 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41116 wxDC *arg2 = 0 ;
41117 wxMemoryDC *arg3 = 0 ;
41118 wxRect *arg4 = 0 ;
41119 wxRect *arg5 = 0 ;
41120 bool result;
41121 void *argp1 = 0 ;
41122 int res1 = 0 ;
41123 void *argp2 = 0 ;
41124 int res2 = 0 ;
41125 void *argp3 = 0 ;
41126 int res3 = 0 ;
41127 wxRect temp4 ;
41128 wxRect temp5 ;
41129 PyObject * obj0 = 0 ;
41130 PyObject * obj1 = 0 ;
41131 PyObject * obj2 = 0 ;
41132 PyObject * obj3 = 0 ;
41133 PyObject * obj4 = 0 ;
41134 char * kwnames[] = {
41135 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41136 };
41137
41138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41140 if (!SWIG_IsOK(res1)) {
41141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41142 }
41143 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41144 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41145 if (!SWIG_IsOK(res2)) {
41146 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41147 }
41148 if (!argp2) {
41149 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41150 }
41151 arg2 = reinterpret_cast< wxDC * >(argp2);
41152 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41153 if (!SWIG_IsOK(res3)) {
41154 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41155 }
41156 if (!argp3) {
41157 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41158 }
41159 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41160 {
41161 arg4 = &temp4;
41162 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41163 }
41164 {
41165 arg5 = &temp5;
41166 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41167 }
41168 {
41169 PyThreadState* __tstate = wxPyBeginAllowThreads();
41170 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41171 wxPyEndAllowThreads(__tstate);
41172 if (PyErr_Occurred()) SWIG_fail;
41173 }
41174 {
41175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41176 }
41177 return resultobj;
41178 fail:
41179 return NULL;
41180 }
41181
41182
41183 SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41184 PyObject *resultobj = 0;
41185 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41186 wxPoint *arg2 = 0 ;
41187 wxPoint *arg3 = 0 ;
41188 bool arg4 ;
41189 bool arg5 ;
41190 bool result;
41191 void *argp1 = 0 ;
41192 int res1 = 0 ;
41193 wxPoint temp2 ;
41194 wxPoint temp3 ;
41195 bool val4 ;
41196 int ecode4 = 0 ;
41197 bool val5 ;
41198 int ecode5 = 0 ;
41199 PyObject * obj0 = 0 ;
41200 PyObject * obj1 = 0 ;
41201 PyObject * obj2 = 0 ;
41202 PyObject * obj3 = 0 ;
41203 PyObject * obj4 = 0 ;
41204 char * kwnames[] = {
41205 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41206 };
41207
41208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41210 if (!SWIG_IsOK(res1)) {
41211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41212 }
41213 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41214 {
41215 arg2 = &temp2;
41216 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41217 }
41218 {
41219 arg3 = &temp3;
41220 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41221 }
41222 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41223 if (!SWIG_IsOK(ecode4)) {
41224 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41225 }
41226 arg4 = static_cast< bool >(val4);
41227 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41228 if (!SWIG_IsOK(ecode5)) {
41229 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41230 }
41231 arg5 = static_cast< bool >(val5);
41232 {
41233 PyThreadState* __tstate = wxPyBeginAllowThreads();
41234 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41235 wxPyEndAllowThreads(__tstate);
41236 if (PyErr_Occurred()) SWIG_fail;
41237 }
41238 {
41239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41240 }
41241 return resultobj;
41242 fail:
41243 return NULL;
41244 }
41245
41246
41247 SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41248 PyObject *obj;
41249 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41250 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41251 return SWIG_Py_Void();
41252 }
41253
41254 SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41255 return SWIG_Python_InitShadowInstance(args);
41256 }
41257
41258 SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41259 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41260 return 1;
41261 }
41262
41263
41264 SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41265 PyObject *pyobj = 0;
41266
41267 {
41268 #if wxUSE_UNICODE
41269 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41270 #else
41271 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41272 #endif
41273 }
41274 return pyobj;
41275 }
41276
41277
41278 SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41279 PyObject *resultobj = 0;
41280 wxWindow *arg1 = (wxWindow *) 0 ;
41281 int arg2 = (int) -1 ;
41282 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41283 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41284 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41285 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41286 wxSize const &arg5_defvalue = wxDefaultSize ;
41287 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41288 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41289 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41290 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41291 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41292 wxString *arg8 = (wxString *) &arg8_defvalue ;
41293 wxDatePickerCtrl *result = 0 ;
41294 void *argp1 = 0 ;
41295 int res1 = 0 ;
41296 int val2 ;
41297 int ecode2 = 0 ;
41298 void *argp3 = 0 ;
41299 int res3 = 0 ;
41300 wxPoint temp4 ;
41301 wxSize temp5 ;
41302 long val6 ;
41303 int ecode6 = 0 ;
41304 void *argp7 = 0 ;
41305 int res7 = 0 ;
41306 bool temp8 = false ;
41307 PyObject * obj0 = 0 ;
41308 PyObject * obj1 = 0 ;
41309 PyObject * obj2 = 0 ;
41310 PyObject * obj3 = 0 ;
41311 PyObject * obj4 = 0 ;
41312 PyObject * obj5 = 0 ;
41313 PyObject * obj6 = 0 ;
41314 PyObject * obj7 = 0 ;
41315 char * kwnames[] = {
41316 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41317 };
41318
41319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41321 if (!SWIG_IsOK(res1)) {
41322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41323 }
41324 arg1 = reinterpret_cast< wxWindow * >(argp1);
41325 if (obj1) {
41326 ecode2 = SWIG_AsVal_int(obj1, &val2);
41327 if (!SWIG_IsOK(ecode2)) {
41328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41329 }
41330 arg2 = static_cast< int >(val2);
41331 }
41332 if (obj2) {
41333 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41334 if (!SWIG_IsOK(res3)) {
41335 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41336 }
41337 if (!argp3) {
41338 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41339 }
41340 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41341 }
41342 if (obj3) {
41343 {
41344 arg4 = &temp4;
41345 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
41346 }
41347 }
41348 if (obj4) {
41349 {
41350 arg5 = &temp5;
41351 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
41352 }
41353 }
41354 if (obj5) {
41355 ecode6 = SWIG_AsVal_long(obj5, &val6);
41356 if (!SWIG_IsOK(ecode6)) {
41357 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41358 }
41359 arg6 = static_cast< long >(val6);
41360 }
41361 if (obj6) {
41362 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41363 if (!SWIG_IsOK(res7)) {
41364 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41365 }
41366 if (!argp7) {
41367 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41368 }
41369 arg7 = reinterpret_cast< wxValidator * >(argp7);
41370 }
41371 if (obj7) {
41372 {
41373 arg8 = wxString_in_helper(obj7);
41374 if (arg8 == NULL) SWIG_fail;
41375 temp8 = true;
41376 }
41377 }
41378 {
41379 if (!wxPyCheckForApp()) SWIG_fail;
41380 PyThreadState* __tstate = wxPyBeginAllowThreads();
41381 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41382 wxPyEndAllowThreads(__tstate);
41383 if (PyErr_Occurred()) SWIG_fail;
41384 }
41385 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41386 {
41387 if (temp8)
41388 delete arg8;
41389 }
41390 return resultobj;
41391 fail:
41392 {
41393 if (temp8)
41394 delete arg8;
41395 }
41396 return NULL;
41397 }
41398
41399
41400 SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41401 PyObject *resultobj = 0;
41402 wxDatePickerCtrl *result = 0 ;
41403
41404 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41405 {
41406 if (!wxPyCheckForApp()) SWIG_fail;
41407 PyThreadState* __tstate = wxPyBeginAllowThreads();
41408 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41409 wxPyEndAllowThreads(__tstate);
41410 if (PyErr_Occurred()) SWIG_fail;
41411 }
41412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41413 return resultobj;
41414 fail:
41415 return NULL;
41416 }
41417
41418
41419 SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41420 PyObject *resultobj = 0;
41421 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41422 wxWindow *arg2 = (wxWindow *) 0 ;
41423 int arg3 = (int) -1 ;
41424 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41425 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41426 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41427 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41428 wxSize const &arg6_defvalue = wxDefaultSize ;
41429 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41430 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41431 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41432 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41433 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41434 wxString *arg9 = (wxString *) &arg9_defvalue ;
41435 bool result;
41436 void *argp1 = 0 ;
41437 int res1 = 0 ;
41438 void *argp2 = 0 ;
41439 int res2 = 0 ;
41440 int val3 ;
41441 int ecode3 = 0 ;
41442 void *argp4 = 0 ;
41443 int res4 = 0 ;
41444 wxPoint temp5 ;
41445 wxSize temp6 ;
41446 long val7 ;
41447 int ecode7 = 0 ;
41448 void *argp8 = 0 ;
41449 int res8 = 0 ;
41450 bool temp9 = false ;
41451 PyObject * obj0 = 0 ;
41452 PyObject * obj1 = 0 ;
41453 PyObject * obj2 = 0 ;
41454 PyObject * obj3 = 0 ;
41455 PyObject * obj4 = 0 ;
41456 PyObject * obj5 = 0 ;
41457 PyObject * obj6 = 0 ;
41458 PyObject * obj7 = 0 ;
41459 PyObject * obj8 = 0 ;
41460 char * kwnames[] = {
41461 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41462 };
41463
41464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41466 if (!SWIG_IsOK(res1)) {
41467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41468 }
41469 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41470 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41471 if (!SWIG_IsOK(res2)) {
41472 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41473 }
41474 arg2 = reinterpret_cast< wxWindow * >(argp2);
41475 if (obj2) {
41476 ecode3 = SWIG_AsVal_int(obj2, &val3);
41477 if (!SWIG_IsOK(ecode3)) {
41478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41479 }
41480 arg3 = static_cast< int >(val3);
41481 }
41482 if (obj3) {
41483 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41484 if (!SWIG_IsOK(res4)) {
41485 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41486 }
41487 if (!argp4) {
41488 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41489 }
41490 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41491 }
41492 if (obj4) {
41493 {
41494 arg5 = &temp5;
41495 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41496 }
41497 }
41498 if (obj5) {
41499 {
41500 arg6 = &temp6;
41501 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41502 }
41503 }
41504 if (obj6) {
41505 ecode7 = SWIG_AsVal_long(obj6, &val7);
41506 if (!SWIG_IsOK(ecode7)) {
41507 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41508 }
41509 arg7 = static_cast< long >(val7);
41510 }
41511 if (obj7) {
41512 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41513 if (!SWIG_IsOK(res8)) {
41514 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41515 }
41516 if (!argp8) {
41517 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41518 }
41519 arg8 = reinterpret_cast< wxValidator * >(argp8);
41520 }
41521 if (obj8) {
41522 {
41523 arg9 = wxString_in_helper(obj8);
41524 if (arg9 == NULL) SWIG_fail;
41525 temp9 = true;
41526 }
41527 }
41528 {
41529 PyThreadState* __tstate = wxPyBeginAllowThreads();
41530 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41531 wxPyEndAllowThreads(__tstate);
41532 if (PyErr_Occurred()) SWIG_fail;
41533 }
41534 {
41535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41536 }
41537 {
41538 if (temp9)
41539 delete arg9;
41540 }
41541 return resultobj;
41542 fail:
41543 {
41544 if (temp9)
41545 delete arg9;
41546 }
41547 return NULL;
41548 }
41549
41550
41551 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41552 PyObject *resultobj = 0;
41553 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41554 wxDateTime *arg2 = 0 ;
41555 void *argp1 = 0 ;
41556 int res1 = 0 ;
41557 void *argp2 = 0 ;
41558 int res2 = 0 ;
41559 PyObject * obj0 = 0 ;
41560 PyObject * obj1 = 0 ;
41561 char * kwnames[] = {
41562 (char *) "self",(char *) "dt", NULL
41563 };
41564
41565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41567 if (!SWIG_IsOK(res1)) {
41568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41569 }
41570 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41571 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41572 if (!SWIG_IsOK(res2)) {
41573 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41574 }
41575 if (!argp2) {
41576 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41577 }
41578 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41579 {
41580 PyThreadState* __tstate = wxPyBeginAllowThreads();
41581 (arg1)->SetValue((wxDateTime const &)*arg2);
41582 wxPyEndAllowThreads(__tstate);
41583 if (PyErr_Occurred()) SWIG_fail;
41584 }
41585 resultobj = SWIG_Py_Void();
41586 return resultobj;
41587 fail:
41588 return NULL;
41589 }
41590
41591
41592 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41593 PyObject *resultobj = 0;
41594 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41595 wxDateTime result;
41596 void *argp1 = 0 ;
41597 int res1 = 0 ;
41598 PyObject *swig_obj[1] ;
41599
41600 if (!args) SWIG_fail;
41601 swig_obj[0] = args;
41602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41603 if (!SWIG_IsOK(res1)) {
41604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41605 }
41606 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41607 {
41608 PyThreadState* __tstate = wxPyBeginAllowThreads();
41609 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41610 wxPyEndAllowThreads(__tstate);
41611 if (PyErr_Occurred()) SWIG_fail;
41612 }
41613 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41614 return resultobj;
41615 fail:
41616 return NULL;
41617 }
41618
41619
41620 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41621 PyObject *resultobj = 0;
41622 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41623 wxDateTime *arg2 = 0 ;
41624 wxDateTime *arg3 = 0 ;
41625 void *argp1 = 0 ;
41626 int res1 = 0 ;
41627 void *argp2 = 0 ;
41628 int res2 = 0 ;
41629 void *argp3 = 0 ;
41630 int res3 = 0 ;
41631 PyObject * obj0 = 0 ;
41632 PyObject * obj1 = 0 ;
41633 PyObject * obj2 = 0 ;
41634 char * kwnames[] = {
41635 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41636 };
41637
41638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41640 if (!SWIG_IsOK(res1)) {
41641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41642 }
41643 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41644 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41645 if (!SWIG_IsOK(res2)) {
41646 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41647 }
41648 if (!argp2) {
41649 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41650 }
41651 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41652 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41653 if (!SWIG_IsOK(res3)) {
41654 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41655 }
41656 if (!argp3) {
41657 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41658 }
41659 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41660 {
41661 PyThreadState* __tstate = wxPyBeginAllowThreads();
41662 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41663 wxPyEndAllowThreads(__tstate);
41664 if (PyErr_Occurred()) SWIG_fail;
41665 }
41666 resultobj = SWIG_Py_Void();
41667 return resultobj;
41668 fail:
41669 return NULL;
41670 }
41671
41672
41673 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41674 PyObject *resultobj = 0;
41675 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41676 wxDateTime result;
41677 void *argp1 = 0 ;
41678 int res1 = 0 ;
41679 PyObject *swig_obj[1] ;
41680
41681 if (!args) SWIG_fail;
41682 swig_obj[0] = args;
41683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41684 if (!SWIG_IsOK(res1)) {
41685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41686 }
41687 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41688 {
41689 PyThreadState* __tstate = wxPyBeginAllowThreads();
41690 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41691 wxPyEndAllowThreads(__tstate);
41692 if (PyErr_Occurred()) SWIG_fail;
41693 }
41694 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41695 return resultobj;
41696 fail:
41697 return NULL;
41698 }
41699
41700
41701 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41702 PyObject *resultobj = 0;
41703 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41704 wxDateTime result;
41705 void *argp1 = 0 ;
41706 int res1 = 0 ;
41707 PyObject *swig_obj[1] ;
41708
41709 if (!args) SWIG_fail;
41710 swig_obj[0] = args;
41711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41712 if (!SWIG_IsOK(res1)) {
41713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41714 }
41715 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41716 {
41717 PyThreadState* __tstate = wxPyBeginAllowThreads();
41718 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41719 wxPyEndAllowThreads(__tstate);
41720 if (PyErr_Occurred()) SWIG_fail;
41721 }
41722 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41723 return resultobj;
41724 fail:
41725 return NULL;
41726 }
41727
41728
41729 SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41730 PyObject *obj;
41731 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41732 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41733 return SWIG_Py_Void();
41734 }
41735
41736 SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41737 return SWIG_Python_InitShadowInstance(args);
41738 }
41739
41740 SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41741 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41742 return 1;
41743 }
41744
41745
41746 SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41747 PyObject *pyobj = 0;
41748
41749 {
41750 #if wxUSE_UNICODE
41751 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41752 #else
41753 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41754 #endif
41755 }
41756 return pyobj;
41757 }
41758
41759
41760 SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41761 PyObject *resultobj = 0;
41762 wxWindow *arg1 = (wxWindow *) 0 ;
41763 int arg2 ;
41764 wxString *arg3 = 0 ;
41765 wxString *arg4 = 0 ;
41766 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41767 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41768 wxSize const &arg6_defvalue = wxDefaultSize ;
41769 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41770 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41771 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41772 wxString *arg8 = (wxString *) &arg8_defvalue ;
41773 wxHyperlinkCtrl *result = 0 ;
41774 void *argp1 = 0 ;
41775 int res1 = 0 ;
41776 int val2 ;
41777 int ecode2 = 0 ;
41778 bool temp3 = false ;
41779 bool temp4 = false ;
41780 wxPoint temp5 ;
41781 wxSize temp6 ;
41782 long val7 ;
41783 int ecode7 = 0 ;
41784 bool temp8 = false ;
41785 PyObject * obj0 = 0 ;
41786 PyObject * obj1 = 0 ;
41787 PyObject * obj2 = 0 ;
41788 PyObject * obj3 = 0 ;
41789 PyObject * obj4 = 0 ;
41790 PyObject * obj5 = 0 ;
41791 PyObject * obj6 = 0 ;
41792 PyObject * obj7 = 0 ;
41793 char * kwnames[] = {
41794 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41795 };
41796
41797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41799 if (!SWIG_IsOK(res1)) {
41800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41801 }
41802 arg1 = reinterpret_cast< wxWindow * >(argp1);
41803 ecode2 = SWIG_AsVal_int(obj1, &val2);
41804 if (!SWIG_IsOK(ecode2)) {
41805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41806 }
41807 arg2 = static_cast< int >(val2);
41808 {
41809 arg3 = wxString_in_helper(obj2);
41810 if (arg3 == NULL) SWIG_fail;
41811 temp3 = true;
41812 }
41813 {
41814 arg4 = wxString_in_helper(obj3);
41815 if (arg4 == NULL) SWIG_fail;
41816 temp4 = true;
41817 }
41818 if (obj4) {
41819 {
41820 arg5 = &temp5;
41821 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41822 }
41823 }
41824 if (obj5) {
41825 {
41826 arg6 = &temp6;
41827 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41828 }
41829 }
41830 if (obj6) {
41831 ecode7 = SWIG_AsVal_long(obj6, &val7);
41832 if (!SWIG_IsOK(ecode7)) {
41833 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41834 }
41835 arg7 = static_cast< long >(val7);
41836 }
41837 if (obj7) {
41838 {
41839 arg8 = wxString_in_helper(obj7);
41840 if (arg8 == NULL) SWIG_fail;
41841 temp8 = true;
41842 }
41843 }
41844 {
41845 if (!wxPyCheckForApp()) SWIG_fail;
41846 PyThreadState* __tstate = wxPyBeginAllowThreads();
41847 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
41848 wxPyEndAllowThreads(__tstate);
41849 if (PyErr_Occurred()) SWIG_fail;
41850 }
41851 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
41852 {
41853 if (temp3)
41854 delete arg3;
41855 }
41856 {
41857 if (temp4)
41858 delete arg4;
41859 }
41860 {
41861 if (temp8)
41862 delete arg8;
41863 }
41864 return resultobj;
41865 fail:
41866 {
41867 if (temp3)
41868 delete arg3;
41869 }
41870 {
41871 if (temp4)
41872 delete arg4;
41873 }
41874 {
41875 if (temp8)
41876 delete arg8;
41877 }
41878 return NULL;
41879 }
41880
41881
41882 SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41883 PyObject *resultobj = 0;
41884 wxHyperlinkCtrl *result = 0 ;
41885
41886 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
41887 {
41888 if (!wxPyCheckForApp()) SWIG_fail;
41889 PyThreadState* __tstate = wxPyBeginAllowThreads();
41890 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
41891 wxPyEndAllowThreads(__tstate);
41892 if (PyErr_Occurred()) SWIG_fail;
41893 }
41894 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
41895 return resultobj;
41896 fail:
41897 return NULL;
41898 }
41899
41900
41901 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41902 PyObject *resultobj = 0;
41903 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41904 wxWindow *arg2 = (wxWindow *) 0 ;
41905 int arg3 ;
41906 wxString *arg4 = 0 ;
41907 wxString *arg5 = 0 ;
41908 wxPoint const &arg6_defvalue = wxDefaultPosition ;
41909 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
41910 wxSize const &arg7_defvalue = wxDefaultSize ;
41911 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
41912 long arg8 = (long) wxHL_DEFAULT_STYLE ;
41913 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
41914 wxString *arg9 = (wxString *) &arg9_defvalue ;
41915 bool result;
41916 void *argp1 = 0 ;
41917 int res1 = 0 ;
41918 void *argp2 = 0 ;
41919 int res2 = 0 ;
41920 int val3 ;
41921 int ecode3 = 0 ;
41922 bool temp4 = false ;
41923 bool temp5 = false ;
41924 wxPoint temp6 ;
41925 wxSize temp7 ;
41926 long val8 ;
41927 int ecode8 = 0 ;
41928 bool temp9 = false ;
41929 PyObject * obj0 = 0 ;
41930 PyObject * obj1 = 0 ;
41931 PyObject * obj2 = 0 ;
41932 PyObject * obj3 = 0 ;
41933 PyObject * obj4 = 0 ;
41934 PyObject * obj5 = 0 ;
41935 PyObject * obj6 = 0 ;
41936 PyObject * obj7 = 0 ;
41937 PyObject * obj8 = 0 ;
41938 char * kwnames[] = {
41939 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41940 };
41941
41942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41944 if (!SWIG_IsOK(res1)) {
41945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41946 }
41947 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41948 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41949 if (!SWIG_IsOK(res2)) {
41950 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41951 }
41952 arg2 = reinterpret_cast< wxWindow * >(argp2);
41953 ecode3 = SWIG_AsVal_int(obj2, &val3);
41954 if (!SWIG_IsOK(ecode3)) {
41955 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41956 }
41957 arg3 = static_cast< int >(val3);
41958 {
41959 arg4 = wxString_in_helper(obj3);
41960 if (arg4 == NULL) SWIG_fail;
41961 temp4 = true;
41962 }
41963 {
41964 arg5 = wxString_in_helper(obj4);
41965 if (arg5 == NULL) SWIG_fail;
41966 temp5 = true;
41967 }
41968 if (obj5) {
41969 {
41970 arg6 = &temp6;
41971 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
41972 }
41973 }
41974 if (obj6) {
41975 {
41976 arg7 = &temp7;
41977 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
41978 }
41979 }
41980 if (obj7) {
41981 ecode8 = SWIG_AsVal_long(obj7, &val8);
41982 if (!SWIG_IsOK(ecode8)) {
41983 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41984 }
41985 arg8 = static_cast< long >(val8);
41986 }
41987 if (obj8) {
41988 {
41989 arg9 = wxString_in_helper(obj8);
41990 if (arg9 == NULL) SWIG_fail;
41991 temp9 = true;
41992 }
41993 }
41994 {
41995 PyThreadState* __tstate = wxPyBeginAllowThreads();
41996 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
41997 wxPyEndAllowThreads(__tstate);
41998 if (PyErr_Occurred()) SWIG_fail;
41999 }
42000 {
42001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42002 }
42003 {
42004 if (temp4)
42005 delete arg4;
42006 }
42007 {
42008 if (temp5)
42009 delete arg5;
42010 }
42011 {
42012 if (temp9)
42013 delete arg9;
42014 }
42015 return resultobj;
42016 fail:
42017 {
42018 if (temp4)
42019 delete arg4;
42020 }
42021 {
42022 if (temp5)
42023 delete arg5;
42024 }
42025 {
42026 if (temp9)
42027 delete arg9;
42028 }
42029 return NULL;
42030 }
42031
42032
42033 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42034 PyObject *resultobj = 0;
42035 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42036 wxColour result;
42037 void *argp1 = 0 ;
42038 int res1 = 0 ;
42039 PyObject *swig_obj[1] ;
42040
42041 if (!args) SWIG_fail;
42042 swig_obj[0] = args;
42043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42044 if (!SWIG_IsOK(res1)) {
42045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42046 }
42047 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42048 {
42049 PyThreadState* __tstate = wxPyBeginAllowThreads();
42050 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
42051 wxPyEndAllowThreads(__tstate);
42052 if (PyErr_Occurred()) SWIG_fail;
42053 }
42054 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42055 return resultobj;
42056 fail:
42057 return NULL;
42058 }
42059
42060
42061 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42062 PyObject *resultobj = 0;
42063 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42064 wxColour *arg2 = 0 ;
42065 void *argp1 = 0 ;
42066 int res1 = 0 ;
42067 wxColour temp2 ;
42068 PyObject * obj0 = 0 ;
42069 PyObject * obj1 = 0 ;
42070 char * kwnames[] = {
42071 (char *) "self",(char *) "colour", NULL
42072 };
42073
42074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
42075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42076 if (!SWIG_IsOK(res1)) {
42077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42078 }
42079 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42080 {
42081 arg2 = &temp2;
42082 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42083 }
42084 {
42085 PyThreadState* __tstate = wxPyBeginAllowThreads();
42086 (arg1)->SetHoverColour((wxColour const &)*arg2);
42087 wxPyEndAllowThreads(__tstate);
42088 if (PyErr_Occurred()) SWIG_fail;
42089 }
42090 resultobj = SWIG_Py_Void();
42091 return resultobj;
42092 fail:
42093 return NULL;
42094 }
42095
42096
42097 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42098 PyObject *resultobj = 0;
42099 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42100 wxColour result;
42101 void *argp1 = 0 ;
42102 int res1 = 0 ;
42103 PyObject *swig_obj[1] ;
42104
42105 if (!args) SWIG_fail;
42106 swig_obj[0] = args;
42107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42108 if (!SWIG_IsOK(res1)) {
42109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42110 }
42111 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42112 {
42113 PyThreadState* __tstate = wxPyBeginAllowThreads();
42114 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42115 wxPyEndAllowThreads(__tstate);
42116 if (PyErr_Occurred()) SWIG_fail;
42117 }
42118 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42119 return resultobj;
42120 fail:
42121 return NULL;
42122 }
42123
42124
42125 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42126 PyObject *resultobj = 0;
42127 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42128 wxColour *arg2 = 0 ;
42129 void *argp1 = 0 ;
42130 int res1 = 0 ;
42131 wxColour temp2 ;
42132 PyObject * obj0 = 0 ;
42133 PyObject * obj1 = 0 ;
42134 char * kwnames[] = {
42135 (char *) "self",(char *) "colour", NULL
42136 };
42137
42138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42140 if (!SWIG_IsOK(res1)) {
42141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42142 }
42143 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42144 {
42145 arg2 = &temp2;
42146 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42147 }
42148 {
42149 PyThreadState* __tstate = wxPyBeginAllowThreads();
42150 (arg1)->SetNormalColour((wxColour const &)*arg2);
42151 wxPyEndAllowThreads(__tstate);
42152 if (PyErr_Occurred()) SWIG_fail;
42153 }
42154 resultobj = SWIG_Py_Void();
42155 return resultobj;
42156 fail:
42157 return NULL;
42158 }
42159
42160
42161 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42162 PyObject *resultobj = 0;
42163 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42164 wxColour result;
42165 void *argp1 = 0 ;
42166 int res1 = 0 ;
42167 PyObject *swig_obj[1] ;
42168
42169 if (!args) SWIG_fail;
42170 swig_obj[0] = args;
42171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42172 if (!SWIG_IsOK(res1)) {
42173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42174 }
42175 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42176 {
42177 PyThreadState* __tstate = wxPyBeginAllowThreads();
42178 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42179 wxPyEndAllowThreads(__tstate);
42180 if (PyErr_Occurred()) SWIG_fail;
42181 }
42182 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42183 return resultobj;
42184 fail:
42185 return NULL;
42186 }
42187
42188
42189 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42190 PyObject *resultobj = 0;
42191 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42192 wxColour *arg2 = 0 ;
42193 void *argp1 = 0 ;
42194 int res1 = 0 ;
42195 wxColour temp2 ;
42196 PyObject * obj0 = 0 ;
42197 PyObject * obj1 = 0 ;
42198 char * kwnames[] = {
42199 (char *) "self",(char *) "colour", NULL
42200 };
42201
42202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42204 if (!SWIG_IsOK(res1)) {
42205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42206 }
42207 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42208 {
42209 arg2 = &temp2;
42210 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42211 }
42212 {
42213 PyThreadState* __tstate = wxPyBeginAllowThreads();
42214 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42215 wxPyEndAllowThreads(__tstate);
42216 if (PyErr_Occurred()) SWIG_fail;
42217 }
42218 resultobj = SWIG_Py_Void();
42219 return resultobj;
42220 fail:
42221 return NULL;
42222 }
42223
42224
42225 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42226 PyObject *resultobj = 0;
42227 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42228 wxString result;
42229 void *argp1 = 0 ;
42230 int res1 = 0 ;
42231 PyObject *swig_obj[1] ;
42232
42233 if (!args) SWIG_fail;
42234 swig_obj[0] = args;
42235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42236 if (!SWIG_IsOK(res1)) {
42237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42238 }
42239 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42240 {
42241 PyThreadState* __tstate = wxPyBeginAllowThreads();
42242 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42243 wxPyEndAllowThreads(__tstate);
42244 if (PyErr_Occurred()) SWIG_fail;
42245 }
42246 {
42247 #if wxUSE_UNICODE
42248 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42249 #else
42250 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42251 #endif
42252 }
42253 return resultobj;
42254 fail:
42255 return NULL;
42256 }
42257
42258
42259 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42260 PyObject *resultobj = 0;
42261 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42262 wxString *arg2 = 0 ;
42263 void *argp1 = 0 ;
42264 int res1 = 0 ;
42265 bool temp2 = false ;
42266 PyObject * obj0 = 0 ;
42267 PyObject * obj1 = 0 ;
42268 char * kwnames[] = {
42269 (char *) "self",(char *) "url", NULL
42270 };
42271
42272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42274 if (!SWIG_IsOK(res1)) {
42275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42276 }
42277 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42278 {
42279 arg2 = wxString_in_helper(obj1);
42280 if (arg2 == NULL) SWIG_fail;
42281 temp2 = true;
42282 }
42283 {
42284 PyThreadState* __tstate = wxPyBeginAllowThreads();
42285 (arg1)->SetURL((wxString const &)*arg2);
42286 wxPyEndAllowThreads(__tstate);
42287 if (PyErr_Occurred()) SWIG_fail;
42288 }
42289 resultobj = SWIG_Py_Void();
42290 {
42291 if (temp2)
42292 delete arg2;
42293 }
42294 return resultobj;
42295 fail:
42296 {
42297 if (temp2)
42298 delete arg2;
42299 }
42300 return NULL;
42301 }
42302
42303
42304 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42305 PyObject *resultobj = 0;
42306 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42307 bool arg2 = (bool) true ;
42308 void *argp1 = 0 ;
42309 int res1 = 0 ;
42310 bool val2 ;
42311 int ecode2 = 0 ;
42312 PyObject * obj0 = 0 ;
42313 PyObject * obj1 = 0 ;
42314 char * kwnames[] = {
42315 (char *) "self",(char *) "visited", NULL
42316 };
42317
42318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42320 if (!SWIG_IsOK(res1)) {
42321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42322 }
42323 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42324 if (obj1) {
42325 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42326 if (!SWIG_IsOK(ecode2)) {
42327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42328 }
42329 arg2 = static_cast< bool >(val2);
42330 }
42331 {
42332 PyThreadState* __tstate = wxPyBeginAllowThreads();
42333 (arg1)->SetVisited(arg2);
42334 wxPyEndAllowThreads(__tstate);
42335 if (PyErr_Occurred()) SWIG_fail;
42336 }
42337 resultobj = SWIG_Py_Void();
42338 return resultobj;
42339 fail:
42340 return NULL;
42341 }
42342
42343
42344 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42345 PyObject *resultobj = 0;
42346 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42347 bool result;
42348 void *argp1 = 0 ;
42349 int res1 = 0 ;
42350 PyObject *swig_obj[1] ;
42351
42352 if (!args) SWIG_fail;
42353 swig_obj[0] = args;
42354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42355 if (!SWIG_IsOK(res1)) {
42356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42357 }
42358 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42359 {
42360 PyThreadState* __tstate = wxPyBeginAllowThreads();
42361 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42362 wxPyEndAllowThreads(__tstate);
42363 if (PyErr_Occurred()) SWIG_fail;
42364 }
42365 {
42366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42367 }
42368 return resultobj;
42369 fail:
42370 return NULL;
42371 }
42372
42373
42374 SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42375 PyObject *obj;
42376 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42377 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42378 return SWIG_Py_Void();
42379 }
42380
42381 SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42382 return SWIG_Python_InitShadowInstance(args);
42383 }
42384
42385 SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42386 PyObject *resultobj = 0;
42387 wxObject *arg1 = (wxObject *) 0 ;
42388 int arg2 ;
42389 wxString *arg3 = 0 ;
42390 wxHyperlinkEvent *result = 0 ;
42391 void *argp1 = 0 ;
42392 int res1 = 0 ;
42393 int val2 ;
42394 int ecode2 = 0 ;
42395 bool temp3 = false ;
42396 PyObject * obj0 = 0 ;
42397 PyObject * obj1 = 0 ;
42398 PyObject * obj2 = 0 ;
42399 char * kwnames[] = {
42400 (char *) "generator",(char *) "id",(char *) "url", NULL
42401 };
42402
42403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42405 if (!SWIG_IsOK(res1)) {
42406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42407 }
42408 arg1 = reinterpret_cast< wxObject * >(argp1);
42409 ecode2 = SWIG_AsVal_int(obj1, &val2);
42410 if (!SWIG_IsOK(ecode2)) {
42411 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42412 }
42413 arg2 = static_cast< int >(val2);
42414 {
42415 arg3 = wxString_in_helper(obj2);
42416 if (arg3 == NULL) SWIG_fail;
42417 temp3 = true;
42418 }
42419 {
42420 PyThreadState* __tstate = wxPyBeginAllowThreads();
42421 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42422 wxPyEndAllowThreads(__tstate);
42423 if (PyErr_Occurred()) SWIG_fail;
42424 }
42425 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42426 {
42427 if (temp3)
42428 delete arg3;
42429 }
42430 return resultobj;
42431 fail:
42432 {
42433 if (temp3)
42434 delete arg3;
42435 }
42436 return NULL;
42437 }
42438
42439
42440 SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42441 PyObject *resultobj = 0;
42442 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 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_wxHyperlinkEvent, 0 | 0 );
42451 if (!SWIG_IsOK(res1)) {
42452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42453 }
42454 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42455 {
42456 PyThreadState* __tstate = wxPyBeginAllowThreads();
42457 result = ((wxHyperlinkEvent 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_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42475 PyObject *resultobj = 0;
42476 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 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:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42489 if (!SWIG_IsOK(res1)) {
42490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42491 }
42492 arg1 = reinterpret_cast< wxHyperlinkEvent * >(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 *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42520 PyObject *obj;
42521 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42522 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42523 return SWIG_Py_Void();
42524 }
42525
42526 SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42527 return SWIG_Python_InitShadowInstance(args);
42528 }
42529
42530 SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42531 PyObject *resultobj = 0;
42532 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42533 wxWindow *arg2 = (wxWindow *) 0 ;
42534 int arg3 ;
42535 wxString const &arg4_defvalue = wxEmptyString ;
42536 wxString *arg4 = (wxString *) &arg4_defvalue ;
42537 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42538 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42539 wxSize const &arg6_defvalue = wxDefaultSize ;
42540 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42541 long arg7 = (long) 0 ;
42542 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42543 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42544 wxString const &arg9_defvalue = wxButtonNameStr ;
42545 wxString *arg9 = (wxString *) &arg9_defvalue ;
42546 bool result;
42547 void *argp1 = 0 ;
42548 int res1 = 0 ;
42549 void *argp2 = 0 ;
42550 int res2 = 0 ;
42551 int val3 ;
42552 int ecode3 = 0 ;
42553 bool temp4 = false ;
42554 wxPoint temp5 ;
42555 wxSize temp6 ;
42556 long val7 ;
42557 int ecode7 = 0 ;
42558 void *argp8 = 0 ;
42559 int res8 = 0 ;
42560 bool temp9 = false ;
42561 PyObject * obj0 = 0 ;
42562 PyObject * obj1 = 0 ;
42563 PyObject * obj2 = 0 ;
42564 PyObject * obj3 = 0 ;
42565 PyObject * obj4 = 0 ;
42566 PyObject * obj5 = 0 ;
42567 PyObject * obj6 = 0 ;
42568 PyObject * obj7 = 0 ;
42569 PyObject * obj8 = 0 ;
42570 char * kwnames[] = {
42571 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42572 };
42573
42574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42576 if (!SWIG_IsOK(res1)) {
42577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42578 }
42579 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42580 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42581 if (!SWIG_IsOK(res2)) {
42582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42583 }
42584 arg2 = reinterpret_cast< wxWindow * >(argp2);
42585 ecode3 = SWIG_AsVal_int(obj2, &val3);
42586 if (!SWIG_IsOK(ecode3)) {
42587 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42588 }
42589 arg3 = static_cast< int >(val3);
42590 if (obj3) {
42591 {
42592 arg4 = wxString_in_helper(obj3);
42593 if (arg4 == NULL) SWIG_fail;
42594 temp4 = true;
42595 }
42596 }
42597 if (obj4) {
42598 {
42599 arg5 = &temp5;
42600 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42601 }
42602 }
42603 if (obj5) {
42604 {
42605 arg6 = &temp6;
42606 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42607 }
42608 }
42609 if (obj6) {
42610 ecode7 = SWIG_AsVal_long(obj6, &val7);
42611 if (!SWIG_IsOK(ecode7)) {
42612 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42613 }
42614 arg7 = static_cast< long >(val7);
42615 }
42616 if (obj7) {
42617 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42618 if (!SWIG_IsOK(res8)) {
42619 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42620 }
42621 if (!argp8) {
42622 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42623 }
42624 arg8 = reinterpret_cast< wxValidator * >(argp8);
42625 }
42626 if (obj8) {
42627 {
42628 arg9 = wxString_in_helper(obj8);
42629 if (arg9 == NULL) SWIG_fail;
42630 temp9 = true;
42631 }
42632 }
42633 {
42634 PyThreadState* __tstate = wxPyBeginAllowThreads();
42635 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42636 wxPyEndAllowThreads(__tstate);
42637 if (PyErr_Occurred()) SWIG_fail;
42638 }
42639 {
42640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42641 }
42642 {
42643 if (temp4)
42644 delete arg4;
42645 }
42646 {
42647 if (temp9)
42648 delete arg9;
42649 }
42650 return resultobj;
42651 fail:
42652 {
42653 if (temp4)
42654 delete arg4;
42655 }
42656 {
42657 if (temp9)
42658 delete arg9;
42659 }
42660 return NULL;
42661 }
42662
42663
42664 SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42665 PyObject *resultobj = 0;
42666 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42667 int arg2 ;
42668 void *argp1 = 0 ;
42669 int res1 = 0 ;
42670 int val2 ;
42671 int ecode2 = 0 ;
42672 PyObject * obj0 = 0 ;
42673 PyObject * obj1 = 0 ;
42674 char * kwnames[] = {
42675 (char *) "self",(char *) "newmargin", NULL
42676 };
42677
42678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42680 if (!SWIG_IsOK(res1)) {
42681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42682 }
42683 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42684 ecode2 = SWIG_AsVal_int(obj1, &val2);
42685 if (!SWIG_IsOK(ecode2)) {
42686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42687 }
42688 arg2 = static_cast< int >(val2);
42689 {
42690 PyThreadState* __tstate = wxPyBeginAllowThreads();
42691 (arg1)->SetInternalMargin(arg2);
42692 wxPyEndAllowThreads(__tstate);
42693 if (PyErr_Occurred()) SWIG_fail;
42694 }
42695 resultobj = SWIG_Py_Void();
42696 return resultobj;
42697 fail:
42698 return NULL;
42699 }
42700
42701
42702 SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42703 PyObject *resultobj = 0;
42704 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42705 int result;
42706 void *argp1 = 0 ;
42707 int res1 = 0 ;
42708 PyObject *swig_obj[1] ;
42709
42710 if (!args) SWIG_fail;
42711 swig_obj[0] = args;
42712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42713 if (!SWIG_IsOK(res1)) {
42714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42715 }
42716 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42717 {
42718 PyThreadState* __tstate = wxPyBeginAllowThreads();
42719 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42720 wxPyEndAllowThreads(__tstate);
42721 if (PyErr_Occurred()) SWIG_fail;
42722 }
42723 resultobj = SWIG_From_int(static_cast< int >(result));
42724 return resultobj;
42725 fail:
42726 return NULL;
42727 }
42728
42729
42730 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42731 PyObject *resultobj = 0;
42732 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42733 int arg2 ;
42734 void *argp1 = 0 ;
42735 int res1 = 0 ;
42736 int val2 ;
42737 int ecode2 = 0 ;
42738 PyObject * obj0 = 0 ;
42739 PyObject * obj1 = 0 ;
42740 char * kwnames[] = {
42741 (char *) "self",(char *) "prop", NULL
42742 };
42743
42744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42746 if (!SWIG_IsOK(res1)) {
42747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42748 }
42749 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42750 ecode2 = SWIG_AsVal_int(obj1, &val2);
42751 if (!SWIG_IsOK(ecode2)) {
42752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42753 }
42754 arg2 = static_cast< int >(val2);
42755 {
42756 PyThreadState* __tstate = wxPyBeginAllowThreads();
42757 (arg1)->SetTextCtrlProportion(arg2);
42758 wxPyEndAllowThreads(__tstate);
42759 if (PyErr_Occurred()) SWIG_fail;
42760 }
42761 resultobj = SWIG_Py_Void();
42762 return resultobj;
42763 fail:
42764 return NULL;
42765 }
42766
42767
42768 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42769 PyObject *resultobj = 0;
42770 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42771 int result;
42772 void *argp1 = 0 ;
42773 int res1 = 0 ;
42774 PyObject *swig_obj[1] ;
42775
42776 if (!args) SWIG_fail;
42777 swig_obj[0] = args;
42778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42779 if (!SWIG_IsOK(res1)) {
42780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42781 }
42782 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42783 {
42784 PyThreadState* __tstate = wxPyBeginAllowThreads();
42785 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
42786 wxPyEndAllowThreads(__tstate);
42787 if (PyErr_Occurred()) SWIG_fail;
42788 }
42789 resultobj = SWIG_From_int(static_cast< int >(result));
42790 return resultobj;
42791 fail:
42792 return NULL;
42793 }
42794
42795
42796 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42797 PyObject *resultobj = 0;
42798 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42799 int arg2 ;
42800 void *argp1 = 0 ;
42801 int res1 = 0 ;
42802 int val2 ;
42803 int ecode2 = 0 ;
42804 PyObject * obj0 = 0 ;
42805 PyObject * obj1 = 0 ;
42806 char * kwnames[] = {
42807 (char *) "self",(char *) "prop", NULL
42808 };
42809
42810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42812 if (!SWIG_IsOK(res1)) {
42813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42814 }
42815 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42816 ecode2 = SWIG_AsVal_int(obj1, &val2);
42817 if (!SWIG_IsOK(ecode2)) {
42818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42819 }
42820 arg2 = static_cast< int >(val2);
42821 {
42822 PyThreadState* __tstate = wxPyBeginAllowThreads();
42823 (arg1)->SetPickerCtrlProportion(arg2);
42824 wxPyEndAllowThreads(__tstate);
42825 if (PyErr_Occurred()) SWIG_fail;
42826 }
42827 resultobj = SWIG_Py_Void();
42828 return resultobj;
42829 fail:
42830 return NULL;
42831 }
42832
42833
42834 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42835 PyObject *resultobj = 0;
42836 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42837 int result;
42838 void *argp1 = 0 ;
42839 int res1 = 0 ;
42840 PyObject *swig_obj[1] ;
42841
42842 if (!args) SWIG_fail;
42843 swig_obj[0] = args;
42844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42845 if (!SWIG_IsOK(res1)) {
42846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42847 }
42848 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42849 {
42850 PyThreadState* __tstate = wxPyBeginAllowThreads();
42851 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
42852 wxPyEndAllowThreads(__tstate);
42853 if (PyErr_Occurred()) SWIG_fail;
42854 }
42855 resultobj = SWIG_From_int(static_cast< int >(result));
42856 return resultobj;
42857 fail:
42858 return NULL;
42859 }
42860
42861
42862 SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42863 PyObject *resultobj = 0;
42864 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42865 bool result;
42866 void *argp1 = 0 ;
42867 int res1 = 0 ;
42868 PyObject *swig_obj[1] ;
42869
42870 if (!args) SWIG_fail;
42871 swig_obj[0] = args;
42872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42873 if (!SWIG_IsOK(res1)) {
42874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42875 }
42876 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42877 {
42878 PyThreadState* __tstate = wxPyBeginAllowThreads();
42879 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
42880 wxPyEndAllowThreads(__tstate);
42881 if (PyErr_Occurred()) SWIG_fail;
42882 }
42883 {
42884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42885 }
42886 return resultobj;
42887 fail:
42888 return NULL;
42889 }
42890
42891
42892 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42893 PyObject *resultobj = 0;
42894 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42895 bool arg2 = (bool) true ;
42896 void *argp1 = 0 ;
42897 int res1 = 0 ;
42898 bool val2 ;
42899 int ecode2 = 0 ;
42900 PyObject * obj0 = 0 ;
42901 PyObject * obj1 = 0 ;
42902 char * kwnames[] = {
42903 (char *) "self",(char *) "grow", NULL
42904 };
42905
42906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
42907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42908 if (!SWIG_IsOK(res1)) {
42909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42910 }
42911 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42912 if (obj1) {
42913 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42914 if (!SWIG_IsOK(ecode2)) {
42915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42916 }
42917 arg2 = static_cast< bool >(val2);
42918 }
42919 {
42920 PyThreadState* __tstate = wxPyBeginAllowThreads();
42921 (arg1)->SetTextCtrlGrowable(arg2);
42922 wxPyEndAllowThreads(__tstate);
42923 if (PyErr_Occurred()) SWIG_fail;
42924 }
42925 resultobj = SWIG_Py_Void();
42926 return resultobj;
42927 fail:
42928 return NULL;
42929 }
42930
42931
42932 SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42933 PyObject *resultobj = 0;
42934 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42935 bool result;
42936 void *argp1 = 0 ;
42937 int res1 = 0 ;
42938 PyObject *swig_obj[1] ;
42939
42940 if (!args) SWIG_fail;
42941 swig_obj[0] = args;
42942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42943 if (!SWIG_IsOK(res1)) {
42944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42945 }
42946 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42947 {
42948 PyThreadState* __tstate = wxPyBeginAllowThreads();
42949 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
42950 wxPyEndAllowThreads(__tstate);
42951 if (PyErr_Occurred()) SWIG_fail;
42952 }
42953 {
42954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42955 }
42956 return resultobj;
42957 fail:
42958 return NULL;
42959 }
42960
42961
42962 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42963 PyObject *resultobj = 0;
42964 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42965 bool arg2 = (bool) true ;
42966 void *argp1 = 0 ;
42967 int res1 = 0 ;
42968 bool val2 ;
42969 int ecode2 = 0 ;
42970 PyObject * obj0 = 0 ;
42971 PyObject * obj1 = 0 ;
42972 char * kwnames[] = {
42973 (char *) "self",(char *) "grow", NULL
42974 };
42975
42976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
42977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42978 if (!SWIG_IsOK(res1)) {
42979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42980 }
42981 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42982 if (obj1) {
42983 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42984 if (!SWIG_IsOK(ecode2)) {
42985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42986 }
42987 arg2 = static_cast< bool >(val2);
42988 }
42989 {
42990 PyThreadState* __tstate = wxPyBeginAllowThreads();
42991 (arg1)->SetPickerCtrlGrowable(arg2);
42992 wxPyEndAllowThreads(__tstate);
42993 if (PyErr_Occurred()) SWIG_fail;
42994 }
42995 resultobj = SWIG_Py_Void();
42996 return resultobj;
42997 fail:
42998 return NULL;
42999 }
43000
43001
43002 SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43003 PyObject *resultobj = 0;
43004 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43005 bool result;
43006 void *argp1 = 0 ;
43007 int res1 = 0 ;
43008 PyObject *swig_obj[1] ;
43009
43010 if (!args) SWIG_fail;
43011 swig_obj[0] = args;
43012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43013 if (!SWIG_IsOK(res1)) {
43014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43015 }
43016 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43017 {
43018 PyThreadState* __tstate = wxPyBeginAllowThreads();
43019 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
43020 wxPyEndAllowThreads(__tstate);
43021 if (PyErr_Occurred()) SWIG_fail;
43022 }
43023 {
43024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43025 }
43026 return resultobj;
43027 fail:
43028 return NULL;
43029 }
43030
43031
43032 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43033 PyObject *resultobj = 0;
43034 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43035 wxTextCtrl *result = 0 ;
43036 void *argp1 = 0 ;
43037 int res1 = 0 ;
43038 PyObject *swig_obj[1] ;
43039
43040 if (!args) SWIG_fail;
43041 swig_obj[0] = args;
43042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43043 if (!SWIG_IsOK(res1)) {
43044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43045 }
43046 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43047 {
43048 PyThreadState* __tstate = wxPyBeginAllowThreads();
43049 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
43050 wxPyEndAllowThreads(__tstate);
43051 if (PyErr_Occurred()) SWIG_fail;
43052 }
43053 {
43054 resultobj = wxPyMake_wxObject(result, 0);
43055 }
43056 return resultobj;
43057 fail:
43058 return NULL;
43059 }
43060
43061
43062 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43063 PyObject *resultobj = 0;
43064 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43065 wxControl *result = 0 ;
43066 void *argp1 = 0 ;
43067 int res1 = 0 ;
43068 PyObject *swig_obj[1] ;
43069
43070 if (!args) SWIG_fail;
43071 swig_obj[0] = args;
43072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43073 if (!SWIG_IsOK(res1)) {
43074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43075 }
43076 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43077 {
43078 PyThreadState* __tstate = wxPyBeginAllowThreads();
43079 result = (wxControl *)(arg1)->GetPickerCtrl();
43080 wxPyEndAllowThreads(__tstate);
43081 if (PyErr_Occurred()) SWIG_fail;
43082 }
43083 {
43084 resultobj = wxPyMake_wxObject(result, 0);
43085 }
43086 return resultobj;
43087 fail:
43088 return NULL;
43089 }
43090
43091
43092 SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43093 PyObject *obj;
43094 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43095 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43096 return SWIG_Py_Void();
43097 }
43098
43099 SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43100 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43101 return 1;
43102 }
43103
43104
43105 SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43106 PyObject *pyobj = 0;
43107
43108 {
43109 #if wxUSE_UNICODE
43110 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43111 #else
43112 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43113 #endif
43114 }
43115 return pyobj;
43116 }
43117
43118
43119 SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43120 PyObject *resultobj = 0;
43121 wxWindow *arg1 = (wxWindow *) 0 ;
43122 int arg2 = (int) -1 ;
43123 wxColour const &arg3_defvalue = *wxBLACK ;
43124 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43125 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43126 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43127 wxSize const &arg5_defvalue = wxDefaultSize ;
43128 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43129 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43130 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43131 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43132 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43133 wxString *arg8 = (wxString *) &arg8_defvalue ;
43134 wxColourPickerCtrl *result = 0 ;
43135 void *argp1 = 0 ;
43136 int res1 = 0 ;
43137 int val2 ;
43138 int ecode2 = 0 ;
43139 wxColour temp3 ;
43140 wxPoint temp4 ;
43141 wxSize temp5 ;
43142 long val6 ;
43143 int ecode6 = 0 ;
43144 void *argp7 = 0 ;
43145 int res7 = 0 ;
43146 bool temp8 = false ;
43147 PyObject * obj0 = 0 ;
43148 PyObject * obj1 = 0 ;
43149 PyObject * obj2 = 0 ;
43150 PyObject * obj3 = 0 ;
43151 PyObject * obj4 = 0 ;
43152 PyObject * obj5 = 0 ;
43153 PyObject * obj6 = 0 ;
43154 PyObject * obj7 = 0 ;
43155 char * kwnames[] = {
43156 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43157 };
43158
43159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43161 if (!SWIG_IsOK(res1)) {
43162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43163 }
43164 arg1 = reinterpret_cast< wxWindow * >(argp1);
43165 if (obj1) {
43166 ecode2 = SWIG_AsVal_int(obj1, &val2);
43167 if (!SWIG_IsOK(ecode2)) {
43168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43169 }
43170 arg2 = static_cast< int >(val2);
43171 }
43172 if (obj2) {
43173 {
43174 arg3 = &temp3;
43175 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43176 }
43177 }
43178 if (obj3) {
43179 {
43180 arg4 = &temp4;
43181 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43182 }
43183 }
43184 if (obj4) {
43185 {
43186 arg5 = &temp5;
43187 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43188 }
43189 }
43190 if (obj5) {
43191 ecode6 = SWIG_AsVal_long(obj5, &val6);
43192 if (!SWIG_IsOK(ecode6)) {
43193 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43194 }
43195 arg6 = static_cast< long >(val6);
43196 }
43197 if (obj6) {
43198 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43199 if (!SWIG_IsOK(res7)) {
43200 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43201 }
43202 if (!argp7) {
43203 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43204 }
43205 arg7 = reinterpret_cast< wxValidator * >(argp7);
43206 }
43207 if (obj7) {
43208 {
43209 arg8 = wxString_in_helper(obj7);
43210 if (arg8 == NULL) SWIG_fail;
43211 temp8 = true;
43212 }
43213 }
43214 {
43215 if (!wxPyCheckForApp()) SWIG_fail;
43216 PyThreadState* __tstate = wxPyBeginAllowThreads();
43217 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43218 wxPyEndAllowThreads(__tstate);
43219 if (PyErr_Occurred()) SWIG_fail;
43220 }
43221 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43222 {
43223 if (temp8)
43224 delete arg8;
43225 }
43226 return resultobj;
43227 fail:
43228 {
43229 if (temp8)
43230 delete arg8;
43231 }
43232 return NULL;
43233 }
43234
43235
43236 SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43237 PyObject *resultobj = 0;
43238 wxColourPickerCtrl *result = 0 ;
43239
43240 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43241 {
43242 if (!wxPyCheckForApp()) SWIG_fail;
43243 PyThreadState* __tstate = wxPyBeginAllowThreads();
43244 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43245 wxPyEndAllowThreads(__tstate);
43246 if (PyErr_Occurred()) SWIG_fail;
43247 }
43248 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43249 return resultobj;
43250 fail:
43251 return NULL;
43252 }
43253
43254
43255 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43256 PyObject *resultobj = 0;
43257 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43258 wxWindow *arg2 = (wxWindow *) 0 ;
43259 int arg3 ;
43260 wxColour const &arg4_defvalue = *wxBLACK ;
43261 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43262 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43263 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43264 wxSize const &arg6_defvalue = wxDefaultSize ;
43265 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43266 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43267 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43268 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43269 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43270 wxString *arg9 = (wxString *) &arg9_defvalue ;
43271 bool result;
43272 void *argp1 = 0 ;
43273 int res1 = 0 ;
43274 void *argp2 = 0 ;
43275 int res2 = 0 ;
43276 int val3 ;
43277 int ecode3 = 0 ;
43278 wxColour temp4 ;
43279 wxPoint temp5 ;
43280 wxSize temp6 ;
43281 long val7 ;
43282 int ecode7 = 0 ;
43283 void *argp8 = 0 ;
43284 int res8 = 0 ;
43285 bool temp9 = false ;
43286 PyObject * obj0 = 0 ;
43287 PyObject * obj1 = 0 ;
43288 PyObject * obj2 = 0 ;
43289 PyObject * obj3 = 0 ;
43290 PyObject * obj4 = 0 ;
43291 PyObject * obj5 = 0 ;
43292 PyObject * obj6 = 0 ;
43293 PyObject * obj7 = 0 ;
43294 PyObject * obj8 = 0 ;
43295 char * kwnames[] = {
43296 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43297 };
43298
43299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43301 if (!SWIG_IsOK(res1)) {
43302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43303 }
43304 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43305 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43306 if (!SWIG_IsOK(res2)) {
43307 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43308 }
43309 arg2 = reinterpret_cast< wxWindow * >(argp2);
43310 ecode3 = SWIG_AsVal_int(obj2, &val3);
43311 if (!SWIG_IsOK(ecode3)) {
43312 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43313 }
43314 arg3 = static_cast< int >(val3);
43315 if (obj3) {
43316 {
43317 arg4 = &temp4;
43318 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43319 }
43320 }
43321 if (obj4) {
43322 {
43323 arg5 = &temp5;
43324 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43325 }
43326 }
43327 if (obj5) {
43328 {
43329 arg6 = &temp6;
43330 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43331 }
43332 }
43333 if (obj6) {
43334 ecode7 = SWIG_AsVal_long(obj6, &val7);
43335 if (!SWIG_IsOK(ecode7)) {
43336 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43337 }
43338 arg7 = static_cast< long >(val7);
43339 }
43340 if (obj7) {
43341 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43342 if (!SWIG_IsOK(res8)) {
43343 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43344 }
43345 if (!argp8) {
43346 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43347 }
43348 arg8 = reinterpret_cast< wxValidator * >(argp8);
43349 }
43350 if (obj8) {
43351 {
43352 arg9 = wxString_in_helper(obj8);
43353 if (arg9 == NULL) SWIG_fail;
43354 temp9 = true;
43355 }
43356 }
43357 {
43358 PyThreadState* __tstate = wxPyBeginAllowThreads();
43359 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43360 wxPyEndAllowThreads(__tstate);
43361 if (PyErr_Occurred()) SWIG_fail;
43362 }
43363 {
43364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43365 }
43366 {
43367 if (temp9)
43368 delete arg9;
43369 }
43370 return resultobj;
43371 fail:
43372 {
43373 if (temp9)
43374 delete arg9;
43375 }
43376 return NULL;
43377 }
43378
43379
43380 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43381 PyObject *resultobj = 0;
43382 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43383 wxColour result;
43384 void *argp1 = 0 ;
43385 int res1 = 0 ;
43386 PyObject *swig_obj[1] ;
43387
43388 if (!args) SWIG_fail;
43389 swig_obj[0] = args;
43390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43391 if (!SWIG_IsOK(res1)) {
43392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43393 }
43394 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43395 {
43396 PyThreadState* __tstate = wxPyBeginAllowThreads();
43397 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
43398 wxPyEndAllowThreads(__tstate);
43399 if (PyErr_Occurred()) SWIG_fail;
43400 }
43401 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43402 return resultobj;
43403 fail:
43404 return NULL;
43405 }
43406
43407
43408 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43409 PyObject *resultobj = 0;
43410 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43411 wxColour *arg2 = 0 ;
43412 void *argp1 = 0 ;
43413 int res1 = 0 ;
43414 wxColour temp2 ;
43415 PyObject * obj0 = 0 ;
43416 PyObject * obj1 = 0 ;
43417 char * kwnames[] = {
43418 (char *) "self",(char *) "col", NULL
43419 };
43420
43421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43423 if (!SWIG_IsOK(res1)) {
43424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43425 }
43426 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43427 {
43428 arg2 = &temp2;
43429 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43430 }
43431 {
43432 PyThreadState* __tstate = wxPyBeginAllowThreads();
43433 (arg1)->SetColour((wxColour const &)*arg2);
43434 wxPyEndAllowThreads(__tstate);
43435 if (PyErr_Occurred()) SWIG_fail;
43436 }
43437 resultobj = SWIG_Py_Void();
43438 return resultobj;
43439 fail:
43440 return NULL;
43441 }
43442
43443
43444 SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43445 PyObject *obj;
43446 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43447 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
43448 return SWIG_Py_Void();
43449 }
43450
43451 SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43452 return SWIG_Python_InitShadowInstance(args);
43453 }
43454
43455 SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43456 PyObject *resultobj = 0;
43457 wxObject *arg1 = (wxObject *) 0 ;
43458 int arg2 ;
43459 wxColour *arg3 = 0 ;
43460 wxColourPickerEvent *result = 0 ;
43461 void *argp1 = 0 ;
43462 int res1 = 0 ;
43463 int val2 ;
43464 int ecode2 = 0 ;
43465 wxColour temp3 ;
43466 PyObject * obj0 = 0 ;
43467 PyObject * obj1 = 0 ;
43468 PyObject * obj2 = 0 ;
43469 char * kwnames[] = {
43470 (char *) "generator",(char *) "id",(char *) "col", NULL
43471 };
43472
43473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43475 if (!SWIG_IsOK(res1)) {
43476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43477 }
43478 arg1 = reinterpret_cast< wxObject * >(argp1);
43479 ecode2 = SWIG_AsVal_int(obj1, &val2);
43480 if (!SWIG_IsOK(ecode2)) {
43481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43482 }
43483 arg2 = static_cast< int >(val2);
43484 {
43485 arg3 = &temp3;
43486 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43487 }
43488 {
43489 PyThreadState* __tstate = wxPyBeginAllowThreads();
43490 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43491 wxPyEndAllowThreads(__tstate);
43492 if (PyErr_Occurred()) SWIG_fail;
43493 }
43494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43495 return resultobj;
43496 fail:
43497 return NULL;
43498 }
43499
43500
43501 SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43502 PyObject *resultobj = 0;
43503 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43504 wxColour result;
43505 void *argp1 = 0 ;
43506 int res1 = 0 ;
43507 PyObject *swig_obj[1] ;
43508
43509 if (!args) SWIG_fail;
43510 swig_obj[0] = args;
43511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43512 if (!SWIG_IsOK(res1)) {
43513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43514 }
43515 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43516 {
43517 PyThreadState* __tstate = wxPyBeginAllowThreads();
43518 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43519 wxPyEndAllowThreads(__tstate);
43520 if (PyErr_Occurred()) SWIG_fail;
43521 }
43522 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43523 return resultobj;
43524 fail:
43525 return NULL;
43526 }
43527
43528
43529 SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43530 PyObject *resultobj = 0;
43531 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43532 wxColour *arg2 = 0 ;
43533 void *argp1 = 0 ;
43534 int res1 = 0 ;
43535 wxColour temp2 ;
43536 PyObject * obj0 = 0 ;
43537 PyObject * obj1 = 0 ;
43538 char * kwnames[] = {
43539 (char *) "self",(char *) "c", NULL
43540 };
43541
43542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43544 if (!SWIG_IsOK(res1)) {
43545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43546 }
43547 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43548 {
43549 arg2 = &temp2;
43550 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43551 }
43552 {
43553 PyThreadState* __tstate = wxPyBeginAllowThreads();
43554 (arg1)->SetColour((wxColour const &)*arg2);
43555 wxPyEndAllowThreads(__tstate);
43556 if (PyErr_Occurred()) SWIG_fail;
43557 }
43558 resultobj = SWIG_Py_Void();
43559 return resultobj;
43560 fail:
43561 return NULL;
43562 }
43563
43564
43565 SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43566 PyObject *obj;
43567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43568 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43569 return SWIG_Py_Void();
43570 }
43571
43572 SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43573 return SWIG_Python_InitShadowInstance(args);
43574 }
43575
43576 SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43577 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43578 return 1;
43579 }
43580
43581
43582 SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43583 PyObject *pyobj = 0;
43584
43585 {
43586 #if wxUSE_UNICODE
43587 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43588 #else
43589 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43590 #endif
43591 }
43592 return pyobj;
43593 }
43594
43595
43596 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43597 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43598 return 1;
43599 }
43600
43601
43602 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43603 PyObject *pyobj = 0;
43604
43605 {
43606 #if wxUSE_UNICODE
43607 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43608 #else
43609 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43610 #endif
43611 }
43612 return pyobj;
43613 }
43614
43615
43616 SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43617 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43618 return 1;
43619 }
43620
43621
43622 SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43623 PyObject *pyobj = 0;
43624
43625 {
43626 #if wxUSE_UNICODE
43627 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43628 #else
43629 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43630 #endif
43631 }
43632 return pyobj;
43633 }
43634
43635
43636 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43637 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43638 return 1;
43639 }
43640
43641
43642 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43643 PyObject *pyobj = 0;
43644
43645 {
43646 #if wxUSE_UNICODE
43647 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43648 #else
43649 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43650 #endif
43651 }
43652 return pyobj;
43653 }
43654
43655
43656 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43657 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43658 return 1;
43659 }
43660
43661
43662 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43663 PyObject *pyobj = 0;
43664
43665 {
43666 #if wxUSE_UNICODE
43667 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43668 #else
43669 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43670 #endif
43671 }
43672 return pyobj;
43673 }
43674
43675
43676 SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43677 PyObject *resultobj = 0;
43678 wxWindow *arg1 = (wxWindow *) 0 ;
43679 int arg2 = (int) -1 ;
43680 wxString const &arg3_defvalue = wxPyEmptyString ;
43681 wxString *arg3 = (wxString *) &arg3_defvalue ;
43682 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43683 wxString *arg4 = (wxString *) &arg4_defvalue ;
43684 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43685 wxString *arg5 = (wxString *) &arg5_defvalue ;
43686 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43687 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43688 wxSize const &arg7_defvalue = wxDefaultSize ;
43689 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43690 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43691 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43692 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43693 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43694 wxString *arg10 = (wxString *) &arg10_defvalue ;
43695 wxFilePickerCtrl *result = 0 ;
43696 void *argp1 = 0 ;
43697 int res1 = 0 ;
43698 int val2 ;
43699 int ecode2 = 0 ;
43700 bool temp3 = false ;
43701 bool temp4 = false ;
43702 bool temp5 = false ;
43703 wxPoint temp6 ;
43704 wxSize temp7 ;
43705 long val8 ;
43706 int ecode8 = 0 ;
43707 void *argp9 = 0 ;
43708 int res9 = 0 ;
43709 bool temp10 = false ;
43710 PyObject * obj0 = 0 ;
43711 PyObject * obj1 = 0 ;
43712 PyObject * obj2 = 0 ;
43713 PyObject * obj3 = 0 ;
43714 PyObject * obj4 = 0 ;
43715 PyObject * obj5 = 0 ;
43716 PyObject * obj6 = 0 ;
43717 PyObject * obj7 = 0 ;
43718 PyObject * obj8 = 0 ;
43719 PyObject * obj9 = 0 ;
43720 char * kwnames[] = {
43721 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43722 };
43723
43724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43726 if (!SWIG_IsOK(res1)) {
43727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43728 }
43729 arg1 = reinterpret_cast< wxWindow * >(argp1);
43730 if (obj1) {
43731 ecode2 = SWIG_AsVal_int(obj1, &val2);
43732 if (!SWIG_IsOK(ecode2)) {
43733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43734 }
43735 arg2 = static_cast< int >(val2);
43736 }
43737 if (obj2) {
43738 {
43739 arg3 = wxString_in_helper(obj2);
43740 if (arg3 == NULL) SWIG_fail;
43741 temp3 = true;
43742 }
43743 }
43744 if (obj3) {
43745 {
43746 arg4 = wxString_in_helper(obj3);
43747 if (arg4 == NULL) SWIG_fail;
43748 temp4 = true;
43749 }
43750 }
43751 if (obj4) {
43752 {
43753 arg5 = wxString_in_helper(obj4);
43754 if (arg5 == NULL) SWIG_fail;
43755 temp5 = true;
43756 }
43757 }
43758 if (obj5) {
43759 {
43760 arg6 = &temp6;
43761 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43762 }
43763 }
43764 if (obj6) {
43765 {
43766 arg7 = &temp7;
43767 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43768 }
43769 }
43770 if (obj7) {
43771 ecode8 = SWIG_AsVal_long(obj7, &val8);
43772 if (!SWIG_IsOK(ecode8)) {
43773 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43774 }
43775 arg8 = static_cast< long >(val8);
43776 }
43777 if (obj8) {
43778 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43779 if (!SWIG_IsOK(res9)) {
43780 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43781 }
43782 if (!argp9) {
43783 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43784 }
43785 arg9 = reinterpret_cast< wxValidator * >(argp9);
43786 }
43787 if (obj9) {
43788 {
43789 arg10 = wxString_in_helper(obj9);
43790 if (arg10 == NULL) SWIG_fail;
43791 temp10 = true;
43792 }
43793 }
43794 {
43795 if (!wxPyCheckForApp()) SWIG_fail;
43796 PyThreadState* __tstate = wxPyBeginAllowThreads();
43797 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);
43798 wxPyEndAllowThreads(__tstate);
43799 if (PyErr_Occurred()) SWIG_fail;
43800 }
43801 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
43802 {
43803 if (temp3)
43804 delete arg3;
43805 }
43806 {
43807 if (temp4)
43808 delete arg4;
43809 }
43810 {
43811 if (temp5)
43812 delete arg5;
43813 }
43814 {
43815 if (temp10)
43816 delete arg10;
43817 }
43818 return resultobj;
43819 fail:
43820 {
43821 if (temp3)
43822 delete arg3;
43823 }
43824 {
43825 if (temp4)
43826 delete arg4;
43827 }
43828 {
43829 if (temp5)
43830 delete arg5;
43831 }
43832 {
43833 if (temp10)
43834 delete arg10;
43835 }
43836 return NULL;
43837 }
43838
43839
43840 SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43841 PyObject *resultobj = 0;
43842 wxFilePickerCtrl *result = 0 ;
43843
43844 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
43845 {
43846 if (!wxPyCheckForApp()) SWIG_fail;
43847 PyThreadState* __tstate = wxPyBeginAllowThreads();
43848 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
43849 wxPyEndAllowThreads(__tstate);
43850 if (PyErr_Occurred()) SWIG_fail;
43851 }
43852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
43853 return resultobj;
43854 fail:
43855 return NULL;
43856 }
43857
43858
43859 SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43860 PyObject *resultobj = 0;
43861 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43862 wxWindow *arg2 = (wxWindow *) 0 ;
43863 int arg3 = (int) -1 ;
43864 wxString const &arg4_defvalue = wxPyEmptyString ;
43865 wxString *arg4 = (wxString *) &arg4_defvalue ;
43866 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
43867 wxString *arg5 = (wxString *) &arg5_defvalue ;
43868 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43869 wxString *arg6 = (wxString *) &arg6_defvalue ;
43870 wxPoint const &arg7_defvalue = wxDefaultPosition ;
43871 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
43872 wxSize const &arg8_defvalue = wxDefaultSize ;
43873 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
43874 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
43875 wxValidator const &arg10_defvalue = wxDefaultValidator ;
43876 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
43877 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
43878 wxString *arg11 = (wxString *) &arg11_defvalue ;
43879 bool result;
43880 void *argp1 = 0 ;
43881 int res1 = 0 ;
43882 void *argp2 = 0 ;
43883 int res2 = 0 ;
43884 int val3 ;
43885 int ecode3 = 0 ;
43886 bool temp4 = false ;
43887 bool temp5 = false ;
43888 bool temp6 = false ;
43889 wxPoint temp7 ;
43890 wxSize temp8 ;
43891 long val9 ;
43892 int ecode9 = 0 ;
43893 void *argp10 = 0 ;
43894 int res10 = 0 ;
43895 bool temp11 = false ;
43896 PyObject * obj0 = 0 ;
43897 PyObject * obj1 = 0 ;
43898 PyObject * obj2 = 0 ;
43899 PyObject * obj3 = 0 ;
43900 PyObject * obj4 = 0 ;
43901 PyObject * obj5 = 0 ;
43902 PyObject * obj6 = 0 ;
43903 PyObject * obj7 = 0 ;
43904 PyObject * obj8 = 0 ;
43905 PyObject * obj9 = 0 ;
43906 PyObject * obj10 = 0 ;
43907 char * kwnames[] = {
43908 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43909 };
43910
43911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
43912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43913 if (!SWIG_IsOK(res1)) {
43914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43915 }
43916 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43917 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43918 if (!SWIG_IsOK(res2)) {
43919 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43920 }
43921 arg2 = reinterpret_cast< wxWindow * >(argp2);
43922 if (obj2) {
43923 ecode3 = SWIG_AsVal_int(obj2, &val3);
43924 if (!SWIG_IsOK(ecode3)) {
43925 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43926 }
43927 arg3 = static_cast< int >(val3);
43928 }
43929 if (obj3) {
43930 {
43931 arg4 = wxString_in_helper(obj3);
43932 if (arg4 == NULL) SWIG_fail;
43933 temp4 = true;
43934 }
43935 }
43936 if (obj4) {
43937 {
43938 arg5 = wxString_in_helper(obj4);
43939 if (arg5 == NULL) SWIG_fail;
43940 temp5 = true;
43941 }
43942 }
43943 if (obj5) {
43944 {
43945 arg6 = wxString_in_helper(obj5);
43946 if (arg6 == NULL) SWIG_fail;
43947 temp6 = true;
43948 }
43949 }
43950 if (obj6) {
43951 {
43952 arg7 = &temp7;
43953 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
43954 }
43955 }
43956 if (obj7) {
43957 {
43958 arg8 = &temp8;
43959 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
43960 }
43961 }
43962 if (obj8) {
43963 ecode9 = SWIG_AsVal_long(obj8, &val9);
43964 if (!SWIG_IsOK(ecode9)) {
43965 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43966 }
43967 arg9 = static_cast< long >(val9);
43968 }
43969 if (obj9) {
43970 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
43971 if (!SWIG_IsOK(res10)) {
43972 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43973 }
43974 if (!argp10) {
43975 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43976 }
43977 arg10 = reinterpret_cast< wxValidator * >(argp10);
43978 }
43979 if (obj10) {
43980 {
43981 arg11 = wxString_in_helper(obj10);
43982 if (arg11 == NULL) SWIG_fail;
43983 temp11 = true;
43984 }
43985 }
43986 {
43987 PyThreadState* __tstate = wxPyBeginAllowThreads();
43988 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);
43989 wxPyEndAllowThreads(__tstate);
43990 if (PyErr_Occurred()) SWIG_fail;
43991 }
43992 {
43993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43994 }
43995 {
43996 if (temp4)
43997 delete arg4;
43998 }
43999 {
44000 if (temp5)
44001 delete arg5;
44002 }
44003 {
44004 if (temp6)
44005 delete arg6;
44006 }
44007 {
44008 if (temp11)
44009 delete arg11;
44010 }
44011 return resultobj;
44012 fail:
44013 {
44014 if (temp4)
44015 delete arg4;
44016 }
44017 {
44018 if (temp5)
44019 delete arg5;
44020 }
44021 {
44022 if (temp6)
44023 delete arg6;
44024 }
44025 {
44026 if (temp11)
44027 delete arg11;
44028 }
44029 return NULL;
44030 }
44031
44032
44033 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44034 PyObject *resultobj = 0;
44035 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44036 wxString result;
44037 void *argp1 = 0 ;
44038 int res1 = 0 ;
44039 PyObject *swig_obj[1] ;
44040
44041 if (!args) SWIG_fail;
44042 swig_obj[0] = args;
44043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44044 if (!SWIG_IsOK(res1)) {
44045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44046 }
44047 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44048 {
44049 PyThreadState* __tstate = wxPyBeginAllowThreads();
44050 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
44051 wxPyEndAllowThreads(__tstate);
44052 if (PyErr_Occurred()) SWIG_fail;
44053 }
44054 {
44055 #if wxUSE_UNICODE
44056 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44057 #else
44058 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44059 #endif
44060 }
44061 return resultobj;
44062 fail:
44063 return NULL;
44064 }
44065
44066
44067 SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44068 PyObject *resultobj = 0;
44069 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44070 wxString *arg2 = 0 ;
44071 void *argp1 = 0 ;
44072 int res1 = 0 ;
44073 bool temp2 = false ;
44074 PyObject * obj0 = 0 ;
44075 PyObject * obj1 = 0 ;
44076 char * kwnames[] = {
44077 (char *) "self",(char *) "str", NULL
44078 };
44079
44080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44082 if (!SWIG_IsOK(res1)) {
44083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44084 }
44085 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44086 {
44087 arg2 = wxString_in_helper(obj1);
44088 if (arg2 == NULL) SWIG_fail;
44089 temp2 = true;
44090 }
44091 {
44092 PyThreadState* __tstate = wxPyBeginAllowThreads();
44093 (arg1)->SetPath((wxString const &)*arg2);
44094 wxPyEndAllowThreads(__tstate);
44095 if (PyErr_Occurred()) SWIG_fail;
44096 }
44097 resultobj = SWIG_Py_Void();
44098 {
44099 if (temp2)
44100 delete arg2;
44101 }
44102 return resultobj;
44103 fail:
44104 {
44105 if (temp2)
44106 delete arg2;
44107 }
44108 return NULL;
44109 }
44110
44111
44112 SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44113 PyObject *resultobj = 0;
44114 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44115 wxString *arg2 = 0 ;
44116 bool result;
44117 void *argp1 = 0 ;
44118 int res1 = 0 ;
44119 bool temp2 = false ;
44120 PyObject * obj0 = 0 ;
44121 PyObject * obj1 = 0 ;
44122 char * kwnames[] = {
44123 (char *) "self",(char *) "path", NULL
44124 };
44125
44126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) 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_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44130 }
44131 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44132 {
44133 arg2 = wxString_in_helper(obj1);
44134 if (arg2 == NULL) SWIG_fail;
44135 temp2 = true;
44136 }
44137 {
44138 PyThreadState* __tstate = wxPyBeginAllowThreads();
44139 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44140 wxPyEndAllowThreads(__tstate);
44141 if (PyErr_Occurred()) SWIG_fail;
44142 }
44143 {
44144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44145 }
44146 {
44147 if (temp2)
44148 delete arg2;
44149 }
44150 return resultobj;
44151 fail:
44152 {
44153 if (temp2)
44154 delete arg2;
44155 }
44156 return NULL;
44157 }
44158
44159
44160 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44161 PyObject *resultobj = 0;
44162 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44163 wxString result;
44164 void *argp1 = 0 ;
44165 int res1 = 0 ;
44166 PyObject *swig_obj[1] ;
44167
44168 if (!args) SWIG_fail;
44169 swig_obj[0] = args;
44170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44171 if (!SWIG_IsOK(res1)) {
44172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44173 }
44174 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44175 {
44176 PyThreadState* __tstate = wxPyBeginAllowThreads();
44177 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44178 wxPyEndAllowThreads(__tstate);
44179 if (PyErr_Occurred()) SWIG_fail;
44180 }
44181 {
44182 #if wxUSE_UNICODE
44183 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44184 #else
44185 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44186 #endif
44187 }
44188 return resultobj;
44189 fail:
44190 return NULL;
44191 }
44192
44193
44194 SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44195 PyObject *obj;
44196 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44197 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44198 return SWIG_Py_Void();
44199 }
44200
44201 SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44202 return SWIG_Python_InitShadowInstance(args);
44203 }
44204
44205 SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44206 PyObject *resultobj = 0;
44207 wxWindow *arg1 = (wxWindow *) 0 ;
44208 int arg2 = (int) -1 ;
44209 wxString const &arg3_defvalue = wxPyEmptyString ;
44210 wxString *arg3 = (wxString *) &arg3_defvalue ;
44211 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44212 wxString *arg4 = (wxString *) &arg4_defvalue ;
44213 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44214 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44215 wxSize const &arg6_defvalue = wxDefaultSize ;
44216 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44217 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44218 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44219 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44220 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44221 wxString *arg9 = (wxString *) &arg9_defvalue ;
44222 wxDirPickerCtrl *result = 0 ;
44223 void *argp1 = 0 ;
44224 int res1 = 0 ;
44225 int val2 ;
44226 int ecode2 = 0 ;
44227 bool temp3 = false ;
44228 bool temp4 = false ;
44229 wxPoint temp5 ;
44230 wxSize temp6 ;
44231 long val7 ;
44232 int ecode7 = 0 ;
44233 void *argp8 = 0 ;
44234 int res8 = 0 ;
44235 bool temp9 = false ;
44236 PyObject * obj0 = 0 ;
44237 PyObject * obj1 = 0 ;
44238 PyObject * obj2 = 0 ;
44239 PyObject * obj3 = 0 ;
44240 PyObject * obj4 = 0 ;
44241 PyObject * obj5 = 0 ;
44242 PyObject * obj6 = 0 ;
44243 PyObject * obj7 = 0 ;
44244 PyObject * obj8 = 0 ;
44245 char * kwnames[] = {
44246 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44247 };
44248
44249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44251 if (!SWIG_IsOK(res1)) {
44252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44253 }
44254 arg1 = reinterpret_cast< wxWindow * >(argp1);
44255 if (obj1) {
44256 ecode2 = SWIG_AsVal_int(obj1, &val2);
44257 if (!SWIG_IsOK(ecode2)) {
44258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44259 }
44260 arg2 = static_cast< int >(val2);
44261 }
44262 if (obj2) {
44263 {
44264 arg3 = wxString_in_helper(obj2);
44265 if (arg3 == NULL) SWIG_fail;
44266 temp3 = true;
44267 }
44268 }
44269 if (obj3) {
44270 {
44271 arg4 = wxString_in_helper(obj3);
44272 if (arg4 == NULL) SWIG_fail;
44273 temp4 = true;
44274 }
44275 }
44276 if (obj4) {
44277 {
44278 arg5 = &temp5;
44279 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44280 }
44281 }
44282 if (obj5) {
44283 {
44284 arg6 = &temp6;
44285 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44286 }
44287 }
44288 if (obj6) {
44289 ecode7 = SWIG_AsVal_long(obj6, &val7);
44290 if (!SWIG_IsOK(ecode7)) {
44291 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44292 }
44293 arg7 = static_cast< long >(val7);
44294 }
44295 if (obj7) {
44296 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44297 if (!SWIG_IsOK(res8)) {
44298 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44299 }
44300 if (!argp8) {
44301 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44302 }
44303 arg8 = reinterpret_cast< wxValidator * >(argp8);
44304 }
44305 if (obj8) {
44306 {
44307 arg9 = wxString_in_helper(obj8);
44308 if (arg9 == NULL) SWIG_fail;
44309 temp9 = true;
44310 }
44311 }
44312 {
44313 if (!wxPyCheckForApp()) SWIG_fail;
44314 PyThreadState* __tstate = wxPyBeginAllowThreads();
44315 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);
44316 wxPyEndAllowThreads(__tstate);
44317 if (PyErr_Occurred()) SWIG_fail;
44318 }
44319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44320 {
44321 if (temp3)
44322 delete arg3;
44323 }
44324 {
44325 if (temp4)
44326 delete arg4;
44327 }
44328 {
44329 if (temp9)
44330 delete arg9;
44331 }
44332 return resultobj;
44333 fail:
44334 {
44335 if (temp3)
44336 delete arg3;
44337 }
44338 {
44339 if (temp4)
44340 delete arg4;
44341 }
44342 {
44343 if (temp9)
44344 delete arg9;
44345 }
44346 return NULL;
44347 }
44348
44349
44350 SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44351 PyObject *resultobj = 0;
44352 wxDirPickerCtrl *result = 0 ;
44353
44354 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44355 {
44356 if (!wxPyCheckForApp()) SWIG_fail;
44357 PyThreadState* __tstate = wxPyBeginAllowThreads();
44358 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44359 wxPyEndAllowThreads(__tstate);
44360 if (PyErr_Occurred()) SWIG_fail;
44361 }
44362 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44363 return resultobj;
44364 fail:
44365 return NULL;
44366 }
44367
44368
44369 SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44370 PyObject *resultobj = 0;
44371 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44372 wxWindow *arg2 = (wxWindow *) 0 ;
44373 int arg3 = (int) -1 ;
44374 wxString const &arg4_defvalue = wxPyEmptyString ;
44375 wxString *arg4 = (wxString *) &arg4_defvalue ;
44376 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44377 wxString *arg5 = (wxString *) &arg5_defvalue ;
44378 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44379 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44380 wxSize const &arg7_defvalue = wxDefaultSize ;
44381 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44382 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44383 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44384 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44385 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
44386 wxString *arg10 = (wxString *) &arg10_defvalue ;
44387 bool result;
44388 void *argp1 = 0 ;
44389 int res1 = 0 ;
44390 void *argp2 = 0 ;
44391 int res2 = 0 ;
44392 int val3 ;
44393 int ecode3 = 0 ;
44394 bool temp4 = false ;
44395 bool temp5 = false ;
44396 wxPoint temp6 ;
44397 wxSize temp7 ;
44398 long val8 ;
44399 int ecode8 = 0 ;
44400 void *argp9 = 0 ;
44401 int res9 = 0 ;
44402 bool temp10 = false ;
44403 PyObject * obj0 = 0 ;
44404 PyObject * obj1 = 0 ;
44405 PyObject * obj2 = 0 ;
44406 PyObject * obj3 = 0 ;
44407 PyObject * obj4 = 0 ;
44408 PyObject * obj5 = 0 ;
44409 PyObject * obj6 = 0 ;
44410 PyObject * obj7 = 0 ;
44411 PyObject * obj8 = 0 ;
44412 PyObject * obj9 = 0 ;
44413 char * kwnames[] = {
44414 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44415 };
44416
44417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44419 if (!SWIG_IsOK(res1)) {
44420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44421 }
44422 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44423 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44424 if (!SWIG_IsOK(res2)) {
44425 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44426 }
44427 arg2 = reinterpret_cast< wxWindow * >(argp2);
44428 if (obj2) {
44429 ecode3 = SWIG_AsVal_int(obj2, &val3);
44430 if (!SWIG_IsOK(ecode3)) {
44431 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44432 }
44433 arg3 = static_cast< int >(val3);
44434 }
44435 if (obj3) {
44436 {
44437 arg4 = wxString_in_helper(obj3);
44438 if (arg4 == NULL) SWIG_fail;
44439 temp4 = true;
44440 }
44441 }
44442 if (obj4) {
44443 {
44444 arg5 = wxString_in_helper(obj4);
44445 if (arg5 == NULL) SWIG_fail;
44446 temp5 = true;
44447 }
44448 }
44449 if (obj5) {
44450 {
44451 arg6 = &temp6;
44452 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44453 }
44454 }
44455 if (obj6) {
44456 {
44457 arg7 = &temp7;
44458 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44459 }
44460 }
44461 if (obj7) {
44462 ecode8 = SWIG_AsVal_long(obj7, &val8);
44463 if (!SWIG_IsOK(ecode8)) {
44464 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44465 }
44466 arg8 = static_cast< long >(val8);
44467 }
44468 if (obj8) {
44469 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44470 if (!SWIG_IsOK(res9)) {
44471 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44472 }
44473 if (!argp9) {
44474 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44475 }
44476 arg9 = reinterpret_cast< wxValidator * >(argp9);
44477 }
44478 if (obj9) {
44479 {
44480 arg10 = wxString_in_helper(obj9);
44481 if (arg10 == NULL) SWIG_fail;
44482 temp10 = true;
44483 }
44484 }
44485 {
44486 PyThreadState* __tstate = wxPyBeginAllowThreads();
44487 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);
44488 wxPyEndAllowThreads(__tstate);
44489 if (PyErr_Occurred()) SWIG_fail;
44490 }
44491 {
44492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44493 }
44494 {
44495 if (temp4)
44496 delete arg4;
44497 }
44498 {
44499 if (temp5)
44500 delete arg5;
44501 }
44502 {
44503 if (temp10)
44504 delete arg10;
44505 }
44506 return resultobj;
44507 fail:
44508 {
44509 if (temp4)
44510 delete arg4;
44511 }
44512 {
44513 if (temp5)
44514 delete arg5;
44515 }
44516 {
44517 if (temp10)
44518 delete arg10;
44519 }
44520 return NULL;
44521 }
44522
44523
44524 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44525 PyObject *resultobj = 0;
44526 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44527 wxString result;
44528 void *argp1 = 0 ;
44529 int res1 = 0 ;
44530 PyObject *swig_obj[1] ;
44531
44532 if (!args) SWIG_fail;
44533 swig_obj[0] = args;
44534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44535 if (!SWIG_IsOK(res1)) {
44536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44537 }
44538 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44539 {
44540 PyThreadState* __tstate = wxPyBeginAllowThreads();
44541 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44542 wxPyEndAllowThreads(__tstate);
44543 if (PyErr_Occurred()) SWIG_fail;
44544 }
44545 {
44546 #if wxUSE_UNICODE
44547 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44548 #else
44549 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44550 #endif
44551 }
44552 return resultobj;
44553 fail:
44554 return NULL;
44555 }
44556
44557
44558 SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44559 PyObject *resultobj = 0;
44560 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44561 wxString *arg2 = 0 ;
44562 void *argp1 = 0 ;
44563 int res1 = 0 ;
44564 bool temp2 = false ;
44565 PyObject * obj0 = 0 ;
44566 PyObject * obj1 = 0 ;
44567 char * kwnames[] = {
44568 (char *) "self",(char *) "str", NULL
44569 };
44570
44571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44573 if (!SWIG_IsOK(res1)) {
44574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44575 }
44576 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44577 {
44578 arg2 = wxString_in_helper(obj1);
44579 if (arg2 == NULL) SWIG_fail;
44580 temp2 = true;
44581 }
44582 {
44583 PyThreadState* __tstate = wxPyBeginAllowThreads();
44584 (arg1)->SetPath((wxString const &)*arg2);
44585 wxPyEndAllowThreads(__tstate);
44586 if (PyErr_Occurred()) SWIG_fail;
44587 }
44588 resultobj = SWIG_Py_Void();
44589 {
44590 if (temp2)
44591 delete arg2;
44592 }
44593 return resultobj;
44594 fail:
44595 {
44596 if (temp2)
44597 delete arg2;
44598 }
44599 return NULL;
44600 }
44601
44602
44603 SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44604 PyObject *resultobj = 0;
44605 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44606 wxString *arg2 = 0 ;
44607 bool result;
44608 void *argp1 = 0 ;
44609 int res1 = 0 ;
44610 bool temp2 = false ;
44611 PyObject * obj0 = 0 ;
44612 PyObject * obj1 = 0 ;
44613 char * kwnames[] = {
44614 (char *) "self",(char *) "path", NULL
44615 };
44616
44617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44619 if (!SWIG_IsOK(res1)) {
44620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44621 }
44622 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44623 {
44624 arg2 = wxString_in_helper(obj1);
44625 if (arg2 == NULL) SWIG_fail;
44626 temp2 = true;
44627 }
44628 {
44629 PyThreadState* __tstate = wxPyBeginAllowThreads();
44630 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44631 wxPyEndAllowThreads(__tstate);
44632 if (PyErr_Occurred()) SWIG_fail;
44633 }
44634 {
44635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44636 }
44637 {
44638 if (temp2)
44639 delete arg2;
44640 }
44641 return resultobj;
44642 fail:
44643 {
44644 if (temp2)
44645 delete arg2;
44646 }
44647 return NULL;
44648 }
44649
44650
44651 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44652 PyObject *resultobj = 0;
44653 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44654 wxString result;
44655 void *argp1 = 0 ;
44656 int res1 = 0 ;
44657 PyObject *swig_obj[1] ;
44658
44659 if (!args) SWIG_fail;
44660 swig_obj[0] = args;
44661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44662 if (!SWIG_IsOK(res1)) {
44663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44664 }
44665 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44666 {
44667 PyThreadState* __tstate = wxPyBeginAllowThreads();
44668 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
44669 wxPyEndAllowThreads(__tstate);
44670 if (PyErr_Occurred()) SWIG_fail;
44671 }
44672 {
44673 #if wxUSE_UNICODE
44674 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44675 #else
44676 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44677 #endif
44678 }
44679 return resultobj;
44680 fail:
44681 return NULL;
44682 }
44683
44684
44685 SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44686 PyObject *obj;
44687 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44688 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
44689 return SWIG_Py_Void();
44690 }
44691
44692 SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44693 return SWIG_Python_InitShadowInstance(args);
44694 }
44695
44696 SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44697 PyObject *resultobj = 0;
44698 wxEventType arg1 ;
44699 wxObject *arg2 = (wxObject *) 0 ;
44700 int arg3 ;
44701 wxString *arg4 = 0 ;
44702 wxFileDirPickerEvent *result = 0 ;
44703 int val1 ;
44704 int ecode1 = 0 ;
44705 void *argp2 = 0 ;
44706 int res2 = 0 ;
44707 int val3 ;
44708 int ecode3 = 0 ;
44709 bool temp4 = false ;
44710 PyObject * obj0 = 0 ;
44711 PyObject * obj1 = 0 ;
44712 PyObject * obj2 = 0 ;
44713 PyObject * obj3 = 0 ;
44714 char * kwnames[] = {
44715 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44716 };
44717
44718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44719 ecode1 = SWIG_AsVal_int(obj0, &val1);
44720 if (!SWIG_IsOK(ecode1)) {
44721 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44722 }
44723 arg1 = static_cast< wxEventType >(val1);
44724 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
44725 if (!SWIG_IsOK(res2)) {
44726 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44727 }
44728 arg2 = reinterpret_cast< wxObject * >(argp2);
44729 ecode3 = SWIG_AsVal_int(obj2, &val3);
44730 if (!SWIG_IsOK(ecode3)) {
44731 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44732 }
44733 arg3 = static_cast< int >(val3);
44734 {
44735 arg4 = wxString_in_helper(obj3);
44736 if (arg4 == NULL) SWIG_fail;
44737 temp4 = true;
44738 }
44739 {
44740 PyThreadState* __tstate = wxPyBeginAllowThreads();
44741 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
44742 wxPyEndAllowThreads(__tstate);
44743 if (PyErr_Occurred()) SWIG_fail;
44744 }
44745 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
44746 {
44747 if (temp4)
44748 delete arg4;
44749 }
44750 return resultobj;
44751 fail:
44752 {
44753 if (temp4)
44754 delete arg4;
44755 }
44756 return NULL;
44757 }
44758
44759
44760 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44761 PyObject *resultobj = 0;
44762 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44763 wxString result;
44764 void *argp1 = 0 ;
44765 int res1 = 0 ;
44766 PyObject *swig_obj[1] ;
44767
44768 if (!args) SWIG_fail;
44769 swig_obj[0] = args;
44770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44771 if (!SWIG_IsOK(res1)) {
44772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44773 }
44774 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44775 {
44776 PyThreadState* __tstate = wxPyBeginAllowThreads();
44777 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
44778 wxPyEndAllowThreads(__tstate);
44779 if (PyErr_Occurred()) SWIG_fail;
44780 }
44781 {
44782 #if wxUSE_UNICODE
44783 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44784 #else
44785 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44786 #endif
44787 }
44788 return resultobj;
44789 fail:
44790 return NULL;
44791 }
44792
44793
44794 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44795 PyObject *resultobj = 0;
44796 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44797 wxString *arg2 = 0 ;
44798 void *argp1 = 0 ;
44799 int res1 = 0 ;
44800 bool temp2 = false ;
44801 PyObject * obj0 = 0 ;
44802 PyObject * obj1 = 0 ;
44803 char * kwnames[] = {
44804 (char *) "self",(char *) "p", NULL
44805 };
44806
44807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44809 if (!SWIG_IsOK(res1)) {
44810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44811 }
44812 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44813 {
44814 arg2 = wxString_in_helper(obj1);
44815 if (arg2 == NULL) SWIG_fail;
44816 temp2 = true;
44817 }
44818 {
44819 PyThreadState* __tstate = wxPyBeginAllowThreads();
44820 (arg1)->SetPath((wxString const &)*arg2);
44821 wxPyEndAllowThreads(__tstate);
44822 if (PyErr_Occurred()) SWIG_fail;
44823 }
44824 resultobj = SWIG_Py_Void();
44825 {
44826 if (temp2)
44827 delete arg2;
44828 }
44829 return resultobj;
44830 fail:
44831 {
44832 if (temp2)
44833 delete arg2;
44834 }
44835 return NULL;
44836 }
44837
44838
44839 SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44840 PyObject *obj;
44841 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44842 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
44843 return SWIG_Py_Void();
44844 }
44845
44846 SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44847 return SWIG_Python_InitShadowInstance(args);
44848 }
44849
44850 SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
44851 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
44852 return 1;
44853 }
44854
44855
44856 SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
44857 PyObject *pyobj = 0;
44858
44859 {
44860 #if wxUSE_UNICODE
44861 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44862 #else
44863 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44864 #endif
44865 }
44866 return pyobj;
44867 }
44868
44869
44870 SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44871 PyObject *resultobj = 0;
44872 wxWindow *arg1 = (wxWindow *) 0 ;
44873 int arg2 = (int) -1 ;
44874 wxFont const &arg3_defvalue = wxNullFont ;
44875 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
44876 wxPoint const &arg4_defvalue = wxDefaultPosition ;
44877 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
44878 wxSize const &arg5_defvalue = wxDefaultSize ;
44879 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
44880 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
44881 wxValidator const &arg7_defvalue = wxDefaultValidator ;
44882 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
44883 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
44884 wxString *arg8 = (wxString *) &arg8_defvalue ;
44885 wxFontPickerCtrl *result = 0 ;
44886 void *argp1 = 0 ;
44887 int res1 = 0 ;
44888 int val2 ;
44889 int ecode2 = 0 ;
44890 void *argp3 = 0 ;
44891 int res3 = 0 ;
44892 wxPoint temp4 ;
44893 wxSize temp5 ;
44894 long val6 ;
44895 int ecode6 = 0 ;
44896 void *argp7 = 0 ;
44897 int res7 = 0 ;
44898 bool temp8 = false ;
44899 PyObject * obj0 = 0 ;
44900 PyObject * obj1 = 0 ;
44901 PyObject * obj2 = 0 ;
44902 PyObject * obj3 = 0 ;
44903 PyObject * obj4 = 0 ;
44904 PyObject * obj5 = 0 ;
44905 PyObject * obj6 = 0 ;
44906 PyObject * obj7 = 0 ;
44907 char * kwnames[] = {
44908 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44909 };
44910
44911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
44912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44913 if (!SWIG_IsOK(res1)) {
44914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44915 }
44916 arg1 = reinterpret_cast< wxWindow * >(argp1);
44917 if (obj1) {
44918 ecode2 = SWIG_AsVal_int(obj1, &val2);
44919 if (!SWIG_IsOK(ecode2)) {
44920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44921 }
44922 arg2 = static_cast< int >(val2);
44923 }
44924 if (obj2) {
44925 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
44926 if (!SWIG_IsOK(res3)) {
44927 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44928 }
44929 if (!argp3) {
44930 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44931 }
44932 arg3 = reinterpret_cast< wxFont * >(argp3);
44933 }
44934 if (obj3) {
44935 {
44936 arg4 = &temp4;
44937 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44938 }
44939 }
44940 if (obj4) {
44941 {
44942 arg5 = &temp5;
44943 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44944 }
44945 }
44946 if (obj5) {
44947 ecode6 = SWIG_AsVal_long(obj5, &val6);
44948 if (!SWIG_IsOK(ecode6)) {
44949 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44950 }
44951 arg6 = static_cast< long >(val6);
44952 }
44953 if (obj6) {
44954 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
44955 if (!SWIG_IsOK(res7)) {
44956 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44957 }
44958 if (!argp7) {
44959 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44960 }
44961 arg7 = reinterpret_cast< wxValidator * >(argp7);
44962 }
44963 if (obj7) {
44964 {
44965 arg8 = wxString_in_helper(obj7);
44966 if (arg8 == NULL) SWIG_fail;
44967 temp8 = true;
44968 }
44969 }
44970 {
44971 if (!wxPyCheckForApp()) SWIG_fail;
44972 PyThreadState* __tstate = wxPyBeginAllowThreads();
44973 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
44974 wxPyEndAllowThreads(__tstate);
44975 if (PyErr_Occurred()) SWIG_fail;
44976 }
44977 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
44978 {
44979 if (temp8)
44980 delete arg8;
44981 }
44982 return resultobj;
44983 fail:
44984 {
44985 if (temp8)
44986 delete arg8;
44987 }
44988 return NULL;
44989 }
44990
44991
44992 SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44993 PyObject *resultobj = 0;
44994 wxFontPickerCtrl *result = 0 ;
44995
44996 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
44997 {
44998 if (!wxPyCheckForApp()) SWIG_fail;
44999 PyThreadState* __tstate = wxPyBeginAllowThreads();
45000 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
45001 wxPyEndAllowThreads(__tstate);
45002 if (PyErr_Occurred()) SWIG_fail;
45003 }
45004 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
45005 return resultobj;
45006 fail:
45007 return NULL;
45008 }
45009
45010
45011 SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45012 PyObject *resultobj = 0;
45013 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45014 wxWindow *arg2 = (wxWindow *) 0 ;
45015 int arg3 = (int) -1 ;
45016 wxFont const &arg4_defvalue = wxNullFont ;
45017 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
45018 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45019 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45020 wxSize const &arg6_defvalue = wxDefaultSize ;
45021 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45022 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
45023 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45024 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45025 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
45026 wxString *arg9 = (wxString *) &arg9_defvalue ;
45027 bool result;
45028 void *argp1 = 0 ;
45029 int res1 = 0 ;
45030 void *argp2 = 0 ;
45031 int res2 = 0 ;
45032 int val3 ;
45033 int ecode3 = 0 ;
45034 void *argp4 = 0 ;
45035 int res4 = 0 ;
45036 wxPoint temp5 ;
45037 wxSize temp6 ;
45038 long val7 ;
45039 int ecode7 = 0 ;
45040 void *argp8 = 0 ;
45041 int res8 = 0 ;
45042 bool temp9 = false ;
45043 PyObject * obj0 = 0 ;
45044 PyObject * obj1 = 0 ;
45045 PyObject * obj2 = 0 ;
45046 PyObject * obj3 = 0 ;
45047 PyObject * obj4 = 0 ;
45048 PyObject * obj5 = 0 ;
45049 PyObject * obj6 = 0 ;
45050 PyObject * obj7 = 0 ;
45051 PyObject * obj8 = 0 ;
45052 char * kwnames[] = {
45053 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45054 };
45055
45056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45058 if (!SWIG_IsOK(res1)) {
45059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45060 }
45061 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45062 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45063 if (!SWIG_IsOK(res2)) {
45064 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45065 }
45066 arg2 = reinterpret_cast< wxWindow * >(argp2);
45067 if (obj2) {
45068 ecode3 = SWIG_AsVal_int(obj2, &val3);
45069 if (!SWIG_IsOK(ecode3)) {
45070 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45071 }
45072 arg3 = static_cast< int >(val3);
45073 }
45074 if (obj3) {
45075 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
45076 if (!SWIG_IsOK(res4)) {
45077 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45078 }
45079 if (!argp4) {
45080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45081 }
45082 arg4 = reinterpret_cast< wxFont * >(argp4);
45083 }
45084 if (obj4) {
45085 {
45086 arg5 = &temp5;
45087 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45088 }
45089 }
45090 if (obj5) {
45091 {
45092 arg6 = &temp6;
45093 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45094 }
45095 }
45096 if (obj6) {
45097 ecode7 = SWIG_AsVal_long(obj6, &val7);
45098 if (!SWIG_IsOK(ecode7)) {
45099 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45100 }
45101 arg7 = static_cast< long >(val7);
45102 }
45103 if (obj7) {
45104 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45105 if (!SWIG_IsOK(res8)) {
45106 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45107 }
45108 if (!argp8) {
45109 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45110 }
45111 arg8 = reinterpret_cast< wxValidator * >(argp8);
45112 }
45113 if (obj8) {
45114 {
45115 arg9 = wxString_in_helper(obj8);
45116 if (arg9 == NULL) SWIG_fail;
45117 temp9 = true;
45118 }
45119 }
45120 {
45121 PyThreadState* __tstate = wxPyBeginAllowThreads();
45122 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45123 wxPyEndAllowThreads(__tstate);
45124 if (PyErr_Occurred()) SWIG_fail;
45125 }
45126 {
45127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45128 }
45129 {
45130 if (temp9)
45131 delete arg9;
45132 }
45133 return resultobj;
45134 fail:
45135 {
45136 if (temp9)
45137 delete arg9;
45138 }
45139 return NULL;
45140 }
45141
45142
45143 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45144 PyObject *resultobj = 0;
45145 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45146 wxFont result;
45147 void *argp1 = 0 ;
45148 int res1 = 0 ;
45149 PyObject *swig_obj[1] ;
45150
45151 if (!args) SWIG_fail;
45152 swig_obj[0] = args;
45153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45154 if (!SWIG_IsOK(res1)) {
45155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45156 }
45157 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45158 {
45159 PyThreadState* __tstate = wxPyBeginAllowThreads();
45160 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45161 wxPyEndAllowThreads(__tstate);
45162 if (PyErr_Occurred()) SWIG_fail;
45163 }
45164 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45165 return resultobj;
45166 fail:
45167 return NULL;
45168 }
45169
45170
45171 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45172 PyObject *resultobj = 0;
45173 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45174 wxFont *arg2 = 0 ;
45175 void *argp1 = 0 ;
45176 int res1 = 0 ;
45177 void *argp2 = 0 ;
45178 int res2 = 0 ;
45179 PyObject * obj0 = 0 ;
45180 PyObject * obj1 = 0 ;
45181 char * kwnames[] = {
45182 (char *) "self",(char *) "f", NULL
45183 };
45184
45185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45187 if (!SWIG_IsOK(res1)) {
45188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45189 }
45190 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45191 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45192 if (!SWIG_IsOK(res2)) {
45193 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45194 }
45195 if (!argp2) {
45196 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45197 }
45198 arg2 = reinterpret_cast< wxFont * >(argp2);
45199 {
45200 PyThreadState* __tstate = wxPyBeginAllowThreads();
45201 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45202 wxPyEndAllowThreads(__tstate);
45203 if (PyErr_Occurred()) SWIG_fail;
45204 }
45205 resultobj = SWIG_Py_Void();
45206 return resultobj;
45207 fail:
45208 return NULL;
45209 }
45210
45211
45212 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45213 PyObject *resultobj = 0;
45214 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45215 unsigned int arg2 ;
45216 void *argp1 = 0 ;
45217 int res1 = 0 ;
45218 unsigned int val2 ;
45219 int ecode2 = 0 ;
45220 PyObject * obj0 = 0 ;
45221 PyObject * obj1 = 0 ;
45222 char * kwnames[] = {
45223 (char *) "self",(char *) "max", NULL
45224 };
45225
45226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45228 if (!SWIG_IsOK(res1)) {
45229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45230 }
45231 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45232 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45233 if (!SWIG_IsOK(ecode2)) {
45234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45235 }
45236 arg2 = static_cast< unsigned int >(val2);
45237 {
45238 PyThreadState* __tstate = wxPyBeginAllowThreads();
45239 (arg1)->SetMaxPointSize(arg2);
45240 wxPyEndAllowThreads(__tstate);
45241 if (PyErr_Occurred()) SWIG_fail;
45242 }
45243 resultobj = SWIG_Py_Void();
45244 return resultobj;
45245 fail:
45246 return NULL;
45247 }
45248
45249
45250 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45251 PyObject *resultobj = 0;
45252 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45253 unsigned int result;
45254 void *argp1 = 0 ;
45255 int res1 = 0 ;
45256 PyObject *swig_obj[1] ;
45257
45258 if (!args) SWIG_fail;
45259 swig_obj[0] = args;
45260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45261 if (!SWIG_IsOK(res1)) {
45262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45263 }
45264 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45265 {
45266 PyThreadState* __tstate = wxPyBeginAllowThreads();
45267 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45268 wxPyEndAllowThreads(__tstate);
45269 if (PyErr_Occurred()) SWIG_fail;
45270 }
45271 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45272 return resultobj;
45273 fail:
45274 return NULL;
45275 }
45276
45277
45278 SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45279 PyObject *obj;
45280 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45281 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45282 return SWIG_Py_Void();
45283 }
45284
45285 SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45286 return SWIG_Python_InitShadowInstance(args);
45287 }
45288
45289 SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45290 PyObject *resultobj = 0;
45291 wxObject *arg1 = (wxObject *) 0 ;
45292 int arg2 ;
45293 wxFont *arg3 = 0 ;
45294 wxFontPickerEvent *result = 0 ;
45295 void *argp1 = 0 ;
45296 int res1 = 0 ;
45297 int val2 ;
45298 int ecode2 = 0 ;
45299 void *argp3 = 0 ;
45300 int res3 = 0 ;
45301 PyObject * obj0 = 0 ;
45302 PyObject * obj1 = 0 ;
45303 PyObject * obj2 = 0 ;
45304 char * kwnames[] = {
45305 (char *) "generator",(char *) "id",(char *) "f", NULL
45306 };
45307
45308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45310 if (!SWIG_IsOK(res1)) {
45311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45312 }
45313 arg1 = reinterpret_cast< wxObject * >(argp1);
45314 ecode2 = SWIG_AsVal_int(obj1, &val2);
45315 if (!SWIG_IsOK(ecode2)) {
45316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45317 }
45318 arg2 = static_cast< int >(val2);
45319 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45320 if (!SWIG_IsOK(res3)) {
45321 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45322 }
45323 if (!argp3) {
45324 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45325 }
45326 arg3 = reinterpret_cast< wxFont * >(argp3);
45327 {
45328 PyThreadState* __tstate = wxPyBeginAllowThreads();
45329 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45330 wxPyEndAllowThreads(__tstate);
45331 if (PyErr_Occurred()) SWIG_fail;
45332 }
45333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45334 return resultobj;
45335 fail:
45336 return NULL;
45337 }
45338
45339
45340 SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45341 PyObject *resultobj = 0;
45342 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45343 wxFont result;
45344 void *argp1 = 0 ;
45345 int res1 = 0 ;
45346 PyObject *swig_obj[1] ;
45347
45348 if (!args) SWIG_fail;
45349 swig_obj[0] = args;
45350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45351 if (!SWIG_IsOK(res1)) {
45352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45353 }
45354 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45355 {
45356 PyThreadState* __tstate = wxPyBeginAllowThreads();
45357 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45358 wxPyEndAllowThreads(__tstate);
45359 if (PyErr_Occurred()) SWIG_fail;
45360 }
45361 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45362 return resultobj;
45363 fail:
45364 return NULL;
45365 }
45366
45367
45368 SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45369 PyObject *resultobj = 0;
45370 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45371 wxFont *arg2 = 0 ;
45372 void *argp1 = 0 ;
45373 int res1 = 0 ;
45374 void *argp2 = 0 ;
45375 int res2 = 0 ;
45376 PyObject * obj0 = 0 ;
45377 PyObject * obj1 = 0 ;
45378 char * kwnames[] = {
45379 (char *) "self",(char *) "c", NULL
45380 };
45381
45382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45384 if (!SWIG_IsOK(res1)) {
45385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45386 }
45387 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45388 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45389 if (!SWIG_IsOK(res2)) {
45390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45391 }
45392 if (!argp2) {
45393 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45394 }
45395 arg2 = reinterpret_cast< wxFont * >(argp2);
45396 {
45397 PyThreadState* __tstate = wxPyBeginAllowThreads();
45398 (arg1)->SetFont((wxFont const &)*arg2);
45399 wxPyEndAllowThreads(__tstate);
45400 if (PyErr_Occurred()) SWIG_fail;
45401 }
45402 resultobj = SWIG_Py_Void();
45403 return resultobj;
45404 fail:
45405 return NULL;
45406 }
45407
45408
45409 SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45410 PyObject *obj;
45411 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45412 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
45413 return SWIG_Py_Void();
45414 }
45415
45416 SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45417 return SWIG_Python_InitShadowInstance(args);
45418 }
45419
45420 SWIGINTERN int CollapsiblePaneNameStr_set(PyObject *) {
45421 SWIG_Error(SWIG_AttributeError,"Variable CollapsiblePaneNameStr is read-only.");
45422 return 1;
45423 }
45424
45425
45426 SWIGINTERN PyObject *CollapsiblePaneNameStr_get(void) {
45427 PyObject *pyobj = 0;
45428
45429 {
45430 #if wxUSE_UNICODE
45431 pyobj = PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45432 #else
45433 pyobj = PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45434 #endif
45435 }
45436 return pyobj;
45437 }
45438
45439
45440 SWIGINTERN PyObject *_wrap_new_CollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45441 PyObject *resultobj = 0;
45442 wxWindow *arg1 = (wxWindow *) 0 ;
45443 int arg2 = (int) -1 ;
45444 wxString const &arg3_defvalue = wxPyEmptyString ;
45445 wxString *arg3 = (wxString *) &arg3_defvalue ;
45446 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45447 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45448 wxSize const &arg5_defvalue = wxDefaultSize ;
45449 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45450 long arg6 = (long) wxCP_DEFAULT_STYLE ;
45451 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45452 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45453 wxString const &arg8_defvalue = wxPyCollapsiblePaneNameStr ;
45454 wxString *arg8 = (wxString *) &arg8_defvalue ;
45455 wxCollapsiblePane *result = 0 ;
45456 void *argp1 = 0 ;
45457 int res1 = 0 ;
45458 int val2 ;
45459 int ecode2 = 0 ;
45460 bool temp3 = false ;
45461 wxPoint temp4 ;
45462 wxSize temp5 ;
45463 long val6 ;
45464 int ecode6 = 0 ;
45465 void *argp7 = 0 ;
45466 int res7 = 0 ;
45467 bool temp8 = false ;
45468 PyObject * obj0 = 0 ;
45469 PyObject * obj1 = 0 ;
45470 PyObject * obj2 = 0 ;
45471 PyObject * obj3 = 0 ;
45472 PyObject * obj4 = 0 ;
45473 PyObject * obj5 = 0 ;
45474 PyObject * obj6 = 0 ;
45475 PyObject * obj7 = 0 ;
45476 char * kwnames[] = {
45477 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45478 };
45479
45480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45482 if (!SWIG_IsOK(res1)) {
45483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45484 }
45485 arg1 = reinterpret_cast< wxWindow * >(argp1);
45486 if (obj1) {
45487 ecode2 = SWIG_AsVal_int(obj1, &val2);
45488 if (!SWIG_IsOK(ecode2)) {
45489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45490 }
45491 arg2 = static_cast< int >(val2);
45492 }
45493 if (obj2) {
45494 {
45495 arg3 = wxString_in_helper(obj2);
45496 if (arg3 == NULL) SWIG_fail;
45497 temp3 = true;
45498 }
45499 }
45500 if (obj3) {
45501 {
45502 arg4 = &temp4;
45503 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45504 }
45505 }
45506 if (obj4) {
45507 {
45508 arg5 = &temp5;
45509 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45510 }
45511 }
45512 if (obj5) {
45513 ecode6 = SWIG_AsVal_long(obj5, &val6);
45514 if (!SWIG_IsOK(ecode6)) {
45515 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45516 }
45517 arg6 = static_cast< long >(val6);
45518 }
45519 if (obj6) {
45520 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45521 if (!SWIG_IsOK(res7)) {
45522 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45523 }
45524 if (!argp7) {
45525 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45526 }
45527 arg7 = reinterpret_cast< wxValidator * >(argp7);
45528 }
45529 if (obj7) {
45530 {
45531 arg8 = wxString_in_helper(obj7);
45532 if (arg8 == NULL) SWIG_fail;
45533 temp8 = true;
45534 }
45535 }
45536 {
45537 if (!wxPyCheckForApp()) SWIG_fail;
45538 PyThreadState* __tstate = wxPyBeginAllowThreads();
45539 result = (wxCollapsiblePane *)new wxCollapsiblePane(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45540 wxPyEndAllowThreads(__tstate);
45541 if (PyErr_Occurred()) SWIG_fail;
45542 }
45543 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_NEW | 0 );
45544 {
45545 if (temp3)
45546 delete arg3;
45547 }
45548 {
45549 if (temp8)
45550 delete arg8;
45551 }
45552 return resultobj;
45553 fail:
45554 {
45555 if (temp3)
45556 delete arg3;
45557 }
45558 {
45559 if (temp8)
45560 delete arg8;
45561 }
45562 return NULL;
45563 }
45564
45565
45566 SWIGINTERN PyObject *_wrap_new_PreCollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45567 PyObject *resultobj = 0;
45568 wxCollapsiblePane *result = 0 ;
45569
45570 if (!SWIG_Python_UnpackTuple(args,"new_PreCollapsiblePane",0,0,0)) SWIG_fail;
45571 {
45572 if (!wxPyCheckForApp()) SWIG_fail;
45573 PyThreadState* __tstate = wxPyBeginAllowThreads();
45574 result = (wxCollapsiblePane *)new wxCollapsiblePane();
45575 wxPyEndAllowThreads(__tstate);
45576 if (PyErr_Occurred()) SWIG_fail;
45577 }
45578 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_OWN | 0 );
45579 return resultobj;
45580 fail:
45581 return NULL;
45582 }
45583
45584
45585 SWIGINTERN PyObject *_wrap_CollapsiblePane_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45586 PyObject *resultobj = 0;
45587 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45588 wxWindow *arg2 = (wxWindow *) 0 ;
45589 int arg3 = (int) -1 ;
45590 wxString const &arg4_defvalue = wxPyEmptyString ;
45591 wxString *arg4 = (wxString *) &arg4_defvalue ;
45592 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45593 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45594 wxSize const &arg6_defvalue = wxDefaultSize ;
45595 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45596 long arg7 = (long) wxCP_DEFAULT_STYLE ;
45597 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45598 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45599 wxString const &arg9_defvalue = wxPyCollapsiblePaneNameStr ;
45600 wxString *arg9 = (wxString *) &arg9_defvalue ;
45601 bool result;
45602 void *argp1 = 0 ;
45603 int res1 = 0 ;
45604 void *argp2 = 0 ;
45605 int res2 = 0 ;
45606 int val3 ;
45607 int ecode3 = 0 ;
45608 bool temp4 = false ;
45609 wxPoint temp5 ;
45610 wxSize temp6 ;
45611 long val7 ;
45612 int ecode7 = 0 ;
45613 void *argp8 = 0 ;
45614 int res8 = 0 ;
45615 bool temp9 = false ;
45616 PyObject * obj0 = 0 ;
45617 PyObject * obj1 = 0 ;
45618 PyObject * obj2 = 0 ;
45619 PyObject * obj3 = 0 ;
45620 PyObject * obj4 = 0 ;
45621 PyObject * obj5 = 0 ;
45622 PyObject * obj6 = 0 ;
45623 PyObject * obj7 = 0 ;
45624 PyObject * obj8 = 0 ;
45625 char * kwnames[] = {
45626 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45627 };
45628
45629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45631 if (!SWIG_IsOK(res1)) {
45632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45633 }
45634 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45635 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45636 if (!SWIG_IsOK(res2)) {
45637 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45638 }
45639 arg2 = reinterpret_cast< wxWindow * >(argp2);
45640 if (obj2) {
45641 ecode3 = SWIG_AsVal_int(obj2, &val3);
45642 if (!SWIG_IsOK(ecode3)) {
45643 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45644 }
45645 arg3 = static_cast< int >(val3);
45646 }
45647 if (obj3) {
45648 {
45649 arg4 = wxString_in_helper(obj3);
45650 if (arg4 == NULL) SWIG_fail;
45651 temp4 = true;
45652 }
45653 }
45654 if (obj4) {
45655 {
45656 arg5 = &temp5;
45657 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45658 }
45659 }
45660 if (obj5) {
45661 {
45662 arg6 = &temp6;
45663 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45664 }
45665 }
45666 if (obj6) {
45667 ecode7 = SWIG_AsVal_long(obj6, &val7);
45668 if (!SWIG_IsOK(ecode7)) {
45669 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45670 }
45671 arg7 = static_cast< long >(val7);
45672 }
45673 if (obj7) {
45674 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45675 if (!SWIG_IsOK(res8)) {
45676 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45677 }
45678 if (!argp8) {
45679 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45680 }
45681 arg8 = reinterpret_cast< wxValidator * >(argp8);
45682 }
45683 if (obj8) {
45684 {
45685 arg9 = wxString_in_helper(obj8);
45686 if (arg9 == NULL) SWIG_fail;
45687 temp9 = true;
45688 }
45689 }
45690 {
45691 PyThreadState* __tstate = wxPyBeginAllowThreads();
45692 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45693 wxPyEndAllowThreads(__tstate);
45694 if (PyErr_Occurred()) SWIG_fail;
45695 }
45696 {
45697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45698 }
45699 {
45700 if (temp4)
45701 delete arg4;
45702 }
45703 {
45704 if (temp9)
45705 delete arg9;
45706 }
45707 return resultobj;
45708 fail:
45709 {
45710 if (temp4)
45711 delete arg4;
45712 }
45713 {
45714 if (temp9)
45715 delete arg9;
45716 }
45717 return NULL;
45718 }
45719
45720
45721 SWIGINTERN PyObject *_wrap_CollapsiblePane_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45722 PyObject *resultobj = 0;
45723 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45724 bool arg2 = (bool) true ;
45725 void *argp1 = 0 ;
45726 int res1 = 0 ;
45727 bool val2 ;
45728 int ecode2 = 0 ;
45729 PyObject * obj0 = 0 ;
45730 PyObject * obj1 = 0 ;
45731 char * kwnames[] = {
45732 (char *) "self",(char *) "collapse", NULL
45733 };
45734
45735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CollapsiblePane_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
45736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45737 if (!SWIG_IsOK(res1)) {
45738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45739 }
45740 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45741 if (obj1) {
45742 ecode2 = SWIG_AsVal_bool(obj1, &val2);
45743 if (!SWIG_IsOK(ecode2)) {
45744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45745 }
45746 arg2 = static_cast< bool >(val2);
45747 }
45748 {
45749 PyThreadState* __tstate = wxPyBeginAllowThreads();
45750 (arg1)->Collapse(arg2);
45751 wxPyEndAllowThreads(__tstate);
45752 if (PyErr_Occurred()) SWIG_fail;
45753 }
45754 resultobj = SWIG_Py_Void();
45755 return resultobj;
45756 fail:
45757 return NULL;
45758 }
45759
45760
45761 SWIGINTERN PyObject *_wrap_CollapsiblePane_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45762 PyObject *resultobj = 0;
45763 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45764 void *argp1 = 0 ;
45765 int res1 = 0 ;
45766 PyObject *swig_obj[1] ;
45767
45768 if (!args) SWIG_fail;
45769 swig_obj[0] = args;
45770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45771 if (!SWIG_IsOK(res1)) {
45772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45773 }
45774 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45775 {
45776 PyThreadState* __tstate = wxPyBeginAllowThreads();
45777 (arg1)->Expand();
45778 wxPyEndAllowThreads(__tstate);
45779 if (PyErr_Occurred()) SWIG_fail;
45780 }
45781 resultobj = SWIG_Py_Void();
45782 return resultobj;
45783 fail:
45784 return NULL;
45785 }
45786
45787
45788 SWIGINTERN PyObject *_wrap_CollapsiblePane_IsCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45789 PyObject *resultobj = 0;
45790 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45791 bool result;
45792 void *argp1 = 0 ;
45793 int res1 = 0 ;
45794 PyObject *swig_obj[1] ;
45795
45796 if (!args) SWIG_fail;
45797 swig_obj[0] = args;
45798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45799 if (!SWIG_IsOK(res1)) {
45800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45801 }
45802 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45803 {
45804 PyThreadState* __tstate = wxPyBeginAllowThreads();
45805 result = (bool)((wxCollapsiblePane const *)arg1)->IsCollapsed();
45806 wxPyEndAllowThreads(__tstate);
45807 if (PyErr_Occurred()) SWIG_fail;
45808 }
45809 {
45810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45811 }
45812 return resultobj;
45813 fail:
45814 return NULL;
45815 }
45816
45817
45818 SWIGINTERN PyObject *_wrap_CollapsiblePane_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45819 PyObject *resultobj = 0;
45820 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45821 bool result;
45822 void *argp1 = 0 ;
45823 int res1 = 0 ;
45824 PyObject *swig_obj[1] ;
45825
45826 if (!args) SWIG_fail;
45827 swig_obj[0] = args;
45828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45829 if (!SWIG_IsOK(res1)) {
45830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45831 }
45832 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45833 {
45834 PyThreadState* __tstate = wxPyBeginAllowThreads();
45835 result = (bool)((wxCollapsiblePane const *)arg1)->IsExpanded();
45836 wxPyEndAllowThreads(__tstate);
45837 if (PyErr_Occurred()) SWIG_fail;
45838 }
45839 {
45840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45841 }
45842 return resultobj;
45843 fail:
45844 return NULL;
45845 }
45846
45847
45848 SWIGINTERN PyObject *_wrap_CollapsiblePane_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45849 PyObject *resultobj = 0;
45850 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45851 wxWindow *result = 0 ;
45852 void *argp1 = 0 ;
45853 int res1 = 0 ;
45854 PyObject *swig_obj[1] ;
45855
45856 if (!args) SWIG_fail;
45857 swig_obj[0] = args;
45858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45859 if (!SWIG_IsOK(res1)) {
45860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45861 }
45862 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45863 {
45864 PyThreadState* __tstate = wxPyBeginAllowThreads();
45865 result = (wxWindow *)((wxCollapsiblePane const *)arg1)->GetPane();
45866 wxPyEndAllowThreads(__tstate);
45867 if (PyErr_Occurred()) SWIG_fail;
45868 }
45869 {
45870 resultobj = wxPyMake_wxObject(result, 0);
45871 }
45872 return resultobj;
45873 fail:
45874 return NULL;
45875 }
45876
45877
45878 SWIGINTERN PyObject *CollapsiblePane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45879 PyObject *obj;
45880 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45881 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane, SWIG_NewClientData(obj));
45882 return SWIG_Py_Void();
45883 }
45884
45885 SWIGINTERN PyObject *CollapsiblePane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45886 return SWIG_Python_InitShadowInstance(args);
45887 }
45888
45889 SWIGINTERN PyObject *_wrap_new_CollapsiblePaneEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45890 PyObject *resultobj = 0;
45891 wxObject *arg1 = (wxObject *) 0 ;
45892 int arg2 ;
45893 bool arg3 ;
45894 wxCollapsiblePaneEvent *result = 0 ;
45895 void *argp1 = 0 ;
45896 int res1 = 0 ;
45897 int val2 ;
45898 int ecode2 = 0 ;
45899 bool val3 ;
45900 int ecode3 = 0 ;
45901 PyObject * obj0 = 0 ;
45902 PyObject * obj1 = 0 ;
45903 PyObject * obj2 = 0 ;
45904 char * kwnames[] = {
45905 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45906 };
45907
45908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_CollapsiblePaneEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45910 if (!SWIG_IsOK(res1)) {
45911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45912 }
45913 arg1 = reinterpret_cast< wxObject * >(argp1);
45914 ecode2 = SWIG_AsVal_int(obj1, &val2);
45915 if (!SWIG_IsOK(ecode2)) {
45916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45917 }
45918 arg2 = static_cast< int >(val2);
45919 ecode3 = SWIG_AsVal_bool(obj2, &val3);
45920 if (!SWIG_IsOK(ecode3)) {
45921 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45922 }
45923 arg3 = static_cast< bool >(val3);
45924 {
45925 PyThreadState* __tstate = wxPyBeginAllowThreads();
45926 result = (wxCollapsiblePaneEvent *)new wxCollapsiblePaneEvent(arg1,arg2,arg3);
45927 wxPyEndAllowThreads(__tstate);
45928 if (PyErr_Occurred()) SWIG_fail;
45929 }
45930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_POINTER_NEW | 0 );
45931 return resultobj;
45932 fail:
45933 return NULL;
45934 }
45935
45936
45937 SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45938 PyObject *resultobj = 0;
45939 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
45940 bool result;
45941 void *argp1 = 0 ;
45942 int res1 = 0 ;
45943 PyObject *swig_obj[1] ;
45944
45945 if (!args) SWIG_fail;
45946 swig_obj[0] = args;
45947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
45948 if (!SWIG_IsOK(res1)) {
45949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45950 }
45951 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
45952 {
45953 PyThreadState* __tstate = wxPyBeginAllowThreads();
45954 result = (bool)((wxCollapsiblePaneEvent const *)arg1)->GetCollapsed();
45955 wxPyEndAllowThreads(__tstate);
45956 if (PyErr_Occurred()) SWIG_fail;
45957 }
45958 {
45959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45960 }
45961 return resultobj;
45962 fail:
45963 return NULL;
45964 }
45965
45966
45967 SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45968 PyObject *resultobj = 0;
45969 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
45970 bool arg2 ;
45971 void *argp1 = 0 ;
45972 int res1 = 0 ;
45973 bool val2 ;
45974 int ecode2 = 0 ;
45975 PyObject * obj0 = 0 ;
45976 PyObject * obj1 = 0 ;
45977 char * kwnames[] = {
45978 (char *) "self",(char *) "c", NULL
45979 };
45980
45981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames,&obj0,&obj1)) SWIG_fail;
45982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
45983 if (!SWIG_IsOK(res1)) {
45984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45985 }
45986 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
45987 ecode2 = SWIG_AsVal_bool(obj1, &val2);
45988 if (!SWIG_IsOK(ecode2)) {
45989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45990 }
45991 arg2 = static_cast< bool >(val2);
45992 {
45993 PyThreadState* __tstate = wxPyBeginAllowThreads();
45994 (arg1)->SetCollapsed(arg2);
45995 wxPyEndAllowThreads(__tstate);
45996 if (PyErr_Occurred()) SWIG_fail;
45997 }
45998 resultobj = SWIG_Py_Void();
45999 return resultobj;
46000 fail:
46001 return NULL;
46002 }
46003
46004
46005 SWIGINTERN PyObject *CollapsiblePaneEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46006 PyObject *obj;
46007 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46008 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_NewClientData(obj));
46009 return SWIG_Py_Void();
46010 }
46011
46012 SWIGINTERN PyObject *CollapsiblePaneEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46013 return SWIG_Python_InitShadowInstance(args);
46014 }
46015
46016 SWIGINTERN int SearchCtrlNameStr_set(PyObject *) {
46017 SWIG_Error(SWIG_AttributeError,"Variable SearchCtrlNameStr is read-only.");
46018 return 1;
46019 }
46020
46021
46022 SWIGINTERN PyObject *SearchCtrlNameStr_get(void) {
46023 PyObject *pyobj = 0;
46024
46025 {
46026 #if wxUSE_UNICODE
46027 pyobj = PyUnicode_FromWideChar((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46028 #else
46029 pyobj = PyString_FromStringAndSize((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46030 #endif
46031 }
46032 return pyobj;
46033 }
46034
46035
46036 SWIGINTERN PyObject *_wrap_new_SearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46037 PyObject *resultobj = 0;
46038 wxWindow *arg1 = (wxWindow *) 0 ;
46039 int arg2 = (int) -1 ;
46040 wxString const &arg3_defvalue = wxEmptyString ;
46041 wxString *arg3 = (wxString *) &arg3_defvalue ;
46042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
46043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
46044 wxSize const &arg5_defvalue = wxDefaultSize ;
46045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
46046 long arg6 = (long) 0 ;
46047 wxValidator const &arg7_defvalue = wxDefaultValidator ;
46048 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
46049 wxString const &arg8_defvalue = wxPySearchCtrlNameStr ;
46050 wxString *arg8 = (wxString *) &arg8_defvalue ;
46051 wxSearchCtrl *result = 0 ;
46052 void *argp1 = 0 ;
46053 int res1 = 0 ;
46054 int val2 ;
46055 int ecode2 = 0 ;
46056 bool temp3 = false ;
46057 wxPoint temp4 ;
46058 wxSize temp5 ;
46059 long val6 ;
46060 int ecode6 = 0 ;
46061 void *argp7 = 0 ;
46062 int res7 = 0 ;
46063 bool temp8 = false ;
46064 PyObject * obj0 = 0 ;
46065 PyObject * obj1 = 0 ;
46066 PyObject * obj2 = 0 ;
46067 PyObject * obj3 = 0 ;
46068 PyObject * obj4 = 0 ;
46069 PyObject * obj5 = 0 ;
46070 PyObject * obj6 = 0 ;
46071 PyObject * obj7 = 0 ;
46072 char * kwnames[] = {
46073 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46074 };
46075
46076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
46077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
46078 if (!SWIG_IsOK(res1)) {
46079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46080 }
46081 arg1 = reinterpret_cast< wxWindow * >(argp1);
46082 if (obj1) {
46083 ecode2 = SWIG_AsVal_int(obj1, &val2);
46084 if (!SWIG_IsOK(ecode2)) {
46085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46086 }
46087 arg2 = static_cast< int >(val2);
46088 }
46089 if (obj2) {
46090 {
46091 arg3 = wxString_in_helper(obj2);
46092 if (arg3 == NULL) SWIG_fail;
46093 temp3 = true;
46094 }
46095 }
46096 if (obj3) {
46097 {
46098 arg4 = &temp4;
46099 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
46100 }
46101 }
46102 if (obj4) {
46103 {
46104 arg5 = &temp5;
46105 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
46106 }
46107 }
46108 if (obj5) {
46109 ecode6 = SWIG_AsVal_long(obj5, &val6);
46110 if (!SWIG_IsOK(ecode6)) {
46111 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46112 }
46113 arg6 = static_cast< long >(val6);
46114 }
46115 if (obj6) {
46116 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
46117 if (!SWIG_IsOK(res7)) {
46118 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46119 }
46120 if (!argp7) {
46121 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46122 }
46123 arg7 = reinterpret_cast< wxValidator * >(argp7);
46124 }
46125 if (obj7) {
46126 {
46127 arg8 = wxString_in_helper(obj7);
46128 if (arg8 == NULL) SWIG_fail;
46129 temp8 = true;
46130 }
46131 }
46132 {
46133 if (!wxPyCheckForApp()) SWIG_fail;
46134 PyThreadState* __tstate = wxPyBeginAllowThreads();
46135 result = (wxSearchCtrl *)new wxSearchCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
46136 wxPyEndAllowThreads(__tstate);
46137 if (PyErr_Occurred()) SWIG_fail;
46138 }
46139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_NEW | 0 );
46140 {
46141 if (temp3)
46142 delete arg3;
46143 }
46144 {
46145 if (temp8)
46146 delete arg8;
46147 }
46148 return resultobj;
46149 fail:
46150 {
46151 if (temp3)
46152 delete arg3;
46153 }
46154 {
46155 if (temp8)
46156 delete arg8;
46157 }
46158 return NULL;
46159 }
46160
46161
46162 SWIGINTERN PyObject *_wrap_new_PreSearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46163 PyObject *resultobj = 0;
46164 wxSearchCtrl *result = 0 ;
46165
46166 if (!SWIG_Python_UnpackTuple(args,"new_PreSearchCtrl",0,0,0)) SWIG_fail;
46167 {
46168 if (!wxPyCheckForApp()) SWIG_fail;
46169 PyThreadState* __tstate = wxPyBeginAllowThreads();
46170 result = (wxSearchCtrl *)new wxSearchCtrl();
46171 wxPyEndAllowThreads(__tstate);
46172 if (PyErr_Occurred()) SWIG_fail;
46173 }
46174 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_OWN | 0 );
46175 return resultobj;
46176 fail:
46177 return NULL;
46178 }
46179
46180
46181 SWIGINTERN PyObject *_wrap_SearchCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46182 PyObject *resultobj = 0;
46183 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46184 wxWindow *arg2 = (wxWindow *) 0 ;
46185 int arg3 = (int) -1 ;
46186 wxString const &arg4_defvalue = wxEmptyString ;
46187 wxString *arg4 = (wxString *) &arg4_defvalue ;
46188 wxPoint const &arg5_defvalue = wxDefaultPosition ;
46189 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
46190 wxSize const &arg6_defvalue = wxDefaultSize ;
46191 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
46192 long arg7 = (long) 0 ;
46193 wxValidator const &arg8_defvalue = wxDefaultValidator ;
46194 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
46195 wxString const &arg9_defvalue = wxPySearchCtrlNameStr ;
46196 wxString *arg9 = (wxString *) &arg9_defvalue ;
46197 bool result;
46198 void *argp1 = 0 ;
46199 int res1 = 0 ;
46200 void *argp2 = 0 ;
46201 int res2 = 0 ;
46202 int val3 ;
46203 int ecode3 = 0 ;
46204 bool temp4 = false ;
46205 wxPoint temp5 ;
46206 wxSize temp6 ;
46207 long val7 ;
46208 int ecode7 = 0 ;
46209 void *argp8 = 0 ;
46210 int res8 = 0 ;
46211 bool temp9 = false ;
46212 PyObject * obj0 = 0 ;
46213 PyObject * obj1 = 0 ;
46214 PyObject * obj2 = 0 ;
46215 PyObject * obj3 = 0 ;
46216 PyObject * obj4 = 0 ;
46217 PyObject * obj5 = 0 ;
46218 PyObject * obj6 = 0 ;
46219 PyObject * obj7 = 0 ;
46220 PyObject * obj8 = 0 ;
46221 char * kwnames[] = {
46222 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46223 };
46224
46225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
46226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46227 if (!SWIG_IsOK(res1)) {
46228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46229 }
46230 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46231 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
46232 if (!SWIG_IsOK(res2)) {
46233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46234 }
46235 arg2 = reinterpret_cast< wxWindow * >(argp2);
46236 if (obj2) {
46237 ecode3 = SWIG_AsVal_int(obj2, &val3);
46238 if (!SWIG_IsOK(ecode3)) {
46239 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46240 }
46241 arg3 = static_cast< int >(val3);
46242 }
46243 if (obj3) {
46244 {
46245 arg4 = wxString_in_helper(obj3);
46246 if (arg4 == NULL) SWIG_fail;
46247 temp4 = true;
46248 }
46249 }
46250 if (obj4) {
46251 {
46252 arg5 = &temp5;
46253 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
46254 }
46255 }
46256 if (obj5) {
46257 {
46258 arg6 = &temp6;
46259 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
46260 }
46261 }
46262 if (obj6) {
46263 ecode7 = SWIG_AsVal_long(obj6, &val7);
46264 if (!SWIG_IsOK(ecode7)) {
46265 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46266 }
46267 arg7 = static_cast< long >(val7);
46268 }
46269 if (obj7) {
46270 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
46271 if (!SWIG_IsOK(res8)) {
46272 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46273 }
46274 if (!argp8) {
46275 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46276 }
46277 arg8 = reinterpret_cast< wxValidator * >(argp8);
46278 }
46279 if (obj8) {
46280 {
46281 arg9 = wxString_in_helper(obj8);
46282 if (arg9 == NULL) SWIG_fail;
46283 temp9 = true;
46284 }
46285 }
46286 {
46287 PyThreadState* __tstate = wxPyBeginAllowThreads();
46288 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
46289 wxPyEndAllowThreads(__tstate);
46290 if (PyErr_Occurred()) SWIG_fail;
46291 }
46292 {
46293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46294 }
46295 {
46296 if (temp4)
46297 delete arg4;
46298 }
46299 {
46300 if (temp9)
46301 delete arg9;
46302 }
46303 return resultobj;
46304 fail:
46305 {
46306 if (temp4)
46307 delete arg4;
46308 }
46309 {
46310 if (temp9)
46311 delete arg9;
46312 }
46313 return NULL;
46314 }
46315
46316
46317 SWIGINTERN PyObject *_wrap_SearchCtrl_SetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46318 PyObject *resultobj = 0;
46319 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46320 wxMenu *arg2 = (wxMenu *) 0 ;
46321 void *argp1 = 0 ;
46322 int res1 = 0 ;
46323 void *argp2 = 0 ;
46324 int res2 = 0 ;
46325 PyObject * obj0 = 0 ;
46326 PyObject * obj1 = 0 ;
46327 char * kwnames[] = {
46328 (char *) "self",(char *) "menu", NULL
46329 };
46330
46331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetMenu",kwnames,&obj0,&obj1)) SWIG_fail;
46332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46333 if (!SWIG_IsOK(res1)) {
46334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46335 }
46336 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46337 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
46338 if (!SWIG_IsOK(res2)) {
46339 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46340 }
46341 arg2 = reinterpret_cast< wxMenu * >(argp2);
46342 {
46343 PyThreadState* __tstate = wxPyBeginAllowThreads();
46344 (arg1)->SetMenu(arg2);
46345 wxPyEndAllowThreads(__tstate);
46346 if (PyErr_Occurred()) SWIG_fail;
46347 }
46348 resultobj = SWIG_Py_Void();
46349 return resultobj;
46350 fail:
46351 return NULL;
46352 }
46353
46354
46355 SWIGINTERN PyObject *_wrap_SearchCtrl_GetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46356 PyObject *resultobj = 0;
46357 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46358 wxMenu *result = 0 ;
46359 void *argp1 = 0 ;
46360 int res1 = 0 ;
46361 PyObject *swig_obj[1] ;
46362
46363 if (!args) SWIG_fail;
46364 swig_obj[0] = args;
46365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46366 if (!SWIG_IsOK(res1)) {
46367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46368 }
46369 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46370 {
46371 PyThreadState* __tstate = wxPyBeginAllowThreads();
46372 result = (wxMenu *)(arg1)->GetMenu();
46373 wxPyEndAllowThreads(__tstate);
46374 if (PyErr_Occurred()) SWIG_fail;
46375 }
46376 {
46377 resultobj = wxPyMake_wxObject(result, 0);
46378 }
46379 return resultobj;
46380 fail:
46381 return NULL;
46382 }
46383
46384
46385 SWIGINTERN PyObject *_wrap_SearchCtrl_ShowSearchButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46386 PyObject *resultobj = 0;
46387 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46388 bool arg2 ;
46389 void *argp1 = 0 ;
46390 int res1 = 0 ;
46391 bool val2 ;
46392 int ecode2 = 0 ;
46393 PyObject * obj0 = 0 ;
46394 PyObject * obj1 = 0 ;
46395 char * kwnames[] = {
46396 (char *) "self",(char *) "show", NULL
46397 };
46398
46399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames,&obj0,&obj1)) SWIG_fail;
46400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46401 if (!SWIG_IsOK(res1)) {
46402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46403 }
46404 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46405 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46406 if (!SWIG_IsOK(ecode2)) {
46407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46408 }
46409 arg2 = static_cast< bool >(val2);
46410 {
46411 PyThreadState* __tstate = wxPyBeginAllowThreads();
46412 (arg1)->ShowSearchButton(arg2);
46413 wxPyEndAllowThreads(__tstate);
46414 if (PyErr_Occurred()) SWIG_fail;
46415 }
46416 resultobj = SWIG_Py_Void();
46417 return resultobj;
46418 fail:
46419 return NULL;
46420 }
46421
46422
46423 SWIGINTERN PyObject *_wrap_SearchCtrl_IsSearchButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46424 PyObject *resultobj = 0;
46425 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46426 bool result;
46427 void *argp1 = 0 ;
46428 int res1 = 0 ;
46429 PyObject *swig_obj[1] ;
46430
46431 if (!args) SWIG_fail;
46432 swig_obj[0] = args;
46433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46434 if (!SWIG_IsOK(res1)) {
46435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46436 }
46437 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46438 {
46439 PyThreadState* __tstate = wxPyBeginAllowThreads();
46440 result = (bool)((wxSearchCtrl const *)arg1)->IsSearchButtonVisible();
46441 wxPyEndAllowThreads(__tstate);
46442 if (PyErr_Occurred()) SWIG_fail;
46443 }
46444 {
46445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46446 }
46447 return resultobj;
46448 fail:
46449 return NULL;
46450 }
46451
46452
46453 SWIGINTERN PyObject *_wrap_SearchCtrl_ShowCancelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46454 PyObject *resultobj = 0;
46455 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46456 bool arg2 ;
46457 void *argp1 = 0 ;
46458 int res1 = 0 ;
46459 bool val2 ;
46460 int ecode2 = 0 ;
46461 PyObject * obj0 = 0 ;
46462 PyObject * obj1 = 0 ;
46463 char * kwnames[] = {
46464 (char *) "self",(char *) "show", NULL
46465 };
46466
46467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames,&obj0,&obj1)) SWIG_fail;
46468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46469 if (!SWIG_IsOK(res1)) {
46470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46471 }
46472 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46473 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46474 if (!SWIG_IsOK(ecode2)) {
46475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46476 }
46477 arg2 = static_cast< bool >(val2);
46478 {
46479 PyThreadState* __tstate = wxPyBeginAllowThreads();
46480 (arg1)->ShowCancelButton(arg2);
46481 wxPyEndAllowThreads(__tstate);
46482 if (PyErr_Occurred()) SWIG_fail;
46483 }
46484 resultobj = SWIG_Py_Void();
46485 return resultobj;
46486 fail:
46487 return NULL;
46488 }
46489
46490
46491 SWIGINTERN PyObject *_wrap_SearchCtrl_IsCancelButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46492 PyObject *resultobj = 0;
46493 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46494 bool result;
46495 void *argp1 = 0 ;
46496 int res1 = 0 ;
46497 PyObject *swig_obj[1] ;
46498
46499 if (!args) SWIG_fail;
46500 swig_obj[0] = args;
46501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46502 if (!SWIG_IsOK(res1)) {
46503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46504 }
46505 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46506 {
46507 PyThreadState* __tstate = wxPyBeginAllowThreads();
46508 result = (bool)((wxSearchCtrl const *)arg1)->IsCancelButtonVisible();
46509 wxPyEndAllowThreads(__tstate);
46510 if (PyErr_Occurred()) SWIG_fail;
46511 }
46512 {
46513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46514 }
46515 return resultobj;
46516 fail:
46517 return NULL;
46518 }
46519
46520
46521 SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46522 PyObject *resultobj = 0;
46523 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46524 wxBitmap *arg2 = 0 ;
46525 void *argp1 = 0 ;
46526 int res1 = 0 ;
46527 void *argp2 = 0 ;
46528 int res2 = 0 ;
46529 PyObject * obj0 = 0 ;
46530 PyObject * obj1 = 0 ;
46531 char * kwnames[] = {
46532 (char *) "self",(char *) "bitmap", NULL
46533 };
46534
46535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46537 if (!SWIG_IsOK(res1)) {
46538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46539 }
46540 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46541 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46542 if (!SWIG_IsOK(res2)) {
46543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46544 }
46545 if (!argp2) {
46546 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46547 }
46548 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46549 {
46550 PyThreadState* __tstate = wxPyBeginAllowThreads();
46551 (arg1)->SetSearchBitmap((wxBitmap const &)*arg2);
46552 wxPyEndAllowThreads(__tstate);
46553 if (PyErr_Occurred()) SWIG_fail;
46554 }
46555 resultobj = SWIG_Py_Void();
46556 return resultobj;
46557 fail:
46558 return NULL;
46559 }
46560
46561
46562 SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46563 PyObject *resultobj = 0;
46564 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46565 wxBitmap *arg2 = 0 ;
46566 void *argp1 = 0 ;
46567 int res1 = 0 ;
46568 void *argp2 = 0 ;
46569 int res2 = 0 ;
46570 PyObject * obj0 = 0 ;
46571 PyObject * obj1 = 0 ;
46572 char * kwnames[] = {
46573 (char *) "self",(char *) "bitmap", NULL
46574 };
46575
46576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46578 if (!SWIG_IsOK(res1)) {
46579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46580 }
46581 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46582 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46583 if (!SWIG_IsOK(res2)) {
46584 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46585 }
46586 if (!argp2) {
46587 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46588 }
46589 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46590 {
46591 PyThreadState* __tstate = wxPyBeginAllowThreads();
46592 (arg1)->SetSearchMenuBitmap((wxBitmap const &)*arg2);
46593 wxPyEndAllowThreads(__tstate);
46594 if (PyErr_Occurred()) SWIG_fail;
46595 }
46596 resultobj = SWIG_Py_Void();
46597 return resultobj;
46598 fail:
46599 return NULL;
46600 }
46601
46602
46603 SWIGINTERN PyObject *_wrap_SearchCtrl_SetCancelBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46604 PyObject *resultobj = 0;
46605 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46606 wxBitmap *arg2 = 0 ;
46607 void *argp1 = 0 ;
46608 int res1 = 0 ;
46609 void *argp2 = 0 ;
46610 int res2 = 0 ;
46611 PyObject * obj0 = 0 ;
46612 PyObject * obj1 = 0 ;
46613 char * kwnames[] = {
46614 (char *) "self",(char *) "bitmap", NULL
46615 };
46616
46617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46619 if (!SWIG_IsOK(res1)) {
46620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46621 }
46622 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46623 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46624 if (!SWIG_IsOK(res2)) {
46625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46626 }
46627 if (!argp2) {
46628 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46629 }
46630 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46631 {
46632 PyThreadState* __tstate = wxPyBeginAllowThreads();
46633 (arg1)->SetCancelBitmap((wxBitmap const &)*arg2);
46634 wxPyEndAllowThreads(__tstate);
46635 if (PyErr_Occurred()) SWIG_fail;
46636 }
46637 resultobj = SWIG_Py_Void();
46638 return resultobj;
46639 fail:
46640 return NULL;
46641 }
46642
46643
46644 SWIGINTERN PyObject *SearchCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46645 PyObject *obj;
46646 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46647 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl, SWIG_NewClientData(obj));
46648 return SWIG_Py_Void();
46649 }
46650
46651 SWIGINTERN PyObject *SearchCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46652 return SWIG_Python_InitShadowInstance(args);
46653 }
46654
46655 static PyMethodDef SwigMethods[] = {
46656 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
46657 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
46658 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46659 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
46660 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
46661 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46662 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
46663 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
46664 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
46665 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
46666 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46667 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
46668 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
46669 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
46670 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
46671 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
46672 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
46673 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46674 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46675 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46676 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
46677 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
46678 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
46679 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
46680 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
46681 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
46682 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
46683 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
46684 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46685 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
46686 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
46687 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46688 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
46689 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
46690 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
46691 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
46692 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46693 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
46694 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
46695 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
46696 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
46697 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46698 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
46699 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46700 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
46701 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
46702 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
46703 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
46704 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46705 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
46706 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46707 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
46708 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
46709 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
46710 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46711 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
46712 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
46713 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
46714 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
46715 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
46716 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
46717 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46718 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
46719 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
46720 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46721 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
46722 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
46723 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
46724 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
46725 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
46726 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
46727 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
46728 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
46729 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
46730 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46731 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
46732 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
46733 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
46734 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
46735 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46736 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46737 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
46738 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46739 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
46740 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
46741 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
46742 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46743 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
46744 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
46745 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
46746 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46747 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
46748 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
46749 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
46750 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
46751 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46752 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46753 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
46754 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
46755 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
46756 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
46757 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46758 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
46759 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
46760 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46761 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
46762 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
46763 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
46764 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
46765 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46766 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
46767 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46768 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
46769 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
46770 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46771 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
46772 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46773 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
46774 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46775 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46776 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46777 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
46778 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
46779 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
46780 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
46781 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46782 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46783 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
46784 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46785 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46786 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46787 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
46788 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
46789 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
46790 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46791 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
46792 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
46793 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
46794 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46795 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46796 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
46797 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46798 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46799 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46800 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46801 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46802 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
46803 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
46804 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
46805 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
46806 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46807 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
46808 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
46809 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
46810 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
46811 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
46812 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
46813 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
46814 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
46815 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
46816 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46817 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46818 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46819 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
46820 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
46821 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46822 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46823 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
46824 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
46825 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
46826 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
46827 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
46828 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
46829 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
46830 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
46831 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46832 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
46833 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
46834 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
46835 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
46836 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
46837 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
46838 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
46839 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
46840 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
46841 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
46842 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
46843 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
46844 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
46845 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46846 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
46847 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46848 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
46849 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46850 { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL},
46851 { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
46852 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46853 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
46854 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
46855 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
46856 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
46857 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
46858 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
46859 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
46860 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
46861 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
46862 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
46863 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
46864 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46865 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
46866 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
46867 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
46868 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
46869 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
46870 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
46871 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
46872 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
46873 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
46874 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46875 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46876 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46877 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
46878 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46879 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
46880 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46881 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46882 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
46883 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
46884 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
46885 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
46886 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
46887 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
46888 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
46889 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
46890 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
46891 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
46892 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
46893 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46894 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
46895 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
46896 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
46897 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46898 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
46899 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
46900 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction) _wrap_TextCtrl_MacCheckSpelling, METH_VARARGS | METH_KEYWORDS, NULL},
46901 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
46902 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
46903 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
46904 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46905 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
46906 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
46907 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46908 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
46909 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
46910 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
46911 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
46912 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
46913 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
46914 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
46915 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46916 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
46917 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
46918 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
46919 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
46920 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
46921 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46922 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46923 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
46924 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
46925 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
46926 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
46927 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46928 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
46929 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
46930 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
46931 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46932 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
46933 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
46934 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46935 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
46936 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46937 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
46938 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
46939 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46940 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
46941 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46942 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
46943 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46944 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
46945 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46946 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
46947 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
46948 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46949 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46950 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
46951 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
46952 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46953 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
46954 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46955 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
46956 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
46957 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
46958 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
46959 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46960 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46961 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
46962 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
46963 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46964 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
46965 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
46966 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
46967 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
46968 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
46969 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
46970 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46971 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
46972 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
46973 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
46974 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
46975 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46976 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46977 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
46978 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
46979 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46980 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
46981 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
46982 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
46983 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
46984 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46985 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
46986 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46987 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46988 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
46989 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
46990 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
46991 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
46992 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46993 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
46994 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46995 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46996 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
46997 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
46998 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
46999 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
47000 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
47001 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47002 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
47003 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
47004 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
47005 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
47006 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
47007 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
47008 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
47009 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
47010 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
47011 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
47012 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
47013 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47014 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47015 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
47016 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
47017 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
47018 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
47019 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47020 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47021 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
47022 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47023 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
47024 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
47025 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
47026 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
47027 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
47028 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
47029 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47030 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47031 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47032 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47033 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
47034 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47035 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47036 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47037 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
47038 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
47039 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
47040 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
47041 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47042 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
47043 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
47044 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
47045 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
47046 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
47047 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
47048 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
47049 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
47050 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
47051 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47052 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47053 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47054 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47055 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47056 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
47057 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47058 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
47059 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47060 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
47061 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47062 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
47063 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
47064 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
47065 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
47066 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47067 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
47068 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
47069 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
47070 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
47071 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47072 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47073 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47074 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
47075 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
47076 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47077 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
47078 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
47079 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
47080 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
47081 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47082 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
47083 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
47084 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
47085 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47086 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
47087 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
47088 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
47089 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
47090 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47091 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
47092 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
47093 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
47094 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47095 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
47096 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
47097 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
47098 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
47099 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47100 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47101 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47102 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47103 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
47104 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
47105 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
47106 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
47107 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
47108 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
47109 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47110 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
47111 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
47112 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
47113 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
47114 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47115 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
47116 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
47117 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
47118 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
47119 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47120 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
47121 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
47122 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
47123 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
47124 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
47125 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
47126 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
47127 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
47128 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
47129 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
47130 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
47131 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
47132 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
47133 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
47134 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
47135 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
47136 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
47137 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
47138 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
47139 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
47140 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
47141 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47142 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47143 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47144 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47145 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47146 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47147 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
47148 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
47149 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
47150 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47151 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
47152 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
47153 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
47154 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47155 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47156 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
47157 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
47158 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
47159 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
47160 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
47161 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
47162 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
47163 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
47164 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
47165 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
47166 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
47167 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
47168 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47169 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47170 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47171 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
47172 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
47173 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47174 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47175 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47176 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47177 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47178 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
47179 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
47180 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
47181 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
47182 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
47183 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
47184 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
47185 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
47186 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
47187 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
47188 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
47189 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
47190 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
47191 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
47192 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
47193 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47194 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
47195 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
47196 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
47197 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
47198 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
47199 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
47200 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47201 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47202 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
47203 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
47204 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
47205 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
47206 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47207 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47208 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47209 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
47210 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
47211 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
47212 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
47213 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
47214 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
47215 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
47216 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
47217 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
47218 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
47219 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
47220 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
47221 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
47222 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
47223 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
47224 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47225 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47226 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
47227 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
47228 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
47229 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
47230 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
47231 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47232 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
47233 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47234 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47235 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47236 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
47237 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
47238 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
47239 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
47240 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
47241 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
47242 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
47243 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
47244 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
47245 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
47246 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
47247 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
47248 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
47249 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
47250 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
47251 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
47252 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
47253 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
47254 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
47255 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
47256 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
47257 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
47258 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
47259 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
47260 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
47261 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
47262 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
47263 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
47264 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
47265 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
47266 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
47267 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
47268 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
47269 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
47270 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
47271 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
47272 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47273 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
47274 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
47275 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
47276 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
47277 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
47278 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
47279 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
47280 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
47281 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
47282 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
47283 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
47284 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
47285 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
47286 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
47287 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
47288 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
47289 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
47290 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
47291 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
47292 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
47293 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
47294 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
47295 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
47296 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
47297 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
47298 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
47299 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
47300 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47301 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
47302 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47303 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47304 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47305 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47306 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47307 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47308 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
47309 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
47310 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
47311 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47312 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47313 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47314 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
47315 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
47316 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47317 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47318 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47319 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47320 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47321 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47322 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47323 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
47324 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47325 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
47326 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
47327 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
47328 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
47329 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
47330 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
47331 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47332 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
47333 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47334 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
47335 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47336 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47337 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47338 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
47339 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
47340 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
47341 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
47342 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
47343 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
47344 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
47345 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47346 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
47347 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
47348 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47349 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47350 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
47351 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47352 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
47353 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47354 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
47355 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47356 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47357 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
47358 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47359 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
47360 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47361 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
47362 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
47363 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47364 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47365 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47366 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47367 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47368 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47369 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
47370 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
47371 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47372 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
47373 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
47374 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
47375 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
47376 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47377 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
47378 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
47379 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
47380 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47381 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
47382 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47383 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47384 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47385 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
47386 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
47387 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
47388 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
47389 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
47390 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
47391 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
47392 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
47393 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
47394 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
47395 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
47396 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47397 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
47398 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
47399 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
47400 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
47401 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47402 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
47403 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
47404 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
47405 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
47406 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
47407 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47408 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
47409 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
47410 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
47411 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47412 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
47413 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
47414 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47415 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
47416 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47417 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
47418 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
47419 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47420 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
47421 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
47422 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
47423 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47424 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
47425 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47426 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47427 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
47428 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
47429 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47430 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
47431 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
47432 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
47433 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
47434 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47435 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47436 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47437 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47438 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47439 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47440 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47441 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
47442 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47443 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47444 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47445 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47446 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47447 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47448 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
47449 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47450 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
47451 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
47452 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47453 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47454 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47455 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47456 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47457 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47458 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47459 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
47460 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
47461 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
47462 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
47463 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
47464 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
47465 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
47466 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
47467 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
47468 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47469 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47470 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
47471 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47472 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47473 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
47474 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
47475 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47476 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
47477 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
47478 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
47479 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47480 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
47481 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
47482 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47483 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
47484 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
47485 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
47486 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
47487 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
47488 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47489 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
47490 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47491 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47492 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47493 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
47494 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47495 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
47496 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47497 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47498 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
47499 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47500 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
47501 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
47502 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
47503 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
47504 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47505 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
47506 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47507 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
47508 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
47509 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
47510 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
47511 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
47512 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
47513 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47514 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
47515 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
47516 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
47517 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
47518 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
47519 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
47520 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
47521 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
47522 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
47523 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
47524 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
47525 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
47526 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
47527 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
47528 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47529 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
47530 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47531 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
47532 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
47533 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
47534 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
47535 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
47536 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47537 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
47538 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47539 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
47540 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
47541 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
47542 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
47543 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
47544 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
47545 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
47546 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
47547 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
47548 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
47549 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
47550 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
47551 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47552 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
47553 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47554 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
47555 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
47556 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
47557 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
47558 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
47559 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
47560 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
47561 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
47562 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47563 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
47564 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47565 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
47566 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
47567 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
47568 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
47569 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
47570 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
47571 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
47572 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47573 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
47574 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47575 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47576 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47577 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47578 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
47579 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47580 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
47581 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
47582 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
47583 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
47584 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
47585 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
47586 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
47587 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
47588 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
47589 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
47590 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
47591 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47592 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
47593 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
47594 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
47595 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
47596 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
47597 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
47598 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
47599 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
47600 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47601 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
47602 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
47603 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
47604 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47605 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
47606 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47607 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47608 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
47609 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47610 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
47611 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
47612 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
47613 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
47614 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47615 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
47616 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47617 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
47618 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
47619 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
47620 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
47621 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
47622 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
47623 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
47624 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
47625 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
47626 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
47627 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
47628 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
47629 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47630 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
47631 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
47632 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
47633 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
47634 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
47635 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47636 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
47637 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47638 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
47639 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47640 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
47641 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
47642 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
47643 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
47644 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
47645 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
47646 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
47647 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
47648 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
47649 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47650 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
47651 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47652 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
47653 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47654 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
47655 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
47656 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47657 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
47658 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47659 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
47660 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
47661 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47662 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
47663 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47664 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
47665 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47666 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47667 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
47668 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
47669 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
47670 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47671 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
47672 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47673 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
47674 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47675 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47676 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
47677 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
47678 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
47679 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47680 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
47681 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47682 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
47683 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
47684 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47685 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
47686 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47687 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
47688 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
47689 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
47690 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
47691 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
47692 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
47693 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47694 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
47695 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47696 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
47697 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
47698 { (char *)"new_CollapsiblePane", (PyCFunction) _wrap_new_CollapsiblePane, METH_VARARGS | METH_KEYWORDS, NULL},
47699 { (char *)"new_PreCollapsiblePane", (PyCFunction)_wrap_new_PreCollapsiblePane, METH_NOARGS, NULL},
47700 { (char *)"CollapsiblePane_Create", (PyCFunction) _wrap_CollapsiblePane_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47701 { (char *)"CollapsiblePane_Collapse", (PyCFunction) _wrap_CollapsiblePane_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
47702 { (char *)"CollapsiblePane_Expand", (PyCFunction)_wrap_CollapsiblePane_Expand, METH_O, NULL},
47703 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction)_wrap_CollapsiblePane_IsCollapsed, METH_O, NULL},
47704 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction)_wrap_CollapsiblePane_IsExpanded, METH_O, NULL},
47705 { (char *)"CollapsiblePane_GetPane", (PyCFunction)_wrap_CollapsiblePane_GetPane, METH_O, NULL},
47706 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister, METH_VARARGS, NULL},
47707 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit, METH_VARARGS, NULL},
47708 { (char *)"new_CollapsiblePaneEvent", (PyCFunction) _wrap_new_CollapsiblePaneEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47709 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction)_wrap_CollapsiblePaneEvent_GetCollapsed, METH_O, NULL},
47710 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction) _wrap_CollapsiblePaneEvent_SetCollapsed, METH_VARARGS | METH_KEYWORDS, NULL},
47711 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister, METH_VARARGS, NULL},
47712 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit, METH_VARARGS, NULL},
47713 { (char *)"new_SearchCtrl", (PyCFunction) _wrap_new_SearchCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47714 { (char *)"new_PreSearchCtrl", (PyCFunction)_wrap_new_PreSearchCtrl, METH_NOARGS, NULL},
47715 { (char *)"SearchCtrl_Create", (PyCFunction) _wrap_SearchCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47716 { (char *)"SearchCtrl_SetMenu", (PyCFunction) _wrap_SearchCtrl_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47717 { (char *)"SearchCtrl_GetMenu", (PyCFunction)_wrap_SearchCtrl_GetMenu, METH_O, NULL},
47718 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction) _wrap_SearchCtrl_ShowSearchButton, METH_VARARGS | METH_KEYWORDS, NULL},
47719 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction)_wrap_SearchCtrl_IsSearchButtonVisible, METH_O, NULL},
47720 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction) _wrap_SearchCtrl_ShowCancelButton, METH_VARARGS | METH_KEYWORDS, NULL},
47721 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction)_wrap_SearchCtrl_IsCancelButtonVisible, METH_O, NULL},
47722 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47723 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchMenuBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47724 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction) _wrap_SearchCtrl_SetCancelBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47725 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister, METH_VARARGS, NULL},
47726 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit, METH_VARARGS, NULL},
47727 { NULL, NULL, 0, NULL }
47728 };
47729
47730
47731 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47732
47733 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
47734 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
47735 }
47736 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
47737 return (void *)((wxEvent *) ((wxMenuEvent *) x));
47738 }
47739 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
47740 return (void *)((wxEvent *) ((wxCloseEvent *) x));
47741 }
47742 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
47743 return (void *)((wxEvent *) ((wxMouseEvent *) x));
47744 }
47745 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
47746 return (void *)((wxEvent *) ((wxEraseEvent *) x));
47747 }
47748 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
47749 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47750 }
47751 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
47752 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47753 }
47754 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
47755 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
47756 }
47757 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
47758 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
47759 }
47760 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
47761 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47762 }
47763 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
47764 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
47765 }
47766 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
47767 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
47768 }
47769 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
47770 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
47771 }
47772 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
47773 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
47774 }
47775 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
47776 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
47777 }
47778 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
47779 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
47780 }
47781 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
47782 return (void *)((wxEvent *) ((wxPyEvent *) x));
47783 }
47784 static void *_p_wxListEventTo_p_wxEvent(void *x) {
47785 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
47786 }
47787 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
47788 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47789 }
47790 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
47791 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47792 }
47793 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
47794 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47795 }
47796 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
47797 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47798 }
47799 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
47800 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47801 }
47802 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
47803 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
47804 }
47805 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
47806 return (void *)((wxEvent *) ((wxIdleEvent *) x));
47807 }
47808 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
47809 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
47810 }
47811 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
47812 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
47813 }
47814 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
47815 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
47816 }
47817 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
47818 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
47819 }
47820 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
47821 return (void *)((wxEvent *) ((wxActivateEvent *) x));
47822 }
47823 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
47824 return (void *)((wxEvent *) ((wxSizeEvent *) x));
47825 }
47826 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
47827 return (void *)((wxEvent *) ((wxMoveEvent *) x));
47828 }
47829 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
47830 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
47831 }
47832 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
47833 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
47834 }
47835 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
47836 return (void *)((wxEvent *) ((wxPaintEvent *) x));
47837 }
47838 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
47839 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
47840 }
47841 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
47842 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
47843 }
47844 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
47845 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
47846 }
47847 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
47848 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
47849 }
47850 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
47851 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
47852 }
47853 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
47854 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
47855 }
47856 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
47857 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
47858 }
47859 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
47860 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
47861 }
47862 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
47863 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
47864 }
47865 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
47866 return (void *)((wxEvent *) ((wxFocusEvent *) x));
47867 }
47868 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
47869 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
47870 }
47871 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
47872 return (void *)((wxEvent *) ((wxShowEvent *) x));
47873 }
47874 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
47875 return (void *)((wxEvent *) ((wxCommandEvent *) x));
47876 }
47877 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
47878 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
47879 }
47880 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
47881 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47882 }
47883 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
47884 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
47885 }
47886 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
47887 return (void *)((wxEvent *) ((wxKeyEvent *) x));
47888 }
47889 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
47890 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
47891 }
47892 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
47893 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
47894 }
47895 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
47896 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
47897 }
47898 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
47899 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
47900 }
47901 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
47902 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
47903 }
47904 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
47905 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
47906 }
47907 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
47908 return (void *)((wxItemContainer *) ((wxComboBox *) x));
47909 }
47910 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
47911 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47912 }
47913 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
47914 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
47915 }
47916 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
47917 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
47918 }
47919 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
47920 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
47921 }
47922 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
47923 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47924 }
47925 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
47926 return (void *)((wxPyListCtrl *) ((wxListView *) x));
47927 }
47928 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
47929 return (void *)((wxControl *) ((wxCollapsiblePane *) x));
47930 }
47931 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
47932 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
47933 }
47934 static void *_p_wxToolBarTo_p_wxControl(void *x) {
47935 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
47936 }
47937 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
47938 return (void *)((wxControl *) ((wxPickerBase *) x));
47939 }
47940 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
47941 return (void *)((wxControl *) ((wxToggleButton *) x));
47942 }
47943 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
47944 return (void *)((wxControl *) ((wxRadioButton *) x));
47945 }
47946 static void *_p_wxSearchCtrlTo_p_wxControl(void *x) {
47947 return (void *)((wxControl *) (wxTextCtrl *) ((wxSearchCtrl *) x));
47948 }
47949 static void *_p_wxToolbookTo_p_wxControl(void *x) {
47950 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
47951 }
47952 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
47953 return (void *)((wxControl *) ((wxToolBarBase *) x));
47954 }
47955 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
47956 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47957 }
47958 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
47959 return (void *)((wxControl *) ((wxPyListCtrl *) x));
47960 }
47961 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
47962 return (void *)((wxControl *) ((wxComboBox *) x));
47963 }
47964 static void *_p_wxPyControlTo_p_wxControl(void *x) {
47965 return (void *)((wxControl *) ((wxPyControl *) x));
47966 }
47967 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
47968 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
47969 }
47970 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
47971 return (void *)((wxControl *) ((wxScrollBar *) x));
47972 }
47973 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
47974 return (void *)((wxControl *) ((wxControlWithItems *) x));
47975 }
47976 static void *_p_wxGaugeTo_p_wxControl(void *x) {
47977 return (void *)((wxControl *) ((wxGauge *) x));
47978 }
47979 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
47980 return (void *)((wxControl *) ((wxStaticLine *) x));
47981 }
47982 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
47983 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
47984 }
47985 static void *_p_wxListbookTo_p_wxControl(void *x) {
47986 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
47987 }
47988 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
47989 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
47990 }
47991 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
47992 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
47993 }
47994 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
47995 return (void *)((wxControl *) ((wxCheckBox *) x));
47996 }
47997 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
47998 return (void *)((wxControl *) ((wxRadioBox *) x));
47999 }
48000 static void *_p_wxChoiceTo_p_wxControl(void *x) {
48001 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
48002 }
48003 static void *_p_wxListBoxTo_p_wxControl(void *x) {
48004 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
48005 }
48006 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
48007 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48008 }
48009 static void *_p_wxListViewTo_p_wxControl(void *x) {
48010 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
48011 }
48012 static void *_p_wxNotebookTo_p_wxControl(void *x) {
48013 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
48014 }
48015 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
48016 return (void *)((wxControl *) ((wxStaticBitmap *) x));
48017 }
48018 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
48019 return (void *)((wxControl *) ((wxSpinCtrl *) x));
48020 }
48021 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
48022 return (void *)((wxControl *) ((wxStaticText *) x));
48023 }
48024 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
48025 return (void *)((wxControl *) ((wxStaticBox *) x));
48026 }
48027 static void *_p_wxSliderTo_p_wxControl(void *x) {
48028 return (void *)((wxControl *) ((wxSlider *) x));
48029 }
48030 static void *_p_wxTreebookTo_p_wxControl(void *x) {
48031 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
48032 }
48033 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
48034 return (void *)((wxControl *) ((wxSpinButton *) x));
48035 }
48036 static void *_p_wxButtonTo_p_wxControl(void *x) {
48037 return (void *)((wxControl *) ((wxButton *) x));
48038 }
48039 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
48040 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
48041 }
48042 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
48043 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48044 }
48045 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
48046 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
48047 }
48048 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
48049 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
48050 }
48051 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
48052 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
48053 }
48054 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
48055 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
48056 }
48057 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
48058 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
48059 }
48060 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
48061 return (void *)((wxControl *) ((wxTextCtrl *) x));
48062 }
48063 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
48064 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
48065 }
48066 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
48067 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
48068 }
48069 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x) {
48070 return (void *)((wxTextCtrl *) ((wxSearchCtrl *) x));
48071 }
48072 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
48073 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48074 }
48075 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
48076 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
48077 }
48078 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
48079 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
48080 }
48081 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
48082 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
48083 }
48084 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
48085 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48086 }
48087 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
48088 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48089 }
48090 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
48091 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48092 }
48093 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
48094 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48095 }
48096 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
48097 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48098 }
48099 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
48100 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
48101 }
48102 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
48103 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
48104 }
48105 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
48106 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
48107 }
48108 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
48109 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
48110 }
48111 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
48112 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
48113 }
48114 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
48115 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
48116 }
48117 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
48118 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
48119 }
48120 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
48121 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48122 }
48123 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
48124 return (void *)((wxEvtHandler *) ((wxValidator *) x));
48125 }
48126 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
48127 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
48128 }
48129 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
48130 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48131 }
48132 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
48133 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
48134 }
48135 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
48136 return (void *)((wxEvtHandler *) ((wxMenu *) x));
48137 }
48138 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
48139 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
48140 }
48141 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
48142 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
48143 }
48144 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x) {
48145 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48146 }
48147 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
48148 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48149 }
48150 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
48151 return (void *)((wxEvtHandler *) ((wxWindow *) x));
48152 }
48153 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
48154 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
48155 }
48156 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
48157 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
48158 }
48159 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
48160 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
48161 }
48162 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
48163 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
48164 }
48165 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
48166 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48167 }
48168 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
48169 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
48170 }
48171 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
48172 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
48173 }
48174 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
48175 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
48176 }
48177 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
48178 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
48179 }
48180 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
48181 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48182 }
48183 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
48184 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
48185 }
48186 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
48187 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
48188 }
48189 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
48190 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48191 }
48192 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
48193 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48194 }
48195 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
48196 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48197 }
48198 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
48199 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
48200 }
48201 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
48202 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
48203 }
48204 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
48205 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
48206 }
48207 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
48208 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48209 }
48210 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
48211 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48212 }
48213 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
48214 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48215 }
48216 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
48217 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48218 }
48219 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
48220 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
48221 }
48222 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
48223 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48224 }
48225 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
48226 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
48227 }
48228 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
48229 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
48230 }
48231 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
48232 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
48233 }
48234 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
48235 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
48236 }
48237 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
48238 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48239 }
48240 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
48241 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
48242 }
48243 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
48244 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
48245 }
48246 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
48247 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48248 }
48249 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
48250 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48251 }
48252 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
48253 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48254 }
48255 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
48256 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48257 }
48258 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
48259 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48260 }
48261 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
48262 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48263 }
48264 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
48265 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48266 }
48267 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
48268 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
48269 }
48270 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
48271 return (void *)((wxListBox *) ((wxCheckListBox *) x));
48272 }
48273 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
48274 return (void *)((wxButton *) ((wxBitmapButton *) x));
48275 }
48276 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
48277 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
48278 }
48279 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
48280 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
48281 }
48282 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
48283 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
48284 }
48285 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
48286 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
48287 }
48288 static void *_p_wxToolbookTo_p_wxObject(void *x) {
48289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48290 }
48291 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
48292 return (void *)((wxObject *) ((wxSizerItem *) x));
48293 }
48294 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
48295 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
48296 }
48297 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
48298 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
48299 }
48300 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
48301 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
48302 }
48303 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
48304 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
48305 }
48306 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
48307 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
48308 }
48309 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
48310 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
48311 }
48312 static void *_p_wxSizerTo_p_wxObject(void *x) {
48313 return (void *)((wxObject *) ((wxSizer *) x));
48314 }
48315 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
48316 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
48317 }
48318 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
48319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
48320 }
48321 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
48322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
48323 }
48324 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
48325 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
48326 }
48327 static void *_p_wxEventTo_p_wxObject(void *x) {
48328 return (void *)((wxObject *) ((wxEvent *) x));
48329 }
48330 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
48331 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
48332 }
48333 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
48334 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
48335 }
48336 static void *_p_wxSearchCtrlTo_p_wxObject(void *x) {
48337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48338 }
48339 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
48340 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
48341 }
48342 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
48343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
48344 }
48345 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
48346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
48347 }
48348 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
48349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
48350 }
48351 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
48352 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48353 }
48354 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
48355 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
48356 }
48357 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
48358 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
48359 }
48360 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
48361 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
48362 }
48363 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
48364 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
48365 }
48366 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
48367 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
48368 }
48369 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
48370 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
48371 }
48372 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
48373 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
48374 }
48375 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
48376 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
48377 }
48378 static void *_p_wxControlTo_p_wxObject(void *x) {
48379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
48380 }
48381 static void *_p_wxPyControlTo_p_wxObject(void *x) {
48382 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
48383 }
48384 static void *_p_wxGaugeTo_p_wxObject(void *x) {
48385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
48386 }
48387 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
48388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
48389 }
48390 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
48391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
48392 }
48393 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
48394 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
48395 }
48396 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
48397 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
48398 }
48399 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
48400 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
48401 }
48402 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
48403 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
48404 }
48405 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
48406 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
48407 }
48408 static void *_p_wxChoiceTo_p_wxObject(void *x) {
48409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48410 }
48411 static void *_p_wxFSFileTo_p_wxObject(void *x) {
48412 return (void *)((wxObject *) ((wxFSFile *) x));
48413 }
48414 static void *_p_wxPySizerTo_p_wxObject(void *x) {
48415 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
48416 }
48417 static void *_p_wxTreebookTo_p_wxObject(void *x) {
48418 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48419 }
48420 static void *_p_wxListViewTo_p_wxObject(void *x) {
48421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48422 }
48423 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
48424 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
48425 }
48426 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
48427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
48428 }
48429 static void *_p_wxNotebookTo_p_wxObject(void *x) {
48430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48431 }
48432 static void *_p_wxPyEventTo_p_wxObject(void *x) {
48433 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
48434 }
48435 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
48436 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
48437 }
48438 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
48439 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48440 }
48441 static void *_p_wxListbookTo_p_wxObject(void *x) {
48442 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48443 }
48444 static void *_p_wxShowEventTo_p_wxObject(void *x) {
48445 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
48446 }
48447 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
48448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
48449 }
48450 static void *_p_wxSliderTo_p_wxObject(void *x) {
48451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
48452 }
48453 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
48454 return (void *)((wxObject *) ((wxMenuItem *) x));
48455 }
48456 static void *_p_wxDateEventTo_p_wxObject(void *x) {
48457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
48458 }
48459 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
48460 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
48461 }
48462 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
48463 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
48464 }
48465 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
48466 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
48467 }
48468 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
48469 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
48470 }
48471 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
48472 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
48473 }
48474 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
48475 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
48476 }
48477 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
48478 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
48479 }
48480 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
48481 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
48482 }
48483 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
48484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
48485 }
48486 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
48487 return (void *)((wxObject *) ((wxContextHelp *) x));
48488 }
48489 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
48490 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48491 }
48492 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
48493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48494 }
48495 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
48496 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
48497 }
48498 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
48499 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
48500 }
48501 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
48502 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
48503 }
48504 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
48505 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
48506 }
48507 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
48508 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
48509 }
48510 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
48511 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
48512 }
48513 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
48514 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
48515 }
48516 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
48517 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
48518 }
48519 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
48520 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
48521 }
48522 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
48523 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
48524 }
48525 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
48526 return (void *)((wxObject *) ((wxImageHandler *) x));
48527 }
48528 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
48529 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
48530 }
48531 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
48532 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
48533 }
48534 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
48535 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
48536 }
48537 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
48538 return (void *)((wxObject *) ((wxEvtHandler *) x));
48539 }
48540 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
48541 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
48542 }
48543 static void *_p_wxListEventTo_p_wxObject(void *x) {
48544 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
48545 }
48546 static void *_p_wxListBoxTo_p_wxObject(void *x) {
48547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48548 }
48549 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
48550 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48551 }
48552 static void *_p_wxButtonTo_p_wxObject(void *x) {
48553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
48554 }
48555 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
48556 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48557 }
48558 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
48559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
48560 }
48561 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
48562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48563 }
48564 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
48565 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
48566 }
48567 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
48568 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
48569 }
48570 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
48571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
48572 }
48573 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
48574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
48575 }
48576 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
48577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
48578 }
48579 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
48580 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
48581 }
48582 static void *_p_wxListItemTo_p_wxObject(void *x) {
48583 return (void *)((wxObject *) ((wxListItem *) x));
48584 }
48585 static void *_p_wxImageTo_p_wxObject(void *x) {
48586 return (void *)((wxObject *) ((wxImage *) x));
48587 }
48588 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
48589 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
48590 }
48591 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
48592 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
48593 }
48594 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
48595 return (void *)((wxObject *) ((wxGenericDragImage *) x));
48596 }
48597 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
48598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
48599 }
48600 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
48601 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48602 }
48603 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
48604 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48605 }
48606 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
48607 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48608 }
48609 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
48610 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48611 }
48612 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
48613 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48614 }
48615 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
48616 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48617 }
48618 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
48619 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
48620 }
48621 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
48622 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
48623 }
48624 static void *_p_wxWindowTo_p_wxObject(void *x) {
48625 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
48626 }
48627 static void *_p_wxMenuTo_p_wxObject(void *x) {
48628 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
48629 }
48630 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
48631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
48632 }
48633 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
48634 return (void *)((wxObject *) ((wxFileSystem *) x));
48635 }
48636 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
48637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
48638 }
48639 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
48640 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
48641 }
48642 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
48643 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
48644 }
48645 static void *_p_wxPyAppTo_p_wxObject(void *x) {
48646 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
48647 }
48648 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
48649 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
48650 }
48651 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
48652 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
48653 }
48654 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
48655 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
48656 }
48657 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
48658 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48659 }
48660 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
48661 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
48662 }
48663 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
48664 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
48665 }
48666 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
48667 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
48668 }
48669 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
48670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
48671 }
48672 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
48673 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
48674 }
48675 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
48676 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
48677 }
48678 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
48679 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
48680 }
48681 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
48682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48683 }
48684 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
48685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48686 }
48687 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
48688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48689 }
48690 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
48691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48692 }
48693 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
48694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48695 }
48696 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
48697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48698 }
48699 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
48700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48701 }
48702 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
48703 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
48704 }
48705 static void *_p_wxToolBarTo_p_wxObject(void *x) {
48706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48707 }
48708 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
48709 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
48710 }
48711 static void *_p_wxValidatorTo_p_wxObject(void *x) {
48712 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
48713 }
48714 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
48715 return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
48716 }
48717 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
48718 return (void *)((wxWindow *) ((wxMenuBar *) x));
48719 }
48720 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
48721 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
48722 }
48723 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
48724 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48725 }
48726 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
48727 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
48728 }
48729 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
48730 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
48731 }
48732 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
48733 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
48734 }
48735 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x) {
48736 return (void *)((wxWindow *) (wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48737 }
48738 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
48739 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48740 }
48741 static void *_p_wxControlTo_p_wxWindow(void *x) {
48742 return (void *)((wxWindow *) ((wxControl *) x));
48743 }
48744 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
48745 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
48746 }
48747 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
48748 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
48749 }
48750 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
48751 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
48752 }
48753 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
48754 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48755 }
48756 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
48757 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
48758 }
48759 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
48760 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
48761 }
48762 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
48763 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
48764 }
48765 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
48766 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
48767 }
48768 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
48769 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
48770 }
48771 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
48772 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
48773 }
48774 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
48775 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48776 }
48777 static void *_p_wxListbookTo_p_wxWindow(void *x) {
48778 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48779 }
48780 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
48781 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
48782 }
48783 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
48784 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
48785 }
48786 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
48787 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
48788 }
48789 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
48790 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
48791 }
48792 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
48793 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48794 }
48795 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
48796 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48797 }
48798 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
48799 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48800 }
48801 static void *_p_wxListViewTo_p_wxWindow(void *x) {
48802 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48803 }
48804 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
48805 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48806 }
48807 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
48808 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
48809 }
48810 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
48811 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
48812 }
48813 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
48814 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
48815 }
48816 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
48817 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
48818 }
48819 static void *_p_wxSliderTo_p_wxWindow(void *x) {
48820 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
48821 }
48822 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
48823 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48824 }
48825 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
48826 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
48827 }
48828 static void *_p_wxButtonTo_p_wxWindow(void *x) {
48829 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
48830 }
48831 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
48832 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
48833 }
48834 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
48835 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48836 }
48837 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
48838 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
48839 }
48840 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
48841 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48842 }
48843 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
48844 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48845 }
48846 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
48847 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48848 }
48849 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
48850 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48851 }
48852 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
48853 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
48854 }
48855 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48856 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48857 }
48858 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48859 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48860 }
48861 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48862 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48863 }
48864 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48865 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48866 }
48867 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48868 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48869 }
48870 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
48871 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48872 }
48873 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
48874 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
48875 }
48876 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
48877 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
48878 }
48879 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
48880 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
48881 }
48882 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
48883 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
48884 }
48885 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
48886 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
48887 }
48888 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
48889 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
48890 }
48891 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
48892 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
48893 }
48894 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
48895 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
48896 }
48897 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
48898 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
48899 }
48900 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
48901 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
48902 }
48903 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
48904 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48905 }
48906 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
48907 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48908 }
48909 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
48910 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48911 }
48912 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
48913 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48914 }
48915 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
48916 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48917 }
48918 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
48919 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
48920 }
48921 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
48922 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
48923 }
48924 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
48925 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
48926 }
48927 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
48928 return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48929 }
48930 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
48931 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48932 }
48933 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
48934 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
48935 }
48936 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
48937 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
48938 }
48939 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
48940 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
48941 }
48942 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
48943 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
48944 }
48945 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
48946 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
48947 }
48948 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
48949 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
48950 }
48951 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
48952 return (void *)((wxControlWithItems *) ((wxChoice *) x));
48953 }
48954 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
48955 return (void *)((wxControlWithItems *) ((wxListBox *) x));
48956 }
48957 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
48958 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
48959 }
48960 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
48961 return (void *)((wxValidator *) ((wxPyValidator *) x));
48962 }
48963 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48964 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
48965 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};
48966 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
48967 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
48968 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48969 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48970 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48971 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
48972 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48973 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48974 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48975 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48976 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48977 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48978 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48979 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48980 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48981 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48982 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48983 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48984 static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48985 static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48986 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48987 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48988 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48989 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48990 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48991 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48992 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48993 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48994 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48995 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48996 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48997 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48998 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48999 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49000 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49001 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49002 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49003 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49004 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49005 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49006 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49007 static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49008 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49009 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49010 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49011 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49012 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49013 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49014 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49015 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49016 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49017 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49018 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49019 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49020 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49021 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49022 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49023 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49024 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49025 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49026 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49027 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49028 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49029 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49030 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49031 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49032 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49033 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49034 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49035 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49036 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49037 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49038 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49039 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49040 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
49041 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49042 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49043 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49044 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49045 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49046 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49047 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49048 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49049 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49050 static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49051 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49052 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49053 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49054 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49055 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49056 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49057 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49058 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49059 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49060 static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49061 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49062 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49063 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49064 static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49065 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49066 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49067 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49068 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49069 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49070 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49071 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49072 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49073 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49074 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49075 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49076 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49077 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
49078 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49079 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49080 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49081 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
49082 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
49083 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49084 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49085 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49086 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49087 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49088 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49089 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49090 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49091 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49092 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49093 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49094 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49095 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49096 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49097 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49098 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49099 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49100 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
49101 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49102 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49103 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49104 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49105 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49106 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49107 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49108 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49109 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49110 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49111 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49112 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49113 static swig_type_info _swigt__p_wxSearchCtrl = {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49114 static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49115 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49116 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49117 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49118 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49119 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49120 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49121 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49122 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49123 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49124 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49125 static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49126 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49127 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49128 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49129 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49130 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49131 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49132 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49133 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49134 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49135 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49136 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49137 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49138 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49139 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49140 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49141 static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49142
49143 static swig_type_info *swig_type_initial[] = {
49144 &_swigt__p_bool,
49145 &_swigt__p_char,
49146 &_swigt__p_form_ops_t,
49147 &_swigt__p_int,
49148 &_swigt__p_long,
49149 &_swigt__p_unsigned_char,
49150 &_swigt__p_unsigned_int,
49151 &_swigt__p_unsigned_long,
49152 &_swigt__p_void,
49153 &_swigt__p_wxANIHandler,
49154 &_swigt__p_wxAcceleratorTable,
49155 &_swigt__p_wxActivateEvent,
49156 &_swigt__p_wxArrayInt,
49157 &_swigt__p_wxArrayString,
49158 &_swigt__p_wxBMPHandler,
49159 &_swigt__p_wxBitmap,
49160 &_swigt__p_wxBitmapButton,
49161 &_swigt__p_wxBookCtrlBase,
49162 &_swigt__p_wxBookCtrlBaseEvent,
49163 &_swigt__p_wxBoxSizer,
49164 &_swigt__p_wxButton,
49165 &_swigt__p_wxCURHandler,
49166 &_swigt__p_wxCheckBox,
49167 &_swigt__p_wxCheckListBox,
49168 &_swigt__p_wxChildFocusEvent,
49169 &_swigt__p_wxChoice,
49170 &_swigt__p_wxChoicebook,
49171 &_swigt__p_wxChoicebookEvent,
49172 &_swigt__p_wxClipboardTextEvent,
49173 &_swigt__p_wxCloseEvent,
49174 &_swigt__p_wxCollapsiblePane,
49175 &_swigt__p_wxCollapsiblePaneEvent,
49176 &_swigt__p_wxColour,
49177 &_swigt__p_wxColourPickerCtrl,
49178 &_swigt__p_wxColourPickerEvent,
49179 &_swigt__p_wxComboBox,
49180 &_swigt__p_wxCommandEvent,
49181 &_swigt__p_wxContextHelp,
49182 &_swigt__p_wxContextHelpButton,
49183 &_swigt__p_wxContextMenuEvent,
49184 &_swigt__p_wxControl,
49185 &_swigt__p_wxControlWithItems,
49186 &_swigt__p_wxCursor,
49187 &_swigt__p_wxDC,
49188 &_swigt__p_wxDateEvent,
49189 &_swigt__p_wxDatePickerCtrl,
49190 &_swigt__p_wxDateTime,
49191 &_swigt__p_wxDirFilterListCtrl,
49192 &_swigt__p_wxDirPickerCtrl,
49193 &_swigt__p_wxDisplayChangedEvent,
49194 &_swigt__p_wxDropFilesEvent,
49195 &_swigt__p_wxDuplexMode,
49196 &_swigt__p_wxEraseEvent,
49197 &_swigt__p_wxEvent,
49198 &_swigt__p_wxEvtHandler,
49199 &_swigt__p_wxFSFile,
49200 &_swigt__p_wxFileDirPickerEvent,
49201 &_swigt__p_wxFilePickerCtrl,
49202 &_swigt__p_wxFileSystem,
49203 &_swigt__p_wxFlexGridSizer,
49204 &_swigt__p_wxFocusEvent,
49205 &_swigt__p_wxFont,
49206 &_swigt__p_wxFontPickerCtrl,
49207 &_swigt__p_wxFontPickerEvent,
49208 &_swigt__p_wxGBSizerItem,
49209 &_swigt__p_wxGIFHandler,
49210 &_swigt__p_wxGauge,
49211 &_swigt__p_wxGenericDirCtrl,
49212 &_swigt__p_wxGenericDragImage,
49213 &_swigt__p_wxGridBagSizer,
49214 &_swigt__p_wxGridSizer,
49215 &_swigt__p_wxHelpEvent,
49216 &_swigt__p_wxHelpProvider,
49217 &_swigt__p_wxHyperlinkCtrl,
49218 &_swigt__p_wxHyperlinkEvent,
49219 &_swigt__p_wxICOHandler,
49220 &_swigt__p_wxIcon,
49221 &_swigt__p_wxIconizeEvent,
49222 &_swigt__p_wxIdleEvent,
49223 &_swigt__p_wxImage,
49224 &_swigt__p_wxImageHandler,
49225 &_swigt__p_wxImageList,
49226 &_swigt__p_wxIndividualLayoutConstraint,
49227 &_swigt__p_wxInitDialogEvent,
49228 &_swigt__p_wxItemContainer,
49229 &_swigt__p_wxJPEGHandler,
49230 &_swigt__p_wxKeyEvent,
49231 &_swigt__p_wxLayoutConstraints,
49232 &_swigt__p_wxListBox,
49233 &_swigt__p_wxListEvent,
49234 &_swigt__p_wxListItem,
49235 &_swigt__p_wxListItemAttr,
49236 &_swigt__p_wxListView,
49237 &_swigt__p_wxListbook,
49238 &_swigt__p_wxListbookEvent,
49239 &_swigt__p_wxMaximizeEvent,
49240 &_swigt__p_wxMemoryDC,
49241 &_swigt__p_wxMenu,
49242 &_swigt__p_wxMenuBar,
49243 &_swigt__p_wxMenuEvent,
49244 &_swigt__p_wxMenuItem,
49245 &_swigt__p_wxMouseCaptureChangedEvent,
49246 &_swigt__p_wxMouseCaptureLostEvent,
49247 &_swigt__p_wxMouseEvent,
49248 &_swigt__p_wxMoveEvent,
49249 &_swigt__p_wxNavigationKeyEvent,
49250 &_swigt__p_wxNcPaintEvent,
49251 &_swigt__p_wxNotebook,
49252 &_swigt__p_wxNotebookEvent,
49253 &_swigt__p_wxNotifyEvent,
49254 &_swigt__p_wxObject,
49255 &_swigt__p_wxPCXHandler,
49256 &_swigt__p_wxPNGHandler,
49257 &_swigt__p_wxPNMHandler,
49258 &_swigt__p_wxPaintEvent,
49259 &_swigt__p_wxPaletteChangedEvent,
49260 &_swigt__p_wxPaperSize,
49261 &_swigt__p_wxPickerBase,
49262 &_swigt__p_wxPoint,
49263 &_swigt__p_wxPyApp,
49264 &_swigt__p_wxPyCommandEvent,
49265 &_swigt__p_wxPyControl,
49266 &_swigt__p_wxPyEvent,
49267 &_swigt__p_wxPyImageHandler,
49268 &_swigt__p_wxPyListCtrl,
49269 &_swigt__p_wxPySizer,
49270 &_swigt__p_wxPyTreeCtrl,
49271 &_swigt__p_wxPyTreeItemData,
49272 &_swigt__p_wxPyValidator,
49273 &_swigt__p_wxQueryNewPaletteEvent,
49274 &_swigt__p_wxRadioBox,
49275 &_swigt__p_wxRadioButton,
49276 &_swigt__p_wxRect,
49277 &_swigt__p_wxScrollBar,
49278 &_swigt__p_wxScrollEvent,
49279 &_swigt__p_wxScrollWinEvent,
49280 &_swigt__p_wxSearchCtrl,
49281 &_swigt__p_wxSetCursorEvent,
49282 &_swigt__p_wxShowEvent,
49283 &_swigt__p_wxSimpleHelpProvider,
49284 &_swigt__p_wxSize,
49285 &_swigt__p_wxSizeEvent,
49286 &_swigt__p_wxSizer,
49287 &_swigt__p_wxSizerItem,
49288 &_swigt__p_wxSlider,
49289 &_swigt__p_wxSpinButton,
49290 &_swigt__p_wxSpinCtrl,
49291 &_swigt__p_wxSpinEvent,
49292 &_swigt__p_wxStaticBitmap,
49293 &_swigt__p_wxStaticBox,
49294 &_swigt__p_wxStaticBoxSizer,
49295 &_swigt__p_wxStaticLine,
49296 &_swigt__p_wxStaticText,
49297 &_swigt__p_wxStdDialogButtonSizer,
49298 &_swigt__p_wxString,
49299 &_swigt__p_wxSysColourChangedEvent,
49300 &_swigt__p_wxTGAHandler,
49301 &_swigt__p_wxTIFFHandler,
49302 &_swigt__p_wxTextAttr,
49303 &_swigt__p_wxTextCtrl,
49304 &_swigt__p_wxTextUrlEvent,
49305 &_swigt__p_wxToggleButton,
49306 &_swigt__p_wxToolBar,
49307 &_swigt__p_wxToolBarBase,
49308 &_swigt__p_wxToolBarToolBase,
49309 &_swigt__p_wxToolbook,
49310 &_swigt__p_wxToolbookEvent,
49311 &_swigt__p_wxTreeEvent,
49312 &_swigt__p_wxTreeItemId,
49313 &_swigt__p_wxTreebook,
49314 &_swigt__p_wxTreebookEvent,
49315 &_swigt__p_wxUpdateUIEvent,
49316 &_swigt__p_wxValidator,
49317 &_swigt__p_wxVisualAttributes,
49318 &_swigt__p_wxWindow,
49319 &_swigt__p_wxWindowBase,
49320 &_swigt__p_wxWindowCreateEvent,
49321 &_swigt__p_wxWindowDestroyEvent,
49322 &_swigt__p_wxXPMHandler,
49323 };
49324
49325 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
49326 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
49327 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
49328 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
49329 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
49330 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
49331 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
49332 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
49333 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
49334 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
49335 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
49336 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
49337 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}};
49338 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}};
49339 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}};
49340 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}};
49341 static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
49342 static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
49343 static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
49344 static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
49345 static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49346 static swig_cast_info _swigc__p_wxCollapsiblePane[] = { {&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
49347 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = { {&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
49348 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
49349 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49350 static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
49351 static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
49352 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
49353 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
49354 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
49355 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
49356 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
49357 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
49358 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
49359 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
49360 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
49361 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}};
49362 static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
49363 static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
49364 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}};
49365 static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
49366 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
49367 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
49368 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49369 static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
49370 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
49371 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49372 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
49373 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
49374 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
49375 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
49376 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
49377 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
49378 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
49379 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
49380 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
49381 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49382 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49383 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
49384 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49385 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
49386 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
49387 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
49388 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
49389 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49390 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49391 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49392 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49393 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
49394 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
49395 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
49396 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
49397 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
49398 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}};
49399 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
49400 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
49401 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
49402 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}};
49403 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
49404 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49405 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
49406 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49407 static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
49408 static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
49409 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
49410 static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
49411 static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
49412 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}};
49413 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
49414 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
49415 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
49416 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
49417 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}};
49418 static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
49419 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}};
49420 static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
49421 static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
49422 static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
49423 static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
49424 static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
49425 static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
49426 static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
49427 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
49428 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
49429 static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
49430 static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49431 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}};
49432 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
49433 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
49434 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
49435 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
49436 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
49437 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
49438 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
49439 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
49440 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
49441 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
49442 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
49443 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
49444 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
49445 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
49446 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
49447 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
49448 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
49449 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
49450 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
49451 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
49452 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
49453 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
49454 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
49455 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
49456 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
49457 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
49458 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
49459 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
49460 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
49461 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
49462 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
49463 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}};
49464 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
49465 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}};
49466 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
49467 static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
49468 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}};
49469 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
49470 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
49471 static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
49472 static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
49473 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
49474 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
49475 static swig_cast_info _swigc__p_wxSearchCtrl[] = { {&_swigt__p_wxSearchCtrl, 0, 0, 0},{0, 0, 0, 0}};
49476 static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
49477 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
49478 static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
49479 static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
49480 static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
49481 static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
49482 static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
49483 static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
49484 static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
49485 static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
49486 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
49487 static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
49488 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}};
49489 static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
49490 static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
49491 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
49492 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}};
49493 static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
49494 static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
49495 static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
49496 static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
49497 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
49498 static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
49499 static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49500 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}};
49501 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
49502 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}};
49503 static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
49504
49505 static swig_cast_info *swig_cast_initial[] = {
49506 _swigc__p_bool,
49507 _swigc__p_char,
49508 _swigc__p_form_ops_t,
49509 _swigc__p_int,
49510 _swigc__p_long,
49511 _swigc__p_unsigned_char,
49512 _swigc__p_unsigned_int,
49513 _swigc__p_unsigned_long,
49514 _swigc__p_void,
49515 _swigc__p_wxANIHandler,
49516 _swigc__p_wxAcceleratorTable,
49517 _swigc__p_wxActivateEvent,
49518 _swigc__p_wxArrayInt,
49519 _swigc__p_wxArrayString,
49520 _swigc__p_wxBMPHandler,
49521 _swigc__p_wxBitmap,
49522 _swigc__p_wxBitmapButton,
49523 _swigc__p_wxBookCtrlBase,
49524 _swigc__p_wxBookCtrlBaseEvent,
49525 _swigc__p_wxBoxSizer,
49526 _swigc__p_wxButton,
49527 _swigc__p_wxCURHandler,
49528 _swigc__p_wxCheckBox,
49529 _swigc__p_wxCheckListBox,
49530 _swigc__p_wxChildFocusEvent,
49531 _swigc__p_wxChoice,
49532 _swigc__p_wxChoicebook,
49533 _swigc__p_wxChoicebookEvent,
49534 _swigc__p_wxClipboardTextEvent,
49535 _swigc__p_wxCloseEvent,
49536 _swigc__p_wxCollapsiblePane,
49537 _swigc__p_wxCollapsiblePaneEvent,
49538 _swigc__p_wxColour,
49539 _swigc__p_wxColourPickerCtrl,
49540 _swigc__p_wxColourPickerEvent,
49541 _swigc__p_wxComboBox,
49542 _swigc__p_wxCommandEvent,
49543 _swigc__p_wxContextHelp,
49544 _swigc__p_wxContextHelpButton,
49545 _swigc__p_wxContextMenuEvent,
49546 _swigc__p_wxControl,
49547 _swigc__p_wxControlWithItems,
49548 _swigc__p_wxCursor,
49549 _swigc__p_wxDC,
49550 _swigc__p_wxDateEvent,
49551 _swigc__p_wxDatePickerCtrl,
49552 _swigc__p_wxDateTime,
49553 _swigc__p_wxDirFilterListCtrl,
49554 _swigc__p_wxDirPickerCtrl,
49555 _swigc__p_wxDisplayChangedEvent,
49556 _swigc__p_wxDropFilesEvent,
49557 _swigc__p_wxDuplexMode,
49558 _swigc__p_wxEraseEvent,
49559 _swigc__p_wxEvent,
49560 _swigc__p_wxEvtHandler,
49561 _swigc__p_wxFSFile,
49562 _swigc__p_wxFileDirPickerEvent,
49563 _swigc__p_wxFilePickerCtrl,
49564 _swigc__p_wxFileSystem,
49565 _swigc__p_wxFlexGridSizer,
49566 _swigc__p_wxFocusEvent,
49567 _swigc__p_wxFont,
49568 _swigc__p_wxFontPickerCtrl,
49569 _swigc__p_wxFontPickerEvent,
49570 _swigc__p_wxGBSizerItem,
49571 _swigc__p_wxGIFHandler,
49572 _swigc__p_wxGauge,
49573 _swigc__p_wxGenericDirCtrl,
49574 _swigc__p_wxGenericDragImage,
49575 _swigc__p_wxGridBagSizer,
49576 _swigc__p_wxGridSizer,
49577 _swigc__p_wxHelpEvent,
49578 _swigc__p_wxHelpProvider,
49579 _swigc__p_wxHyperlinkCtrl,
49580 _swigc__p_wxHyperlinkEvent,
49581 _swigc__p_wxICOHandler,
49582 _swigc__p_wxIcon,
49583 _swigc__p_wxIconizeEvent,
49584 _swigc__p_wxIdleEvent,
49585 _swigc__p_wxImage,
49586 _swigc__p_wxImageHandler,
49587 _swigc__p_wxImageList,
49588 _swigc__p_wxIndividualLayoutConstraint,
49589 _swigc__p_wxInitDialogEvent,
49590 _swigc__p_wxItemContainer,
49591 _swigc__p_wxJPEGHandler,
49592 _swigc__p_wxKeyEvent,
49593 _swigc__p_wxLayoutConstraints,
49594 _swigc__p_wxListBox,
49595 _swigc__p_wxListEvent,
49596 _swigc__p_wxListItem,
49597 _swigc__p_wxListItemAttr,
49598 _swigc__p_wxListView,
49599 _swigc__p_wxListbook,
49600 _swigc__p_wxListbookEvent,
49601 _swigc__p_wxMaximizeEvent,
49602 _swigc__p_wxMemoryDC,
49603 _swigc__p_wxMenu,
49604 _swigc__p_wxMenuBar,
49605 _swigc__p_wxMenuEvent,
49606 _swigc__p_wxMenuItem,
49607 _swigc__p_wxMouseCaptureChangedEvent,
49608 _swigc__p_wxMouseCaptureLostEvent,
49609 _swigc__p_wxMouseEvent,
49610 _swigc__p_wxMoveEvent,
49611 _swigc__p_wxNavigationKeyEvent,
49612 _swigc__p_wxNcPaintEvent,
49613 _swigc__p_wxNotebook,
49614 _swigc__p_wxNotebookEvent,
49615 _swigc__p_wxNotifyEvent,
49616 _swigc__p_wxObject,
49617 _swigc__p_wxPCXHandler,
49618 _swigc__p_wxPNGHandler,
49619 _swigc__p_wxPNMHandler,
49620 _swigc__p_wxPaintEvent,
49621 _swigc__p_wxPaletteChangedEvent,
49622 _swigc__p_wxPaperSize,
49623 _swigc__p_wxPickerBase,
49624 _swigc__p_wxPoint,
49625 _swigc__p_wxPyApp,
49626 _swigc__p_wxPyCommandEvent,
49627 _swigc__p_wxPyControl,
49628 _swigc__p_wxPyEvent,
49629 _swigc__p_wxPyImageHandler,
49630 _swigc__p_wxPyListCtrl,
49631 _swigc__p_wxPySizer,
49632 _swigc__p_wxPyTreeCtrl,
49633 _swigc__p_wxPyTreeItemData,
49634 _swigc__p_wxPyValidator,
49635 _swigc__p_wxQueryNewPaletteEvent,
49636 _swigc__p_wxRadioBox,
49637 _swigc__p_wxRadioButton,
49638 _swigc__p_wxRect,
49639 _swigc__p_wxScrollBar,
49640 _swigc__p_wxScrollEvent,
49641 _swigc__p_wxScrollWinEvent,
49642 _swigc__p_wxSearchCtrl,
49643 _swigc__p_wxSetCursorEvent,
49644 _swigc__p_wxShowEvent,
49645 _swigc__p_wxSimpleHelpProvider,
49646 _swigc__p_wxSize,
49647 _swigc__p_wxSizeEvent,
49648 _swigc__p_wxSizer,
49649 _swigc__p_wxSizerItem,
49650 _swigc__p_wxSlider,
49651 _swigc__p_wxSpinButton,
49652 _swigc__p_wxSpinCtrl,
49653 _swigc__p_wxSpinEvent,
49654 _swigc__p_wxStaticBitmap,
49655 _swigc__p_wxStaticBox,
49656 _swigc__p_wxStaticBoxSizer,
49657 _swigc__p_wxStaticLine,
49658 _swigc__p_wxStaticText,
49659 _swigc__p_wxStdDialogButtonSizer,
49660 _swigc__p_wxString,
49661 _swigc__p_wxSysColourChangedEvent,
49662 _swigc__p_wxTGAHandler,
49663 _swigc__p_wxTIFFHandler,
49664 _swigc__p_wxTextAttr,
49665 _swigc__p_wxTextCtrl,
49666 _swigc__p_wxTextUrlEvent,
49667 _swigc__p_wxToggleButton,
49668 _swigc__p_wxToolBar,
49669 _swigc__p_wxToolBarBase,
49670 _swigc__p_wxToolBarToolBase,
49671 _swigc__p_wxToolbook,
49672 _swigc__p_wxToolbookEvent,
49673 _swigc__p_wxTreeEvent,
49674 _swigc__p_wxTreeItemId,
49675 _swigc__p_wxTreebook,
49676 _swigc__p_wxTreebookEvent,
49677 _swigc__p_wxUpdateUIEvent,
49678 _swigc__p_wxValidator,
49679 _swigc__p_wxVisualAttributes,
49680 _swigc__p_wxWindow,
49681 _swigc__p_wxWindowBase,
49682 _swigc__p_wxWindowCreateEvent,
49683 _swigc__p_wxWindowDestroyEvent,
49684 _swigc__p_wxXPMHandler,
49685 };
49686
49687
49688 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49689
49690 static swig_const_info swig_const_table[] = {
49691 {0, 0, 0, 0.0, 0, 0}};
49692
49693 #ifdef __cplusplus
49694 }
49695 #endif
49696 /* -----------------------------------------------------------------------------
49697 * Type initialization:
49698 * This problem is tough by the requirement that no dynamic
49699 * memory is used. Also, since swig_type_info structures store pointers to
49700 * swig_cast_info structures and swig_cast_info structures store pointers back
49701 * to swig_type_info structures, we need some lookup code at initialization.
49702 * The idea is that swig generates all the structures that are needed.
49703 * The runtime then collects these partially filled structures.
49704 * The SWIG_InitializeModule function takes these initial arrays out of
49705 * swig_module, and does all the lookup, filling in the swig_module.types
49706 * array with the correct data and linking the correct swig_cast_info
49707 * structures together.
49708 *
49709 * The generated swig_type_info structures are assigned staticly to an initial
49710 * array. We just loop though that array, and handle each type individually.
49711 * First we lookup if this type has been already loaded, and if so, use the
49712 * loaded structure instead of the generated one. Then we have to fill in the
49713 * cast linked list. The cast data is initially stored in something like a
49714 * two-dimensional array. Each row corresponds to a type (there are the same
49715 * number of rows as there are in the swig_type_initial array). Each entry in
49716 * a column is one of the swig_cast_info structures for that type.
49717 * The cast_initial array is actually an array of arrays, because each row has
49718 * a variable number of columns. So to actually build the cast linked list,
49719 * we find the array of casts associated with the type, and loop through it
49720 * adding the casts to the list. The one last trick we need to do is making
49721 * sure the type pointer in the swig_cast_info struct is correct.
49722 *
49723 * First off, we lookup the cast->type name to see if it is already loaded.
49724 * There are three cases to handle:
49725 * 1) If the cast->type has already been loaded AND the type we are adding
49726 * casting info to has not been loaded (it is in this module), THEN we
49727 * replace the cast->type pointer with the type pointer that has already
49728 * been loaded.
49729 * 2) If BOTH types (the one we are adding casting info to, and the
49730 * cast->type) are loaded, THEN the cast info has already been loaded by
49731 * the previous module so we just ignore it.
49732 * 3) Finally, if cast->type has not already been loaded, then we add that
49733 * swig_cast_info to the linked list (because the cast->type) pointer will
49734 * be correct.
49735 * ----------------------------------------------------------------------------- */
49736
49737 #ifdef __cplusplus
49738 extern "C" {
49739 #if 0
49740 } /* c-mode */
49741 #endif
49742 #endif
49743
49744 #if 0
49745 #define SWIGRUNTIME_DEBUG
49746 #endif
49747
49748 SWIGRUNTIME void
49749 SWIG_InitializeModule(void *clientdata) {
49750 size_t i;
49751 swig_module_info *module_head;
49752 static int init_run = 0;
49753
49754 clientdata = clientdata;
49755
49756 if (init_run) return;
49757 init_run = 1;
49758
49759 /* Initialize the swig_module */
49760 swig_module.type_initial = swig_type_initial;
49761 swig_module.cast_initial = swig_cast_initial;
49762
49763 /* Try and load any already created modules */
49764 module_head = SWIG_GetModule(clientdata);
49765 if (module_head) {
49766 swig_module.next = module_head->next;
49767 module_head->next = &swig_module;
49768 } else {
49769 /* This is the first module loaded */
49770 swig_module.next = &swig_module;
49771 SWIG_SetModule(clientdata, &swig_module);
49772 }
49773
49774 /* Now work on filling in swig_module.types */
49775 #ifdef SWIGRUNTIME_DEBUG
49776 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
49777 #endif
49778 for (i = 0; i < swig_module.size; ++i) {
49779 swig_type_info *type = 0;
49780 swig_type_info *ret;
49781 swig_cast_info *cast;
49782
49783 #ifdef SWIGRUNTIME_DEBUG
49784 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
49785 #endif
49786
49787 /* if there is another module already loaded */
49788 if (swig_module.next != &swig_module) {
49789 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
49790 }
49791 if (type) {
49792 /* Overwrite clientdata field */
49793 #ifdef SWIGRUNTIME_DEBUG
49794 printf("SWIG_InitializeModule: found type %s\n", type->name);
49795 #endif
49796 if (swig_module.type_initial[i]->clientdata) {
49797 type->clientdata = swig_module.type_initial[i]->clientdata;
49798 #ifdef SWIGRUNTIME_DEBUG
49799 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
49800 #endif
49801 }
49802 } else {
49803 type = swig_module.type_initial[i];
49804 }
49805
49806 /* Insert casting types */
49807 cast = swig_module.cast_initial[i];
49808 while (cast->type) {
49809 /* Don't need to add information already in the list */
49810 ret = 0;
49811 #ifdef SWIGRUNTIME_DEBUG
49812 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
49813 #endif
49814 if (swig_module.next != &swig_module) {
49815 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
49816 #ifdef SWIGRUNTIME_DEBUG
49817 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
49818 #endif
49819 }
49820 if (ret) {
49821 if (type == swig_module.type_initial[i]) {
49822 #ifdef SWIGRUNTIME_DEBUG
49823 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
49824 #endif
49825 cast->type = ret;
49826 ret = 0;
49827 } else {
49828 /* Check for casting already in the list */
49829 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
49830 #ifdef SWIGRUNTIME_DEBUG
49831 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
49832 #endif
49833 if (!ocast) ret = 0;
49834 }
49835 }
49836
49837 if (!ret) {
49838 #ifdef SWIGRUNTIME_DEBUG
49839 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
49840 #endif
49841 if (type->cast) {
49842 type->cast->prev = cast;
49843 cast->next = type->cast;
49844 }
49845 type->cast = cast;
49846 }
49847 cast++;
49848 }
49849 /* Set entry in modules->types array equal to the type */
49850 swig_module.types[i] = type;
49851 }
49852 swig_module.types[i] = 0;
49853
49854 #ifdef SWIGRUNTIME_DEBUG
49855 printf("**** SWIG_InitializeModule: Cast List ******\n");
49856 for (i = 0; i < swig_module.size; ++i) {
49857 int j = 0;
49858 swig_cast_info *cast = swig_module.cast_initial[i];
49859 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
49860 while (cast->type) {
49861 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
49862 cast++;
49863 ++j;
49864 }
49865 printf("---- Total casts: %d\n",j);
49866 }
49867 printf("**** SWIG_InitializeModule: Cast List ******\n");
49868 #endif
49869 }
49870
49871 /* This function will propagate the clientdata field of type to
49872 * any new swig_type_info structures that have been added into the list
49873 * of equivalent types. It is like calling
49874 * SWIG_TypeClientData(type, clientdata) a second time.
49875 */
49876 SWIGRUNTIME void
49877 SWIG_PropagateClientData(void) {
49878 size_t i;
49879 swig_cast_info *equiv;
49880 static int init_run = 0;
49881
49882 if (init_run) return;
49883 init_run = 1;
49884
49885 for (i = 0; i < swig_module.size; i++) {
49886 if (swig_module.types[i]->clientdata) {
49887 equiv = swig_module.types[i]->cast;
49888 while (equiv) {
49889 if (!equiv->converter) {
49890 if (equiv->type && !equiv->type->clientdata)
49891 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
49892 }
49893 equiv = equiv->next;
49894 }
49895 }
49896 }
49897 }
49898
49899 #ifdef __cplusplus
49900 #if 0
49901 {
49902 /* c-mode */
49903 #endif
49904 }
49905 #endif
49906
49907
49908
49909 #ifdef __cplusplus
49910 extern "C" {
49911 #endif
49912
49913 /* Python-specific SWIG API */
49914 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49915 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49916 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49917
49918 /* -----------------------------------------------------------------------------
49919 * global variable support code.
49920 * ----------------------------------------------------------------------------- */
49921
49922 typedef struct swig_globalvar {
49923 char *name; /* Name of global variable */
49924 PyObject *(*get_attr)(void); /* Return the current value */
49925 int (*set_attr)(PyObject *); /* Set the value */
49926 struct swig_globalvar *next;
49927 } swig_globalvar;
49928
49929 typedef struct swig_varlinkobject {
49930 PyObject_HEAD
49931 swig_globalvar *vars;
49932 } swig_varlinkobject;
49933
49934 SWIGINTERN PyObject *
49935 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
49936 return PyString_FromString("<Swig global variables>");
49937 }
49938
49939 SWIGINTERN PyObject *
49940 swig_varlink_str(swig_varlinkobject *v) {
49941 PyObject *str = PyString_FromString("(");
49942 swig_globalvar *var;
49943 for (var = v->vars; var; var=var->next) {
49944 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
49945 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
49946 }
49947 PyString_ConcatAndDel(&str,PyString_FromString(")"));
49948 return str;
49949 }
49950
49951 SWIGINTERN int
49952 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
49953 PyObject *str = swig_varlink_str(v);
49954 fprintf(fp,"Swig global variables ");
49955 fprintf(fp,"%s\n", PyString_AsString(str));
49956 Py_DECREF(str);
49957 return 0;
49958 }
49959
49960 SWIGINTERN void
49961 swig_varlink_dealloc(swig_varlinkobject *v) {
49962 swig_globalvar *var = v->vars;
49963 while (var) {
49964 swig_globalvar *n = var->next;
49965 free(var->name);
49966 free(var);
49967 var = n;
49968 }
49969 }
49970
49971 SWIGINTERN PyObject *
49972 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
49973 PyObject *res = NULL;
49974 swig_globalvar *var = v->vars;
49975 while (var) {
49976 if (strcmp(var->name,n) == 0) {
49977 res = (*var->get_attr)();
49978 break;
49979 }
49980 var = var->next;
49981 }
49982 if (res == NULL && !PyErr_Occurred()) {
49983 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
49984 }
49985 return res;
49986 }
49987
49988 SWIGINTERN int
49989 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
49990 int res = 1;
49991 swig_globalvar *var = v->vars;
49992 while (var) {
49993 if (strcmp(var->name,n) == 0) {
49994 res = (*var->set_attr)(p);
49995 break;
49996 }
49997 var = var->next;
49998 }
49999 if (res == 1 && !PyErr_Occurred()) {
50000 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
50001 }
50002 return res;
50003 }
50004
50005 SWIGINTERN PyTypeObject*
50006 swig_varlink_type(void) {
50007 static char varlink__doc__[] = "Swig var link object";
50008 static PyTypeObject varlink_type;
50009 static int type_init = 0;
50010 if (!type_init) {
50011 const PyTypeObject tmp
50012 = {
50013 PyObject_HEAD_INIT(NULL)
50014 0, /* Number of items in variable part (ob_size) */
50015 (char *)"swigvarlink", /* Type name (tp_name) */
50016 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
50017 0, /* Itemsize (tp_itemsize) */
50018 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
50019 (printfunc) swig_varlink_print, /* Print (tp_print) */
50020 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
50021 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
50022 0, /* tp_compare */
50023 (reprfunc) swig_varlink_repr, /* tp_repr */
50024 0, /* tp_as_number */
50025 0, /* tp_as_sequence */
50026 0, /* tp_as_mapping */
50027 0, /* tp_hash */
50028 0, /* tp_call */
50029 (reprfunc)swig_varlink_str, /* tp_str */
50030 0, /* tp_getattro */
50031 0, /* tp_setattro */
50032 0, /* tp_as_buffer */
50033 0, /* tp_flags */
50034 varlink__doc__, /* tp_doc */
50035 0, /* tp_traverse */
50036 0, /* tp_clear */
50037 0, /* tp_richcompare */
50038 0, /* tp_weaklistoffset */
50039 #if PY_VERSION_HEX >= 0x02020000
50040 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50041 #endif
50042 #if PY_VERSION_HEX >= 0x02030000
50043 0, /* tp_del */
50044 #endif
50045 #ifdef COUNT_ALLOCS
50046 0,0,0,0 /* tp_alloc -> tp_next */
50047 #endif
50048 };
50049 varlink_type = tmp;
50050 varlink_type.ob_type = &PyType_Type;
50051 type_init = 1;
50052 }
50053 return &varlink_type;
50054 }
50055
50056 /* Create a variable linking object for use later */
50057 SWIGINTERN PyObject *
50058 SWIG_Python_newvarlink(void) {
50059 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
50060 if (result) {
50061 result->vars = 0;
50062 }
50063 return ((PyObject*) result);
50064 }
50065
50066 SWIGINTERN void
50067 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
50068 swig_varlinkobject *v = (swig_varlinkobject *) p;
50069 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
50070 if (gv) {
50071 size_t size = strlen(name)+1;
50072 gv->name = (char *)malloc(size);
50073 if (gv->name) {
50074 strncpy(gv->name,name,size);
50075 gv->get_attr = get_attr;
50076 gv->set_attr = set_attr;
50077 gv->next = v->vars;
50078 }
50079 }
50080 v->vars = gv;
50081 }
50082
50083 SWIGINTERN PyObject *
50084 SWIG_globals() {
50085 static PyObject *_SWIG_globals = 0;
50086 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
50087 return _SWIG_globals;
50088 }
50089
50090 /* -----------------------------------------------------------------------------
50091 * constants/methods manipulation
50092 * ----------------------------------------------------------------------------- */
50093
50094 /* Install Constants */
50095 SWIGINTERN void
50096 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
50097 PyObject *obj = 0;
50098 size_t i;
50099 for (i = 0; constants[i].type; ++i) {
50100 switch(constants[i].type) {
50101 case SWIG_PY_POINTER:
50102 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
50103 break;
50104 case SWIG_PY_BINARY:
50105 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
50106 break;
50107 default:
50108 obj = 0;
50109 break;
50110 }
50111 if (obj) {
50112 PyDict_SetItemString(d, constants[i].name, obj);
50113 Py_DECREF(obj);
50114 }
50115 }
50116 }
50117
50118 /* -----------------------------------------------------------------------------*/
50119 /* Fix SwigMethods to carry the callback ptrs when needed */
50120 /* -----------------------------------------------------------------------------*/
50121
50122 SWIGINTERN void
50123 SWIG_Python_FixMethods(PyMethodDef *methods,
50124 swig_const_info *const_table,
50125 swig_type_info **types,
50126 swig_type_info **types_initial) {
50127 size_t i;
50128 for (i = 0; methods[i].ml_name; ++i) {
50129 const char *c = methods[i].ml_doc;
50130 if (c && (c = strstr(c, "swig_ptr: "))) {
50131 int j;
50132 swig_const_info *ci = 0;
50133 const char *name = c + 10;
50134 for (j = 0; const_table[j].type; ++j) {
50135 if (strncmp(const_table[j].name, name,
50136 strlen(const_table[j].name)) == 0) {
50137 ci = &(const_table[j]);
50138 break;
50139 }
50140 }
50141 if (ci) {
50142 size_t shift = (ci->ptype) - types;
50143 swig_type_info *ty = types_initial[shift];
50144 size_t ldoc = (c - methods[i].ml_doc);
50145 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
50146 char *ndoc = (char*)malloc(ldoc + lptr + 10);
50147 if (ndoc) {
50148 char *buff = ndoc;
50149 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
50150 if (ptr) {
50151 strncpy(buff, methods[i].ml_doc, ldoc);
50152 buff += ldoc;
50153 strncpy(buff, "swig_ptr: ", 10);
50154 buff += 10;
50155 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
50156 methods[i].ml_doc = ndoc;
50157 }
50158 }
50159 }
50160 }
50161 }
50162 }
50163
50164 #ifdef __cplusplus
50165 }
50166 #endif
50167
50168 /* -----------------------------------------------------------------------------*
50169 * Partial Init method
50170 * -----------------------------------------------------------------------------*/
50171
50172 #ifdef __cplusplus
50173 extern "C"
50174 #endif
50175 SWIGEXPORT void SWIG_init(void) {
50176 PyObject *m, *d;
50177
50178 /* Fix SwigMethods to carry the callback ptrs when needed */
50179 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
50180
50181 m = Py_InitModule((char *) SWIG_name, SwigMethods);
50182 d = PyModule_GetDict(m);
50183
50184 SWIG_InitializeModule(0);
50185 SWIG_InstallConstants(d,swig_const_table);
50186
50187
50188 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
50189 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
50190 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
50191 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
50192 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
50193 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
50194 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
50195 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
50196 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
50197 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
50198 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
50199 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
50200 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
50201 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
50202 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
50203 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
50204 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
50205 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
50206 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
50207 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
50208 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
50209 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
50210 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
50211 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
50212 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
50213 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get, StaticLineNameStr_set);
50214 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
50215 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
50216 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
50217 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
50218 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
50219 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
50220 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
50221 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
50222 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
50223 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
50224 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
50225 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
50226 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
50227 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
50228 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
50229 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
50230 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
50231 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
50232 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
50233 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
50234 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
50235 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
50236 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
50237 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
50238 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
50239 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
50240 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
50241 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
50242 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
50243 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
50244 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
50245 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
50246 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
50247 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
50248 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
50249 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
50250 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
50251 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
50252 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
50253 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
50254 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
50255 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
50256 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
50257 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
50258 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
50259 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
50260 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
50261 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
50262 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
50263 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
50264 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
50265 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
50266 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
50267 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
50268 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
50269 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
50270 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
50271 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
50272 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
50273 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
50274 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
50275 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
50276 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
50277 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
50278 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
50279 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
50280 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
50281 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
50282 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
50283 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
50284 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
50285 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
50286 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
50287 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
50288 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
50289 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
50290 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
50291 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
50292 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
50293 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
50294 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
50295 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
50296 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
50297 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
50298 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
50299 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
50300 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
50301 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
50302 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
50303 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
50304 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
50305 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
50306 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
50307 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
50308 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
50309 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
50310 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
50311 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
50312 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
50313 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
50314 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
50315 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
50316 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
50317 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
50318 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
50319 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
50320 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
50321 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
50322 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
50323 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
50324 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
50325 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
50326 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
50327 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
50328 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
50329 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
50330 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
50331 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
50332 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
50333 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
50334 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
50335 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
50336 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
50337 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
50338 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
50339 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
50340 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
50341 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
50342 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
50343 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
50344 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
50345 SWIG_Python_SetConstant(d, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP)));
50346 SWIG_Python_SetConstant(d, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT)));
50347 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
50348 SWIG_Python_SetConstant(d, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT)));
50349 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
50350 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
50351 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
50352 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
50353 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
50354 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
50355 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
50356 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
50357 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
50358 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
50359 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
50360 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
50361 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
50362 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
50363 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
50364 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
50365 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
50366 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
50367 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
50368 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
50369 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
50370 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
50371 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
50372 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
50373 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
50374 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
50375 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
50376 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
50377 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
50378 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
50379 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
50380 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
50381 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
50382 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
50383 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
50384 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
50385 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
50386 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
50387 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
50388 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
50389 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
50390 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
50391 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
50392 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
50393 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
50394 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
50395 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
50396 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
50397 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
50398 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
50399 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
50400 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
50401 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
50402 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
50403 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
50404 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
50405 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
50406 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
50407 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
50408 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
50409 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
50410 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
50411 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
50412 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
50413 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
50414 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
50415 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
50416 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
50417 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
50418 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
50419 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
50420 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
50421 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
50422 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
50423 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
50424 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
50425 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
50426 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
50427 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
50428 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
50429 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
50430 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
50431 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
50432 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
50433 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
50434 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
50435 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
50436 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
50437 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
50438 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
50439 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
50440 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
50441 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
50442 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
50443 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
50444 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
50445 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
50446 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
50447 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
50448 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
50449
50450 // Map renamed classes back to their common name for OOR
50451 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50452
50453 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
50454 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
50455 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
50456 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
50457 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
50458 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
50459 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
50460 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
50461 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
50462 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
50463 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
50464 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
50465 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
50466 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
50467 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
50468 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
50469 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
50470 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
50471 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
50472 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
50473 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
50474 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
50475 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
50476 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
50477 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
50478 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
50479 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
50480 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
50481 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
50482 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
50483 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
50484 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
50485 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
50486 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
50487 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
50488 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
50489 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
50490 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
50491 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
50492 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
50493 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
50494 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
50495 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
50496 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
50497 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
50498 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
50499 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
50500 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
50501 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
50502 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
50503 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
50504 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
50505 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
50506 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
50507 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
50508 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
50509
50510 // Map renamed classes back to their common name for OOR
50511 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50512 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50513
50514 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
50515 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
50516 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
50517 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
50518 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
50519 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
50520 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
50521 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
50522 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
50523 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
50524 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
50525
50526 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50527
50528 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
50529 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
50530 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
50531 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
50532 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
50533 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
50534 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
50535 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
50536 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
50537 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
50538 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
50539 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
50540 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
50541 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
50542 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
50543 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
50544 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
50545 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
50546 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
50547 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
50548 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
50549 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
50550 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
50551 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
50552 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
50553 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
50554 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
50555 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
50556 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
50557 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
50558 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
50559 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
50560 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
50561 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
50562 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
50563 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
50564 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
50565 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
50566 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
50567 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
50568 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
50569 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
50570 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
50571 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get, CollapsiblePaneNameStr_set);
50572 SWIG_Python_SetConstant(d, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE)));
50573 SWIG_Python_SetConstant(d, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE)));
50574 PyDict_SetItemString(d, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED));
50575 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get, SearchCtrlNameStr_set);
50576 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_CANCEL", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL));
50577 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_SEARCH", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH));
50578 }
50579