]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_controls_wrap.cpp
Typecheck each list element in wxArrayInt typemap
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotebook swig_types[105]
2572 #define SWIGTYPE_p_wxNotebookEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxObject swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPickerBase swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyControl swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPyListCtrl swig_types[122]
2589 #define SWIGTYPE_p_wxPySizer swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPyTreeItemData swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRadioBox swig_types[128]
2595 #define SWIGTYPE_p_wxRadioButton swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxScrollBar swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSlider swig_types[141]
2608 #define SWIGTYPE_p_wxSpinButton swig_types[142]
2609 #define SWIGTYPE_p_wxSpinCtrl swig_types[143]
2610 #define SWIGTYPE_p_wxSpinEvent swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBitmap swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBox swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStaticLine swig_types[148]
2615 #define SWIGTYPE_p_wxStaticText swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTGAHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTIFFHandler swig_types[154]
2621 #define SWIGTYPE_p_wxTextAttr swig_types[155]
2622 #define SWIGTYPE_p_wxTextCtrl swig_types[156]
2623 #define SWIGTYPE_p_wxTextUrlEvent swig_types[157]
2624 #define SWIGTYPE_p_wxToggleButton swig_types[158]
2625 #define SWIGTYPE_p_wxToolBar swig_types[159]
2626 #define SWIGTYPE_p_wxToolBarBase swig_types[160]
2627 #define SWIGTYPE_p_wxToolBarToolBase swig_types[161]
2628 #define SWIGTYPE_p_wxToolbook swig_types[162]
2629 #define SWIGTYPE_p_wxToolbookEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeEvent swig_types[164]
2631 #define SWIGTYPE_p_wxTreeItemId swig_types[165]
2632 #define SWIGTYPE_p_wxTreebook swig_types[166]
2633 #define SWIGTYPE_p_wxTreebookEvent swig_types[167]
2634 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[168]
2635 #define SWIGTYPE_p_wxValidator swig_types[169]
2636 #define SWIGTYPE_p_wxVisualAttributes swig_types[170]
2637 #define SWIGTYPE_p_wxWindow swig_types[171]
2638 #define SWIGTYPE_p_wxWindowBase swig_types[172]
2639 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[173]
2640 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[174]
2641 #define SWIGTYPE_p_wxXPMHandler swig_types[175]
2642 static swig_type_info *swig_types[177];
2643 static swig_module_info swig_module = {swig_types, 176, 0, 0, 0, 0};
2644 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2645 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646
2647 /* -------- TYPES TABLE (END) -------- */
2648
2649 #if (PY_VERSION_HEX <= 0x02000000)
2650 # if !defined(SWIG_PYTHON_CLASSIC)
2651 # error "This python version requires to use swig with the '-classic' option"
2652 # endif
2653 #endif
2654 #if (PY_VERSION_HEX <= 0x02020000)
2655 # error "This python version requires to use swig with the '-nomodern' option"
2656 #endif
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodernargs' option"
2659 #endif
2660 #ifndef METH_O
2661 # error "This python version requires to use swig with the '-nofastunpack' option"
2662 #endif
2663
2664 /*-----------------------------------------------
2665 @(target):= _controls_.so
2666 ------------------------------------------------*/
2667 #define SWIG_init init_controls_
2668
2669 #define SWIG_name "_controls_"
2670
2671 #define SWIGVERSION 0x010329
2672
2673
2674 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2675 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2676
2677
2678 #include <stdexcept>
2679
2680
2681 namespace swig {
2682 class PyObject_ptr {
2683 protected:
2684 PyObject *_obj;
2685
2686 public:
2687 PyObject_ptr() :_obj(0)
2688 {
2689 }
2690
2691 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2692 {
2693 Py_XINCREF(_obj);
2694 }
2695
2696 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2697 {
2698 if (initial_ref) Py_XINCREF(_obj);
2699 }
2700
2701 PyObject_ptr & operator=(const PyObject_ptr& item)
2702 {
2703 Py_XINCREF(item._obj);
2704 Py_XDECREF(_obj);
2705 _obj = item._obj;
2706 return *this;
2707 }
2708
2709 ~PyObject_ptr()
2710 {
2711 Py_XDECREF(_obj);
2712 }
2713
2714 operator PyObject *() const
2715 {
2716 return _obj;
2717 }
2718
2719 PyObject *operator->() const
2720 {
2721 return _obj;
2722 }
2723 };
2724 }
2725
2726
2727 namespace swig {
2728 struct PyObject_var : PyObject_ptr {
2729 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2730
2731 PyObject_var & operator = (PyObject* obj)
2732 {
2733 Py_XDECREF(_obj);
2734 _obj = obj;
2735 return *this;
2736 }
2737 };
2738 }
2739
2740
2741 #include "wx/wxPython/wxPython.h"
2742 #include "wx/wxPython/pyclasses.h"
2743
2744 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2745 static const wxString wxPyEmptyString(wxEmptyString);
2746 static const wxString wxPyControlNameStr(wxControlNameStr);
2747
2748 const wxArrayString wxPyEmptyStringArray;
2749
2750 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2751
2752 #define SWIG_From_long PyInt_FromLong
2753
2754
2755 SWIGINTERNINLINE PyObject *
2756 SWIG_From_int (int value)
2757 {
2758 return SWIG_From_long (value);
2759 }
2760
2761
2762 #include <limits.h>
2763 #ifndef LLONG_MIN
2764 # define LLONG_MIN LONG_LONG_MIN
2765 #endif
2766 #ifndef LLONG_MAX
2767 # define LLONG_MAX LONG_LONG_MAX
2768 #endif
2769 #ifndef ULLONG_MAX
2770 # define ULLONG_MAX ULONG_LONG_MAX
2771 #endif
2772
2773
2774 SWIGINTERN int
2775 SWIG_AsVal_long (PyObject* obj, long* val)
2776 {
2777 if (PyNumber_Check(obj)) {
2778 if (val) *val = PyInt_AsLong(obj);
2779 return SWIG_OK;
2780 }
2781 return SWIG_TypeError;
2782 }
2783
2784
2785 SWIGINTERN int
2786 SWIG_AsVal_int (PyObject * obj, int *val)
2787 {
2788 long v;
2789 int res = SWIG_AsVal_long (obj, &v);
2790 if (SWIG_IsOK(res)) {
2791 if ((v < INT_MIN || v > INT_MAX)) {
2792 return SWIG_OverflowError;
2793 } else {
2794 if (val) *val = static_cast< int >(v);
2795 }
2796 }
2797 return res;
2798 }
2799
2800 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
2801
2802 SWIGINTERN int
2803 SWIG_AsVal_bool (PyObject *obj, bool *val)
2804 {
2805 if (obj == Py_True) {
2806 if (val) *val = true;
2807 return SWIG_OK;
2808 } else if (obj == Py_False) {
2809 if (val) *val = false;
2810 return SWIG_OK;
2811 } else {
2812 long v = 0;
2813 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2814 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2815 return res;
2816 }
2817 }
2818
2819 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2820 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2821 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2822 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2823 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2824 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
2825
2826 #include <wx/checklst.h>
2827
2828 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
2829 SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
2830 if (clientData)
2831 {
2832 wxPyClientData* data = new wxPyClientData(clientData);
2833 self->Insert(item, pos, data);
2834 }
2835 else
2836 self->Insert(item, pos);
2837 }
2838
2839 SWIGINTERN int
2840 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2841 {
2842 long v = 0;
2843 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2844 return SWIG_TypeError;
2845 }
2846 else if (val)
2847 *val = (unsigned long)v;
2848 return SWIG_OK;
2849 }
2850
2851
2852 SWIGINTERN int
2853 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2854 {
2855 unsigned long v;
2856 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2857 if (SWIG_IsOK(res)) {
2858 if ((v > UINT_MAX)) {
2859 return SWIG_OverflowError;
2860 } else {
2861 if (val) *val = static_cast< unsigned int >(v);
2862 }
2863 }
2864 return res;
2865 }
2866
2867 SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
2868 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2869 wxArrayInt lst;
2870 self->GetSelections(lst);
2871 PyObject *tup = PyTuple_New(lst.GetCount());
2872 for (size_t i=0; i<lst.GetCount(); i++)
2873 {
2874 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2875 }
2876 wxPyEndBlockThreads(blocked);
2877 return tup;
2878 }
2879 SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
2880 #ifdef __WXMSW__
2881 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2882 self->GetItem(item)->SetTextColour(c);
2883 #endif
2884 }
2885 SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
2886 #ifdef __WXMSW__
2887 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2888 self->GetItem(item)->SetBackgroundColour(c);
2889 #endif
2890 }
2891 SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
2892 #ifdef __WXMSW__
2893 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2894 self->GetItem(item)->SetFont(f);
2895 #endif
2896 }
2897 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
2898 SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
2899 self->AppendText(text);
2900 }
2901 SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
2902 return self->GetValue().Mid(from, to - from);
2903 }
2904 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2905 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
2906 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2907 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2908 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
2909
2910 SWIGINTERNINLINE PyObject*
2911 SWIG_From_unsigned_SS_long (unsigned long value)
2912 {
2913 return (value > LONG_MAX) ?
2914 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2915 }
2916
2917
2918 SWIGINTERNINLINE PyObject *
2919 SWIG_From_size_t (size_t value)
2920 {
2921 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2922 }
2923
2924
2925 SWIGINTERNINLINE PyObject *
2926 SWIG_From_unsigned_SS_int (unsigned int value)
2927 {
2928 return SWIG_From_unsigned_SS_long (value);
2929 }
2930
2931
2932 #include <wx/slider.h>
2933
2934
2935 static const wxString wxPySliderNameStr(wxSliderNameStr);
2936 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
2937
2938 #if !wxUSE_TOGGLEBTN
2939 // implement dummy items for platforms that don't have this class
2940
2941 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2942
2943 class wxToggleButton : public wxControl
2944 {
2945 public:
2946 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2947 const wxPoint&, const wxSize&, long,
2948 const wxValidator&, const wxString&)
2949 { wxPyRaiseNotImplemented(); }
2950
2951 wxToggleButton()
2952 { wxPyRaiseNotImplemented(); }
2953 };
2954 #endif
2955
2956 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
2957
2958 SWIGINTERNINLINE int
2959 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2960 {
2961 unsigned long v;
2962 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2963 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2964 return res;
2965 }
2966
2967 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2968 SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
2969 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2970 if (udata) {
2971 Py_INCREF(udata->m_obj);
2972 return udata->m_obj;
2973 } else {
2974 Py_INCREF(Py_None);
2975 return Py_None;
2976 }
2977 }
2978 SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
2979 self->SetClientData(new wxPyUserData(clientData));
2980 }
2981 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){
2982 wxPyUserData* udata = NULL;
2983 if (clientData && clientData != Py_None)
2984 udata = new wxPyUserData(clientData);
2985 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2986 shortHelp, longHelp, udata);
2987 }
2988 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){
2989 wxPyUserData* udata = NULL;
2990 if (clientData && clientData != Py_None)
2991 udata = new wxPyUserData(clientData);
2992 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2993 shortHelp, longHelp, udata);
2994 }
2995 SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
2996 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2997 if (udata) {
2998 Py_INCREF(udata->m_obj);
2999 return udata->m_obj;
3000 } else {
3001 Py_INCREF(Py_None);
3002 return Py_None;
3003 }
3004 }
3005 SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
3006 self->SetToolClientData(id, new wxPyUserData(clientData));
3007 }
3008
3009 #include <wx/listctrl.h>
3010
3011 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
3012 SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
3013 // Python aware sorting function for wxPyListCtrl
3014 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3015 int retval = 0;
3016 PyObject* func = (PyObject*)funcPtr;
3017 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3018
3019 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3020 PyObject* result = PyEval_CallObject(func, args);
3021 Py_DECREF(args);
3022 if (result) {
3023 retval = PyInt_AsLong(result);
3024 Py_DECREF(result);
3025 }
3026
3027 wxPyEndBlockThreads(blocked);
3028 return retval;
3029 }
3030
3031 // C++ Version of a Python aware class
3032 class wxPyListCtrl : public wxListCtrl {
3033 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
3034 public:
3035 wxPyListCtrl() : wxListCtrl() {}
3036 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3037 const wxPoint& pos,
3038 const wxSize& size,
3039 long style,
3040 const wxValidator& validator,
3041 const wxString& name) :
3042 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3043
3044 bool Create(wxWindow* parent, wxWindowID id,
3045 const wxPoint& pos,
3046 const wxSize& size,
3047 long style,
3048 const wxValidator& validator,
3049 const wxString& name) {
3050 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3051 }
3052
3053 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
3054 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3055
3056 // use the virtual version to avoid a confusing assert in the base class
3057 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
3058 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
3059
3060 PYPRIVATE;
3061 };
3062
3063 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3064
3065 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
3066 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
3067 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
3068 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
3069
3070
3071 SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
3072 wxListItem item;
3073 item.SetMask( wxLIST_MASK_STATE |
3074 wxLIST_MASK_TEXT |
3075 wxLIST_MASK_IMAGE |
3076 wxLIST_MASK_DATA |
3077 wxLIST_SET_ITEM |
3078 wxLIST_MASK_WIDTH |
3079 wxLIST_MASK_FORMAT
3080 );
3081 if (self->GetColumn(col, item))
3082 return new wxListItem(item);
3083 else
3084 return NULL;
3085 }
3086 SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
3087 wxListItem* info = new wxListItem;
3088 info->m_itemId = itemId;
3089 info->m_col = col;
3090 info->m_mask = 0xFFFF;
3091 self->GetItem(*info);
3092 return info;
3093 }
3094 SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
3095 wxPoint pos;
3096 self->GetItemPosition(item, pos);
3097 return pos;
3098 }
3099 SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
3100 wxRect rect;
3101 self->GetItemRect(item, rect, code);
3102 return rect;
3103 }
3104 SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
3105 if (!PyCallable_Check(func))
3106 return false;
3107 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3108 }
3109 SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
3110
3111 return self;
3112
3113
3114
3115 }
3116
3117 #include <wx/treectrl.h>
3118 #include "wx/wxPython/pytree.h"
3119
3120 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3121 SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3122 SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3123 SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
3124
3125 static wxTreeItemId wxNullTreeItemId;
3126
3127 // C++ version of Python aware wxTreeCtrl
3128 class wxPyTreeCtrl : public wxTreeCtrl {
3129 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
3130 public:
3131 wxPyTreeCtrl() : wxTreeCtrl() {}
3132 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3133 const wxPoint& pos,
3134 const wxSize& size,
3135 long style,
3136 const wxValidator& validator,
3137 const wxString& name) :
3138 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3139
3140 bool Create(wxWindow *parent, wxWindowID id,
3141 const wxPoint& pos,
3142 const wxSize& size,
3143 long style,
3144 const wxValidator& validator,
3145 const wxString& name) {
3146 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3147 }
3148
3149
3150 int OnCompareItems(const wxTreeItemId& item1,
3151 const wxTreeItemId& item2) {
3152 int rval = 0;
3153 bool found;
3154 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3155 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
3156 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3157 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
3158 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3159 Py_DECREF(o1);
3160 Py_DECREF(o2);
3161 }
3162 wxPyEndBlockThreads(blocked);
3163 if (! found)
3164 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3165 return rval;
3166 }
3167 PYPRIVATE;
3168 };
3169
3170 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3171
3172
3173 SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3174 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3175 if (data == NULL) {
3176 data = new wxPyTreeItemData();
3177 data->SetId(item); // set the id
3178 self->SetItemData(item, data);
3179 }
3180 return data;
3181 }
3182 SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3183 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3184 if (data == NULL) {
3185 data = new wxPyTreeItemData();
3186 data->SetId(item); // set the id
3187 self->SetItemData(item, data);
3188 }
3189 return data->GetData();
3190 }
3191 SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3192 data->SetId(item); // set the id
3193 self->SetItemData(item, data);
3194 }
3195 SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
3196 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3197 if (data == NULL) {
3198 data = new wxPyTreeItemData(obj);
3199 data->SetId(item); // set the id
3200 self->SetItemData(item, data);
3201 } else
3202 data->SetData(obj);
3203 }
3204 SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
3205 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3206 PyObject* rval = PyList_New(0);
3207 wxArrayTreeItemIds array;
3208 size_t num, x;
3209 num = self->GetSelections(array);
3210 for (x=0; x < num; x++) {
3211 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3212 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3213 PyList_Append(rval, item);
3214 Py_DECREF(item);
3215 }
3216 wxPyEndBlockThreads(blocked);
3217 return rval;
3218 }
3219 SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
3220 void* cookie = 0;
3221 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3222 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3223 PyObject* tup = PyTuple_New(2);
3224 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3225 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3226 wxPyEndBlockThreads(blocked);
3227 return tup;
3228 }
3229 SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
3230 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3231 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3232 PyObject* tup = PyTuple_New(2);
3233 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3234 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3235 wxPyEndBlockThreads(blocked);
3236 return tup;
3237 }
3238 SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3239 wxRect rect;
3240 if (self->GetBoundingRect(item, rect, textOnly)) {
3241 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3242 wxRect* r = new wxRect(rect);
3243 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
3244 wxPyEndBlockThreads(blocked);
3245 return val;
3246 }
3247 else
3248 RETURN_NONE();
3249 }
3250 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
3251
3252 SWIGINTERNINLINE PyObject*
3253 SWIG_From_bool (bool value)
3254 {
3255 return PyBool_FromLong(value ? 1 : 0);
3256 }
3257
3258 // C++ version of Python aware wxControl
3259 class wxPyControl : public wxControl
3260 {
3261 DECLARE_DYNAMIC_CLASS(wxPyControl)
3262 public:
3263 wxPyControl() : wxControl() {}
3264 wxPyControl(wxWindow* parent, const wxWindowID id,
3265 const wxPoint& pos = wxDefaultPosition,
3266 const wxSize& size = wxDefaultSize,
3267 long style = 0,
3268 const wxValidator& validator=wxDefaultValidator,
3269 const wxString& name = wxPyControlNameStr)
3270 : wxControl(parent, id, pos, size, style, validator, name) {}
3271
3272
3273 bool DoEraseBackground(wxDC* dc) {
3274 #ifdef __WXMSW__
3275 return wxWindow::DoEraseBackground(dc->GetHDC());
3276 #else
3277 dc->SetBackground(wxBrush(GetBackgroundColour()));
3278 dc->Clear();
3279 return true;
3280 #endif
3281 }
3282
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3287
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3291
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3294
3295 DEC_PYCALLBACK__(InitDialog);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3298 DEC_PYCALLBACK_BOOL_(Validate);
3299
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3303
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3306
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3309
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3311
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3313
3314 PYPRIVATE;
3315 };
3316
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3318
3319 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3323
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3327
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3329 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3330
3331 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3335
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3337 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3338 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3339
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3342
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
3345
3346 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
3347
3348 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3349
3350
3351
3352 SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
3353
3354 #include <wx/generic/dragimgg.h>
3355
3356 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
3357 SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
3358 wxDateTime rv;
3359 self->GetRange(&rv, NULL);
3360 return rv;
3361 }
3362 SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
3363 wxDateTime rv;
3364 self->GetRange(NULL, &rv);
3365 return rv;
3366 }
3367 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
3368 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3369 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3370 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3371 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3372 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3373 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3374 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
3375 #ifdef __cplusplus
3376 extern "C" {
3377 #endif
3378 SWIGINTERN int ButtonNameStr_set(PyObject *) {
3379 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3380 return 1;
3381 }
3382
3383
3384 SWIGINTERN PyObject *ButtonNameStr_get(void) {
3385 PyObject *pyobj = 0;
3386
3387 {
3388 #if wxUSE_UNICODE
3389 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3390 #else
3391 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3392 #endif
3393 }
3394 return pyobj;
3395 }
3396
3397
3398 SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj = 0;
3400 wxWindow *arg1 = (wxWindow *) 0 ;
3401 int arg2 = (int) -1 ;
3402 wxString const &arg3_defvalue = wxPyEmptyString ;
3403 wxString *arg3 = (wxString *) &arg3_defvalue ;
3404 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3405 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3406 wxSize const &arg5_defvalue = wxDefaultSize ;
3407 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3408 long arg6 = (long) 0 ;
3409 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3410 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3411 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3412 wxString *arg8 = (wxString *) &arg8_defvalue ;
3413 wxButton *result = 0 ;
3414 void *argp1 = 0 ;
3415 int res1 = 0 ;
3416 int val2 ;
3417 int ecode2 = 0 ;
3418 bool temp3 = false ;
3419 wxPoint temp4 ;
3420 wxSize temp5 ;
3421 long val6 ;
3422 int ecode6 = 0 ;
3423 void *argp7 = 0 ;
3424 int res7 = 0 ;
3425 bool temp8 = false ;
3426 PyObject * obj0 = 0 ;
3427 PyObject * obj1 = 0 ;
3428 PyObject * obj2 = 0 ;
3429 PyObject * obj3 = 0 ;
3430 PyObject * obj4 = 0 ;
3431 PyObject * obj5 = 0 ;
3432 PyObject * obj6 = 0 ;
3433 PyObject * obj7 = 0 ;
3434 char * kwnames[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3436 };
3437
3438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3440 if (!SWIG_IsOK(res1)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3442 }
3443 arg1 = reinterpret_cast< wxWindow * >(argp1);
3444 if (obj1) {
3445 ecode2 = SWIG_AsVal_int(obj1, &val2);
3446 if (!SWIG_IsOK(ecode2)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3448 }
3449 arg2 = static_cast< int >(val2);
3450 }
3451 if (obj2) {
3452 {
3453 arg3 = wxString_in_helper(obj2);
3454 if (arg3 == NULL) SWIG_fail;
3455 temp3 = true;
3456 }
3457 }
3458 if (obj3) {
3459 {
3460 arg4 = &temp4;
3461 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3462 }
3463 }
3464 if (obj4) {
3465 {
3466 arg5 = &temp5;
3467 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3468 }
3469 }
3470 if (obj5) {
3471 ecode6 = SWIG_AsVal_long(obj5, &val6);
3472 if (!SWIG_IsOK(ecode6)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3474 }
3475 arg6 = static_cast< long >(val6);
3476 }
3477 if (obj6) {
3478 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3479 if (!SWIG_IsOK(res7)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3481 }
3482 if (!argp7) {
3483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3484 }
3485 arg7 = reinterpret_cast< wxValidator * >(argp7);
3486 }
3487 if (obj7) {
3488 {
3489 arg8 = wxString_in_helper(obj7);
3490 if (arg8 == NULL) SWIG_fail;
3491 temp8 = true;
3492 }
3493 }
3494 {
3495 if (!wxPyCheckForApp()) SWIG_fail;
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3498 wxPyEndAllowThreads(__tstate);
3499 if (PyErr_Occurred()) SWIG_fail;
3500 }
3501 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3502 {
3503 if (temp3)
3504 delete arg3;
3505 }
3506 {
3507 if (temp8)
3508 delete arg8;
3509 }
3510 return resultobj;
3511 fail:
3512 {
3513 if (temp3)
3514 delete arg3;
3515 }
3516 {
3517 if (temp8)
3518 delete arg8;
3519 }
3520 return NULL;
3521 }
3522
3523
3524 SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3525 PyObject *resultobj = 0;
3526 wxButton *result = 0 ;
3527
3528 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3529 {
3530 if (!wxPyCheckForApp()) SWIG_fail;
3531 PyThreadState* __tstate = wxPyBeginAllowThreads();
3532 result = (wxButton *)new wxButton();
3533 wxPyEndAllowThreads(__tstate);
3534 if (PyErr_Occurred()) SWIG_fail;
3535 }
3536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3537 return resultobj;
3538 fail:
3539 return NULL;
3540 }
3541
3542
3543 SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3544 PyObject *resultobj = 0;
3545 wxButton *arg1 = (wxButton *) 0 ;
3546 wxWindow *arg2 = (wxWindow *) 0 ;
3547 int arg3 = (int) -1 ;
3548 wxString const &arg4_defvalue = wxPyEmptyString ;
3549 wxString *arg4 = (wxString *) &arg4_defvalue ;
3550 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3551 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3552 wxSize const &arg6_defvalue = wxDefaultSize ;
3553 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3554 long arg7 = (long) 0 ;
3555 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3556 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3557 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3558 wxString *arg9 = (wxString *) &arg9_defvalue ;
3559 bool result;
3560 void *argp1 = 0 ;
3561 int res1 = 0 ;
3562 void *argp2 = 0 ;
3563 int res2 = 0 ;
3564 int val3 ;
3565 int ecode3 = 0 ;
3566 bool temp4 = false ;
3567 wxPoint temp5 ;
3568 wxSize temp6 ;
3569 long val7 ;
3570 int ecode7 = 0 ;
3571 void *argp8 = 0 ;
3572 int res8 = 0 ;
3573 bool temp9 = false ;
3574 PyObject * obj0 = 0 ;
3575 PyObject * obj1 = 0 ;
3576 PyObject * obj2 = 0 ;
3577 PyObject * obj3 = 0 ;
3578 PyObject * obj4 = 0 ;
3579 PyObject * obj5 = 0 ;
3580 PyObject * obj6 = 0 ;
3581 PyObject * obj7 = 0 ;
3582 PyObject * obj8 = 0 ;
3583 char * kwnames[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3585 };
3586
3587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3589 if (!SWIG_IsOK(res1)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3591 }
3592 arg1 = reinterpret_cast< wxButton * >(argp1);
3593 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3594 if (!SWIG_IsOK(res2)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3596 }
3597 arg2 = reinterpret_cast< wxWindow * >(argp2);
3598 if (obj2) {
3599 ecode3 = SWIG_AsVal_int(obj2, &val3);
3600 if (!SWIG_IsOK(ecode3)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3602 }
3603 arg3 = static_cast< int >(val3);
3604 }
3605 if (obj3) {
3606 {
3607 arg4 = wxString_in_helper(obj3);
3608 if (arg4 == NULL) SWIG_fail;
3609 temp4 = true;
3610 }
3611 }
3612 if (obj4) {
3613 {
3614 arg5 = &temp5;
3615 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3616 }
3617 }
3618 if (obj5) {
3619 {
3620 arg6 = &temp6;
3621 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3622 }
3623 }
3624 if (obj6) {
3625 ecode7 = SWIG_AsVal_long(obj6, &val7);
3626 if (!SWIG_IsOK(ecode7)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3628 }
3629 arg7 = static_cast< long >(val7);
3630 }
3631 if (obj7) {
3632 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3633 if (!SWIG_IsOK(res8)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3635 }
3636 if (!argp8) {
3637 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3638 }
3639 arg8 = reinterpret_cast< wxValidator * >(argp8);
3640 }
3641 if (obj8) {
3642 {
3643 arg9 = wxString_in_helper(obj8);
3644 if (arg9 == NULL) SWIG_fail;
3645 temp9 = true;
3646 }
3647 }
3648 {
3649 PyThreadState* __tstate = wxPyBeginAllowThreads();
3650 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 {
3655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3656 }
3657 {
3658 if (temp4)
3659 delete arg4;
3660 }
3661 {
3662 if (temp9)
3663 delete arg9;
3664 }
3665 return resultobj;
3666 fail:
3667 {
3668 if (temp4)
3669 delete arg4;
3670 }
3671 {
3672 if (temp9)
3673 delete arg9;
3674 }
3675 return NULL;
3676 }
3677
3678
3679 SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3680 PyObject *resultobj = 0;
3681 wxButton *arg1 = (wxButton *) 0 ;
3682 void *argp1 = 0 ;
3683 int res1 = 0 ;
3684 PyObject *swig_obj[1] ;
3685
3686 if (!args) SWIG_fail;
3687 swig_obj[0] = args;
3688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3689 if (!SWIG_IsOK(res1)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3691 }
3692 arg1 = reinterpret_cast< wxButton * >(argp1);
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 (arg1)->SetDefault();
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 resultobj = SWIG_Py_Void();
3700 return resultobj;
3701 fail:
3702 return NULL;
3703 }
3704
3705
3706 SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3707 PyObject *resultobj = 0;
3708 wxSize result;
3709
3710 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3711 {
3712 PyThreadState* __tstate = wxPyBeginAllowThreads();
3713 result = wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3718 return resultobj;
3719 fail:
3720 return NULL;
3721 }
3722
3723
3724 SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj = 0;
3726 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3727 SwigValueWrapper<wxVisualAttributes > result;
3728 int val1 ;
3729 int ecode1 = 0 ;
3730 PyObject * obj0 = 0 ;
3731 char * kwnames[] = {
3732 (char *) "variant", NULL
3733 };
3734
3735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3736 if (obj0) {
3737 ecode1 = SWIG_AsVal_int(obj0, &val1);
3738 if (!SWIG_IsOK(ecode1)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3740 }
3741 arg1 = static_cast< wxWindowVariant >(val1);
3742 }
3743 {
3744 if (!wxPyCheckForApp()) SWIG_fail;
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 result = wxButton::GetClassDefaultAttributes(arg1);
3747 wxPyEndAllowThreads(__tstate);
3748 if (PyErr_Occurred()) SWIG_fail;
3749 }
3750 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3751 return resultobj;
3752 fail:
3753 return NULL;
3754 }
3755
3756
3757 SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3758 PyObject *obj;
3759 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3761 return SWIG_Py_Void();
3762 }
3763
3764 SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3765 return SWIG_Python_InitShadowInstance(args);
3766 }
3767
3768 SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj = 0;
3770 wxWindow *arg1 = (wxWindow *) 0 ;
3771 int arg2 = (int) -1 ;
3772 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3773 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3774 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3775 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3776 wxSize const &arg5_defvalue = wxDefaultSize ;
3777 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3778 long arg6 = (long) wxBU_AUTODRAW ;
3779 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3780 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3781 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3782 wxString *arg8 = (wxString *) &arg8_defvalue ;
3783 wxBitmapButton *result = 0 ;
3784 void *argp1 = 0 ;
3785 int res1 = 0 ;
3786 int val2 ;
3787 int ecode2 = 0 ;
3788 void *argp3 = 0 ;
3789 int res3 = 0 ;
3790 wxPoint temp4 ;
3791 wxSize temp5 ;
3792 long val6 ;
3793 int ecode6 = 0 ;
3794 void *argp7 = 0 ;
3795 int res7 = 0 ;
3796 bool temp8 = false ;
3797 PyObject * obj0 = 0 ;
3798 PyObject * obj1 = 0 ;
3799 PyObject * obj2 = 0 ;
3800 PyObject * obj3 = 0 ;
3801 PyObject * obj4 = 0 ;
3802 PyObject * obj5 = 0 ;
3803 PyObject * obj6 = 0 ;
3804 PyObject * obj7 = 0 ;
3805 char * kwnames[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3807 };
3808
3809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3811 if (!SWIG_IsOK(res1)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3813 }
3814 arg1 = reinterpret_cast< wxWindow * >(argp1);
3815 if (obj1) {
3816 ecode2 = SWIG_AsVal_int(obj1, &val2);
3817 if (!SWIG_IsOK(ecode2)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3819 }
3820 arg2 = static_cast< int >(val2);
3821 }
3822 if (obj2) {
3823 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3824 if (!SWIG_IsOK(res3)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3826 }
3827 if (!argp3) {
3828 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3829 }
3830 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3831 }
3832 if (obj3) {
3833 {
3834 arg4 = &temp4;
3835 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3836 }
3837 }
3838 if (obj4) {
3839 {
3840 arg5 = &temp5;
3841 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3842 }
3843 }
3844 if (obj5) {
3845 ecode6 = SWIG_AsVal_long(obj5, &val6);
3846 if (!SWIG_IsOK(ecode6)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3848 }
3849 arg6 = static_cast< long >(val6);
3850 }
3851 if (obj6) {
3852 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3853 if (!SWIG_IsOK(res7)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3855 }
3856 if (!argp7) {
3857 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3858 }
3859 arg7 = reinterpret_cast< wxValidator * >(argp7);
3860 }
3861 if (obj7) {
3862 {
3863 arg8 = wxString_in_helper(obj7);
3864 if (arg8 == NULL) SWIG_fail;
3865 temp8 = true;
3866 }
3867 }
3868 {
3869 if (!wxPyCheckForApp()) SWIG_fail;
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3872 wxPyEndAllowThreads(__tstate);
3873 if (PyErr_Occurred()) SWIG_fail;
3874 }
3875 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3876 {
3877 if (temp8)
3878 delete arg8;
3879 }
3880 return resultobj;
3881 fail:
3882 {
3883 if (temp8)
3884 delete arg8;
3885 }
3886 return NULL;
3887 }
3888
3889
3890 SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3891 PyObject *resultobj = 0;
3892 wxBitmapButton *result = 0 ;
3893
3894 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3895 {
3896 if (!wxPyCheckForApp()) SWIG_fail;
3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
3898 result = (wxBitmapButton *)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3903 return resultobj;
3904 fail:
3905 return NULL;
3906 }
3907
3908
3909 SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3910 PyObject *resultobj = 0;
3911 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3912 wxWindow *arg2 = (wxWindow *) 0 ;
3913 int arg3 = (int) -1 ;
3914 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3915 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3916 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3917 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3918 wxSize const &arg6_defvalue = wxDefaultSize ;
3919 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3920 long arg7 = (long) wxBU_AUTODRAW ;
3921 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3922 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3923 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3924 wxString *arg9 = (wxString *) &arg9_defvalue ;
3925 bool result;
3926 void *argp1 = 0 ;
3927 int res1 = 0 ;
3928 void *argp2 = 0 ;
3929 int res2 = 0 ;
3930 int val3 ;
3931 int ecode3 = 0 ;
3932 void *argp4 = 0 ;
3933 int res4 = 0 ;
3934 wxPoint temp5 ;
3935 wxSize temp6 ;
3936 long val7 ;
3937 int ecode7 = 0 ;
3938 void *argp8 = 0 ;
3939 int res8 = 0 ;
3940 bool temp9 = false ;
3941 PyObject * obj0 = 0 ;
3942 PyObject * obj1 = 0 ;
3943 PyObject * obj2 = 0 ;
3944 PyObject * obj3 = 0 ;
3945 PyObject * obj4 = 0 ;
3946 PyObject * obj5 = 0 ;
3947 PyObject * obj6 = 0 ;
3948 PyObject * obj7 = 0 ;
3949 PyObject * obj8 = 0 ;
3950 char * kwnames[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3952 };
3953
3954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
3956 if (!SWIG_IsOK(res1)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3958 }
3959 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
3960 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3961 if (!SWIG_IsOK(res2)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3963 }
3964 arg2 = reinterpret_cast< wxWindow * >(argp2);
3965 if (obj2) {
3966 ecode3 = SWIG_AsVal_int(obj2, &val3);
3967 if (!SWIG_IsOK(ecode3)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3969 }
3970 arg3 = static_cast< int >(val3);
3971 }
3972 if (obj3) {
3973 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
3974 if (!SWIG_IsOK(res4)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3976 }
3977 if (!argp4) {
3978 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3979 }
3980 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3981 }
3982 if (obj4) {
3983 {
3984 arg5 = &temp5;
3985 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3986 }
3987 }
3988 if (obj5) {
3989 {
3990 arg6 = &temp6;
3991 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3992 }
3993 }
3994 if (obj6) {
3995 ecode7 = SWIG_AsVal_long(obj6, &val7);
3996 if (!SWIG_IsOK(ecode7)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3998 }
3999 arg7 = static_cast< long >(val7);
4000 }
4001 if (obj7) {
4002 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4003 if (!SWIG_IsOK(res8)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4005 }
4006 if (!argp8) {
4007 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4008 }
4009 arg8 = reinterpret_cast< wxValidator * >(argp8);
4010 }
4011 if (obj8) {
4012 {
4013 arg9 = wxString_in_helper(obj8);
4014 if (arg9 == NULL) SWIG_fail;
4015 temp9 = true;
4016 }
4017 }
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 {
4025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4026 }
4027 {
4028 if (temp9)
4029 delete arg9;
4030 }
4031 return resultobj;
4032 fail:
4033 {
4034 if (temp9)
4035 delete arg9;
4036 }
4037 return NULL;
4038 }
4039
4040
4041 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4042 PyObject *resultobj = 0;
4043 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4044 wxBitmap result;
4045 void *argp1 = 0 ;
4046 int res1 = 0 ;
4047 PyObject *swig_obj[1] ;
4048
4049 if (!args) SWIG_fail;
4050 swig_obj[0] = args;
4051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4052 if (!SWIG_IsOK(res1)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4054 }
4055 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4056 {
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 result = (arg1)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 }
4062 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4063 return resultobj;
4064 fail:
4065 return NULL;
4066 }
4067
4068
4069 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4070 PyObject *resultobj = 0;
4071 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4072 wxBitmap result;
4073 void *argp1 = 0 ;
4074 int res1 = 0 ;
4075 PyObject *swig_obj[1] ;
4076
4077 if (!args) SWIG_fail;
4078 swig_obj[0] = args;
4079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4080 if (!SWIG_IsOK(res1)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4082 }
4083 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 result = (arg1)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 }
4090 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4091 return resultobj;
4092 fail:
4093 return NULL;
4094 }
4095
4096
4097 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4098 PyObject *resultobj = 0;
4099 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4100 wxBitmap result;
4101 void *argp1 = 0 ;
4102 int res1 = 0 ;
4103 PyObject *swig_obj[1] ;
4104
4105 if (!args) SWIG_fail;
4106 swig_obj[0] = args;
4107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4108 if (!SWIG_IsOK(res1)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4110 }
4111 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4112 {
4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4114 result = (arg1)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
4118 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4119 return resultobj;
4120 fail:
4121 return NULL;
4122 }
4123
4124
4125 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4126 PyObject *resultobj = 0;
4127 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4128 wxBitmap result;
4129 void *argp1 = 0 ;
4130 int res1 = 0 ;
4131 PyObject *swig_obj[1] ;
4132
4133 if (!args) SWIG_fail;
4134 swig_obj[0] = args;
4135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4136 if (!SWIG_IsOK(res1)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4138 }
4139 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 result = (arg1)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4147 return resultobj;
4148 fail:
4149 return NULL;
4150 }
4151
4152
4153 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4154 PyObject *resultobj = 0;
4155 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4156 wxBitmap result;
4157 void *argp1 = 0 ;
4158 int res1 = 0 ;
4159 PyObject *swig_obj[1] ;
4160
4161 if (!args) SWIG_fail;
4162 swig_obj[0] = args;
4163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4164 if (!SWIG_IsOK(res1)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4166 }
4167 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4168 {
4169 PyThreadState* __tstate = wxPyBeginAllowThreads();
4170 result = (arg1)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate);
4172 if (PyErr_Occurred()) SWIG_fail;
4173 }
4174 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4175 return resultobj;
4176 fail:
4177 return NULL;
4178 }
4179
4180
4181 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4182 PyObject *resultobj = 0;
4183 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4184 wxBitmap *arg2 = 0 ;
4185 void *argp1 = 0 ;
4186 int res1 = 0 ;
4187 void *argp2 = 0 ;
4188 int res2 = 0 ;
4189 PyObject * obj0 = 0 ;
4190 PyObject * obj1 = 0 ;
4191 char * kwnames[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4193 };
4194
4195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4197 if (!SWIG_IsOK(res1)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4199 }
4200 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4201 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4202 if (!SWIG_IsOK(res2)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4204 }
4205 if (!argp2) {
4206 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4207 }
4208 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4209 {
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4212 wxPyEndAllowThreads(__tstate);
4213 if (PyErr_Occurred()) SWIG_fail;
4214 }
4215 resultobj = SWIG_Py_Void();
4216 return resultobj;
4217 fail:
4218 return NULL;
4219 }
4220
4221
4222 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4223 PyObject *resultobj = 0;
4224 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4225 wxBitmap *arg2 = 0 ;
4226 void *argp1 = 0 ;
4227 int res1 = 0 ;
4228 void *argp2 = 0 ;
4229 int res2 = 0 ;
4230 PyObject * obj0 = 0 ;
4231 PyObject * obj1 = 0 ;
4232 char * kwnames[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4234 };
4235
4236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4238 if (!SWIG_IsOK(res1)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4240 }
4241 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4242 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4243 if (!SWIG_IsOK(res2)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4245 }
4246 if (!argp2) {
4247 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4248 }
4249 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 resultobj = SWIG_Py_Void();
4257 return resultobj;
4258 fail:
4259 return NULL;
4260 }
4261
4262
4263 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4264 PyObject *resultobj = 0;
4265 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4266 wxBitmap *arg2 = 0 ;
4267 void *argp1 = 0 ;
4268 int res1 = 0 ;
4269 void *argp2 = 0 ;
4270 int res2 = 0 ;
4271 PyObject * obj0 = 0 ;
4272 PyObject * obj1 = 0 ;
4273 char * kwnames[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4275 };
4276
4277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4279 if (!SWIG_IsOK(res1)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4281 }
4282 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4283 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4284 if (!SWIG_IsOK(res2)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4286 }
4287 if (!argp2) {
4288 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4289 }
4290 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4291 {
4292 PyThreadState* __tstate = wxPyBeginAllowThreads();
4293 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
4297 resultobj = SWIG_Py_Void();
4298 return resultobj;
4299 fail:
4300 return NULL;
4301 }
4302
4303
4304 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj = 0;
4306 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4307 wxBitmap *arg2 = 0 ;
4308 void *argp1 = 0 ;
4309 int res1 = 0 ;
4310 void *argp2 = 0 ;
4311 int res2 = 0 ;
4312 PyObject * obj0 = 0 ;
4313 PyObject * obj1 = 0 ;
4314 char * kwnames[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4316 };
4317
4318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4320 if (!SWIG_IsOK(res1)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4322 }
4323 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4324 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4325 if (!SWIG_IsOK(res2)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4327 }
4328 if (!argp2) {
4329 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4330 }
4331 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 resultobj = SWIG_Py_Void();
4339 return resultobj;
4340 fail:
4341 return NULL;
4342 }
4343
4344
4345 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj = 0;
4347 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4348 wxBitmap *arg2 = 0 ;
4349 void *argp1 = 0 ;
4350 int res1 = 0 ;
4351 void *argp2 = 0 ;
4352 int res2 = 0 ;
4353 PyObject * obj0 = 0 ;
4354 PyObject * obj1 = 0 ;
4355 char * kwnames[] = {
4356 (char *) "self",(char *) "hover", NULL
4357 };
4358
4359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4361 if (!SWIG_IsOK(res1)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4363 }
4364 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4365 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4366 if (!SWIG_IsOK(res2)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4368 }
4369 if (!argp2) {
4370 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4371 }
4372 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 resultobj = SWIG_Py_Void();
4380 return resultobj;
4381 fail:
4382 return NULL;
4383 }
4384
4385
4386 SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj = 0;
4388 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4389 int arg2 ;
4390 int arg3 ;
4391 void *argp1 = 0 ;
4392 int res1 = 0 ;
4393 int val2 ;
4394 int ecode2 = 0 ;
4395 int val3 ;
4396 int ecode3 = 0 ;
4397 PyObject * obj0 = 0 ;
4398 PyObject * obj1 = 0 ;
4399 PyObject * obj2 = 0 ;
4400 char * kwnames[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4402 };
4403
4404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4406 if (!SWIG_IsOK(res1)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4408 }
4409 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4410 ecode2 = SWIG_AsVal_int(obj1, &val2);
4411 if (!SWIG_IsOK(ecode2)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4413 }
4414 arg2 = static_cast< int >(val2);
4415 ecode3 = SWIG_AsVal_int(obj2, &val3);
4416 if (!SWIG_IsOK(ecode3)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4418 }
4419 arg3 = static_cast< int >(val3);
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 (arg1)->SetMargins(arg2,arg3);
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_Py_Void();
4427 return resultobj;
4428 fail:
4429 return NULL;
4430 }
4431
4432
4433 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4434 PyObject *resultobj = 0;
4435 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4436 int result;
4437 void *argp1 = 0 ;
4438 int res1 = 0 ;
4439 PyObject *swig_obj[1] ;
4440
4441 if (!args) SWIG_fail;
4442 swig_obj[0] = args;
4443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4444 if (!SWIG_IsOK(res1)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4446 }
4447 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4448 {
4449 PyThreadState* __tstate = wxPyBeginAllowThreads();
4450 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 resultobj = SWIG_From_int(static_cast< int >(result));
4455 return resultobj;
4456 fail:
4457 return NULL;
4458 }
4459
4460
4461 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4462 PyObject *resultobj = 0;
4463 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4464 int result;
4465 void *argp1 = 0 ;
4466 int res1 = 0 ;
4467 PyObject *swig_obj[1] ;
4468
4469 if (!args) SWIG_fail;
4470 swig_obj[0] = args;
4471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4472 if (!SWIG_IsOK(res1)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4474 }
4475 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 resultobj = SWIG_From_int(static_cast< int >(result));
4483 return resultobj;
4484 fail:
4485 return NULL;
4486 }
4487
4488
4489 SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4490 PyObject *obj;
4491 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4493 return SWIG_Py_Void();
4494 }
4495
4496 SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4497 return SWIG_Python_InitShadowInstance(args);
4498 }
4499
4500 SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4501 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4502 return 1;
4503 }
4504
4505
4506 SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4507 PyObject *pyobj = 0;
4508
4509 {
4510 #if wxUSE_UNICODE
4511 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4512 #else
4513 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4514 #endif
4515 }
4516 return pyobj;
4517 }
4518
4519
4520 SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4521 PyObject *resultobj = 0;
4522 wxWindow *arg1 = (wxWindow *) 0 ;
4523 int arg2 = (int) -1 ;
4524 wxString const &arg3_defvalue = wxPyEmptyString ;
4525 wxString *arg3 = (wxString *) &arg3_defvalue ;
4526 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4527 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4528 wxSize const &arg5_defvalue = wxDefaultSize ;
4529 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4530 long arg6 = (long) 0 ;
4531 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4532 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4533 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4534 wxString *arg8 = (wxString *) &arg8_defvalue ;
4535 wxCheckBox *result = 0 ;
4536 void *argp1 = 0 ;
4537 int res1 = 0 ;
4538 int val2 ;
4539 int ecode2 = 0 ;
4540 bool temp3 = false ;
4541 wxPoint temp4 ;
4542 wxSize temp5 ;
4543 long val6 ;
4544 int ecode6 = 0 ;
4545 void *argp7 = 0 ;
4546 int res7 = 0 ;
4547 bool temp8 = false ;
4548 PyObject * obj0 = 0 ;
4549 PyObject * obj1 = 0 ;
4550 PyObject * obj2 = 0 ;
4551 PyObject * obj3 = 0 ;
4552 PyObject * obj4 = 0 ;
4553 PyObject * obj5 = 0 ;
4554 PyObject * obj6 = 0 ;
4555 PyObject * obj7 = 0 ;
4556 char * kwnames[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4558 };
4559
4560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4562 if (!SWIG_IsOK(res1)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4564 }
4565 arg1 = reinterpret_cast< wxWindow * >(argp1);
4566 if (obj1) {
4567 ecode2 = SWIG_AsVal_int(obj1, &val2);
4568 if (!SWIG_IsOK(ecode2)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4570 }
4571 arg2 = static_cast< int >(val2);
4572 }
4573 if (obj2) {
4574 {
4575 arg3 = wxString_in_helper(obj2);
4576 if (arg3 == NULL) SWIG_fail;
4577 temp3 = true;
4578 }
4579 }
4580 if (obj3) {
4581 {
4582 arg4 = &temp4;
4583 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4584 }
4585 }
4586 if (obj4) {
4587 {
4588 arg5 = &temp5;
4589 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4590 }
4591 }
4592 if (obj5) {
4593 ecode6 = SWIG_AsVal_long(obj5, &val6);
4594 if (!SWIG_IsOK(ecode6)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4596 }
4597 arg6 = static_cast< long >(val6);
4598 }
4599 if (obj6) {
4600 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4601 if (!SWIG_IsOK(res7)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4603 }
4604 if (!argp7) {
4605 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4606 }
4607 arg7 = reinterpret_cast< wxValidator * >(argp7);
4608 }
4609 if (obj7) {
4610 {
4611 arg8 = wxString_in_helper(obj7);
4612 if (arg8 == NULL) SWIG_fail;
4613 temp8 = true;
4614 }
4615 }
4616 {
4617 if (!wxPyCheckForApp()) SWIG_fail;
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4624 {
4625 if (temp3)
4626 delete arg3;
4627 }
4628 {
4629 if (temp8)
4630 delete arg8;
4631 }
4632 return resultobj;
4633 fail:
4634 {
4635 if (temp3)
4636 delete arg3;
4637 }
4638 {
4639 if (temp8)
4640 delete arg8;
4641 }
4642 return NULL;
4643 }
4644
4645
4646 SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4647 PyObject *resultobj = 0;
4648 wxCheckBox *result = 0 ;
4649
4650 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4651 {
4652 if (!wxPyCheckForApp()) SWIG_fail;
4653 PyThreadState* __tstate = wxPyBeginAllowThreads();
4654 result = (wxCheckBox *)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate);
4656 if (PyErr_Occurred()) SWIG_fail;
4657 }
4658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4659 return resultobj;
4660 fail:
4661 return NULL;
4662 }
4663
4664
4665 SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4666 PyObject *resultobj = 0;
4667 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4668 wxWindow *arg2 = (wxWindow *) 0 ;
4669 int arg3 = (int) -1 ;
4670 wxString const &arg4_defvalue = wxPyEmptyString ;
4671 wxString *arg4 = (wxString *) &arg4_defvalue ;
4672 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4673 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4674 wxSize const &arg6_defvalue = wxDefaultSize ;
4675 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4676 long arg7 = (long) 0 ;
4677 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4678 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4679 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4680 wxString *arg9 = (wxString *) &arg9_defvalue ;
4681 bool result;
4682 void *argp1 = 0 ;
4683 int res1 = 0 ;
4684 void *argp2 = 0 ;
4685 int res2 = 0 ;
4686 int val3 ;
4687 int ecode3 = 0 ;
4688 bool temp4 = false ;
4689 wxPoint temp5 ;
4690 wxSize temp6 ;
4691 long val7 ;
4692 int ecode7 = 0 ;
4693 void *argp8 = 0 ;
4694 int res8 = 0 ;
4695 bool temp9 = false ;
4696 PyObject * obj0 = 0 ;
4697 PyObject * obj1 = 0 ;
4698 PyObject * obj2 = 0 ;
4699 PyObject * obj3 = 0 ;
4700 PyObject * obj4 = 0 ;
4701 PyObject * obj5 = 0 ;
4702 PyObject * obj6 = 0 ;
4703 PyObject * obj7 = 0 ;
4704 PyObject * obj8 = 0 ;
4705 char * kwnames[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4707 };
4708
4709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4711 if (!SWIG_IsOK(res1)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4713 }
4714 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4715 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4716 if (!SWIG_IsOK(res2)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4718 }
4719 arg2 = reinterpret_cast< wxWindow * >(argp2);
4720 if (obj2) {
4721 ecode3 = SWIG_AsVal_int(obj2, &val3);
4722 if (!SWIG_IsOK(ecode3)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4724 }
4725 arg3 = static_cast< int >(val3);
4726 }
4727 if (obj3) {
4728 {
4729 arg4 = wxString_in_helper(obj3);
4730 if (arg4 == NULL) SWIG_fail;
4731 temp4 = true;
4732 }
4733 }
4734 if (obj4) {
4735 {
4736 arg5 = &temp5;
4737 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4738 }
4739 }
4740 if (obj5) {
4741 {
4742 arg6 = &temp6;
4743 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4744 }
4745 }
4746 if (obj6) {
4747 ecode7 = SWIG_AsVal_long(obj6, &val7);
4748 if (!SWIG_IsOK(ecode7)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4750 }
4751 arg7 = static_cast< long >(val7);
4752 }
4753 if (obj7) {
4754 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4755 if (!SWIG_IsOK(res8)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4757 }
4758 if (!argp8) {
4759 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4760 }
4761 arg8 = reinterpret_cast< wxValidator * >(argp8);
4762 }
4763 if (obj8) {
4764 {
4765 arg9 = wxString_in_helper(obj8);
4766 if (arg9 == NULL) SWIG_fail;
4767 temp9 = true;
4768 }
4769 }
4770 {
4771 PyThreadState* __tstate = wxPyBeginAllowThreads();
4772 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4773 wxPyEndAllowThreads(__tstate);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 {
4777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4778 }
4779 {
4780 if (temp4)
4781 delete arg4;
4782 }
4783 {
4784 if (temp9)
4785 delete arg9;
4786 }
4787 return resultobj;
4788 fail:
4789 {
4790 if (temp4)
4791 delete arg4;
4792 }
4793 {
4794 if (temp9)
4795 delete arg9;
4796 }
4797 return NULL;
4798 }
4799
4800
4801 SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4802 PyObject *resultobj = 0;
4803 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4804 bool result;
4805 void *argp1 = 0 ;
4806 int res1 = 0 ;
4807 PyObject *swig_obj[1] ;
4808
4809 if (!args) SWIG_fail;
4810 swig_obj[0] = args;
4811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4812 if (!SWIG_IsOK(res1)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4814 }
4815 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 result = (bool)(arg1)->GetValue();
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 {
4823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4824 }
4825 return resultobj;
4826 fail:
4827 return NULL;
4828 }
4829
4830
4831 SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4832 PyObject *resultobj = 0;
4833 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4834 bool result;
4835 void *argp1 = 0 ;
4836 int res1 = 0 ;
4837 PyObject *swig_obj[1] ;
4838
4839 if (!args) SWIG_fail;
4840 swig_obj[0] = args;
4841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4842 if (!SWIG_IsOK(res1)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4844 }
4845 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 result = (bool)(arg1)->IsChecked();
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 {
4853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4854 }
4855 return resultobj;
4856 fail:
4857 return NULL;
4858 }
4859
4860
4861 SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4862 PyObject *resultobj = 0;
4863 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4864 bool arg2 ;
4865 void *argp1 = 0 ;
4866 int res1 = 0 ;
4867 bool val2 ;
4868 int ecode2 = 0 ;
4869 PyObject * obj0 = 0 ;
4870 PyObject * obj1 = 0 ;
4871 char * kwnames[] = {
4872 (char *) "self",(char *) "state", NULL
4873 };
4874
4875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4877 if (!SWIG_IsOK(res1)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4879 }
4880 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4881 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4882 if (!SWIG_IsOK(ecode2)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4884 }
4885 arg2 = static_cast< bool >(val2);
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 (arg1)->SetValue(arg2);
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
4892 resultobj = SWIG_Py_Void();
4893 return resultobj;
4894 fail:
4895 return NULL;
4896 }
4897
4898
4899 SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4900 PyObject *resultobj = 0;
4901 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4902 wxCheckBoxState result;
4903 void *argp1 = 0 ;
4904 int res1 = 0 ;
4905 PyObject *swig_obj[1] ;
4906
4907 if (!args) SWIG_fail;
4908 swig_obj[0] = args;
4909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4910 if (!SWIG_IsOK(res1)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4912 }
4913 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
4920 resultobj = SWIG_From_int(static_cast< int >(result));
4921 return resultobj;
4922 fail:
4923 return NULL;
4924 }
4925
4926
4927 SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4928 PyObject *resultobj = 0;
4929 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4930 wxCheckBoxState arg2 ;
4931 void *argp1 = 0 ;
4932 int res1 = 0 ;
4933 int val2 ;
4934 int ecode2 = 0 ;
4935 PyObject * obj0 = 0 ;
4936 PyObject * obj1 = 0 ;
4937 char * kwnames[] = {
4938 (char *) "self",(char *) "state", NULL
4939 };
4940
4941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4943 if (!SWIG_IsOK(res1)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4945 }
4946 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4947 ecode2 = SWIG_AsVal_int(obj1, &val2);
4948 if (!SWIG_IsOK(ecode2)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4950 }
4951 arg2 = static_cast< wxCheckBoxState >(val2);
4952 {
4953 PyThreadState* __tstate = wxPyBeginAllowThreads();
4954 (arg1)->Set3StateValue(arg2);
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 resultobj = SWIG_Py_Void();
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4966 PyObject *resultobj = 0;
4967 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4968 bool result;
4969 void *argp1 = 0 ;
4970 int res1 = 0 ;
4971 PyObject *swig_obj[1] ;
4972
4973 if (!args) SWIG_fail;
4974 swig_obj[0] = args;
4975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4976 if (!SWIG_IsOK(res1)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4978 }
4979 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 result = (bool)((wxCheckBox const *)arg1)->Is3State();
4983 wxPyEndAllowThreads(__tstate);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 {
4987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4988 }
4989 return resultobj;
4990 fail:
4991 return NULL;
4992 }
4993
4994
4995 SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4996 PyObject *resultobj = 0;
4997 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4998 bool result;
4999 void *argp1 = 0 ;
5000 int res1 = 0 ;
5001 PyObject *swig_obj[1] ;
5002
5003 if (!args) SWIG_fail;
5004 swig_obj[0] = args;
5005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5006 if (!SWIG_IsOK(res1)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5008 }
5009 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
5016 {
5017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5018 }
5019 return resultobj;
5020 fail:
5021 return NULL;
5022 }
5023
5024
5025 SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj = 0;
5027 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5028 SwigValueWrapper<wxVisualAttributes > result;
5029 int val1 ;
5030 int ecode1 = 0 ;
5031 PyObject * obj0 = 0 ;
5032 char * kwnames[] = {
5033 (char *) "variant", NULL
5034 };
5035
5036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5037 if (obj0) {
5038 ecode1 = SWIG_AsVal_int(obj0, &val1);
5039 if (!SWIG_IsOK(ecode1)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5041 }
5042 arg1 = static_cast< wxWindowVariant >(val1);
5043 }
5044 {
5045 if (!wxPyCheckForApp()) SWIG_fail;
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5048 wxPyEndAllowThreads(__tstate);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
5051 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5052 return resultobj;
5053 fail:
5054 return NULL;
5055 }
5056
5057
5058 SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5059 PyObject *obj;
5060 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5062 return SWIG_Py_Void();
5063 }
5064
5065 SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5066 return SWIG_Python_InitShadowInstance(args);
5067 }
5068
5069 SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5070 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5071 return 1;
5072 }
5073
5074
5075 SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5076 PyObject *pyobj = 0;
5077
5078 {
5079 #if wxUSE_UNICODE
5080 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5081 #else
5082 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5083 #endif
5084 }
5085 return pyobj;
5086 }
5087
5088
5089 SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj = 0;
5091 wxWindow *arg1 = (wxWindow *) 0 ;
5092 int arg2 = (int) -1 ;
5093 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5094 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5095 wxSize const &arg4_defvalue = wxDefaultSize ;
5096 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5097 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5098 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5099 long arg6 = (long) 0 ;
5100 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5101 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5102 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5103 wxString *arg8 = (wxString *) &arg8_defvalue ;
5104 wxChoice *result = 0 ;
5105 void *argp1 = 0 ;
5106 int res1 = 0 ;
5107 int val2 ;
5108 int ecode2 = 0 ;
5109 wxPoint temp3 ;
5110 wxSize temp4 ;
5111 bool temp5 = false ;
5112 long val6 ;
5113 int ecode6 = 0 ;
5114 void *argp7 = 0 ;
5115 int res7 = 0 ;
5116 bool temp8 = false ;
5117 PyObject * obj0 = 0 ;
5118 PyObject * obj1 = 0 ;
5119 PyObject * obj2 = 0 ;
5120 PyObject * obj3 = 0 ;
5121 PyObject * obj4 = 0 ;
5122 PyObject * obj5 = 0 ;
5123 PyObject * obj6 = 0 ;
5124 PyObject * obj7 = 0 ;
5125 char * kwnames[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5127 };
5128
5129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5131 if (!SWIG_IsOK(res1)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5133 }
5134 arg1 = reinterpret_cast< wxWindow * >(argp1);
5135 if (obj1) {
5136 ecode2 = SWIG_AsVal_int(obj1, &val2);
5137 if (!SWIG_IsOK(ecode2)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5139 }
5140 arg2 = static_cast< int >(val2);
5141 }
5142 if (obj2) {
5143 {
5144 arg3 = &temp3;
5145 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5146 }
5147 }
5148 if (obj3) {
5149 {
5150 arg4 = &temp4;
5151 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5152 }
5153 }
5154 if (obj4) {
5155 {
5156 if (! PySequence_Check(obj4)) {
5157 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5158 SWIG_fail;
5159 }
5160 arg5 = new wxArrayString;
5161 temp5 = true;
5162 int i, len=PySequence_Length(obj4);
5163 for (i=0; i<len; i++) {
5164 PyObject* item = PySequence_GetItem(obj4, i);
5165 wxString* s = wxString_in_helper(item);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 arg5->Add(*s);
5168 delete s;
5169 Py_DECREF(item);
5170 }
5171 }
5172 }
5173 if (obj5) {
5174 ecode6 = SWIG_AsVal_long(obj5, &val6);
5175 if (!SWIG_IsOK(ecode6)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5177 }
5178 arg6 = static_cast< long >(val6);
5179 }
5180 if (obj6) {
5181 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5182 if (!SWIG_IsOK(res7)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5184 }
5185 if (!argp7) {
5186 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5187 }
5188 arg7 = reinterpret_cast< wxValidator * >(argp7);
5189 }
5190 if (obj7) {
5191 {
5192 arg8 = wxString_in_helper(obj7);
5193 if (arg8 == NULL) SWIG_fail;
5194 temp8 = true;
5195 }
5196 }
5197 {
5198 if (!wxPyCheckForApp()) SWIG_fail;
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5205 {
5206 if (temp5) delete arg5;
5207 }
5208 {
5209 if (temp8)
5210 delete arg8;
5211 }
5212 return resultobj;
5213 fail:
5214 {
5215 if (temp5) delete arg5;
5216 }
5217 {
5218 if (temp8)
5219 delete arg8;
5220 }
5221 return NULL;
5222 }
5223
5224
5225 SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5226 PyObject *resultobj = 0;
5227 wxChoice *result = 0 ;
5228
5229 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5230 {
5231 if (!wxPyCheckForApp()) SWIG_fail;
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 result = (wxChoice *)new wxChoice();
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5238 return resultobj;
5239 fail:
5240 return NULL;
5241 }
5242
5243
5244 SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5245 PyObject *resultobj = 0;
5246 wxChoice *arg1 = (wxChoice *) 0 ;
5247 wxWindow *arg2 = (wxWindow *) 0 ;
5248 int arg3 = (int) -1 ;
5249 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5250 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5251 wxSize const &arg5_defvalue = wxDefaultSize ;
5252 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5253 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5254 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5255 long arg7 = (long) 0 ;
5256 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5257 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5258 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5259 wxString *arg9 = (wxString *) &arg9_defvalue ;
5260 bool result;
5261 void *argp1 = 0 ;
5262 int res1 = 0 ;
5263 void *argp2 = 0 ;
5264 int res2 = 0 ;
5265 int val3 ;
5266 int ecode3 = 0 ;
5267 wxPoint temp4 ;
5268 wxSize temp5 ;
5269 bool temp6 = false ;
5270 long val7 ;
5271 int ecode7 = 0 ;
5272 void *argp8 = 0 ;
5273 int res8 = 0 ;
5274 bool temp9 = false ;
5275 PyObject * obj0 = 0 ;
5276 PyObject * obj1 = 0 ;
5277 PyObject * obj2 = 0 ;
5278 PyObject * obj3 = 0 ;
5279 PyObject * obj4 = 0 ;
5280 PyObject * obj5 = 0 ;
5281 PyObject * obj6 = 0 ;
5282 PyObject * obj7 = 0 ;
5283 PyObject * obj8 = 0 ;
5284 char * kwnames[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5286 };
5287
5288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5290 if (!SWIG_IsOK(res1)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5292 }
5293 arg1 = reinterpret_cast< wxChoice * >(argp1);
5294 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5295 if (!SWIG_IsOK(res2)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5297 }
5298 arg2 = reinterpret_cast< wxWindow * >(argp2);
5299 if (obj2) {
5300 ecode3 = SWIG_AsVal_int(obj2, &val3);
5301 if (!SWIG_IsOK(ecode3)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5303 }
5304 arg3 = static_cast< int >(val3);
5305 }
5306 if (obj3) {
5307 {
5308 arg4 = &temp4;
5309 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5310 }
5311 }
5312 if (obj4) {
5313 {
5314 arg5 = &temp5;
5315 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5316 }
5317 }
5318 if (obj5) {
5319 {
5320 if (! PySequence_Check(obj5)) {
5321 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5322 SWIG_fail;
5323 }
5324 arg6 = new wxArrayString;
5325 temp6 = true;
5326 int i, len=PySequence_Length(obj5);
5327 for (i=0; i<len; i++) {
5328 PyObject* item = PySequence_GetItem(obj5, i);
5329 wxString* s = wxString_in_helper(item);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 arg6->Add(*s);
5332 delete s;
5333 Py_DECREF(item);
5334 }
5335 }
5336 }
5337 if (obj6) {
5338 ecode7 = SWIG_AsVal_long(obj6, &val7);
5339 if (!SWIG_IsOK(ecode7)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5341 }
5342 arg7 = static_cast< long >(val7);
5343 }
5344 if (obj7) {
5345 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5346 if (!SWIG_IsOK(res8)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5348 }
5349 if (!argp8) {
5350 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5351 }
5352 arg8 = reinterpret_cast< wxValidator * >(argp8);
5353 }
5354 if (obj8) {
5355 {
5356 arg9 = wxString_in_helper(obj8);
5357 if (arg9 == NULL) SWIG_fail;
5358 temp9 = true;
5359 }
5360 }
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 {
5368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5369 }
5370 {
5371 if (temp6) delete arg6;
5372 }
5373 {
5374 if (temp9)
5375 delete arg9;
5376 }
5377 return resultobj;
5378 fail:
5379 {
5380 if (temp6) delete arg6;
5381 }
5382 {
5383 if (temp9)
5384 delete arg9;
5385 }
5386 return NULL;
5387 }
5388
5389
5390 SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5391 PyObject *resultobj = 0;
5392 wxChoice *arg1 = (wxChoice *) 0 ;
5393 int result;
5394 void *argp1 = 0 ;
5395 int res1 = 0 ;
5396 PyObject *swig_obj[1] ;
5397
5398 if (!args) SWIG_fail;
5399 swig_obj[0] = args;
5400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5401 if (!SWIG_IsOK(res1)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5403 }
5404 arg1 = reinterpret_cast< wxChoice * >(argp1);
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 resultobj = SWIG_From_int(static_cast< int >(result));
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj = 0;
5420 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5421 SwigValueWrapper<wxVisualAttributes > result;
5422 int val1 ;
5423 int ecode1 = 0 ;
5424 PyObject * obj0 = 0 ;
5425 char * kwnames[] = {
5426 (char *) "variant", NULL
5427 };
5428
5429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5430 if (obj0) {
5431 ecode1 = SWIG_AsVal_int(obj0, &val1);
5432 if (!SWIG_IsOK(ecode1)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5434 }
5435 arg1 = static_cast< wxWindowVariant >(val1);
5436 }
5437 {
5438 if (!wxPyCheckForApp()) SWIG_fail;
5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
5440 result = wxChoice::GetClassDefaultAttributes(arg1);
5441 wxPyEndAllowThreads(__tstate);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 }
5444 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5445 return resultobj;
5446 fail:
5447 return NULL;
5448 }
5449
5450
5451 SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5452 PyObject *obj;
5453 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5455 return SWIG_Py_Void();
5456 }
5457
5458 SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5459 return SWIG_Python_InitShadowInstance(args);
5460 }
5461
5462 SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5463 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5464 return 1;
5465 }
5466
5467
5468 SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5469 PyObject *pyobj = 0;
5470
5471 {
5472 #if wxUSE_UNICODE
5473 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5474 #else
5475 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5476 #endif
5477 }
5478 return pyobj;
5479 }
5480
5481
5482 SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj = 0;
5484 wxWindow *arg1 = (wxWindow *) 0 ;
5485 int arg2 = (int) -1 ;
5486 wxString const &arg3_defvalue = wxPyEmptyString ;
5487 wxString *arg3 = (wxString *) &arg3_defvalue ;
5488 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5489 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5490 wxSize const &arg5_defvalue = wxDefaultSize ;
5491 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5492 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5493 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5494 long arg7 = (long) 0 ;
5495 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5496 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5497 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5498 wxString *arg9 = (wxString *) &arg9_defvalue ;
5499 wxComboBox *result = 0 ;
5500 void *argp1 = 0 ;
5501 int res1 = 0 ;
5502 int val2 ;
5503 int ecode2 = 0 ;
5504 bool temp3 = false ;
5505 wxPoint temp4 ;
5506 wxSize temp5 ;
5507 bool temp6 = false ;
5508 long val7 ;
5509 int ecode7 = 0 ;
5510 void *argp8 = 0 ;
5511 int res8 = 0 ;
5512 bool temp9 = false ;
5513 PyObject * obj0 = 0 ;
5514 PyObject * obj1 = 0 ;
5515 PyObject * obj2 = 0 ;
5516 PyObject * obj3 = 0 ;
5517 PyObject * obj4 = 0 ;
5518 PyObject * obj5 = 0 ;
5519 PyObject * obj6 = 0 ;
5520 PyObject * obj7 = 0 ;
5521 PyObject * obj8 = 0 ;
5522 char * kwnames[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5524 };
5525
5526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5528 if (!SWIG_IsOK(res1)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5530 }
5531 arg1 = reinterpret_cast< wxWindow * >(argp1);
5532 if (obj1) {
5533 ecode2 = SWIG_AsVal_int(obj1, &val2);
5534 if (!SWIG_IsOK(ecode2)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5536 }
5537 arg2 = static_cast< int >(val2);
5538 }
5539 if (obj2) {
5540 {
5541 arg3 = wxString_in_helper(obj2);
5542 if (arg3 == NULL) SWIG_fail;
5543 temp3 = true;
5544 }
5545 }
5546 if (obj3) {
5547 {
5548 arg4 = &temp4;
5549 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5550 }
5551 }
5552 if (obj4) {
5553 {
5554 arg5 = &temp5;
5555 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5556 }
5557 }
5558 if (obj5) {
5559 {
5560 if (! PySequence_Check(obj5)) {
5561 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5562 SWIG_fail;
5563 }
5564 arg6 = new wxArrayString;
5565 temp6 = true;
5566 int i, len=PySequence_Length(obj5);
5567 for (i=0; i<len; i++) {
5568 PyObject* item = PySequence_GetItem(obj5, i);
5569 wxString* s = wxString_in_helper(item);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 arg6->Add(*s);
5572 delete s;
5573 Py_DECREF(item);
5574 }
5575 }
5576 }
5577 if (obj6) {
5578 ecode7 = SWIG_AsVal_long(obj6, &val7);
5579 if (!SWIG_IsOK(ecode7)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5581 }
5582 arg7 = static_cast< long >(val7);
5583 }
5584 if (obj7) {
5585 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5586 if (!SWIG_IsOK(res8)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5588 }
5589 if (!argp8) {
5590 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5591 }
5592 arg8 = reinterpret_cast< wxValidator * >(argp8);
5593 }
5594 if (obj8) {
5595 {
5596 arg9 = wxString_in_helper(obj8);
5597 if (arg9 == NULL) SWIG_fail;
5598 temp9 = true;
5599 }
5600 }
5601 {
5602 if (!wxPyCheckForApp()) SWIG_fail;
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5609 {
5610 if (temp3)
5611 delete arg3;
5612 }
5613 {
5614 if (temp6) delete arg6;
5615 }
5616 {
5617 if (temp9)
5618 delete arg9;
5619 }
5620 return resultobj;
5621 fail:
5622 {
5623 if (temp3)
5624 delete arg3;
5625 }
5626 {
5627 if (temp6) delete arg6;
5628 }
5629 {
5630 if (temp9)
5631 delete arg9;
5632 }
5633 return NULL;
5634 }
5635
5636
5637 SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5638 PyObject *resultobj = 0;
5639 wxComboBox *result = 0 ;
5640
5641 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5642 {
5643 if (!wxPyCheckForApp()) SWIG_fail;
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (wxComboBox *)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5650 return resultobj;
5651 fail:
5652 return NULL;
5653 }
5654
5655
5656 SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj = 0;
5658 wxComboBox *arg1 = (wxComboBox *) 0 ;
5659 wxWindow *arg2 = (wxWindow *) 0 ;
5660 int arg3 = (int) -1 ;
5661 wxString const &arg4_defvalue = wxPyEmptyString ;
5662 wxString *arg4 = (wxString *) &arg4_defvalue ;
5663 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5664 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5665 wxSize const &arg6_defvalue = wxDefaultSize ;
5666 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5667 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5668 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5669 long arg8 = (long) 0 ;
5670 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5671 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5672 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5673 wxString *arg10 = (wxString *) &arg10_defvalue ;
5674 bool result;
5675 void *argp1 = 0 ;
5676 int res1 = 0 ;
5677 void *argp2 = 0 ;
5678 int res2 = 0 ;
5679 int val3 ;
5680 int ecode3 = 0 ;
5681 bool temp4 = false ;
5682 wxPoint temp5 ;
5683 wxSize temp6 ;
5684 bool temp7 = false ;
5685 long val8 ;
5686 int ecode8 = 0 ;
5687 void *argp9 = 0 ;
5688 int res9 = 0 ;
5689 bool temp10 = false ;
5690 PyObject * obj0 = 0 ;
5691 PyObject * obj1 = 0 ;
5692 PyObject * obj2 = 0 ;
5693 PyObject * obj3 = 0 ;
5694 PyObject * obj4 = 0 ;
5695 PyObject * obj5 = 0 ;
5696 PyObject * obj6 = 0 ;
5697 PyObject * obj7 = 0 ;
5698 PyObject * obj8 = 0 ;
5699 PyObject * obj9 = 0 ;
5700 char * kwnames[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5702 };
5703
5704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5706 if (!SWIG_IsOK(res1)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5708 }
5709 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5710 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5711 if (!SWIG_IsOK(res2)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5713 }
5714 arg2 = reinterpret_cast< wxWindow * >(argp2);
5715 if (obj2) {
5716 ecode3 = SWIG_AsVal_int(obj2, &val3);
5717 if (!SWIG_IsOK(ecode3)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5719 }
5720 arg3 = static_cast< int >(val3);
5721 }
5722 if (obj3) {
5723 {
5724 arg4 = wxString_in_helper(obj3);
5725 if (arg4 == NULL) SWIG_fail;
5726 temp4 = true;
5727 }
5728 }
5729 if (obj4) {
5730 {
5731 arg5 = &temp5;
5732 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5733 }
5734 }
5735 if (obj5) {
5736 {
5737 arg6 = &temp6;
5738 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5739 }
5740 }
5741 if (obj6) {
5742 {
5743 if (! PySequence_Check(obj6)) {
5744 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5745 SWIG_fail;
5746 }
5747 arg7 = new wxArrayString;
5748 temp7 = true;
5749 int i, len=PySequence_Length(obj6);
5750 for (i=0; i<len; i++) {
5751 PyObject* item = PySequence_GetItem(obj6, i);
5752 wxString* s = wxString_in_helper(item);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 arg7->Add(*s);
5755 delete s;
5756 Py_DECREF(item);
5757 }
5758 }
5759 }
5760 if (obj7) {
5761 ecode8 = SWIG_AsVal_long(obj7, &val8);
5762 if (!SWIG_IsOK(ecode8)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5764 }
5765 arg8 = static_cast< long >(val8);
5766 }
5767 if (obj8) {
5768 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5769 if (!SWIG_IsOK(res9)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5771 }
5772 if (!argp9) {
5773 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5774 }
5775 arg9 = reinterpret_cast< wxValidator * >(argp9);
5776 }
5777 if (obj9) {
5778 {
5779 arg10 = wxString_in_helper(obj9);
5780 if (arg10 == NULL) SWIG_fail;
5781 temp10 = true;
5782 }
5783 }
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 {
5791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5792 }
5793 {
5794 if (temp4)
5795 delete arg4;
5796 }
5797 {
5798 if (temp7) delete arg7;
5799 }
5800 {
5801 if (temp10)
5802 delete arg10;
5803 }
5804 return resultobj;
5805 fail:
5806 {
5807 if (temp4)
5808 delete arg4;
5809 }
5810 {
5811 if (temp7) delete arg7;
5812 }
5813 {
5814 if (temp10)
5815 delete arg10;
5816 }
5817 return NULL;
5818 }
5819
5820
5821 SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5822 PyObject *resultobj = 0;
5823 wxComboBox *arg1 = (wxComboBox *) 0 ;
5824 wxString result;
5825 void *argp1 = 0 ;
5826 int res1 = 0 ;
5827 PyObject *swig_obj[1] ;
5828
5829 if (!args) SWIG_fail;
5830 swig_obj[0] = args;
5831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5832 if (!SWIG_IsOK(res1)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5834 }
5835 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5836 {
5837 PyThreadState* __tstate = wxPyBeginAllowThreads();
5838 result = ((wxComboBox const *)arg1)->GetValue();
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 {
5843 #if wxUSE_UNICODE
5844 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5845 #else
5846 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5847 #endif
5848 }
5849 return resultobj;
5850 fail:
5851 return NULL;
5852 }
5853
5854
5855 SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5856 PyObject *resultobj = 0;
5857 wxComboBox *arg1 = (wxComboBox *) 0 ;
5858 wxString *arg2 = 0 ;
5859 void *argp1 = 0 ;
5860 int res1 = 0 ;
5861 bool temp2 = false ;
5862 PyObject * obj0 = 0 ;
5863 PyObject * obj1 = 0 ;
5864 char * kwnames[] = {
5865 (char *) "self",(char *) "value", NULL
5866 };
5867
5868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5870 if (!SWIG_IsOK(res1)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5872 }
5873 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5874 {
5875 arg2 = wxString_in_helper(obj1);
5876 if (arg2 == NULL) SWIG_fail;
5877 temp2 = true;
5878 }
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->SetValue((wxString const &)*arg2);
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 resultobj = SWIG_Py_Void();
5886 {
5887 if (temp2)
5888 delete arg2;
5889 }
5890 return resultobj;
5891 fail:
5892 {
5893 if (temp2)
5894 delete arg2;
5895 }
5896 return NULL;
5897 }
5898
5899
5900 SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5901 PyObject *resultobj = 0;
5902 wxComboBox *arg1 = (wxComboBox *) 0 ;
5903 void *argp1 = 0 ;
5904 int res1 = 0 ;
5905 PyObject *swig_obj[1] ;
5906
5907 if (!args) SWIG_fail;
5908 swig_obj[0] = args;
5909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5910 if (!SWIG_IsOK(res1)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5912 }
5913 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 (arg1)->Copy();
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 resultobj = SWIG_Py_Void();
5921 return resultobj;
5922 fail:
5923 return NULL;
5924 }
5925
5926
5927 SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5928 PyObject *resultobj = 0;
5929 wxComboBox *arg1 = (wxComboBox *) 0 ;
5930 void *argp1 = 0 ;
5931 int res1 = 0 ;
5932 PyObject *swig_obj[1] ;
5933
5934 if (!args) SWIG_fail;
5935 swig_obj[0] = args;
5936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5937 if (!SWIG_IsOK(res1)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5939 }
5940 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 (arg1)->Cut();
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 resultobj = SWIG_Py_Void();
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5955 PyObject *resultobj = 0;
5956 wxComboBox *arg1 = (wxComboBox *) 0 ;
5957 void *argp1 = 0 ;
5958 int res1 = 0 ;
5959 PyObject *swig_obj[1] ;
5960
5961 if (!args) SWIG_fail;
5962 swig_obj[0] = args;
5963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5964 if (!SWIG_IsOK(res1)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5966 }
5967 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 (arg1)->Paste();
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 resultobj = SWIG_Py_Void();
5975 return resultobj;
5976 fail:
5977 return NULL;
5978 }
5979
5980
5981 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5982 PyObject *resultobj = 0;
5983 wxComboBox *arg1 = (wxComboBox *) 0 ;
5984 long arg2 ;
5985 void *argp1 = 0 ;
5986 int res1 = 0 ;
5987 long val2 ;
5988 int ecode2 = 0 ;
5989 PyObject * obj0 = 0 ;
5990 PyObject * obj1 = 0 ;
5991 char * kwnames[] = {
5992 (char *) "self",(char *) "pos", NULL
5993 };
5994
5995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
5996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5997 if (!SWIG_IsOK(res1)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5999 }
6000 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6001 ecode2 = SWIG_AsVal_long(obj1, &val2);
6002 if (!SWIG_IsOK(ecode2)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6004 }
6005 arg2 = static_cast< long >(val2);
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 (arg1)->SetInsertionPoint(arg2);
6009 wxPyEndAllowThreads(__tstate);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 resultobj = SWIG_Py_Void();
6013 return resultobj;
6014 fail:
6015 return NULL;
6016 }
6017
6018
6019 SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6020 PyObject *resultobj = 0;
6021 wxComboBox *arg1 = (wxComboBox *) 0 ;
6022 long result;
6023 void *argp1 = 0 ;
6024 int res1 = 0 ;
6025 PyObject *swig_obj[1] ;
6026
6027 if (!args) SWIG_fail;
6028 swig_obj[0] = args;
6029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6030 if (!SWIG_IsOK(res1)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6032 }
6033 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6034 {
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate);
6038 if (PyErr_Occurred()) SWIG_fail;
6039 }
6040 resultobj = SWIG_From_long(static_cast< long >(result));
6041 return resultobj;
6042 fail:
6043 return NULL;
6044 }
6045
6046
6047 SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6048 PyObject *resultobj = 0;
6049 wxComboBox *arg1 = (wxComboBox *) 0 ;
6050 long result;
6051 void *argp1 = 0 ;
6052 int res1 = 0 ;
6053 PyObject *swig_obj[1] ;
6054
6055 if (!args) SWIG_fail;
6056 swig_obj[0] = args;
6057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6058 if (!SWIG_IsOK(res1)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6060 }
6061 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6062 {
6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
6064 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 }
6068 resultobj = SWIG_From_long(static_cast< long >(result));
6069 return resultobj;
6070 fail:
6071 return NULL;
6072 }
6073
6074
6075 SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6076 PyObject *resultobj = 0;
6077 wxComboBox *arg1 = (wxComboBox *) 0 ;
6078 long arg2 ;
6079 long arg3 ;
6080 wxString *arg4 = 0 ;
6081 void *argp1 = 0 ;
6082 int res1 = 0 ;
6083 long val2 ;
6084 int ecode2 = 0 ;
6085 long val3 ;
6086 int ecode3 = 0 ;
6087 bool temp4 = false ;
6088 PyObject * obj0 = 0 ;
6089 PyObject * obj1 = 0 ;
6090 PyObject * obj2 = 0 ;
6091 PyObject * obj3 = 0 ;
6092 char * kwnames[] = {
6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6094 };
6095
6096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6098 if (!SWIG_IsOK(res1)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6100 }
6101 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6102 ecode2 = SWIG_AsVal_long(obj1, &val2);
6103 if (!SWIG_IsOK(ecode2)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6105 }
6106 arg2 = static_cast< long >(val2);
6107 ecode3 = SWIG_AsVal_long(obj2, &val3);
6108 if (!SWIG_IsOK(ecode3)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6110 }
6111 arg3 = static_cast< long >(val3);
6112 {
6113 arg4 = wxString_in_helper(obj3);
6114 if (arg4 == NULL) SWIG_fail;
6115 temp4 = true;
6116 }
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 resultobj = SWIG_Py_Void();
6124 {
6125 if (temp4)
6126 delete arg4;
6127 }
6128 return resultobj;
6129 fail:
6130 {
6131 if (temp4)
6132 delete arg4;
6133 }
6134 return NULL;
6135 }
6136
6137
6138 SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj = 0;
6140 wxComboBox *arg1 = (wxComboBox *) 0 ;
6141 long arg2 ;
6142 long arg3 ;
6143 void *argp1 = 0 ;
6144 int res1 = 0 ;
6145 long val2 ;
6146 int ecode2 = 0 ;
6147 long val3 ;
6148 int ecode3 = 0 ;
6149 PyObject * obj0 = 0 ;
6150 PyObject * obj1 = 0 ;
6151 PyObject * obj2 = 0 ;
6152 char * kwnames[] = {
6153 (char *) "self",(char *) "from",(char *) "to", NULL
6154 };
6155
6156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6158 if (!SWIG_IsOK(res1)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6160 }
6161 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6162 ecode2 = SWIG_AsVal_long(obj1, &val2);
6163 if (!SWIG_IsOK(ecode2)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6165 }
6166 arg2 = static_cast< long >(val2);
6167 ecode3 = SWIG_AsVal_long(obj2, &val3);
6168 if (!SWIG_IsOK(ecode3)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6170 }
6171 arg3 = static_cast< long >(val3);
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->SetSelection(arg2,arg3);
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 resultobj = SWIG_Py_Void();
6179 return resultobj;
6180 fail:
6181 return NULL;
6182 }
6183
6184
6185 SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6186 PyObject *resultobj = 0;
6187 wxComboBox *arg1 = (wxComboBox *) 0 ;
6188 long *arg2 = (long *) 0 ;
6189 long *arg3 = (long *) 0 ;
6190 void *argp1 = 0 ;
6191 int res1 = 0 ;
6192 long temp2 ;
6193 int res2 = SWIG_TMPOBJ ;
6194 long temp3 ;
6195 int res3 = SWIG_TMPOBJ ;
6196 PyObject *swig_obj[1] ;
6197
6198 arg2 = &temp2;
6199 arg3 = &temp3;
6200 if (!args) SWIG_fail;
6201 swig_obj[0] = args;
6202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6203 if (!SWIG_IsOK(res1)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6205 }
6206 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6207 {
6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6209 (arg1)->GetSelection(arg2,arg3);
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 resultobj = SWIG_Py_Void();
6214 if (SWIG_IsTmpObj(res2)) {
6215 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6216 } else {
6217 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6218 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6219 }
6220 if (SWIG_IsTmpObj(res3)) {
6221 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6222 } else {
6223 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6224 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6225 }
6226 return resultobj;
6227 fail:
6228 return NULL;
6229 }
6230
6231
6232 SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6233 PyObject *resultobj = 0;
6234 wxComboBox *arg1 = (wxComboBox *) 0 ;
6235 int result;
6236 void *argp1 = 0 ;
6237 int res1 = 0 ;
6238 PyObject *swig_obj[1] ;
6239
6240 if (!args) SWIG_fail;
6241 swig_obj[0] = args;
6242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6243 if (!SWIG_IsOK(res1)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6245 }
6246 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 resultobj = SWIG_From_int(static_cast< int >(result));
6254 return resultobj;
6255 fail:
6256 return NULL;
6257 }
6258
6259
6260 SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj = 0;
6262 wxComboBox *arg1 = (wxComboBox *) 0 ;
6263 wxString *arg2 = 0 ;
6264 bool result;
6265 void *argp1 = 0 ;
6266 int res1 = 0 ;
6267 bool temp2 = false ;
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 char * kwnames[] = {
6271 (char *) "self",(char *) "string", NULL
6272 };
6273
6274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6276 if (!SWIG_IsOK(res1)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6278 }
6279 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6280 {
6281 arg2 = wxString_in_helper(obj1);
6282 if (arg2 == NULL) SWIG_fail;
6283 temp2 = true;
6284 }
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 {
6292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6293 }
6294 {
6295 if (temp2)
6296 delete arg2;
6297 }
6298 return resultobj;
6299 fail:
6300 {
6301 if (temp2)
6302 delete arg2;
6303 }
6304 return NULL;
6305 }
6306
6307
6308 SWIGINTERN PyObject *_wrap_ComboBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6309 PyObject *resultobj = 0;
6310 wxComboBox *arg1 = (wxComboBox *) 0 ;
6311 int arg2 ;
6312 wxString *arg3 = 0 ;
6313 void *argp1 = 0 ;
6314 int res1 = 0 ;
6315 int val2 ;
6316 int ecode2 = 0 ;
6317 bool temp3 = false ;
6318 PyObject * obj0 = 0 ;
6319 PyObject * obj1 = 0 ;
6320 PyObject * obj2 = 0 ;
6321 char * kwnames[] = {
6322 (char *) "self",(char *) "n",(char *) "string", NULL
6323 };
6324
6325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6327 if (!SWIG_IsOK(res1)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6329 }
6330 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6331 ecode2 = SWIG_AsVal_int(obj1, &val2);
6332 if (!SWIG_IsOK(ecode2)) {
6333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6334 }
6335 arg2 = static_cast< int >(val2);
6336 {
6337 arg3 = wxString_in_helper(obj2);
6338 if (arg3 == NULL) SWIG_fail;
6339 temp3 = true;
6340 }
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 (arg1)->SetString(arg2,(wxString const &)*arg3);
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
6347 resultobj = SWIG_Py_Void();
6348 {
6349 if (temp3)
6350 delete arg3;
6351 }
6352 return resultobj;
6353 fail:
6354 {
6355 if (temp3)
6356 delete arg3;
6357 }
6358 return NULL;
6359 }
6360
6361
6362 SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6363 PyObject *resultobj = 0;
6364 wxComboBox *arg1 = (wxComboBox *) 0 ;
6365 bool arg2 ;
6366 void *argp1 = 0 ;
6367 int res1 = 0 ;
6368 bool val2 ;
6369 int ecode2 = 0 ;
6370 PyObject * obj0 = 0 ;
6371 PyObject * obj1 = 0 ;
6372 char * kwnames[] = {
6373 (char *) "self",(char *) "editable", NULL
6374 };
6375
6376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6378 if (!SWIG_IsOK(res1)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6380 }
6381 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6382 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6383 if (!SWIG_IsOK(ecode2)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6385 }
6386 arg2 = static_cast< bool >(val2);
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 (arg1)->SetEditable(arg2);
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 resultobj = SWIG_Py_Void();
6394 return resultobj;
6395 fail:
6396 return NULL;
6397 }
6398
6399
6400 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6401 PyObject *resultobj = 0;
6402 wxComboBox *arg1 = (wxComboBox *) 0 ;
6403 void *argp1 = 0 ;
6404 int res1 = 0 ;
6405 PyObject *swig_obj[1] ;
6406
6407 if (!args) SWIG_fail;
6408 swig_obj[0] = args;
6409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6410 if (!SWIG_IsOK(res1)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6412 }
6413 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 (arg1)->SetInsertionPointEnd();
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 resultobj = SWIG_Py_Void();
6421 return resultobj;
6422 fail:
6423 return NULL;
6424 }
6425
6426
6427 SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6428 PyObject *resultobj = 0;
6429 wxComboBox *arg1 = (wxComboBox *) 0 ;
6430 long arg2 ;
6431 long arg3 ;
6432 void *argp1 = 0 ;
6433 int res1 = 0 ;
6434 long val2 ;
6435 int ecode2 = 0 ;
6436 long val3 ;
6437 int ecode3 = 0 ;
6438 PyObject * obj0 = 0 ;
6439 PyObject * obj1 = 0 ;
6440 PyObject * obj2 = 0 ;
6441 char * kwnames[] = {
6442 (char *) "self",(char *) "from",(char *) "to", NULL
6443 };
6444
6445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6447 if (!SWIG_IsOK(res1)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6449 }
6450 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6451 ecode2 = SWIG_AsVal_long(obj1, &val2);
6452 if (!SWIG_IsOK(ecode2)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6454 }
6455 arg2 = static_cast< long >(val2);
6456 ecode3 = SWIG_AsVal_long(obj2, &val3);
6457 if (!SWIG_IsOK(ecode3)) {
6458 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6459 }
6460 arg3 = static_cast< long >(val3);
6461 {
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 (arg1)->Remove(arg2,arg3);
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 resultobj = SWIG_Py_Void();
6468 return resultobj;
6469 fail:
6470 return NULL;
6471 }
6472
6473
6474 SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6475 PyObject *resultobj = 0;
6476 wxComboBox *arg1 = (wxComboBox *) 0 ;
6477 bool result;
6478 void *argp1 = 0 ;
6479 int res1 = 0 ;
6480 PyObject *swig_obj[1] ;
6481
6482 if (!args) SWIG_fail;
6483 swig_obj[0] = args;
6484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6485 if (!SWIG_IsOK(res1)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6487 }
6488 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6489 {
6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
6491 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) SWIG_fail;
6494 }
6495 {
6496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6497 }
6498 return resultobj;
6499 fail:
6500 return NULL;
6501 }
6502
6503
6504 SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6505 PyObject *resultobj = 0;
6506 wxComboBox *arg1 = (wxComboBox *) 0 ;
6507 void *argp1 = 0 ;
6508 int res1 = 0 ;
6509 PyObject *swig_obj[1] ;
6510
6511 if (!args) SWIG_fail;
6512 swig_obj[0] = args;
6513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6514 if (!SWIG_IsOK(res1)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6516 }
6517 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 (arg1)->Undo();
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 resultobj = SWIG_Py_Void();
6525 return resultobj;
6526 fail:
6527 return NULL;
6528 }
6529
6530
6531 SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6532 PyObject *resultobj = 0;
6533 wxComboBox *arg1 = (wxComboBox *) 0 ;
6534 void *argp1 = 0 ;
6535 int res1 = 0 ;
6536 PyObject *swig_obj[1] ;
6537
6538 if (!args) SWIG_fail;
6539 swig_obj[0] = args;
6540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6541 if (!SWIG_IsOK(res1)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6543 }
6544 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 (arg1)->Redo();
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 resultobj = SWIG_Py_Void();
6552 return resultobj;
6553 fail:
6554 return NULL;
6555 }
6556
6557
6558 SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6559 PyObject *resultobj = 0;
6560 wxComboBox *arg1 = (wxComboBox *) 0 ;
6561 void *argp1 = 0 ;
6562 int res1 = 0 ;
6563 PyObject *swig_obj[1] ;
6564
6565 if (!args) SWIG_fail;
6566 swig_obj[0] = args;
6567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6568 if (!SWIG_IsOK(res1)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6570 }
6571 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 (arg1)->SelectAll();
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 resultobj = SWIG_Py_Void();
6579 return resultobj;
6580 fail:
6581 return NULL;
6582 }
6583
6584
6585 SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6586 PyObject *resultobj = 0;
6587 wxComboBox *arg1 = (wxComboBox *) 0 ;
6588 bool result;
6589 void *argp1 = 0 ;
6590 int res1 = 0 ;
6591 PyObject *swig_obj[1] ;
6592
6593 if (!args) SWIG_fail;
6594 swig_obj[0] = args;
6595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6596 if (!SWIG_IsOK(res1)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6598 }
6599 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
6606 {
6607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6608 }
6609 return resultobj;
6610 fail:
6611 return NULL;
6612 }
6613
6614
6615 SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6616 PyObject *resultobj = 0;
6617 wxComboBox *arg1 = (wxComboBox *) 0 ;
6618 bool result;
6619 void *argp1 = 0 ;
6620 int res1 = 0 ;
6621 PyObject *swig_obj[1] ;
6622
6623 if (!args) SWIG_fail;
6624 swig_obj[0] = args;
6625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6626 if (!SWIG_IsOK(res1)) {
6627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6628 }
6629 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 result = (bool)((wxComboBox const *)arg1)->CanCut();
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 {
6637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6638 }
6639 return resultobj;
6640 fail:
6641 return NULL;
6642 }
6643
6644
6645 SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6646 PyObject *resultobj = 0;
6647 wxComboBox *arg1 = (wxComboBox *) 0 ;
6648 bool result;
6649 void *argp1 = 0 ;
6650 int res1 = 0 ;
6651 PyObject *swig_obj[1] ;
6652
6653 if (!args) SWIG_fail;
6654 swig_obj[0] = args;
6655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6656 if (!SWIG_IsOK(res1)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6658 }
6659 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6660 {
6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
6662 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6663 wxPyEndAllowThreads(__tstate);
6664 if (PyErr_Occurred()) SWIG_fail;
6665 }
6666 {
6667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6668 }
6669 return resultobj;
6670 fail:
6671 return NULL;
6672 }
6673
6674
6675 SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6676 PyObject *resultobj = 0;
6677 wxComboBox *arg1 = (wxComboBox *) 0 ;
6678 bool result;
6679 void *argp1 = 0 ;
6680 int res1 = 0 ;
6681 PyObject *swig_obj[1] ;
6682
6683 if (!args) SWIG_fail;
6684 swig_obj[0] = args;
6685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6686 if (!SWIG_IsOK(res1)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6688 }
6689 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6693 wxPyEndAllowThreads(__tstate);
6694 if (PyErr_Occurred()) SWIG_fail;
6695 }
6696 {
6697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6698 }
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6706 PyObject *resultobj = 0;
6707 wxComboBox *arg1 = (wxComboBox *) 0 ;
6708 bool result;
6709 void *argp1 = 0 ;
6710 int res1 = 0 ;
6711 PyObject *swig_obj[1] ;
6712
6713 if (!args) SWIG_fail;
6714 swig_obj[0] = args;
6715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6716 if (!SWIG_IsOK(res1)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6718 }
6719 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 {
6727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6728 }
6729 return resultobj;
6730 fail:
6731 return NULL;
6732 }
6733
6734
6735 SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6736 PyObject *resultobj = 0;
6737 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6738 SwigValueWrapper<wxVisualAttributes > result;
6739 int val1 ;
6740 int ecode1 = 0 ;
6741 PyObject * obj0 = 0 ;
6742 char * kwnames[] = {
6743 (char *) "variant", NULL
6744 };
6745
6746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6747 if (obj0) {
6748 ecode1 = SWIG_AsVal_int(obj0, &val1);
6749 if (!SWIG_IsOK(ecode1)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6751 }
6752 arg1 = static_cast< wxWindowVariant >(val1);
6753 }
6754 {
6755 if (!wxPyCheckForApp()) SWIG_fail;
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 result = wxComboBox::GetClassDefaultAttributes(arg1);
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6762 return resultobj;
6763 fail:
6764 return NULL;
6765 }
6766
6767
6768 SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6769 PyObject *obj;
6770 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6771 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6772 return SWIG_Py_Void();
6773 }
6774
6775 SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6776 return SWIG_Python_InitShadowInstance(args);
6777 }
6778
6779 SWIGINTERN int GaugeNameStr_set(PyObject *) {
6780 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6781 return 1;
6782 }
6783
6784
6785 SWIGINTERN PyObject *GaugeNameStr_get(void) {
6786 PyObject *pyobj = 0;
6787
6788 {
6789 #if wxUSE_UNICODE
6790 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6791 #else
6792 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6793 #endif
6794 }
6795 return pyobj;
6796 }
6797
6798
6799 SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6800 PyObject *resultobj = 0;
6801 wxWindow *arg1 = (wxWindow *) 0 ;
6802 int arg2 = (int) -1 ;
6803 int arg3 = (int) 100 ;
6804 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6805 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6806 wxSize const &arg5_defvalue = wxDefaultSize ;
6807 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6808 long arg6 = (long) wxGA_HORIZONTAL ;
6809 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6810 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6811 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6812 wxString *arg8 = (wxString *) &arg8_defvalue ;
6813 wxGauge *result = 0 ;
6814 void *argp1 = 0 ;
6815 int res1 = 0 ;
6816 int val2 ;
6817 int ecode2 = 0 ;
6818 int val3 ;
6819 int ecode3 = 0 ;
6820 wxPoint temp4 ;
6821 wxSize temp5 ;
6822 long val6 ;
6823 int ecode6 = 0 ;
6824 void *argp7 = 0 ;
6825 int res7 = 0 ;
6826 bool temp8 = false ;
6827 PyObject * obj0 = 0 ;
6828 PyObject * obj1 = 0 ;
6829 PyObject * obj2 = 0 ;
6830 PyObject * obj3 = 0 ;
6831 PyObject * obj4 = 0 ;
6832 PyObject * obj5 = 0 ;
6833 PyObject * obj6 = 0 ;
6834 PyObject * obj7 = 0 ;
6835 char * kwnames[] = {
6836 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6837 };
6838
6839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6841 if (!SWIG_IsOK(res1)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6843 }
6844 arg1 = reinterpret_cast< wxWindow * >(argp1);
6845 if (obj1) {
6846 ecode2 = SWIG_AsVal_int(obj1, &val2);
6847 if (!SWIG_IsOK(ecode2)) {
6848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6849 }
6850 arg2 = static_cast< int >(val2);
6851 }
6852 if (obj2) {
6853 ecode3 = SWIG_AsVal_int(obj2, &val3);
6854 if (!SWIG_IsOK(ecode3)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6856 }
6857 arg3 = static_cast< int >(val3);
6858 }
6859 if (obj3) {
6860 {
6861 arg4 = &temp4;
6862 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6863 }
6864 }
6865 if (obj4) {
6866 {
6867 arg5 = &temp5;
6868 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6869 }
6870 }
6871 if (obj5) {
6872 ecode6 = SWIG_AsVal_long(obj5, &val6);
6873 if (!SWIG_IsOK(ecode6)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6875 }
6876 arg6 = static_cast< long >(val6);
6877 }
6878 if (obj6) {
6879 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6880 if (!SWIG_IsOK(res7)) {
6881 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6882 }
6883 if (!argp7) {
6884 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6885 }
6886 arg7 = reinterpret_cast< wxValidator * >(argp7);
6887 }
6888 if (obj7) {
6889 {
6890 arg8 = wxString_in_helper(obj7);
6891 if (arg8 == NULL) SWIG_fail;
6892 temp8 = true;
6893 }
6894 }
6895 {
6896 if (!wxPyCheckForApp()) SWIG_fail;
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6903 {
6904 if (temp8)
6905 delete arg8;
6906 }
6907 return resultobj;
6908 fail:
6909 {
6910 if (temp8)
6911 delete arg8;
6912 }
6913 return NULL;
6914 }
6915
6916
6917 SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6918 PyObject *resultobj = 0;
6919 wxGauge *result = 0 ;
6920
6921 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6922 {
6923 if (!wxPyCheckForApp()) SWIG_fail;
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 result = (wxGauge *)new wxGauge();
6926 wxPyEndAllowThreads(__tstate);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
6929 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6930 return resultobj;
6931 fail:
6932 return NULL;
6933 }
6934
6935
6936 SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6937 PyObject *resultobj = 0;
6938 wxGauge *arg1 = (wxGauge *) 0 ;
6939 wxWindow *arg2 = (wxWindow *) 0 ;
6940 int arg3 = (int) -1 ;
6941 int arg4 = (int) 100 ;
6942 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6943 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6944 wxSize const &arg6_defvalue = wxDefaultSize ;
6945 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6946 long arg7 = (long) wxGA_HORIZONTAL ;
6947 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6948 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6949 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6950 wxString *arg9 = (wxString *) &arg9_defvalue ;
6951 bool result;
6952 void *argp1 = 0 ;
6953 int res1 = 0 ;
6954 void *argp2 = 0 ;
6955 int res2 = 0 ;
6956 int val3 ;
6957 int ecode3 = 0 ;
6958 int val4 ;
6959 int ecode4 = 0 ;
6960 wxPoint temp5 ;
6961 wxSize temp6 ;
6962 long val7 ;
6963 int ecode7 = 0 ;
6964 void *argp8 = 0 ;
6965 int res8 = 0 ;
6966 bool temp9 = false ;
6967 PyObject * obj0 = 0 ;
6968 PyObject * obj1 = 0 ;
6969 PyObject * obj2 = 0 ;
6970 PyObject * obj3 = 0 ;
6971 PyObject * obj4 = 0 ;
6972 PyObject * obj5 = 0 ;
6973 PyObject * obj6 = 0 ;
6974 PyObject * obj7 = 0 ;
6975 PyObject * obj8 = 0 ;
6976 char * kwnames[] = {
6977 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6978 };
6979
6980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6982 if (!SWIG_IsOK(res1)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6984 }
6985 arg1 = reinterpret_cast< wxGauge * >(argp1);
6986 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6987 if (!SWIG_IsOK(res2)) {
6988 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6989 }
6990 arg2 = reinterpret_cast< wxWindow * >(argp2);
6991 if (obj2) {
6992 ecode3 = SWIG_AsVal_int(obj2, &val3);
6993 if (!SWIG_IsOK(ecode3)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6995 }
6996 arg3 = static_cast< int >(val3);
6997 }
6998 if (obj3) {
6999 ecode4 = SWIG_AsVal_int(obj3, &val4);
7000 if (!SWIG_IsOK(ecode4)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7002 }
7003 arg4 = static_cast< int >(val4);
7004 }
7005 if (obj4) {
7006 {
7007 arg5 = &temp5;
7008 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7009 }
7010 }
7011 if (obj5) {
7012 {
7013 arg6 = &temp6;
7014 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7015 }
7016 }
7017 if (obj6) {
7018 ecode7 = SWIG_AsVal_long(obj6, &val7);
7019 if (!SWIG_IsOK(ecode7)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7021 }
7022 arg7 = static_cast< long >(val7);
7023 }
7024 if (obj7) {
7025 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
7026 if (!SWIG_IsOK(res8)) {
7027 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7028 }
7029 if (!argp8) {
7030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7031 }
7032 arg8 = reinterpret_cast< wxValidator * >(argp8);
7033 }
7034 if (obj8) {
7035 {
7036 arg9 = wxString_in_helper(obj8);
7037 if (arg9 == NULL) SWIG_fail;
7038 temp9 = true;
7039 }
7040 }
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 {
7048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7049 }
7050 {
7051 if (temp9)
7052 delete arg9;
7053 }
7054 return resultobj;
7055 fail:
7056 {
7057 if (temp9)
7058 delete arg9;
7059 }
7060 return NULL;
7061 }
7062
7063
7064 SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7065 PyObject *resultobj = 0;
7066 wxGauge *arg1 = (wxGauge *) 0 ;
7067 int arg2 ;
7068 void *argp1 = 0 ;
7069 int res1 = 0 ;
7070 int val2 ;
7071 int ecode2 = 0 ;
7072 PyObject * obj0 = 0 ;
7073 PyObject * obj1 = 0 ;
7074 char * kwnames[] = {
7075 (char *) "self",(char *) "range", NULL
7076 };
7077
7078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7080 if (!SWIG_IsOK(res1)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7082 }
7083 arg1 = reinterpret_cast< wxGauge * >(argp1);
7084 ecode2 = SWIG_AsVal_int(obj1, &val2);
7085 if (!SWIG_IsOK(ecode2)) {
7086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7087 }
7088 arg2 = static_cast< int >(val2);
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 (arg1)->SetRange(arg2);
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 resultobj = SWIG_Py_Void();
7096 return resultobj;
7097 fail:
7098 return NULL;
7099 }
7100
7101
7102 SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7103 PyObject *resultobj = 0;
7104 wxGauge *arg1 = (wxGauge *) 0 ;
7105 int result;
7106 void *argp1 = 0 ;
7107 int res1 = 0 ;
7108 PyObject *swig_obj[1] ;
7109
7110 if (!args) SWIG_fail;
7111 swig_obj[0] = args;
7112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7113 if (!SWIG_IsOK(res1)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7115 }
7116 arg1 = reinterpret_cast< wxGauge * >(argp1);
7117 {
7118 PyThreadState* __tstate = wxPyBeginAllowThreads();
7119 result = (int)((wxGauge const *)arg1)->GetRange();
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 }
7123 resultobj = SWIG_From_int(static_cast< int >(result));
7124 return resultobj;
7125 fail:
7126 return NULL;
7127 }
7128
7129
7130 SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7131 PyObject *resultobj = 0;
7132 wxGauge *arg1 = (wxGauge *) 0 ;
7133 int arg2 ;
7134 void *argp1 = 0 ;
7135 int res1 = 0 ;
7136 int val2 ;
7137 int ecode2 = 0 ;
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 char * kwnames[] = {
7141 (char *) "self",(char *) "pos", NULL
7142 };
7143
7144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7146 if (!SWIG_IsOK(res1)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7148 }
7149 arg1 = reinterpret_cast< wxGauge * >(argp1);
7150 ecode2 = SWIG_AsVal_int(obj1, &val2);
7151 if (!SWIG_IsOK(ecode2)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7153 }
7154 arg2 = static_cast< int >(val2);
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 (arg1)->SetValue(arg2);
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 resultobj = SWIG_Py_Void();
7162 return resultobj;
7163 fail:
7164 return NULL;
7165 }
7166
7167
7168 SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7169 PyObject *resultobj = 0;
7170 wxGauge *arg1 = (wxGauge *) 0 ;
7171 int result;
7172 void *argp1 = 0 ;
7173 int res1 = 0 ;
7174 PyObject *swig_obj[1] ;
7175
7176 if (!args) SWIG_fail;
7177 swig_obj[0] = args;
7178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7179 if (!SWIG_IsOK(res1)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7181 }
7182 arg1 = reinterpret_cast< wxGauge * >(argp1);
7183 {
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 result = (int)((wxGauge const *)arg1)->GetValue();
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 }
7189 resultobj = SWIG_From_int(static_cast< int >(result));
7190 return resultobj;
7191 fail:
7192 return NULL;
7193 }
7194
7195
7196 SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7197 PyObject *resultobj = 0;
7198 wxGauge *arg1 = (wxGauge *) 0 ;
7199 void *argp1 = 0 ;
7200 int res1 = 0 ;
7201 PyObject *swig_obj[1] ;
7202
7203 if (!args) SWIG_fail;
7204 swig_obj[0] = args;
7205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7206 if (!SWIG_IsOK(res1)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7208 }
7209 arg1 = reinterpret_cast< wxGauge * >(argp1);
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 (arg1)->Pulse();
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 resultobj = SWIG_Py_Void();
7217 return resultobj;
7218 fail:
7219 return NULL;
7220 }
7221
7222
7223 SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7224 PyObject *resultobj = 0;
7225 wxGauge *arg1 = (wxGauge *) 0 ;
7226 bool result;
7227 void *argp1 = 0 ;
7228 int res1 = 0 ;
7229 PyObject *swig_obj[1] ;
7230
7231 if (!args) SWIG_fail;
7232 swig_obj[0] = args;
7233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7234 if (!SWIG_IsOK(res1)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7236 }
7237 arg1 = reinterpret_cast< wxGauge * >(argp1);
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 result = (bool)((wxGauge const *)arg1)->IsVertical();
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 {
7245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7246 }
7247 return resultobj;
7248 fail:
7249 return NULL;
7250 }
7251
7252
7253 SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj = 0;
7255 wxGauge *arg1 = (wxGauge *) 0 ;
7256 int arg2 ;
7257 void *argp1 = 0 ;
7258 int res1 = 0 ;
7259 int val2 ;
7260 int ecode2 = 0 ;
7261 PyObject * obj0 = 0 ;
7262 PyObject * obj1 = 0 ;
7263 char * kwnames[] = {
7264 (char *) "self",(char *) "w", NULL
7265 };
7266
7267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7269 if (!SWIG_IsOK(res1)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7271 }
7272 arg1 = reinterpret_cast< wxGauge * >(argp1);
7273 ecode2 = SWIG_AsVal_int(obj1, &val2);
7274 if (!SWIG_IsOK(ecode2)) {
7275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7276 }
7277 arg2 = static_cast< int >(val2);
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 (arg1)->SetShadowWidth(arg2);
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 resultobj = SWIG_Py_Void();
7285 return resultobj;
7286 fail:
7287 return NULL;
7288 }
7289
7290
7291 SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7292 PyObject *resultobj = 0;
7293 wxGauge *arg1 = (wxGauge *) 0 ;
7294 int result;
7295 void *argp1 = 0 ;
7296 int res1 = 0 ;
7297 PyObject *swig_obj[1] ;
7298
7299 if (!args) SWIG_fail;
7300 swig_obj[0] = args;
7301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7302 if (!SWIG_IsOK(res1)) {
7303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7304 }
7305 arg1 = reinterpret_cast< wxGauge * >(argp1);
7306 {
7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7308 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7309 wxPyEndAllowThreads(__tstate);
7310 if (PyErr_Occurred()) SWIG_fail;
7311 }
7312 resultobj = SWIG_From_int(static_cast< int >(result));
7313 return resultobj;
7314 fail:
7315 return NULL;
7316 }
7317
7318
7319 SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj = 0;
7321 wxGauge *arg1 = (wxGauge *) 0 ;
7322 int arg2 ;
7323 void *argp1 = 0 ;
7324 int res1 = 0 ;
7325 int val2 ;
7326 int ecode2 = 0 ;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
7329 char * kwnames[] = {
7330 (char *) "self",(char *) "w", NULL
7331 };
7332
7333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7335 if (!SWIG_IsOK(res1)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7337 }
7338 arg1 = reinterpret_cast< wxGauge * >(argp1);
7339 ecode2 = SWIG_AsVal_int(obj1, &val2);
7340 if (!SWIG_IsOK(ecode2)) {
7341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7342 }
7343 arg2 = static_cast< int >(val2);
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 (arg1)->SetBezelFace(arg2);
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 resultobj = SWIG_Py_Void();
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7358 PyObject *resultobj = 0;
7359 wxGauge *arg1 = (wxGauge *) 0 ;
7360 int result;
7361 void *argp1 = 0 ;
7362 int res1 = 0 ;
7363 PyObject *swig_obj[1] ;
7364
7365 if (!args) SWIG_fail;
7366 swig_obj[0] = args;
7367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7368 if (!SWIG_IsOK(res1)) {
7369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7370 }
7371 arg1 = reinterpret_cast< wxGauge * >(argp1);
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
7378 resultobj = SWIG_From_int(static_cast< int >(result));
7379 return resultobj;
7380 fail:
7381 return NULL;
7382 }
7383
7384
7385 SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj = 0;
7387 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7388 SwigValueWrapper<wxVisualAttributes > result;
7389 int val1 ;
7390 int ecode1 = 0 ;
7391 PyObject * obj0 = 0 ;
7392 char * kwnames[] = {
7393 (char *) "variant", NULL
7394 };
7395
7396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7397 if (obj0) {
7398 ecode1 = SWIG_AsVal_int(obj0, &val1);
7399 if (!SWIG_IsOK(ecode1)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7401 }
7402 arg1 = static_cast< wxWindowVariant >(val1);
7403 }
7404 {
7405 if (!wxPyCheckForApp()) SWIG_fail;
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 result = wxGauge::GetClassDefaultAttributes(arg1);
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7412 return resultobj;
7413 fail:
7414 return NULL;
7415 }
7416
7417
7418 SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7419 PyObject *obj;
7420 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7421 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7422 return SWIG_Py_Void();
7423 }
7424
7425 SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7426 return SWIG_Python_InitShadowInstance(args);
7427 }
7428
7429 SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7430 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7431 return 1;
7432 }
7433
7434
7435 SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7436 PyObject *pyobj = 0;
7437
7438 {
7439 #if wxUSE_UNICODE
7440 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7441 #else
7442 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7443 #endif
7444 }
7445 return pyobj;
7446 }
7447
7448
7449 SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7450 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7451 return 1;
7452 }
7453
7454
7455 SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7456 PyObject *pyobj = 0;
7457
7458 {
7459 #if wxUSE_UNICODE
7460 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7461 #else
7462 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7463 #endif
7464 }
7465 return pyobj;
7466 }
7467
7468
7469 SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7470 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7471 return 1;
7472 }
7473
7474
7475 SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7476 PyObject *pyobj = 0;
7477
7478 {
7479 #if wxUSE_UNICODE
7480 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7481 #else
7482 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7483 #endif
7484 }
7485 return pyobj;
7486 }
7487
7488
7489 SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7490 PyObject *resultobj = 0;
7491 wxWindow *arg1 = (wxWindow *) 0 ;
7492 int arg2 = (int) -1 ;
7493 wxString const &arg3_defvalue = wxPyEmptyString ;
7494 wxString *arg3 = (wxString *) &arg3_defvalue ;
7495 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7496 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7497 wxSize const &arg5_defvalue = wxDefaultSize ;
7498 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7499 long arg6 = (long) 0 ;
7500 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7501 wxString *arg7 = (wxString *) &arg7_defvalue ;
7502 wxStaticBox *result = 0 ;
7503 void *argp1 = 0 ;
7504 int res1 = 0 ;
7505 int val2 ;
7506 int ecode2 = 0 ;
7507 bool temp3 = false ;
7508 wxPoint temp4 ;
7509 wxSize temp5 ;
7510 long val6 ;
7511 int ecode6 = 0 ;
7512 bool temp7 = false ;
7513 PyObject * obj0 = 0 ;
7514 PyObject * obj1 = 0 ;
7515 PyObject * obj2 = 0 ;
7516 PyObject * obj3 = 0 ;
7517 PyObject * obj4 = 0 ;
7518 PyObject * obj5 = 0 ;
7519 PyObject * obj6 = 0 ;
7520 char * kwnames[] = {
7521 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7522 };
7523
7524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7526 if (!SWIG_IsOK(res1)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7528 }
7529 arg1 = reinterpret_cast< wxWindow * >(argp1);
7530 if (obj1) {
7531 ecode2 = SWIG_AsVal_int(obj1, &val2);
7532 if (!SWIG_IsOK(ecode2)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7534 }
7535 arg2 = static_cast< int >(val2);
7536 }
7537 if (obj2) {
7538 {
7539 arg3 = wxString_in_helper(obj2);
7540 if (arg3 == NULL) SWIG_fail;
7541 temp3 = true;
7542 }
7543 }
7544 if (obj3) {
7545 {
7546 arg4 = &temp4;
7547 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7548 }
7549 }
7550 if (obj4) {
7551 {
7552 arg5 = &temp5;
7553 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7554 }
7555 }
7556 if (obj5) {
7557 ecode6 = SWIG_AsVal_long(obj5, &val6);
7558 if (!SWIG_IsOK(ecode6)) {
7559 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7560 }
7561 arg6 = static_cast< long >(val6);
7562 }
7563 if (obj6) {
7564 {
7565 arg7 = wxString_in_helper(obj6);
7566 if (arg7 == NULL) SWIG_fail;
7567 temp7 = true;
7568 }
7569 }
7570 {
7571 if (!wxPyCheckForApp()) SWIG_fail;
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7578 {
7579 if (temp3)
7580 delete arg3;
7581 }
7582 {
7583 if (temp7)
7584 delete arg7;
7585 }
7586 return resultobj;
7587 fail:
7588 {
7589 if (temp3)
7590 delete arg3;
7591 }
7592 {
7593 if (temp7)
7594 delete arg7;
7595 }
7596 return NULL;
7597 }
7598
7599
7600 SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7601 PyObject *resultobj = 0;
7602 wxStaticBox *result = 0 ;
7603
7604 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7605 {
7606 if (!wxPyCheckForApp()) SWIG_fail;
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 result = (wxStaticBox *)new wxStaticBox();
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7613 return resultobj;
7614 fail:
7615 return NULL;
7616 }
7617
7618
7619 SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj = 0;
7621 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7622 wxWindow *arg2 = (wxWindow *) 0 ;
7623 int arg3 = (int) -1 ;
7624 wxString const &arg4_defvalue = wxPyEmptyString ;
7625 wxString *arg4 = (wxString *) &arg4_defvalue ;
7626 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7627 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7628 wxSize const &arg6_defvalue = wxDefaultSize ;
7629 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7630 long arg7 = (long) 0 ;
7631 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7632 wxString *arg8 = (wxString *) &arg8_defvalue ;
7633 bool result;
7634 void *argp1 = 0 ;
7635 int res1 = 0 ;
7636 void *argp2 = 0 ;
7637 int res2 = 0 ;
7638 int val3 ;
7639 int ecode3 = 0 ;
7640 bool temp4 = false ;
7641 wxPoint temp5 ;
7642 wxSize temp6 ;
7643 long val7 ;
7644 int ecode7 = 0 ;
7645 bool temp8 = false ;
7646 PyObject * obj0 = 0 ;
7647 PyObject * obj1 = 0 ;
7648 PyObject * obj2 = 0 ;
7649 PyObject * obj3 = 0 ;
7650 PyObject * obj4 = 0 ;
7651 PyObject * obj5 = 0 ;
7652 PyObject * obj6 = 0 ;
7653 PyObject * obj7 = 0 ;
7654 char * kwnames[] = {
7655 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7656 };
7657
7658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7660 if (!SWIG_IsOK(res1)) {
7661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7662 }
7663 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7664 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7665 if (!SWIG_IsOK(res2)) {
7666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7667 }
7668 arg2 = reinterpret_cast< wxWindow * >(argp2);
7669 if (obj2) {
7670 ecode3 = SWIG_AsVal_int(obj2, &val3);
7671 if (!SWIG_IsOK(ecode3)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7673 }
7674 arg3 = static_cast< int >(val3);
7675 }
7676 if (obj3) {
7677 {
7678 arg4 = wxString_in_helper(obj3);
7679 if (arg4 == NULL) SWIG_fail;
7680 temp4 = true;
7681 }
7682 }
7683 if (obj4) {
7684 {
7685 arg5 = &temp5;
7686 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7687 }
7688 }
7689 if (obj5) {
7690 {
7691 arg6 = &temp6;
7692 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7693 }
7694 }
7695 if (obj6) {
7696 ecode7 = SWIG_AsVal_long(obj6, &val7);
7697 if (!SWIG_IsOK(ecode7)) {
7698 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7699 }
7700 arg7 = static_cast< long >(val7);
7701 }
7702 if (obj7) {
7703 {
7704 arg8 = wxString_in_helper(obj7);
7705 if (arg8 == NULL) SWIG_fail;
7706 temp8 = true;
7707 }
7708 }
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 {
7716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7717 }
7718 {
7719 if (temp4)
7720 delete arg4;
7721 }
7722 {
7723 if (temp8)
7724 delete arg8;
7725 }
7726 return resultobj;
7727 fail:
7728 {
7729 if (temp4)
7730 delete arg4;
7731 }
7732 {
7733 if (temp8)
7734 delete arg8;
7735 }
7736 return NULL;
7737 }
7738
7739
7740 SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7741 PyObject *resultobj = 0;
7742 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7743 SwigValueWrapper<wxVisualAttributes > result;
7744 int val1 ;
7745 int ecode1 = 0 ;
7746 PyObject * obj0 = 0 ;
7747 char * kwnames[] = {
7748 (char *) "variant", NULL
7749 };
7750
7751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7752 if (obj0) {
7753 ecode1 = SWIG_AsVal_int(obj0, &val1);
7754 if (!SWIG_IsOK(ecode1)) {
7755 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7756 }
7757 arg1 = static_cast< wxWindowVariant >(val1);
7758 }
7759 {
7760 if (!wxPyCheckForApp()) SWIG_fail;
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7767 return resultobj;
7768 fail:
7769 return NULL;
7770 }
7771
7772
7773 SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7774 PyObject *obj;
7775 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7776 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7777 return SWIG_Py_Void();
7778 }
7779
7780 SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7781 return SWIG_Python_InitShadowInstance(args);
7782 }
7783
7784 SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj = 0;
7786 wxWindow *arg1 = (wxWindow *) 0 ;
7787 int arg2 = (int) -1 ;
7788 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7789 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7790 wxSize const &arg4_defvalue = wxDefaultSize ;
7791 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7792 long arg5 = (long) wxLI_HORIZONTAL ;
7793 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
7794 wxString *arg6 = (wxString *) &arg6_defvalue ;
7795 wxStaticLine *result = 0 ;
7796 void *argp1 = 0 ;
7797 int res1 = 0 ;
7798 int val2 ;
7799 int ecode2 = 0 ;
7800 wxPoint temp3 ;
7801 wxSize temp4 ;
7802 long val5 ;
7803 int ecode5 = 0 ;
7804 bool temp6 = false ;
7805 PyObject * obj0 = 0 ;
7806 PyObject * obj1 = 0 ;
7807 PyObject * obj2 = 0 ;
7808 PyObject * obj3 = 0 ;
7809 PyObject * obj4 = 0 ;
7810 PyObject * obj5 = 0 ;
7811 char * kwnames[] = {
7812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7813 };
7814
7815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7817 if (!SWIG_IsOK(res1)) {
7818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7819 }
7820 arg1 = reinterpret_cast< wxWindow * >(argp1);
7821 if (obj1) {
7822 ecode2 = SWIG_AsVal_int(obj1, &val2);
7823 if (!SWIG_IsOK(ecode2)) {
7824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7825 }
7826 arg2 = static_cast< int >(val2);
7827 }
7828 if (obj2) {
7829 {
7830 arg3 = &temp3;
7831 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7832 }
7833 }
7834 if (obj3) {
7835 {
7836 arg4 = &temp4;
7837 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7838 }
7839 }
7840 if (obj4) {
7841 ecode5 = SWIG_AsVal_long(obj4, &val5);
7842 if (!SWIG_IsOK(ecode5)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7844 }
7845 arg5 = static_cast< long >(val5);
7846 }
7847 if (obj5) {
7848 {
7849 arg6 = wxString_in_helper(obj5);
7850 if (arg6 == NULL) SWIG_fail;
7851 temp6 = true;
7852 }
7853 }
7854 {
7855 if (!wxPyCheckForApp()) SWIG_fail;
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7862 {
7863 if (temp6)
7864 delete arg6;
7865 }
7866 return resultobj;
7867 fail:
7868 {
7869 if (temp6)
7870 delete arg6;
7871 }
7872 return NULL;
7873 }
7874
7875
7876 SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7877 PyObject *resultobj = 0;
7878 wxStaticLine *result = 0 ;
7879
7880 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7881 {
7882 if (!wxPyCheckForApp()) SWIG_fail;
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 result = (wxStaticLine *)new wxStaticLine();
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7889 return resultobj;
7890 fail:
7891 return NULL;
7892 }
7893
7894
7895 SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7896 PyObject *resultobj = 0;
7897 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7898 wxWindow *arg2 = (wxWindow *) 0 ;
7899 int arg3 = (int) -1 ;
7900 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7901 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7902 wxSize const &arg5_defvalue = wxDefaultSize ;
7903 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7904 long arg6 = (long) wxLI_HORIZONTAL ;
7905 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
7906 wxString *arg7 = (wxString *) &arg7_defvalue ;
7907 bool result;
7908 void *argp1 = 0 ;
7909 int res1 = 0 ;
7910 void *argp2 = 0 ;
7911 int res2 = 0 ;
7912 int val3 ;
7913 int ecode3 = 0 ;
7914 wxPoint temp4 ;
7915 wxSize temp5 ;
7916 long val6 ;
7917 int ecode6 = 0 ;
7918 bool temp7 = false ;
7919 PyObject * obj0 = 0 ;
7920 PyObject * obj1 = 0 ;
7921 PyObject * obj2 = 0 ;
7922 PyObject * obj3 = 0 ;
7923 PyObject * obj4 = 0 ;
7924 PyObject * obj5 = 0 ;
7925 PyObject * obj6 = 0 ;
7926 char * kwnames[] = {
7927 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7928 };
7929
7930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7932 if (!SWIG_IsOK(res1)) {
7933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7934 }
7935 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7936 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7937 if (!SWIG_IsOK(res2)) {
7938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7939 }
7940 arg2 = reinterpret_cast< wxWindow * >(argp2);
7941 if (obj2) {
7942 ecode3 = SWIG_AsVal_int(obj2, &val3);
7943 if (!SWIG_IsOK(ecode3)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7945 }
7946 arg3 = static_cast< int >(val3);
7947 }
7948 if (obj3) {
7949 {
7950 arg4 = &temp4;
7951 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7952 }
7953 }
7954 if (obj4) {
7955 {
7956 arg5 = &temp5;
7957 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7958 }
7959 }
7960 if (obj5) {
7961 ecode6 = SWIG_AsVal_long(obj5, &val6);
7962 if (!SWIG_IsOK(ecode6)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7964 }
7965 arg6 = static_cast< long >(val6);
7966 }
7967 if (obj6) {
7968 {
7969 arg7 = wxString_in_helper(obj6);
7970 if (arg7 == NULL) SWIG_fail;
7971 temp7 = true;
7972 }
7973 }
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7977 wxPyEndAllowThreads(__tstate);
7978 if (PyErr_Occurred()) SWIG_fail;
7979 }
7980 {
7981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7982 }
7983 {
7984 if (temp7)
7985 delete arg7;
7986 }
7987 return resultobj;
7988 fail:
7989 {
7990 if (temp7)
7991 delete arg7;
7992 }
7993 return NULL;
7994 }
7995
7996
7997 SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7998 PyObject *resultobj = 0;
7999 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
8000 bool result;
8001 void *argp1 = 0 ;
8002 int res1 = 0 ;
8003 PyObject *swig_obj[1] ;
8004
8005 if (!args) SWIG_fail;
8006 swig_obj[0] = args;
8007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
8008 if (!SWIG_IsOK(res1)) {
8009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8010 }
8011 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
8015 wxPyEndAllowThreads(__tstate);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 {
8019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8020 }
8021 return resultobj;
8022 fail:
8023 return NULL;
8024 }
8025
8026
8027 SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8028 PyObject *resultobj = 0;
8029 int result;
8030
8031 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = (int)wxStaticLine::GetDefaultSize();
8035 wxPyEndAllowThreads(__tstate);
8036 if (PyErr_Occurred()) SWIG_fail;
8037 }
8038 resultobj = SWIG_From_int(static_cast< int >(result));
8039 return resultobj;
8040 fail:
8041 return NULL;
8042 }
8043
8044
8045 SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8046 PyObject *resultobj = 0;
8047 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8048 SwigValueWrapper<wxVisualAttributes > result;
8049 int val1 ;
8050 int ecode1 = 0 ;
8051 PyObject * obj0 = 0 ;
8052 char * kwnames[] = {
8053 (char *) "variant", NULL
8054 };
8055
8056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8057 if (obj0) {
8058 ecode1 = SWIG_AsVal_int(obj0, &val1);
8059 if (!SWIG_IsOK(ecode1)) {
8060 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8061 }
8062 arg1 = static_cast< wxWindowVariant >(val1);
8063 }
8064 {
8065 if (!wxPyCheckForApp()) SWIG_fail;
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8072 return resultobj;
8073 fail:
8074 return NULL;
8075 }
8076
8077
8078 SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8079 PyObject *obj;
8080 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8081 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8082 return SWIG_Py_Void();
8083 }
8084
8085 SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8086 return SWIG_Python_InitShadowInstance(args);
8087 }
8088
8089 SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8090 PyObject *resultobj = 0;
8091 wxWindow *arg1 = (wxWindow *) 0 ;
8092 int arg2 = (int) -1 ;
8093 wxString const &arg3_defvalue = wxPyEmptyString ;
8094 wxString *arg3 = (wxString *) &arg3_defvalue ;
8095 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8096 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8097 wxSize const &arg5_defvalue = wxDefaultSize ;
8098 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8099 long arg6 = (long) 0 ;
8100 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8101 wxString *arg7 = (wxString *) &arg7_defvalue ;
8102 wxStaticText *result = 0 ;
8103 void *argp1 = 0 ;
8104 int res1 = 0 ;
8105 int val2 ;
8106 int ecode2 = 0 ;
8107 bool temp3 = false ;
8108 wxPoint temp4 ;
8109 wxSize temp5 ;
8110 long val6 ;
8111 int ecode6 = 0 ;
8112 bool temp7 = false ;
8113 PyObject * obj0 = 0 ;
8114 PyObject * obj1 = 0 ;
8115 PyObject * obj2 = 0 ;
8116 PyObject * obj3 = 0 ;
8117 PyObject * obj4 = 0 ;
8118 PyObject * obj5 = 0 ;
8119 PyObject * obj6 = 0 ;
8120 char * kwnames[] = {
8121 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8122 };
8123
8124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8126 if (!SWIG_IsOK(res1)) {
8127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8128 }
8129 arg1 = reinterpret_cast< wxWindow * >(argp1);
8130 if (obj1) {
8131 ecode2 = SWIG_AsVal_int(obj1, &val2);
8132 if (!SWIG_IsOK(ecode2)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8134 }
8135 arg2 = static_cast< int >(val2);
8136 }
8137 if (obj2) {
8138 {
8139 arg3 = wxString_in_helper(obj2);
8140 if (arg3 == NULL) SWIG_fail;
8141 temp3 = true;
8142 }
8143 }
8144 if (obj3) {
8145 {
8146 arg4 = &temp4;
8147 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8148 }
8149 }
8150 if (obj4) {
8151 {
8152 arg5 = &temp5;
8153 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8154 }
8155 }
8156 if (obj5) {
8157 ecode6 = SWIG_AsVal_long(obj5, &val6);
8158 if (!SWIG_IsOK(ecode6)) {
8159 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8160 }
8161 arg6 = static_cast< long >(val6);
8162 }
8163 if (obj6) {
8164 {
8165 arg7 = wxString_in_helper(obj6);
8166 if (arg7 == NULL) SWIG_fail;
8167 temp7 = true;
8168 }
8169 }
8170 {
8171 if (!wxPyCheckForApp()) SWIG_fail;
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8178 {
8179 if (temp3)
8180 delete arg3;
8181 }
8182 {
8183 if (temp7)
8184 delete arg7;
8185 }
8186 return resultobj;
8187 fail:
8188 {
8189 if (temp3)
8190 delete arg3;
8191 }
8192 {
8193 if (temp7)
8194 delete arg7;
8195 }
8196 return NULL;
8197 }
8198
8199
8200 SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8201 PyObject *resultobj = 0;
8202 wxStaticText *result = 0 ;
8203
8204 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8205 {
8206 if (!wxPyCheckForApp()) SWIG_fail;
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 result = (wxStaticText *)new wxStaticText();
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8213 return resultobj;
8214 fail:
8215 return NULL;
8216 }
8217
8218
8219 SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj = 0;
8221 wxStaticText *arg1 = (wxStaticText *) 0 ;
8222 wxWindow *arg2 = (wxWindow *) 0 ;
8223 int arg3 = (int) -1 ;
8224 wxString const &arg4_defvalue = wxPyEmptyString ;
8225 wxString *arg4 = (wxString *) &arg4_defvalue ;
8226 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8227 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8228 wxSize const &arg6_defvalue = wxDefaultSize ;
8229 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8230 long arg7 = (long) 0 ;
8231 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8232 wxString *arg8 = (wxString *) &arg8_defvalue ;
8233 bool result;
8234 void *argp1 = 0 ;
8235 int res1 = 0 ;
8236 void *argp2 = 0 ;
8237 int res2 = 0 ;
8238 int val3 ;
8239 int ecode3 = 0 ;
8240 bool temp4 = false ;
8241 wxPoint temp5 ;
8242 wxSize temp6 ;
8243 long val7 ;
8244 int ecode7 = 0 ;
8245 bool temp8 = false ;
8246 PyObject * obj0 = 0 ;
8247 PyObject * obj1 = 0 ;
8248 PyObject * obj2 = 0 ;
8249 PyObject * obj3 = 0 ;
8250 PyObject * obj4 = 0 ;
8251 PyObject * obj5 = 0 ;
8252 PyObject * obj6 = 0 ;
8253 PyObject * obj7 = 0 ;
8254 char * kwnames[] = {
8255 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8256 };
8257
8258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8260 if (!SWIG_IsOK(res1)) {
8261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8262 }
8263 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8264 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8265 if (!SWIG_IsOK(res2)) {
8266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8267 }
8268 arg2 = reinterpret_cast< wxWindow * >(argp2);
8269 if (obj2) {
8270 ecode3 = SWIG_AsVal_int(obj2, &val3);
8271 if (!SWIG_IsOK(ecode3)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8273 }
8274 arg3 = static_cast< int >(val3);
8275 }
8276 if (obj3) {
8277 {
8278 arg4 = wxString_in_helper(obj3);
8279 if (arg4 == NULL) SWIG_fail;
8280 temp4 = true;
8281 }
8282 }
8283 if (obj4) {
8284 {
8285 arg5 = &temp5;
8286 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8287 }
8288 }
8289 if (obj5) {
8290 {
8291 arg6 = &temp6;
8292 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8293 }
8294 }
8295 if (obj6) {
8296 ecode7 = SWIG_AsVal_long(obj6, &val7);
8297 if (!SWIG_IsOK(ecode7)) {
8298 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8299 }
8300 arg7 = static_cast< long >(val7);
8301 }
8302 if (obj7) {
8303 {
8304 arg8 = wxString_in_helper(obj7);
8305 if (arg8 == NULL) SWIG_fail;
8306 temp8 = true;
8307 }
8308 }
8309 {
8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
8311 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8312 wxPyEndAllowThreads(__tstate);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 }
8315 {
8316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8317 }
8318 {
8319 if (temp4)
8320 delete arg4;
8321 }
8322 {
8323 if (temp8)
8324 delete arg8;
8325 }
8326 return resultobj;
8327 fail:
8328 {
8329 if (temp4)
8330 delete arg4;
8331 }
8332 {
8333 if (temp8)
8334 delete arg8;
8335 }
8336 return NULL;
8337 }
8338
8339
8340 SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8341 PyObject *resultobj = 0;
8342 wxStaticText *arg1 = (wxStaticText *) 0 ;
8343 int arg2 ;
8344 void *argp1 = 0 ;
8345 int res1 = 0 ;
8346 int val2 ;
8347 int ecode2 = 0 ;
8348 PyObject * obj0 = 0 ;
8349 PyObject * obj1 = 0 ;
8350 char * kwnames[] = {
8351 (char *) "self",(char *) "width", NULL
8352 };
8353
8354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8356 if (!SWIG_IsOK(res1)) {
8357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8358 }
8359 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8360 ecode2 = SWIG_AsVal_int(obj1, &val2);
8361 if (!SWIG_IsOK(ecode2)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8363 }
8364 arg2 = static_cast< int >(val2);
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 (arg1)->Wrap(arg2);
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 resultobj = SWIG_Py_Void();
8372 return resultobj;
8373 fail:
8374 return NULL;
8375 }
8376
8377
8378 SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8379 PyObject *resultobj = 0;
8380 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8381 SwigValueWrapper<wxVisualAttributes > result;
8382 int val1 ;
8383 int ecode1 = 0 ;
8384 PyObject * obj0 = 0 ;
8385 char * kwnames[] = {
8386 (char *) "variant", NULL
8387 };
8388
8389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8390 if (obj0) {
8391 ecode1 = SWIG_AsVal_int(obj0, &val1);
8392 if (!SWIG_IsOK(ecode1)) {
8393 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8394 }
8395 arg1 = static_cast< wxWindowVariant >(val1);
8396 }
8397 {
8398 if (!wxPyCheckForApp()) SWIG_fail;
8399 PyThreadState* __tstate = wxPyBeginAllowThreads();
8400 result = wxStaticText::GetClassDefaultAttributes(arg1);
8401 wxPyEndAllowThreads(__tstate);
8402 if (PyErr_Occurred()) SWIG_fail;
8403 }
8404 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8405 return resultobj;
8406 fail:
8407 return NULL;
8408 }
8409
8410
8411 SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8412 PyObject *obj;
8413 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8414 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8415 return SWIG_Py_Void();
8416 }
8417
8418 SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8419 return SWIG_Python_InitShadowInstance(args);
8420 }
8421
8422 SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj = 0;
8424 wxWindow *arg1 = (wxWindow *) 0 ;
8425 int arg2 = (int) -1 ;
8426 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8427 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8430 wxSize const &arg5_defvalue = wxDefaultSize ;
8431 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8432 long arg6 = (long) 0 ;
8433 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8434 wxString *arg7 = (wxString *) &arg7_defvalue ;
8435 wxStaticBitmap *result = 0 ;
8436 void *argp1 = 0 ;
8437 int res1 = 0 ;
8438 int val2 ;
8439 int ecode2 = 0 ;
8440 void *argp3 = 0 ;
8441 int res3 = 0 ;
8442 wxPoint temp4 ;
8443 wxSize temp5 ;
8444 long val6 ;
8445 int ecode6 = 0 ;
8446 bool temp7 = false ;
8447 PyObject * obj0 = 0 ;
8448 PyObject * obj1 = 0 ;
8449 PyObject * obj2 = 0 ;
8450 PyObject * obj3 = 0 ;
8451 PyObject * obj4 = 0 ;
8452 PyObject * obj5 = 0 ;
8453 PyObject * obj6 = 0 ;
8454 char * kwnames[] = {
8455 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8456 };
8457
8458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8460 if (!SWIG_IsOK(res1)) {
8461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8462 }
8463 arg1 = reinterpret_cast< wxWindow * >(argp1);
8464 if (obj1) {
8465 ecode2 = SWIG_AsVal_int(obj1, &val2);
8466 if (!SWIG_IsOK(ecode2)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8468 }
8469 arg2 = static_cast< int >(val2);
8470 }
8471 if (obj2) {
8472 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8473 if (!SWIG_IsOK(res3)) {
8474 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8475 }
8476 if (!argp3) {
8477 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8478 }
8479 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8480 }
8481 if (obj3) {
8482 {
8483 arg4 = &temp4;
8484 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8485 }
8486 }
8487 if (obj4) {
8488 {
8489 arg5 = &temp5;
8490 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8491 }
8492 }
8493 if (obj5) {
8494 ecode6 = SWIG_AsVal_long(obj5, &val6);
8495 if (!SWIG_IsOK(ecode6)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8497 }
8498 arg6 = static_cast< long >(val6);
8499 }
8500 if (obj6) {
8501 {
8502 arg7 = wxString_in_helper(obj6);
8503 if (arg7 == NULL) SWIG_fail;
8504 temp7 = true;
8505 }
8506 }
8507 {
8508 if (!wxPyCheckForApp()) SWIG_fail;
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8515 {
8516 if (temp7)
8517 delete arg7;
8518 }
8519 return resultobj;
8520 fail:
8521 {
8522 if (temp7)
8523 delete arg7;
8524 }
8525 return NULL;
8526 }
8527
8528
8529 SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8530 PyObject *resultobj = 0;
8531 wxStaticBitmap *result = 0 ;
8532
8533 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8534 {
8535 if (!wxPyCheckForApp()) SWIG_fail;
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (wxStaticBitmap *)new wxStaticBitmap();
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8542 return resultobj;
8543 fail:
8544 return NULL;
8545 }
8546
8547
8548 SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj = 0;
8550 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8551 wxWindow *arg2 = (wxWindow *) 0 ;
8552 int arg3 = (int) -1 ;
8553 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8554 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8555 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8556 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8557 wxSize const &arg6_defvalue = wxDefaultSize ;
8558 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8559 long arg7 = (long) 0 ;
8560 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8561 wxString *arg8 = (wxString *) &arg8_defvalue ;
8562 bool result;
8563 void *argp1 = 0 ;
8564 int res1 = 0 ;
8565 void *argp2 = 0 ;
8566 int res2 = 0 ;
8567 int val3 ;
8568 int ecode3 = 0 ;
8569 void *argp4 = 0 ;
8570 int res4 = 0 ;
8571 wxPoint temp5 ;
8572 wxSize temp6 ;
8573 long val7 ;
8574 int ecode7 = 0 ;
8575 bool temp8 = false ;
8576 PyObject * obj0 = 0 ;
8577 PyObject * obj1 = 0 ;
8578 PyObject * obj2 = 0 ;
8579 PyObject * obj3 = 0 ;
8580 PyObject * obj4 = 0 ;
8581 PyObject * obj5 = 0 ;
8582 PyObject * obj6 = 0 ;
8583 PyObject * obj7 = 0 ;
8584 char * kwnames[] = {
8585 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8586 };
8587
8588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8590 if (!SWIG_IsOK(res1)) {
8591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8592 }
8593 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8594 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8595 if (!SWIG_IsOK(res2)) {
8596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8597 }
8598 arg2 = reinterpret_cast< wxWindow * >(argp2);
8599 if (obj2) {
8600 ecode3 = SWIG_AsVal_int(obj2, &val3);
8601 if (!SWIG_IsOK(ecode3)) {
8602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8603 }
8604 arg3 = static_cast< int >(val3);
8605 }
8606 if (obj3) {
8607 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8608 if (!SWIG_IsOK(res4)) {
8609 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8610 }
8611 if (!argp4) {
8612 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8613 }
8614 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8615 }
8616 if (obj4) {
8617 {
8618 arg5 = &temp5;
8619 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8620 }
8621 }
8622 if (obj5) {
8623 {
8624 arg6 = &temp6;
8625 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8626 }
8627 }
8628 if (obj6) {
8629 ecode7 = SWIG_AsVal_long(obj6, &val7);
8630 if (!SWIG_IsOK(ecode7)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8632 }
8633 arg7 = static_cast< long >(val7);
8634 }
8635 if (obj7) {
8636 {
8637 arg8 = wxString_in_helper(obj7);
8638 if (arg8 == NULL) SWIG_fail;
8639 temp8 = true;
8640 }
8641 }
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 {
8649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8650 }
8651 {
8652 if (temp8)
8653 delete arg8;
8654 }
8655 return resultobj;
8656 fail:
8657 {
8658 if (temp8)
8659 delete arg8;
8660 }
8661 return NULL;
8662 }
8663
8664
8665 SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8666 PyObject *resultobj = 0;
8667 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8668 wxBitmap result;
8669 void *argp1 = 0 ;
8670 int res1 = 0 ;
8671 PyObject *swig_obj[1] ;
8672
8673 if (!args) SWIG_fail;
8674 swig_obj[0] = args;
8675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8676 if (!SWIG_IsOK(res1)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8678 }
8679 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 result = (arg1)->GetBitmap();
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8687 return resultobj;
8688 fail:
8689 return NULL;
8690 }
8691
8692
8693 SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj = 0;
8695 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8696 wxBitmap *arg2 = 0 ;
8697 void *argp1 = 0 ;
8698 int res1 = 0 ;
8699 void *argp2 = 0 ;
8700 int res2 = 0 ;
8701 PyObject * obj0 = 0 ;
8702 PyObject * obj1 = 0 ;
8703 char * kwnames[] = {
8704 (char *) "self",(char *) "bitmap", NULL
8705 };
8706
8707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8709 if (!SWIG_IsOK(res1)) {
8710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8711 }
8712 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8713 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8714 if (!SWIG_IsOK(res2)) {
8715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8716 }
8717 if (!argp2) {
8718 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8719 }
8720 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 resultobj = SWIG_Py_Void();
8728 return resultobj;
8729 fail:
8730 return NULL;
8731 }
8732
8733
8734 SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj = 0;
8736 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8737 wxIcon *arg2 = 0 ;
8738 void *argp1 = 0 ;
8739 int res1 = 0 ;
8740 void *argp2 = 0 ;
8741 int res2 = 0 ;
8742 PyObject * obj0 = 0 ;
8743 PyObject * obj1 = 0 ;
8744 char * kwnames[] = {
8745 (char *) "self",(char *) "icon", NULL
8746 };
8747
8748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8750 if (!SWIG_IsOK(res1)) {
8751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8752 }
8753 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8754 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8755 if (!SWIG_IsOK(res2)) {
8756 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8757 }
8758 if (!argp2) {
8759 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8760 }
8761 arg2 = reinterpret_cast< wxIcon * >(argp2);
8762 {
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 (arg1)->SetIcon((wxIcon const &)*arg2);
8765 wxPyEndAllowThreads(__tstate);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 resultobj = SWIG_Py_Void();
8769 return resultobj;
8770 fail:
8771 return NULL;
8772 }
8773
8774
8775 SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8776 PyObject *resultobj = 0;
8777 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8778 SwigValueWrapper<wxVisualAttributes > result;
8779 int val1 ;
8780 int ecode1 = 0 ;
8781 PyObject * obj0 = 0 ;
8782 char * kwnames[] = {
8783 (char *) "variant", NULL
8784 };
8785
8786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8787 if (obj0) {
8788 ecode1 = SWIG_AsVal_int(obj0, &val1);
8789 if (!SWIG_IsOK(ecode1)) {
8790 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8791 }
8792 arg1 = static_cast< wxWindowVariant >(val1);
8793 }
8794 {
8795 if (!wxPyCheckForApp()) SWIG_fail;
8796 PyThreadState* __tstate = wxPyBeginAllowThreads();
8797 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8802 return resultobj;
8803 fail:
8804 return NULL;
8805 }
8806
8807
8808 SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8809 PyObject *obj;
8810 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8811 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8812 return SWIG_Py_Void();
8813 }
8814
8815 SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8816 return SWIG_Python_InitShadowInstance(args);
8817 }
8818
8819 SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8820 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8821 return 1;
8822 }
8823
8824
8825 SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8826 PyObject *pyobj = 0;
8827
8828 {
8829 #if wxUSE_UNICODE
8830 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8831 #else
8832 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8833 #endif
8834 }
8835 return pyobj;
8836 }
8837
8838
8839 SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8840 PyObject *resultobj = 0;
8841 wxWindow *arg1 = (wxWindow *) 0 ;
8842 int arg2 = (int) -1 ;
8843 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8844 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8845 wxSize const &arg4_defvalue = wxDefaultSize ;
8846 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8847 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8848 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8849 long arg6 = (long) 0 ;
8850 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8851 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8852 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8853 wxString *arg8 = (wxString *) &arg8_defvalue ;
8854 wxListBox *result = 0 ;
8855 void *argp1 = 0 ;
8856 int res1 = 0 ;
8857 int val2 ;
8858 int ecode2 = 0 ;
8859 wxPoint temp3 ;
8860 wxSize temp4 ;
8861 bool temp5 = false ;
8862 long val6 ;
8863 int ecode6 = 0 ;
8864 void *argp7 = 0 ;
8865 int res7 = 0 ;
8866 bool temp8 = false ;
8867 PyObject * obj0 = 0 ;
8868 PyObject * obj1 = 0 ;
8869 PyObject * obj2 = 0 ;
8870 PyObject * obj3 = 0 ;
8871 PyObject * obj4 = 0 ;
8872 PyObject * obj5 = 0 ;
8873 PyObject * obj6 = 0 ;
8874 PyObject * obj7 = 0 ;
8875 char * kwnames[] = {
8876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8877 };
8878
8879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8881 if (!SWIG_IsOK(res1)) {
8882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8883 }
8884 arg1 = reinterpret_cast< wxWindow * >(argp1);
8885 if (obj1) {
8886 ecode2 = SWIG_AsVal_int(obj1, &val2);
8887 if (!SWIG_IsOK(ecode2)) {
8888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8889 }
8890 arg2 = static_cast< int >(val2);
8891 }
8892 if (obj2) {
8893 {
8894 arg3 = &temp3;
8895 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8896 }
8897 }
8898 if (obj3) {
8899 {
8900 arg4 = &temp4;
8901 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8902 }
8903 }
8904 if (obj4) {
8905 {
8906 if (! PySequence_Check(obj4)) {
8907 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8908 SWIG_fail;
8909 }
8910 arg5 = new wxArrayString;
8911 temp5 = true;
8912 int i, len=PySequence_Length(obj4);
8913 for (i=0; i<len; i++) {
8914 PyObject* item = PySequence_GetItem(obj4, i);
8915 wxString* s = wxString_in_helper(item);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 arg5->Add(*s);
8918 delete s;
8919 Py_DECREF(item);
8920 }
8921 }
8922 }
8923 if (obj5) {
8924 ecode6 = SWIG_AsVal_long(obj5, &val6);
8925 if (!SWIG_IsOK(ecode6)) {
8926 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8927 }
8928 arg6 = static_cast< long >(val6);
8929 }
8930 if (obj6) {
8931 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8932 if (!SWIG_IsOK(res7)) {
8933 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8934 }
8935 if (!argp7) {
8936 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8937 }
8938 arg7 = reinterpret_cast< wxValidator * >(argp7);
8939 }
8940 if (obj7) {
8941 {
8942 arg8 = wxString_in_helper(obj7);
8943 if (arg8 == NULL) SWIG_fail;
8944 temp8 = true;
8945 }
8946 }
8947 {
8948 if (!wxPyCheckForApp()) SWIG_fail;
8949 PyThreadState* __tstate = wxPyBeginAllowThreads();
8950 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8955 {
8956 if (temp5) delete arg5;
8957 }
8958 {
8959 if (temp8)
8960 delete arg8;
8961 }
8962 return resultobj;
8963 fail:
8964 {
8965 if (temp5) delete arg5;
8966 }
8967 {
8968 if (temp8)
8969 delete arg8;
8970 }
8971 return NULL;
8972 }
8973
8974
8975 SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8976 PyObject *resultobj = 0;
8977 wxListBox *result = 0 ;
8978
8979 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8980 {
8981 if (!wxPyCheckForApp()) SWIG_fail;
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = (wxListBox *)new wxListBox();
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8988 return resultobj;
8989 fail:
8990 return NULL;
8991 }
8992
8993
8994 SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj = 0;
8996 wxListBox *arg1 = (wxListBox *) 0 ;
8997 wxWindow *arg2 = (wxWindow *) 0 ;
8998 int arg3 = (int) -1 ;
8999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9001 wxSize const &arg5_defvalue = wxDefaultSize ;
9002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9003 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
9004 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
9005 long arg7 = (long) 0 ;
9006 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9007 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9008 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
9009 wxString *arg9 = (wxString *) &arg9_defvalue ;
9010 bool result;
9011 void *argp1 = 0 ;
9012 int res1 = 0 ;
9013 void *argp2 = 0 ;
9014 int res2 = 0 ;
9015 int val3 ;
9016 int ecode3 = 0 ;
9017 wxPoint temp4 ;
9018 wxSize temp5 ;
9019 bool temp6 = false ;
9020 long val7 ;
9021 int ecode7 = 0 ;
9022 void *argp8 = 0 ;
9023 int res8 = 0 ;
9024 bool temp9 = false ;
9025 PyObject * obj0 = 0 ;
9026 PyObject * obj1 = 0 ;
9027 PyObject * obj2 = 0 ;
9028 PyObject * obj3 = 0 ;
9029 PyObject * obj4 = 0 ;
9030 PyObject * obj5 = 0 ;
9031 PyObject * obj6 = 0 ;
9032 PyObject * obj7 = 0 ;
9033 PyObject * obj8 = 0 ;
9034 char * kwnames[] = {
9035 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9036 };
9037
9038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9040 if (!SWIG_IsOK(res1)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9042 }
9043 arg1 = reinterpret_cast< wxListBox * >(argp1);
9044 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9045 if (!SWIG_IsOK(res2)) {
9046 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9047 }
9048 arg2 = reinterpret_cast< wxWindow * >(argp2);
9049 if (obj2) {
9050 ecode3 = SWIG_AsVal_int(obj2, &val3);
9051 if (!SWIG_IsOK(ecode3)) {
9052 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9053 }
9054 arg3 = static_cast< int >(val3);
9055 }
9056 if (obj3) {
9057 {
9058 arg4 = &temp4;
9059 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9060 }
9061 }
9062 if (obj4) {
9063 {
9064 arg5 = &temp5;
9065 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9066 }
9067 }
9068 if (obj5) {
9069 {
9070 if (! PySequence_Check(obj5)) {
9071 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9072 SWIG_fail;
9073 }
9074 arg6 = new wxArrayString;
9075 temp6 = true;
9076 int i, len=PySequence_Length(obj5);
9077 for (i=0; i<len; i++) {
9078 PyObject* item = PySequence_GetItem(obj5, i);
9079 wxString* s = wxString_in_helper(item);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 arg6->Add(*s);
9082 delete s;
9083 Py_DECREF(item);
9084 }
9085 }
9086 }
9087 if (obj6) {
9088 ecode7 = SWIG_AsVal_long(obj6, &val7);
9089 if (!SWIG_IsOK(ecode7)) {
9090 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9091 }
9092 arg7 = static_cast< long >(val7);
9093 }
9094 if (obj7) {
9095 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9096 if (!SWIG_IsOK(res8)) {
9097 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9098 }
9099 if (!argp8) {
9100 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9101 }
9102 arg8 = reinterpret_cast< wxValidator * >(argp8);
9103 }
9104 if (obj8) {
9105 {
9106 arg9 = wxString_in_helper(obj8);
9107 if (arg9 == NULL) SWIG_fail;
9108 temp9 = true;
9109 }
9110 }
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 {
9118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9119 }
9120 {
9121 if (temp6) delete arg6;
9122 }
9123 {
9124 if (temp9)
9125 delete arg9;
9126 }
9127 return resultobj;
9128 fail:
9129 {
9130 if (temp6) delete arg6;
9131 }
9132 {
9133 if (temp9)
9134 delete arg9;
9135 }
9136 return NULL;
9137 }
9138
9139
9140 SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj = 0;
9142 wxListBox *arg1 = (wxListBox *) 0 ;
9143 wxString *arg2 = 0 ;
9144 int arg3 ;
9145 PyObject *arg4 = (PyObject *) NULL ;
9146 void *argp1 = 0 ;
9147 int res1 = 0 ;
9148 bool temp2 = false ;
9149 int val3 ;
9150 int ecode3 = 0 ;
9151 PyObject * obj0 = 0 ;
9152 PyObject * obj1 = 0 ;
9153 PyObject * obj2 = 0 ;
9154 PyObject * obj3 = 0 ;
9155 char * kwnames[] = {
9156 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9157 };
9158
9159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9161 if (!SWIG_IsOK(res1)) {
9162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9163 }
9164 arg1 = reinterpret_cast< wxListBox * >(argp1);
9165 {
9166 arg2 = wxString_in_helper(obj1);
9167 if (arg2 == NULL) SWIG_fail;
9168 temp2 = true;
9169 }
9170 ecode3 = SWIG_AsVal_int(obj2, &val3);
9171 if (!SWIG_IsOK(ecode3)) {
9172 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9173 }
9174 arg3 = static_cast< int >(val3);
9175 if (obj3) {
9176 arg4 = obj3;
9177 }
9178 {
9179 PyThreadState* __tstate = wxPyBeginAllowThreads();
9180 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
9184 resultobj = SWIG_Py_Void();
9185 {
9186 if (temp2)
9187 delete arg2;
9188 }
9189 return resultobj;
9190 fail:
9191 {
9192 if (temp2)
9193 delete arg2;
9194 }
9195 return NULL;
9196 }
9197
9198
9199 SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj = 0;
9201 wxListBox *arg1 = (wxListBox *) 0 ;
9202 wxArrayString *arg2 = 0 ;
9203 unsigned int arg3 ;
9204 void *argp1 = 0 ;
9205 int res1 = 0 ;
9206 bool temp2 = false ;
9207 unsigned int val3 ;
9208 int ecode3 = 0 ;
9209 PyObject * obj0 = 0 ;
9210 PyObject * obj1 = 0 ;
9211 PyObject * obj2 = 0 ;
9212 char * kwnames[] = {
9213 (char *) "self",(char *) "items",(char *) "pos", NULL
9214 };
9215
9216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9218 if (!SWIG_IsOK(res1)) {
9219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9220 }
9221 arg1 = reinterpret_cast< wxListBox * >(argp1);
9222 {
9223 if (! PySequence_Check(obj1)) {
9224 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9225 SWIG_fail;
9226 }
9227 arg2 = new wxArrayString;
9228 temp2 = true;
9229 int i, len=PySequence_Length(obj1);
9230 for (i=0; i<len; i++) {
9231 PyObject* item = PySequence_GetItem(obj1, i);
9232 wxString* s = wxString_in_helper(item);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 arg2->Add(*s);
9235 delete s;
9236 Py_DECREF(item);
9237 }
9238 }
9239 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
9240 if (!SWIG_IsOK(ecode3)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9242 }
9243 arg3 = static_cast< unsigned int >(val3);
9244 {
9245 PyThreadState* __tstate = wxPyBeginAllowThreads();
9246 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9247 wxPyEndAllowThreads(__tstate);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 }
9250 resultobj = SWIG_Py_Void();
9251 {
9252 if (temp2) delete arg2;
9253 }
9254 return resultobj;
9255 fail:
9256 {
9257 if (temp2) delete arg2;
9258 }
9259 return NULL;
9260 }
9261
9262
9263 SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj = 0;
9265 wxListBox *arg1 = (wxListBox *) 0 ;
9266 wxArrayString *arg2 = 0 ;
9267 void *argp1 = 0 ;
9268 int res1 = 0 ;
9269 bool temp2 = false ;
9270 PyObject * obj0 = 0 ;
9271 PyObject * obj1 = 0 ;
9272 char * kwnames[] = {
9273 (char *) "self",(char *) "items", NULL
9274 };
9275
9276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9278 if (!SWIG_IsOK(res1)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9280 }
9281 arg1 = reinterpret_cast< wxListBox * >(argp1);
9282 {
9283 if (! PySequence_Check(obj1)) {
9284 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9285 SWIG_fail;
9286 }
9287 arg2 = new wxArrayString;
9288 temp2 = true;
9289 int i, len=PySequence_Length(obj1);
9290 for (i=0; i<len; i++) {
9291 PyObject* item = PySequence_GetItem(obj1, i);
9292 wxString* s = wxString_in_helper(item);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 arg2->Add(*s);
9295 delete s;
9296 Py_DECREF(item);
9297 }
9298 }
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 (arg1)->Set((wxArrayString const &)*arg2);
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 resultobj = SWIG_Py_Void();
9306 {
9307 if (temp2) delete arg2;
9308 }
9309 return resultobj;
9310 fail:
9311 {
9312 if (temp2) delete arg2;
9313 }
9314 return NULL;
9315 }
9316
9317
9318 SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9319 PyObject *resultobj = 0;
9320 wxListBox *arg1 = (wxListBox *) 0 ;
9321 int arg2 ;
9322 bool result;
9323 void *argp1 = 0 ;
9324 int res1 = 0 ;
9325 int val2 ;
9326 int ecode2 = 0 ;
9327 PyObject * obj0 = 0 ;
9328 PyObject * obj1 = 0 ;
9329 char * kwnames[] = {
9330 (char *) "self",(char *) "n", NULL
9331 };
9332
9333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9335 if (!SWIG_IsOK(res1)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9337 }
9338 arg1 = reinterpret_cast< wxListBox * >(argp1);
9339 ecode2 = SWIG_AsVal_int(obj1, &val2);
9340 if (!SWIG_IsOK(ecode2)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9342 }
9343 arg2 = static_cast< int >(val2);
9344 {
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
9346 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 {
9351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9352 }
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj = 0;
9361 wxListBox *arg1 = (wxListBox *) 0 ;
9362 int arg2 ;
9363 bool arg3 = (bool) true ;
9364 void *argp1 = 0 ;
9365 int res1 = 0 ;
9366 int val2 ;
9367 int ecode2 = 0 ;
9368 bool val3 ;
9369 int ecode3 = 0 ;
9370 PyObject * obj0 = 0 ;
9371 PyObject * obj1 = 0 ;
9372 PyObject * obj2 = 0 ;
9373 char * kwnames[] = {
9374 (char *) "self",(char *) "n",(char *) "select", NULL
9375 };
9376
9377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9379 if (!SWIG_IsOK(res1)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9381 }
9382 arg1 = reinterpret_cast< wxListBox * >(argp1);
9383 ecode2 = SWIG_AsVal_int(obj1, &val2);
9384 if (!SWIG_IsOK(ecode2)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9386 }
9387 arg2 = static_cast< int >(val2);
9388 if (obj2) {
9389 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9390 if (!SWIG_IsOK(ecode3)) {
9391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9392 }
9393 arg3 = static_cast< bool >(val3);
9394 }
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 (arg1)->SetSelection(arg2,arg3);
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 resultobj = SWIG_Py_Void();
9402 return resultobj;
9403 fail:
9404 return NULL;
9405 }
9406
9407
9408 SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9409 PyObject *resultobj = 0;
9410 wxListBox *arg1 = (wxListBox *) 0 ;
9411 int arg2 ;
9412 void *argp1 = 0 ;
9413 int res1 = 0 ;
9414 int val2 ;
9415 int ecode2 = 0 ;
9416 PyObject * obj0 = 0 ;
9417 PyObject * obj1 = 0 ;
9418 char * kwnames[] = {
9419 (char *) "self",(char *) "n", NULL
9420 };
9421
9422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9424 if (!SWIG_IsOK(res1)) {
9425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9426 }
9427 arg1 = reinterpret_cast< wxListBox * >(argp1);
9428 ecode2 = SWIG_AsVal_int(obj1, &val2);
9429 if (!SWIG_IsOK(ecode2)) {
9430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9431 }
9432 arg2 = static_cast< int >(val2);
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 (arg1)->Select(arg2);
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 resultobj = SWIG_Py_Void();
9440 return resultobj;
9441 fail:
9442 return NULL;
9443 }
9444
9445
9446 SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9447 PyObject *resultobj = 0;
9448 wxListBox *arg1 = (wxListBox *) 0 ;
9449 int arg2 ;
9450 void *argp1 = 0 ;
9451 int res1 = 0 ;
9452 int val2 ;
9453 int ecode2 = 0 ;
9454 PyObject * obj0 = 0 ;
9455 PyObject * obj1 = 0 ;
9456 char * kwnames[] = {
9457 (char *) "self",(char *) "n", NULL
9458 };
9459
9460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9462 if (!SWIG_IsOK(res1)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9464 }
9465 arg1 = reinterpret_cast< wxListBox * >(argp1);
9466 ecode2 = SWIG_AsVal_int(obj1, &val2);
9467 if (!SWIG_IsOK(ecode2)) {
9468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9469 }
9470 arg2 = static_cast< int >(val2);
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 (arg1)->Deselect(arg2);
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) SWIG_fail;
9476 }
9477 resultobj = SWIG_Py_Void();
9478 return resultobj;
9479 fail:
9480 return NULL;
9481 }
9482
9483
9484 SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj = 0;
9486 wxListBox *arg1 = (wxListBox *) 0 ;
9487 int arg2 = (int) -1 ;
9488 void *argp1 = 0 ;
9489 int res1 = 0 ;
9490 int val2 ;
9491 int ecode2 = 0 ;
9492 PyObject * obj0 = 0 ;
9493 PyObject * obj1 = 0 ;
9494 char * kwnames[] = {
9495 (char *) "self",(char *) "itemToLeaveSelected", NULL
9496 };
9497
9498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9500 if (!SWIG_IsOK(res1)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9502 }
9503 arg1 = reinterpret_cast< wxListBox * >(argp1);
9504 if (obj1) {
9505 ecode2 = SWIG_AsVal_int(obj1, &val2);
9506 if (!SWIG_IsOK(ecode2)) {
9507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9508 }
9509 arg2 = static_cast< int >(val2);
9510 }
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 (arg1)->DeselectAll(arg2);
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 resultobj = SWIG_Py_Void();
9518 return resultobj;
9519 fail:
9520 return NULL;
9521 }
9522
9523
9524 SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9525 PyObject *resultobj = 0;
9526 wxListBox *arg1 = (wxListBox *) 0 ;
9527 wxString *arg2 = 0 ;
9528 bool arg3 = (bool) true ;
9529 bool result;
9530 void *argp1 = 0 ;
9531 int res1 = 0 ;
9532 bool temp2 = false ;
9533 bool val3 ;
9534 int ecode3 = 0 ;
9535 PyObject * obj0 = 0 ;
9536 PyObject * obj1 = 0 ;
9537 PyObject * obj2 = 0 ;
9538 char * kwnames[] = {
9539 (char *) "self",(char *) "s",(char *) "select", NULL
9540 };
9541
9542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9544 if (!SWIG_IsOK(res1)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9546 }
9547 arg1 = reinterpret_cast< wxListBox * >(argp1);
9548 {
9549 arg2 = wxString_in_helper(obj1);
9550 if (arg2 == NULL) SWIG_fail;
9551 temp2 = true;
9552 }
9553 if (obj2) {
9554 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9555 if (!SWIG_IsOK(ecode3)) {
9556 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9557 }
9558 arg3 = static_cast< bool >(val3);
9559 }
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 {
9567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9568 }
9569 {
9570 if (temp2)
9571 delete arg2;
9572 }
9573 return resultobj;
9574 fail:
9575 {
9576 if (temp2)
9577 delete arg2;
9578 }
9579 return NULL;
9580 }
9581
9582
9583 SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9584 PyObject *resultobj = 0;
9585 wxListBox *arg1 = (wxListBox *) 0 ;
9586 PyObject *result = 0 ;
9587 void *argp1 = 0 ;
9588 int res1 = 0 ;
9589 PyObject *swig_obj[1] ;
9590
9591 if (!args) SWIG_fail;
9592 swig_obj[0] = args;
9593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9594 if (!SWIG_IsOK(res1)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9596 }
9597 arg1 = reinterpret_cast< wxListBox * >(argp1);
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (PyObject *)wxListBox_GetSelections(arg1);
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 resultobj = result;
9605 return resultobj;
9606 fail:
9607 return NULL;
9608 }
9609
9610
9611 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9612 PyObject *resultobj = 0;
9613 wxListBox *arg1 = (wxListBox *) 0 ;
9614 int arg2 ;
9615 void *argp1 = 0 ;
9616 int res1 = 0 ;
9617 int val2 ;
9618 int ecode2 = 0 ;
9619 PyObject * obj0 = 0 ;
9620 PyObject * obj1 = 0 ;
9621 char * kwnames[] = {
9622 (char *) "self",(char *) "n", NULL
9623 };
9624
9625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9627 if (!SWIG_IsOK(res1)) {
9628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9629 }
9630 arg1 = reinterpret_cast< wxListBox * >(argp1);
9631 ecode2 = SWIG_AsVal_int(obj1, &val2);
9632 if (!SWIG_IsOK(ecode2)) {
9633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9634 }
9635 arg2 = static_cast< int >(val2);
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 (arg1)->SetFirstItem(arg2);
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 resultobj = SWIG_Py_Void();
9643 return resultobj;
9644 fail:
9645 return NULL;
9646 }
9647
9648
9649 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9650 PyObject *resultobj = 0;
9651 wxListBox *arg1 = (wxListBox *) 0 ;
9652 wxString *arg2 = 0 ;
9653 void *argp1 = 0 ;
9654 int res1 = 0 ;
9655 bool temp2 = false ;
9656 PyObject * obj0 = 0 ;
9657 PyObject * obj1 = 0 ;
9658 char * kwnames[] = {
9659 (char *) "self",(char *) "s", NULL
9660 };
9661
9662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9664 if (!SWIG_IsOK(res1)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9666 }
9667 arg1 = reinterpret_cast< wxListBox * >(argp1);
9668 {
9669 arg2 = wxString_in_helper(obj1);
9670 if (arg2 == NULL) SWIG_fail;
9671 temp2 = true;
9672 }
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 (arg1)->SetFirstItem((wxString const &)*arg2);
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 resultobj = SWIG_Py_Void();
9680 {
9681 if (temp2)
9682 delete arg2;
9683 }
9684 return resultobj;
9685 fail:
9686 {
9687 if (temp2)
9688 delete arg2;
9689 }
9690 return NULL;
9691 }
9692
9693
9694 SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj = 0;
9696 wxListBox *arg1 = (wxListBox *) 0 ;
9697 int arg2 ;
9698 void *argp1 = 0 ;
9699 int res1 = 0 ;
9700 int val2 ;
9701 int ecode2 = 0 ;
9702 PyObject * obj0 = 0 ;
9703 PyObject * obj1 = 0 ;
9704 char * kwnames[] = {
9705 (char *) "self",(char *) "n", NULL
9706 };
9707
9708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9710 if (!SWIG_IsOK(res1)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9712 }
9713 arg1 = reinterpret_cast< wxListBox * >(argp1);
9714 ecode2 = SWIG_AsVal_int(obj1, &val2);
9715 if (!SWIG_IsOK(ecode2)) {
9716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9717 }
9718 arg2 = static_cast< int >(val2);
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 (arg1)->EnsureVisible(arg2);
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 resultobj = SWIG_Py_Void();
9726 return resultobj;
9727 fail:
9728 return NULL;
9729 }
9730
9731
9732 SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj = 0;
9734 wxListBox *arg1 = (wxListBox *) 0 ;
9735 wxString *arg2 = 0 ;
9736 void *argp1 = 0 ;
9737 int res1 = 0 ;
9738 bool temp2 = false ;
9739 PyObject * obj0 = 0 ;
9740 PyObject * obj1 = 0 ;
9741 char * kwnames[] = {
9742 (char *) "self",(char *) "s", NULL
9743 };
9744
9745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9747 if (!SWIG_IsOK(res1)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9749 }
9750 arg1 = reinterpret_cast< wxListBox * >(argp1);
9751 {
9752 arg2 = wxString_in_helper(obj1);
9753 if (arg2 == NULL) SWIG_fail;
9754 temp2 = true;
9755 }
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9759 wxPyEndAllowThreads(__tstate);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 }
9762 resultobj = SWIG_Py_Void();
9763 {
9764 if (temp2)
9765 delete arg2;
9766 }
9767 return resultobj;
9768 fail:
9769 {
9770 if (temp2)
9771 delete arg2;
9772 }
9773 return NULL;
9774 }
9775
9776
9777 SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9778 PyObject *resultobj = 0;
9779 wxListBox *arg1 = (wxListBox *) 0 ;
9780 bool result;
9781 void *argp1 = 0 ;
9782 int res1 = 0 ;
9783 PyObject *swig_obj[1] ;
9784
9785 if (!args) SWIG_fail;
9786 swig_obj[0] = args;
9787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9788 if (!SWIG_IsOK(res1)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9790 }
9791 arg1 = reinterpret_cast< wxListBox * >(argp1);
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 result = (bool)((wxListBox const *)arg1)->IsSorted();
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 {
9799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9800 }
9801 return resultobj;
9802 fail:
9803 return NULL;
9804 }
9805
9806
9807 SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9808 PyObject *resultobj = 0;
9809 wxListBox *arg1 = (wxListBox *) 0 ;
9810 wxPoint *arg2 = 0 ;
9811 int result;
9812 void *argp1 = 0 ;
9813 int res1 = 0 ;
9814 wxPoint temp2 ;
9815 PyObject * obj0 = 0 ;
9816 PyObject * obj1 = 0 ;
9817 char * kwnames[] = {
9818 (char *) "self",(char *) "pt", NULL
9819 };
9820
9821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9823 if (!SWIG_IsOK(res1)) {
9824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9825 }
9826 arg1 = reinterpret_cast< wxListBox * >(argp1);
9827 {
9828 arg2 = &temp2;
9829 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9830 }
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 resultobj = SWIG_From_int(static_cast< int >(result));
9838 return resultobj;
9839 fail:
9840 return NULL;
9841 }
9842
9843
9844 SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj = 0;
9846 wxListBox *arg1 = (wxListBox *) 0 ;
9847 int arg2 ;
9848 wxColour *arg3 = 0 ;
9849 void *argp1 = 0 ;
9850 int res1 = 0 ;
9851 int val2 ;
9852 int ecode2 = 0 ;
9853 wxColour temp3 ;
9854 PyObject * obj0 = 0 ;
9855 PyObject * obj1 = 0 ;
9856 PyObject * obj2 = 0 ;
9857 char * kwnames[] = {
9858 (char *) "self",(char *) "item",(char *) "c", NULL
9859 };
9860
9861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9863 if (!SWIG_IsOK(res1)) {
9864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9865 }
9866 arg1 = reinterpret_cast< wxListBox * >(argp1);
9867 ecode2 = SWIG_AsVal_int(obj1, &val2);
9868 if (!SWIG_IsOK(ecode2)) {
9869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9870 }
9871 arg2 = static_cast< int >(val2);
9872 {
9873 arg3 = &temp3;
9874 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9875 }
9876 {
9877 PyThreadState* __tstate = wxPyBeginAllowThreads();
9878 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 resultobj = SWIG_Py_Void();
9883 return resultobj;
9884 fail:
9885 return NULL;
9886 }
9887
9888
9889 SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj = 0;
9891 wxListBox *arg1 = (wxListBox *) 0 ;
9892 int arg2 ;
9893 wxColour *arg3 = 0 ;
9894 void *argp1 = 0 ;
9895 int res1 = 0 ;
9896 int val2 ;
9897 int ecode2 = 0 ;
9898 wxColour temp3 ;
9899 PyObject * obj0 = 0 ;
9900 PyObject * obj1 = 0 ;
9901 PyObject * obj2 = 0 ;
9902 char * kwnames[] = {
9903 (char *) "self",(char *) "item",(char *) "c", NULL
9904 };
9905
9906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9908 if (!SWIG_IsOK(res1)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9910 }
9911 arg1 = reinterpret_cast< wxListBox * >(argp1);
9912 ecode2 = SWIG_AsVal_int(obj1, &val2);
9913 if (!SWIG_IsOK(ecode2)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9915 }
9916 arg2 = static_cast< int >(val2);
9917 {
9918 arg3 = &temp3;
9919 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9920 }
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 resultobj = SWIG_Py_Void();
9928 return resultobj;
9929 fail:
9930 return NULL;
9931 }
9932
9933
9934 SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj = 0;
9936 wxListBox *arg1 = (wxListBox *) 0 ;
9937 int arg2 ;
9938 wxFont *arg3 = 0 ;
9939 void *argp1 = 0 ;
9940 int res1 = 0 ;
9941 int val2 ;
9942 int ecode2 = 0 ;
9943 void *argp3 = 0 ;
9944 int res3 = 0 ;
9945 PyObject * obj0 = 0 ;
9946 PyObject * obj1 = 0 ;
9947 PyObject * obj2 = 0 ;
9948 char * kwnames[] = {
9949 (char *) "self",(char *) "item",(char *) "f", NULL
9950 };
9951
9952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9954 if (!SWIG_IsOK(res1)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9956 }
9957 arg1 = reinterpret_cast< wxListBox * >(argp1);
9958 ecode2 = SWIG_AsVal_int(obj1, &val2);
9959 if (!SWIG_IsOK(ecode2)) {
9960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9961 }
9962 arg2 = static_cast< int >(val2);
9963 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9964 if (!SWIG_IsOK(res3)) {
9965 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9966 }
9967 if (!argp3) {
9968 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9969 }
9970 arg3 = reinterpret_cast< wxFont * >(argp3);
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9974 wxPyEndAllowThreads(__tstate);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 }
9977 resultobj = SWIG_Py_Void();
9978 return resultobj;
9979 fail:
9980 return NULL;
9981 }
9982
9983
9984 SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9985 PyObject *resultobj = 0;
9986 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9987 SwigValueWrapper<wxVisualAttributes > result;
9988 int val1 ;
9989 int ecode1 = 0 ;
9990 PyObject * obj0 = 0 ;
9991 char * kwnames[] = {
9992 (char *) "variant", NULL
9993 };
9994
9995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9996 if (obj0) {
9997 ecode1 = SWIG_AsVal_int(obj0, &val1);
9998 if (!SWIG_IsOK(ecode1)) {
9999 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10000 }
10001 arg1 = static_cast< wxWindowVariant >(val1);
10002 }
10003 {
10004 if (!wxPyCheckForApp()) SWIG_fail;
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = wxListBox::GetClassDefaultAttributes(arg1);
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10011 return resultobj;
10012 fail:
10013 return NULL;
10014 }
10015
10016
10017 SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10018 PyObject *obj;
10019 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10020 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
10021 return SWIG_Py_Void();
10022 }
10023
10024 SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10025 return SWIG_Python_InitShadowInstance(args);
10026 }
10027
10028 SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10029 PyObject *resultobj = 0;
10030 wxWindow *arg1 = (wxWindow *) 0 ;
10031 int arg2 = (int) -1 ;
10032 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10033 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10034 wxSize const &arg4_defvalue = wxDefaultSize ;
10035 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10036 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10037 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10038 long arg6 = (long) 0 ;
10039 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10040 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10041 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10042 wxString *arg8 = (wxString *) &arg8_defvalue ;
10043 wxCheckListBox *result = 0 ;
10044 void *argp1 = 0 ;
10045 int res1 = 0 ;
10046 int val2 ;
10047 int ecode2 = 0 ;
10048 wxPoint temp3 ;
10049 wxSize temp4 ;
10050 bool temp5 = false ;
10051 long val6 ;
10052 int ecode6 = 0 ;
10053 void *argp7 = 0 ;
10054 int res7 = 0 ;
10055 bool temp8 = false ;
10056 PyObject * obj0 = 0 ;
10057 PyObject * obj1 = 0 ;
10058 PyObject * obj2 = 0 ;
10059 PyObject * obj3 = 0 ;
10060 PyObject * obj4 = 0 ;
10061 PyObject * obj5 = 0 ;
10062 PyObject * obj6 = 0 ;
10063 PyObject * obj7 = 0 ;
10064 char * kwnames[] = {
10065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10066 };
10067
10068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10070 if (!SWIG_IsOK(res1)) {
10071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10072 }
10073 arg1 = reinterpret_cast< wxWindow * >(argp1);
10074 if (obj1) {
10075 ecode2 = SWIG_AsVal_int(obj1, &val2);
10076 if (!SWIG_IsOK(ecode2)) {
10077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10078 }
10079 arg2 = static_cast< int >(val2);
10080 }
10081 if (obj2) {
10082 {
10083 arg3 = &temp3;
10084 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10085 }
10086 }
10087 if (obj3) {
10088 {
10089 arg4 = &temp4;
10090 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10091 }
10092 }
10093 if (obj4) {
10094 {
10095 if (! PySequence_Check(obj4)) {
10096 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10097 SWIG_fail;
10098 }
10099 arg5 = new wxArrayString;
10100 temp5 = true;
10101 int i, len=PySequence_Length(obj4);
10102 for (i=0; i<len; i++) {
10103 PyObject* item = PySequence_GetItem(obj4, i);
10104 wxString* s = wxString_in_helper(item);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 arg5->Add(*s);
10107 delete s;
10108 Py_DECREF(item);
10109 }
10110 }
10111 }
10112 if (obj5) {
10113 ecode6 = SWIG_AsVal_long(obj5, &val6);
10114 if (!SWIG_IsOK(ecode6)) {
10115 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10116 }
10117 arg6 = static_cast< long >(val6);
10118 }
10119 if (obj6) {
10120 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10121 if (!SWIG_IsOK(res7)) {
10122 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10123 }
10124 if (!argp7) {
10125 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10126 }
10127 arg7 = reinterpret_cast< wxValidator * >(argp7);
10128 }
10129 if (obj7) {
10130 {
10131 arg8 = wxString_in_helper(obj7);
10132 if (arg8 == NULL) SWIG_fail;
10133 temp8 = true;
10134 }
10135 }
10136 {
10137 if (!wxPyCheckForApp()) SWIG_fail;
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10144 {
10145 if (temp5) delete arg5;
10146 }
10147 {
10148 if (temp8)
10149 delete arg8;
10150 }
10151 return resultobj;
10152 fail:
10153 {
10154 if (temp5) delete arg5;
10155 }
10156 {
10157 if (temp8)
10158 delete arg8;
10159 }
10160 return NULL;
10161 }
10162
10163
10164 SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10165 PyObject *resultobj = 0;
10166 wxCheckListBox *result = 0 ;
10167
10168 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10169 {
10170 if (!wxPyCheckForApp()) SWIG_fail;
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 result = (wxCheckListBox *)new wxCheckListBox();
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10177 return resultobj;
10178 fail:
10179 return NULL;
10180 }
10181
10182
10183 SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj = 0;
10185 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10186 wxWindow *arg2 = (wxWindow *) 0 ;
10187 int arg3 = (int) -1 ;
10188 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10189 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10190 wxSize const &arg5_defvalue = wxDefaultSize ;
10191 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10192 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10193 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10194 long arg7 = (long) 0 ;
10195 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10196 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10197 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10198 wxString *arg9 = (wxString *) &arg9_defvalue ;
10199 bool result;
10200 void *argp1 = 0 ;
10201 int res1 = 0 ;
10202 void *argp2 = 0 ;
10203 int res2 = 0 ;
10204 int val3 ;
10205 int ecode3 = 0 ;
10206 wxPoint temp4 ;
10207 wxSize temp5 ;
10208 bool temp6 = false ;
10209 long val7 ;
10210 int ecode7 = 0 ;
10211 void *argp8 = 0 ;
10212 int res8 = 0 ;
10213 bool temp9 = false ;
10214 PyObject * obj0 = 0 ;
10215 PyObject * obj1 = 0 ;
10216 PyObject * obj2 = 0 ;
10217 PyObject * obj3 = 0 ;
10218 PyObject * obj4 = 0 ;
10219 PyObject * obj5 = 0 ;
10220 PyObject * obj6 = 0 ;
10221 PyObject * obj7 = 0 ;
10222 PyObject * obj8 = 0 ;
10223 char * kwnames[] = {
10224 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10225 };
10226
10227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10229 if (!SWIG_IsOK(res1)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10231 }
10232 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10233 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10234 if (!SWIG_IsOK(res2)) {
10235 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10236 }
10237 arg2 = reinterpret_cast< wxWindow * >(argp2);
10238 if (obj2) {
10239 ecode3 = SWIG_AsVal_int(obj2, &val3);
10240 if (!SWIG_IsOK(ecode3)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10242 }
10243 arg3 = static_cast< int >(val3);
10244 }
10245 if (obj3) {
10246 {
10247 arg4 = &temp4;
10248 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10249 }
10250 }
10251 if (obj4) {
10252 {
10253 arg5 = &temp5;
10254 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10255 }
10256 }
10257 if (obj5) {
10258 {
10259 if (! PySequence_Check(obj5)) {
10260 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10261 SWIG_fail;
10262 }
10263 arg6 = new wxArrayString;
10264 temp6 = true;
10265 int i, len=PySequence_Length(obj5);
10266 for (i=0; i<len; i++) {
10267 PyObject* item = PySequence_GetItem(obj5, i);
10268 wxString* s = wxString_in_helper(item);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 arg6->Add(*s);
10271 delete s;
10272 Py_DECREF(item);
10273 }
10274 }
10275 }
10276 if (obj6) {
10277 ecode7 = SWIG_AsVal_long(obj6, &val7);
10278 if (!SWIG_IsOK(ecode7)) {
10279 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10280 }
10281 arg7 = static_cast< long >(val7);
10282 }
10283 if (obj7) {
10284 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10285 if (!SWIG_IsOK(res8)) {
10286 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10287 }
10288 if (!argp8) {
10289 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10290 }
10291 arg8 = reinterpret_cast< wxValidator * >(argp8);
10292 }
10293 if (obj8) {
10294 {
10295 arg9 = wxString_in_helper(obj8);
10296 if (arg9 == NULL) SWIG_fail;
10297 temp9 = true;
10298 }
10299 }
10300 {
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 {
10307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10308 }
10309 {
10310 if (temp6) delete arg6;
10311 }
10312 {
10313 if (temp9)
10314 delete arg9;
10315 }
10316 return resultobj;
10317 fail:
10318 {
10319 if (temp6) delete arg6;
10320 }
10321 {
10322 if (temp9)
10323 delete arg9;
10324 }
10325 return NULL;
10326 }
10327
10328
10329 SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10330 PyObject *resultobj = 0;
10331 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10332 unsigned int arg2 ;
10333 bool result;
10334 void *argp1 = 0 ;
10335 int res1 = 0 ;
10336 unsigned int val2 ;
10337 int ecode2 = 0 ;
10338 PyObject * obj0 = 0 ;
10339 PyObject * obj1 = 0 ;
10340 char * kwnames[] = {
10341 (char *) "self",(char *) "index", NULL
10342 };
10343
10344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10346 if (!SWIG_IsOK(res1)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10348 }
10349 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10350 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10351 if (!SWIG_IsOK(ecode2)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10353 }
10354 arg2 = static_cast< unsigned int >(val2);
10355 {
10356 PyThreadState* __tstate = wxPyBeginAllowThreads();
10357 result = (bool)(arg1)->IsChecked(arg2);
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 {
10362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10363 }
10364 return resultobj;
10365 fail:
10366 return NULL;
10367 }
10368
10369
10370 SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj = 0;
10372 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10373 unsigned int arg2 ;
10374 int arg3 = (int) true ;
10375 void *argp1 = 0 ;
10376 int res1 = 0 ;
10377 unsigned int val2 ;
10378 int ecode2 = 0 ;
10379 int val3 ;
10380 int ecode3 = 0 ;
10381 PyObject * obj0 = 0 ;
10382 PyObject * obj1 = 0 ;
10383 PyObject * obj2 = 0 ;
10384 char * kwnames[] = {
10385 (char *) "self",(char *) "index",(char *) "check", NULL
10386 };
10387
10388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10390 if (!SWIG_IsOK(res1)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10392 }
10393 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10394 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10395 if (!SWIG_IsOK(ecode2)) {
10396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10397 }
10398 arg2 = static_cast< unsigned int >(val2);
10399 if (obj2) {
10400 ecode3 = SWIG_AsVal_int(obj2, &val3);
10401 if (!SWIG_IsOK(ecode3)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10403 }
10404 arg3 = static_cast< int >(val3);
10405 }
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 (arg1)->Check(arg2,arg3);
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 resultobj = SWIG_Py_Void();
10413 return resultobj;
10414 fail:
10415 return NULL;
10416 }
10417
10418
10419 SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10420 PyObject *resultobj = 0;
10421 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10422 int result;
10423 void *argp1 = 0 ;
10424 int res1 = 0 ;
10425 PyObject *swig_obj[1] ;
10426
10427 if (!args) SWIG_fail;
10428 swig_obj[0] = args;
10429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10430 if (!SWIG_IsOK(res1)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10432 }
10433 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 result = (int)(arg1)->GetItemHeight();
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 resultobj = SWIG_From_int(static_cast< int >(result));
10441 return resultobj;
10442 fail:
10443 return NULL;
10444 }
10445
10446
10447 SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10448 PyObject *obj;
10449 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10450 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10451 return SWIG_Py_Void();
10452 }
10453
10454 SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10455 return SWIG_Python_InitShadowInstance(args);
10456 }
10457
10458 SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10459 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10460 return 1;
10461 }
10462
10463
10464 SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10465 PyObject *pyobj = 0;
10466
10467 {
10468 #if wxUSE_UNICODE
10469 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10470 #else
10471 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10472 #endif
10473 }
10474 return pyobj;
10475 }
10476
10477
10478 SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10479 PyObject *resultobj = 0;
10480 wxColour const &arg1_defvalue = wxNullColour ;
10481 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10482 wxColour const &arg2_defvalue = wxNullColour ;
10483 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10484 wxFont const &arg3_defvalue = wxNullFont ;
10485 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10486 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10487 wxTextAttr *result = 0 ;
10488 wxColour temp1 ;
10489 wxColour temp2 ;
10490 void *argp3 = 0 ;
10491 int res3 = 0 ;
10492 int val4 ;
10493 int ecode4 = 0 ;
10494 PyObject * obj0 = 0 ;
10495 PyObject * obj1 = 0 ;
10496 PyObject * obj2 = 0 ;
10497 PyObject * obj3 = 0 ;
10498 char * kwnames[] = {
10499 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10500 };
10501
10502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10503 if (obj0) {
10504 {
10505 arg1 = &temp1;
10506 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
10507 }
10508 }
10509 if (obj1) {
10510 {
10511 arg2 = &temp2;
10512 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10513 }
10514 }
10515 if (obj2) {
10516 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10517 if (!SWIG_IsOK(res3)) {
10518 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10519 }
10520 if (!argp3) {
10521 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10522 }
10523 arg3 = reinterpret_cast< wxFont * >(argp3);
10524 }
10525 if (obj3) {
10526 ecode4 = SWIG_AsVal_int(obj3, &val4);
10527 if (!SWIG_IsOK(ecode4)) {
10528 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10529 }
10530 arg4 = static_cast< wxTextAttrAlignment >(val4);
10531 }
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10539 return resultobj;
10540 fail:
10541 return NULL;
10542 }
10543
10544
10545 SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10546 PyObject *resultobj = 0;
10547 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10548 void *argp1 = 0 ;
10549 int res1 = 0 ;
10550 PyObject *swig_obj[1] ;
10551
10552 if (!args) SWIG_fail;
10553 swig_obj[0] = args;
10554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10555 if (!SWIG_IsOK(res1)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10557 }
10558 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 delete arg1;
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 resultobj = SWIG_Py_Void();
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10574 PyObject *resultobj = 0;
10575 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10576 void *argp1 = 0 ;
10577 int res1 = 0 ;
10578 PyObject *swig_obj[1] ;
10579
10580 if (!args) SWIG_fail;
10581 swig_obj[0] = args;
10582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10583 if (!SWIG_IsOK(res1)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10585 }
10586 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 (arg1)->Init();
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 resultobj = SWIG_Py_Void();
10594 return resultobj;
10595 fail:
10596 return NULL;
10597 }
10598
10599
10600 SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj = 0;
10602 wxTextAttr *arg1 = 0 ;
10603 wxTextAttr *arg2 = 0 ;
10604 wxTextAttr result;
10605 void *argp1 = 0 ;
10606 int res1 = 0 ;
10607 void *argp2 = 0 ;
10608 int res2 = 0 ;
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 char * kwnames[] = {
10612 (char *) "base",(char *) "overlay", NULL
10613 };
10614
10615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10616 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10617 if (!SWIG_IsOK(res1)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10619 }
10620 if (!argp1) {
10621 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10622 }
10623 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10624 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10625 if (!SWIG_IsOK(res2)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10627 }
10628 if (!argp2) {
10629 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10630 }
10631 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10635 wxPyEndAllowThreads(__tstate);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10639 return resultobj;
10640 fail:
10641 return NULL;
10642 }
10643
10644
10645 SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10646 PyObject *resultobj = 0;
10647 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10648 wxColour *arg2 = 0 ;
10649 void *argp1 = 0 ;
10650 int res1 = 0 ;
10651 wxColour temp2 ;
10652 PyObject * obj0 = 0 ;
10653 PyObject * obj1 = 0 ;
10654 char * kwnames[] = {
10655 (char *) "self",(char *) "colText", NULL
10656 };
10657
10658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10660 if (!SWIG_IsOK(res1)) {
10661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10662 }
10663 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10664 {
10665 arg2 = &temp2;
10666 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10667 }
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 (arg1)->SetTextColour((wxColour const &)*arg2);
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 resultobj = SWIG_Py_Void();
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10682 PyObject *resultobj = 0;
10683 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10684 wxColour *arg2 = 0 ;
10685 void *argp1 = 0 ;
10686 int res1 = 0 ;
10687 wxColour temp2 ;
10688 PyObject * obj0 = 0 ;
10689 PyObject * obj1 = 0 ;
10690 char * kwnames[] = {
10691 (char *) "self",(char *) "colBack", NULL
10692 };
10693
10694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10696 if (!SWIG_IsOK(res1)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10698 }
10699 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10700 {
10701 arg2 = &temp2;
10702 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10703 }
10704 {
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10707 wxPyEndAllowThreads(__tstate);
10708 if (PyErr_Occurred()) SWIG_fail;
10709 }
10710 resultobj = SWIG_Py_Void();
10711 return resultobj;
10712 fail:
10713 return NULL;
10714 }
10715
10716
10717 SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10718 PyObject *resultobj = 0;
10719 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10720 wxFont *arg2 = 0 ;
10721 long arg3 = (long) wxTEXT_ATTR_FONT ;
10722 void *argp1 = 0 ;
10723 int res1 = 0 ;
10724 void *argp2 = 0 ;
10725 int res2 = 0 ;
10726 long val3 ;
10727 int ecode3 = 0 ;
10728 PyObject * obj0 = 0 ;
10729 PyObject * obj1 = 0 ;
10730 PyObject * obj2 = 0 ;
10731 char * kwnames[] = {
10732 (char *) "self",(char *) "font",(char *) "flags", NULL
10733 };
10734
10735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10737 if (!SWIG_IsOK(res1)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10739 }
10740 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10741 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10742 if (!SWIG_IsOK(res2)) {
10743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10744 }
10745 if (!argp2) {
10746 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10747 }
10748 arg2 = reinterpret_cast< wxFont * >(argp2);
10749 if (obj2) {
10750 ecode3 = SWIG_AsVal_long(obj2, &val3);
10751 if (!SWIG_IsOK(ecode3)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10753 }
10754 arg3 = static_cast< long >(val3);
10755 }
10756 {
10757 PyThreadState* __tstate = wxPyBeginAllowThreads();
10758 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10759 wxPyEndAllowThreads(__tstate);
10760 if (PyErr_Occurred()) SWIG_fail;
10761 }
10762 resultobj = SWIG_Py_Void();
10763 return resultobj;
10764 fail:
10765 return NULL;
10766 }
10767
10768
10769 SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10770 PyObject *resultobj = 0;
10771 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10772 wxTextAttrAlignment arg2 ;
10773 void *argp1 = 0 ;
10774 int res1 = 0 ;
10775 int val2 ;
10776 int ecode2 = 0 ;
10777 PyObject * obj0 = 0 ;
10778 PyObject * obj1 = 0 ;
10779 char * kwnames[] = {
10780 (char *) "self",(char *) "alignment", NULL
10781 };
10782
10783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10785 if (!SWIG_IsOK(res1)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10787 }
10788 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10789 ecode2 = SWIG_AsVal_int(obj1, &val2);
10790 if (!SWIG_IsOK(ecode2)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10792 }
10793 arg2 = static_cast< wxTextAttrAlignment >(val2);
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 (arg1)->SetAlignment(arg2);
10797 wxPyEndAllowThreads(__tstate);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
10800 resultobj = SWIG_Py_Void();
10801 return resultobj;
10802 fail:
10803 return NULL;
10804 }
10805
10806
10807 SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10808 PyObject *resultobj = 0;
10809 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10810 wxArrayInt *arg2 = 0 ;
10811 void *argp1 = 0 ;
10812 int res1 = 0 ;
10813 bool temp2 = false ;
10814 PyObject * obj0 = 0 ;
10815 PyObject * obj1 = 0 ;
10816 char * kwnames[] = {
10817 (char *) "self",(char *) "tabs", NULL
10818 };
10819
10820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10822 if (!SWIG_IsOK(res1)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10824 }
10825 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10826 {
10827 if (! PySequence_Check(obj1)) {
10828 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10829 SWIG_fail;
10830 }
10831 arg2 = new wxArrayInt;
10832 temp2 = true;
10833 int i, len=PySequence_Length(obj1);
10834 for (i=0; i<len; i++) {
10835 PyObject* item = PySequence_GetItem(obj1, i);
10836 PyObject* number = PyNumber_Int(item);
10837 if (!number) {
10838 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10839 SWIG_fail;
10840 }
10841 arg2->Add(PyInt_AS_LONG(number));
10842 Py_DECREF(item);
10843 Py_DECREF(number);
10844 }
10845 }
10846 {
10847 PyThreadState* __tstate = wxPyBeginAllowThreads();
10848 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 resultobj = SWIG_Py_Void();
10853 {
10854 if (temp2) delete arg2;
10855 }
10856 return resultobj;
10857 fail:
10858 {
10859 if (temp2) delete arg2;
10860 }
10861 return NULL;
10862 }
10863
10864
10865 SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10866 PyObject *resultobj = 0;
10867 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10868 int arg2 ;
10869 int arg3 = (int) 0 ;
10870 void *argp1 = 0 ;
10871 int res1 = 0 ;
10872 int val2 ;
10873 int ecode2 = 0 ;
10874 int val3 ;
10875 int ecode3 = 0 ;
10876 PyObject * obj0 = 0 ;
10877 PyObject * obj1 = 0 ;
10878 PyObject * obj2 = 0 ;
10879 char * kwnames[] = {
10880 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10881 };
10882
10883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10885 if (!SWIG_IsOK(res1)) {
10886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10887 }
10888 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10889 ecode2 = SWIG_AsVal_int(obj1, &val2);
10890 if (!SWIG_IsOK(ecode2)) {
10891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10892 }
10893 arg2 = static_cast< int >(val2);
10894 if (obj2) {
10895 ecode3 = SWIG_AsVal_int(obj2, &val3);
10896 if (!SWIG_IsOK(ecode3)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10898 }
10899 arg3 = static_cast< int >(val3);
10900 }
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 (arg1)->SetLeftIndent(arg2,arg3);
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 resultobj = SWIG_Py_Void();
10908 return resultobj;
10909 fail:
10910 return NULL;
10911 }
10912
10913
10914 SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10915 PyObject *resultobj = 0;
10916 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10917 int arg2 ;
10918 void *argp1 = 0 ;
10919 int res1 = 0 ;
10920 int val2 ;
10921 int ecode2 = 0 ;
10922 PyObject * obj0 = 0 ;
10923 PyObject * obj1 = 0 ;
10924 char * kwnames[] = {
10925 (char *) "self",(char *) "indent", NULL
10926 };
10927
10928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10930 if (!SWIG_IsOK(res1)) {
10931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10932 }
10933 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10934 ecode2 = SWIG_AsVal_int(obj1, &val2);
10935 if (!SWIG_IsOK(ecode2)) {
10936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10937 }
10938 arg2 = static_cast< int >(val2);
10939 {
10940 PyThreadState* __tstate = wxPyBeginAllowThreads();
10941 (arg1)->SetRightIndent(arg2);
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
10945 resultobj = SWIG_Py_Void();
10946 return resultobj;
10947 fail:
10948 return NULL;
10949 }
10950
10951
10952 SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10953 PyObject *resultobj = 0;
10954 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10955 long arg2 ;
10956 void *argp1 = 0 ;
10957 int res1 = 0 ;
10958 long val2 ;
10959 int ecode2 = 0 ;
10960 PyObject * obj0 = 0 ;
10961 PyObject * obj1 = 0 ;
10962 char * kwnames[] = {
10963 (char *) "self",(char *) "flags", NULL
10964 };
10965
10966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10968 if (!SWIG_IsOK(res1)) {
10969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10970 }
10971 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10972 ecode2 = SWIG_AsVal_long(obj1, &val2);
10973 if (!SWIG_IsOK(ecode2)) {
10974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10975 }
10976 arg2 = static_cast< long >(val2);
10977 {
10978 PyThreadState* __tstate = wxPyBeginAllowThreads();
10979 (arg1)->SetFlags(arg2);
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 resultobj = SWIG_Py_Void();
10984 return resultobj;
10985 fail:
10986 return NULL;
10987 }
10988
10989
10990 SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10991 PyObject *resultobj = 0;
10992 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10993 bool result;
10994 void *argp1 = 0 ;
10995 int res1 = 0 ;
10996 PyObject *swig_obj[1] ;
10997
10998 if (!args) SWIG_fail;
10999 swig_obj[0] = args;
11000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11001 if (!SWIG_IsOK(res1)) {
11002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11003 }
11004 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11005 {
11006 PyThreadState* __tstate = wxPyBeginAllowThreads();
11007 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 {
11012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11013 }
11014 return resultobj;
11015 fail:
11016 return NULL;
11017 }
11018
11019
11020 SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11021 PyObject *resultobj = 0;
11022 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11023 bool result;
11024 void *argp1 = 0 ;
11025 int res1 = 0 ;
11026 PyObject *swig_obj[1] ;
11027
11028 if (!args) SWIG_fail;
11029 swig_obj[0] = args;
11030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11031 if (!SWIG_IsOK(res1)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11033 }
11034 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
11037 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
11038 wxPyEndAllowThreads(__tstate);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 }
11041 {
11042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11043 }
11044 return resultobj;
11045 fail:
11046 return NULL;
11047 }
11048
11049
11050 SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11051 PyObject *resultobj = 0;
11052 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11053 bool result;
11054 void *argp1 = 0 ;
11055 int res1 = 0 ;
11056 PyObject *swig_obj[1] ;
11057
11058 if (!args) SWIG_fail;
11059 swig_obj[0] = args;
11060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11061 if (!SWIG_IsOK(res1)) {
11062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11063 }
11064 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11065 {
11066 PyThreadState* __tstate = wxPyBeginAllowThreads();
11067 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11068 wxPyEndAllowThreads(__tstate);
11069 if (PyErr_Occurred()) SWIG_fail;
11070 }
11071 {
11072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11073 }
11074 return resultobj;
11075 fail:
11076 return NULL;
11077 }
11078
11079
11080 SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11081 PyObject *resultobj = 0;
11082 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11083 bool result;
11084 void *argp1 = 0 ;
11085 int res1 = 0 ;
11086 PyObject *swig_obj[1] ;
11087
11088 if (!args) SWIG_fail;
11089 swig_obj[0] = args;
11090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11091 if (!SWIG_IsOK(res1)) {
11092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11093 }
11094 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11095 {
11096 PyThreadState* __tstate = wxPyBeginAllowThreads();
11097 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11098 wxPyEndAllowThreads(__tstate);
11099 if (PyErr_Occurred()) SWIG_fail;
11100 }
11101 {
11102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11103 }
11104 return resultobj;
11105 fail:
11106 return NULL;
11107 }
11108
11109
11110 SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11111 PyObject *resultobj = 0;
11112 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11113 bool result;
11114 void *argp1 = 0 ;
11115 int res1 = 0 ;
11116 PyObject *swig_obj[1] ;
11117
11118 if (!args) SWIG_fail;
11119 swig_obj[0] = args;
11120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11121 if (!SWIG_IsOK(res1)) {
11122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11123 }
11124 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11125 {
11126 PyThreadState* __tstate = wxPyBeginAllowThreads();
11127 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 {
11132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11133 }
11134 return resultobj;
11135 fail:
11136 return NULL;
11137 }
11138
11139
11140 SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11141 PyObject *resultobj = 0;
11142 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11143 bool result;
11144 void *argp1 = 0 ;
11145 int res1 = 0 ;
11146 PyObject *swig_obj[1] ;
11147
11148 if (!args) SWIG_fail;
11149 swig_obj[0] = args;
11150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11151 if (!SWIG_IsOK(res1)) {
11152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11153 }
11154 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11155 {
11156 PyThreadState* __tstate = wxPyBeginAllowThreads();
11157 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 {
11162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11163 }
11164 return resultobj;
11165 fail:
11166 return NULL;
11167 }
11168
11169
11170 SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11171 PyObject *resultobj = 0;
11172 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11173 bool result;
11174 void *argp1 = 0 ;
11175 int res1 = 0 ;
11176 PyObject *swig_obj[1] ;
11177
11178 if (!args) SWIG_fail;
11179 swig_obj[0] = args;
11180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11181 if (!SWIG_IsOK(res1)) {
11182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11183 }
11184 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11185 {
11186 PyThreadState* __tstate = wxPyBeginAllowThreads();
11187 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11188 wxPyEndAllowThreads(__tstate);
11189 if (PyErr_Occurred()) SWIG_fail;
11190 }
11191 {
11192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11193 }
11194 return resultobj;
11195 fail:
11196 return NULL;
11197 }
11198
11199
11200 SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11201 PyObject *resultobj = 0;
11202 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11203 long arg2 ;
11204 bool result;
11205 void *argp1 = 0 ;
11206 int res1 = 0 ;
11207 long val2 ;
11208 int ecode2 = 0 ;
11209 PyObject * obj0 = 0 ;
11210 PyObject * obj1 = 0 ;
11211 char * kwnames[] = {
11212 (char *) "self",(char *) "flag", NULL
11213 };
11214
11215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11217 if (!SWIG_IsOK(res1)) {
11218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11219 }
11220 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11221 ecode2 = SWIG_AsVal_long(obj1, &val2);
11222 if (!SWIG_IsOK(ecode2)) {
11223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11224 }
11225 arg2 = static_cast< long >(val2);
11226 {
11227 PyThreadState* __tstate = wxPyBeginAllowThreads();
11228 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 {
11233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11234 }
11235 return resultobj;
11236 fail:
11237 return NULL;
11238 }
11239
11240
11241 SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11242 PyObject *resultobj = 0;
11243 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11244 wxColour *result = 0 ;
11245 void *argp1 = 0 ;
11246 int res1 = 0 ;
11247 PyObject *swig_obj[1] ;
11248
11249 if (!args) SWIG_fail;
11250 swig_obj[0] = args;
11251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11252 if (!SWIG_IsOK(res1)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11254 }
11255 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
11258 {
11259 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11260 result = (wxColour *) &_result_ref;
11261 }
11262 wxPyEndAllowThreads(__tstate);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 }
11265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11266 return resultobj;
11267 fail:
11268 return NULL;
11269 }
11270
11271
11272 SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11273 PyObject *resultobj = 0;
11274 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11275 wxColour *result = 0 ;
11276 void *argp1 = 0 ;
11277 int res1 = 0 ;
11278 PyObject *swig_obj[1] ;
11279
11280 if (!args) SWIG_fail;
11281 swig_obj[0] = args;
11282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11283 if (!SWIG_IsOK(res1)) {
11284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11285 }
11286 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11287 {
11288 PyThreadState* __tstate = wxPyBeginAllowThreads();
11289 {
11290 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11291 result = (wxColour *) &_result_ref;
11292 }
11293 wxPyEndAllowThreads(__tstate);
11294 if (PyErr_Occurred()) SWIG_fail;
11295 }
11296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11297 return resultobj;
11298 fail:
11299 return NULL;
11300 }
11301
11302
11303 SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11304 PyObject *resultobj = 0;
11305 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11306 wxFont *result = 0 ;
11307 void *argp1 = 0 ;
11308 int res1 = 0 ;
11309 PyObject *swig_obj[1] ;
11310
11311 if (!args) SWIG_fail;
11312 swig_obj[0] = args;
11313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11314 if (!SWIG_IsOK(res1)) {
11315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11316 }
11317 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11318 {
11319 PyThreadState* __tstate = wxPyBeginAllowThreads();
11320 {
11321 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11322 result = (wxFont *) &_result_ref;
11323 }
11324 wxPyEndAllowThreads(__tstate);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 }
11327 {
11328 wxFont* resultptr = new wxFont(*result);
11329 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11330 }
11331 return resultobj;
11332 fail:
11333 return NULL;
11334 }
11335
11336
11337 SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11338 PyObject *resultobj = 0;
11339 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11340 wxTextAttrAlignment result;
11341 void *argp1 = 0 ;
11342 int res1 = 0 ;
11343 PyObject *swig_obj[1] ;
11344
11345 if (!args) SWIG_fail;
11346 swig_obj[0] = args;
11347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11348 if (!SWIG_IsOK(res1)) {
11349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11350 }
11351 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 resultobj = SWIG_From_int(static_cast< int >(result));
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11366 PyObject *resultobj = 0;
11367 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11368 wxArrayInt *result = 0 ;
11369 void *argp1 = 0 ;
11370 int res1 = 0 ;
11371 PyObject *swig_obj[1] ;
11372
11373 if (!args) SWIG_fail;
11374 swig_obj[0] = args;
11375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11376 if (!SWIG_IsOK(res1)) {
11377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11378 }
11379 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
11382 {
11383 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11384 result = (wxArrayInt *) &_result_ref;
11385 }
11386 wxPyEndAllowThreads(__tstate);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 {
11390 resultobj = wxArrayInt2PyList_helper(*result);
11391 }
11392 return resultobj;
11393 fail:
11394 return NULL;
11395 }
11396
11397
11398 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11399 PyObject *resultobj = 0;
11400 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11401 long result;
11402 void *argp1 = 0 ;
11403 int res1 = 0 ;
11404 PyObject *swig_obj[1] ;
11405
11406 if (!args) SWIG_fail;
11407 swig_obj[0] = args;
11408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11409 if (!SWIG_IsOK(res1)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11411 }
11412 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11413 {
11414 PyThreadState* __tstate = wxPyBeginAllowThreads();
11415 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11416 wxPyEndAllowThreads(__tstate);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
11419 resultobj = SWIG_From_long(static_cast< long >(result));
11420 return resultobj;
11421 fail:
11422 return NULL;
11423 }
11424
11425
11426 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11427 PyObject *resultobj = 0;
11428 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11429 long result;
11430 void *argp1 = 0 ;
11431 int res1 = 0 ;
11432 PyObject *swig_obj[1] ;
11433
11434 if (!args) SWIG_fail;
11435 swig_obj[0] = args;
11436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11437 if (!SWIG_IsOK(res1)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11439 }
11440 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11441 {
11442 PyThreadState* __tstate = wxPyBeginAllowThreads();
11443 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 resultobj = SWIG_From_long(static_cast< long >(result));
11448 return resultobj;
11449 fail:
11450 return NULL;
11451 }
11452
11453
11454 SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11455 PyObject *resultobj = 0;
11456 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11457 long result;
11458 void *argp1 = 0 ;
11459 int res1 = 0 ;
11460 PyObject *swig_obj[1] ;
11461
11462 if (!args) SWIG_fail;
11463 swig_obj[0] = args;
11464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11465 if (!SWIG_IsOK(res1)) {
11466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11467 }
11468 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11472 wxPyEndAllowThreads(__tstate);
11473 if (PyErr_Occurred()) SWIG_fail;
11474 }
11475 resultobj = SWIG_From_long(static_cast< long >(result));
11476 return resultobj;
11477 fail:
11478 return NULL;
11479 }
11480
11481
11482 SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11483 PyObject *resultobj = 0;
11484 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11485 long result;
11486 void *argp1 = 0 ;
11487 int res1 = 0 ;
11488 PyObject *swig_obj[1] ;
11489
11490 if (!args) SWIG_fail;
11491 swig_obj[0] = args;
11492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11493 if (!SWIG_IsOK(res1)) {
11494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11495 }
11496 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 resultobj = SWIG_From_long(static_cast< long >(result));
11504 return resultobj;
11505 fail:
11506 return NULL;
11507 }
11508
11509
11510 SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11511 PyObject *resultobj = 0;
11512 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11513 bool result;
11514 void *argp1 = 0 ;
11515 int res1 = 0 ;
11516 PyObject *swig_obj[1] ;
11517
11518 if (!args) SWIG_fail;
11519 swig_obj[0] = args;
11520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11521 if (!SWIG_IsOK(res1)) {
11522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11523 }
11524 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 {
11532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11533 }
11534 return resultobj;
11535 fail:
11536 return NULL;
11537 }
11538
11539
11540 SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11541 PyObject *resultobj = 0;
11542 wxTextAttr *arg1 = 0 ;
11543 wxTextAttr *arg2 = 0 ;
11544 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11545 wxTextAttr result;
11546 void *argp1 = 0 ;
11547 int res1 = 0 ;
11548 void *argp2 = 0 ;
11549 int res2 = 0 ;
11550 void *argp3 = 0 ;
11551 int res3 = 0 ;
11552 PyObject * obj0 = 0 ;
11553 PyObject * obj1 = 0 ;
11554 PyObject * obj2 = 0 ;
11555 char * kwnames[] = {
11556 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11557 };
11558
11559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11560 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11561 if (!SWIG_IsOK(res1)) {
11562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11563 }
11564 if (!argp1) {
11565 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11566 }
11567 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11568 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11569 if (!SWIG_IsOK(res2)) {
11570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11571 }
11572 if (!argp2) {
11573 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11574 }
11575 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11576 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11577 if (!SWIG_IsOK(res3)) {
11578 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11579 }
11580 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11584 wxPyEndAllowThreads(__tstate);
11585 if (PyErr_Occurred()) SWIG_fail;
11586 }
11587 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11588 return resultobj;
11589 fail:
11590 return NULL;
11591 }
11592
11593
11594 SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11595 PyObject *obj;
11596 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11597 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11598 return SWIG_Py_Void();
11599 }
11600
11601 SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11602 return SWIG_Python_InitShadowInstance(args);
11603 }
11604
11605 SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11606 PyObject *resultobj = 0;
11607 wxWindow *arg1 = (wxWindow *) 0 ;
11608 int arg2 = (int) -1 ;
11609 wxString const &arg3_defvalue = wxPyEmptyString ;
11610 wxString *arg3 = (wxString *) &arg3_defvalue ;
11611 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11612 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11613 wxSize const &arg5_defvalue = wxDefaultSize ;
11614 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11615 long arg6 = (long) 0 ;
11616 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11617 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11618 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11619 wxString *arg8 = (wxString *) &arg8_defvalue ;
11620 wxTextCtrl *result = 0 ;
11621 void *argp1 = 0 ;
11622 int res1 = 0 ;
11623 int val2 ;
11624 int ecode2 = 0 ;
11625 bool temp3 = false ;
11626 wxPoint temp4 ;
11627 wxSize temp5 ;
11628 long val6 ;
11629 int ecode6 = 0 ;
11630 void *argp7 = 0 ;
11631 int res7 = 0 ;
11632 bool temp8 = false ;
11633 PyObject * obj0 = 0 ;
11634 PyObject * obj1 = 0 ;
11635 PyObject * obj2 = 0 ;
11636 PyObject * obj3 = 0 ;
11637 PyObject * obj4 = 0 ;
11638 PyObject * obj5 = 0 ;
11639 PyObject * obj6 = 0 ;
11640 PyObject * obj7 = 0 ;
11641 char * kwnames[] = {
11642 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11643 };
11644
11645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11647 if (!SWIG_IsOK(res1)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11649 }
11650 arg1 = reinterpret_cast< wxWindow * >(argp1);
11651 if (obj1) {
11652 ecode2 = SWIG_AsVal_int(obj1, &val2);
11653 if (!SWIG_IsOK(ecode2)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11655 }
11656 arg2 = static_cast< int >(val2);
11657 }
11658 if (obj2) {
11659 {
11660 arg3 = wxString_in_helper(obj2);
11661 if (arg3 == NULL) SWIG_fail;
11662 temp3 = true;
11663 }
11664 }
11665 if (obj3) {
11666 {
11667 arg4 = &temp4;
11668 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11669 }
11670 }
11671 if (obj4) {
11672 {
11673 arg5 = &temp5;
11674 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11675 }
11676 }
11677 if (obj5) {
11678 ecode6 = SWIG_AsVal_long(obj5, &val6);
11679 if (!SWIG_IsOK(ecode6)) {
11680 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11681 }
11682 arg6 = static_cast< long >(val6);
11683 }
11684 if (obj6) {
11685 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11686 if (!SWIG_IsOK(res7)) {
11687 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11688 }
11689 if (!argp7) {
11690 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11691 }
11692 arg7 = reinterpret_cast< wxValidator * >(argp7);
11693 }
11694 if (obj7) {
11695 {
11696 arg8 = wxString_in_helper(obj7);
11697 if (arg8 == NULL) SWIG_fail;
11698 temp8 = true;
11699 }
11700 }
11701 {
11702 if (!wxPyCheckForApp()) SWIG_fail;
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11709 {
11710 if (temp3)
11711 delete arg3;
11712 }
11713 {
11714 if (temp8)
11715 delete arg8;
11716 }
11717 return resultobj;
11718 fail:
11719 {
11720 if (temp3)
11721 delete arg3;
11722 }
11723 {
11724 if (temp8)
11725 delete arg8;
11726 }
11727 return NULL;
11728 }
11729
11730
11731 SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11732 PyObject *resultobj = 0;
11733 wxTextCtrl *result = 0 ;
11734
11735 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11736 {
11737 if (!wxPyCheckForApp()) SWIG_fail;
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = (wxTextCtrl *)new wxTextCtrl();
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11744 return resultobj;
11745 fail:
11746 return NULL;
11747 }
11748
11749
11750 SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11751 PyObject *resultobj = 0;
11752 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11753 wxWindow *arg2 = (wxWindow *) 0 ;
11754 int arg3 = (int) -1 ;
11755 wxString const &arg4_defvalue = wxPyEmptyString ;
11756 wxString *arg4 = (wxString *) &arg4_defvalue ;
11757 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11758 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11759 wxSize const &arg6_defvalue = wxDefaultSize ;
11760 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11761 long arg7 = (long) 0 ;
11762 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11763 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11764 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11765 wxString *arg9 = (wxString *) &arg9_defvalue ;
11766 bool result;
11767 void *argp1 = 0 ;
11768 int res1 = 0 ;
11769 void *argp2 = 0 ;
11770 int res2 = 0 ;
11771 int val3 ;
11772 int ecode3 = 0 ;
11773 bool temp4 = false ;
11774 wxPoint temp5 ;
11775 wxSize temp6 ;
11776 long val7 ;
11777 int ecode7 = 0 ;
11778 void *argp8 = 0 ;
11779 int res8 = 0 ;
11780 bool temp9 = false ;
11781 PyObject * obj0 = 0 ;
11782 PyObject * obj1 = 0 ;
11783 PyObject * obj2 = 0 ;
11784 PyObject * obj3 = 0 ;
11785 PyObject * obj4 = 0 ;
11786 PyObject * obj5 = 0 ;
11787 PyObject * obj6 = 0 ;
11788 PyObject * obj7 = 0 ;
11789 PyObject * obj8 = 0 ;
11790 char * kwnames[] = {
11791 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11792 };
11793
11794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11796 if (!SWIG_IsOK(res1)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11798 }
11799 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11800 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11801 if (!SWIG_IsOK(res2)) {
11802 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11803 }
11804 arg2 = reinterpret_cast< wxWindow * >(argp2);
11805 if (obj2) {
11806 ecode3 = SWIG_AsVal_int(obj2, &val3);
11807 if (!SWIG_IsOK(ecode3)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11809 }
11810 arg3 = static_cast< int >(val3);
11811 }
11812 if (obj3) {
11813 {
11814 arg4 = wxString_in_helper(obj3);
11815 if (arg4 == NULL) SWIG_fail;
11816 temp4 = true;
11817 }
11818 }
11819 if (obj4) {
11820 {
11821 arg5 = &temp5;
11822 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11823 }
11824 }
11825 if (obj5) {
11826 {
11827 arg6 = &temp6;
11828 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11829 }
11830 }
11831 if (obj6) {
11832 ecode7 = SWIG_AsVal_long(obj6, &val7);
11833 if (!SWIG_IsOK(ecode7)) {
11834 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11835 }
11836 arg7 = static_cast< long >(val7);
11837 }
11838 if (obj7) {
11839 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11840 if (!SWIG_IsOK(res8)) {
11841 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11842 }
11843 if (!argp8) {
11844 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11845 }
11846 arg8 = reinterpret_cast< wxValidator * >(argp8);
11847 }
11848 if (obj8) {
11849 {
11850 arg9 = wxString_in_helper(obj8);
11851 if (arg9 == NULL) SWIG_fail;
11852 temp9 = true;
11853 }
11854 }
11855 {
11856 PyThreadState* __tstate = wxPyBeginAllowThreads();
11857 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11858 wxPyEndAllowThreads(__tstate);
11859 if (PyErr_Occurred()) SWIG_fail;
11860 }
11861 {
11862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11863 }
11864 {
11865 if (temp4)
11866 delete arg4;
11867 }
11868 {
11869 if (temp9)
11870 delete arg9;
11871 }
11872 return resultobj;
11873 fail:
11874 {
11875 if (temp4)
11876 delete arg4;
11877 }
11878 {
11879 if (temp9)
11880 delete arg9;
11881 }
11882 return NULL;
11883 }
11884
11885
11886 SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11887 PyObject *resultobj = 0;
11888 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11889 wxString result;
11890 void *argp1 = 0 ;
11891 int res1 = 0 ;
11892 PyObject *swig_obj[1] ;
11893
11894 if (!args) SWIG_fail;
11895 swig_obj[0] = args;
11896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11897 if (!SWIG_IsOK(res1)) {
11898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11899 }
11900 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11901 {
11902 PyThreadState* __tstate = wxPyBeginAllowThreads();
11903 result = ((wxTextCtrl const *)arg1)->GetValue();
11904 wxPyEndAllowThreads(__tstate);
11905 if (PyErr_Occurred()) SWIG_fail;
11906 }
11907 {
11908 #if wxUSE_UNICODE
11909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11910 #else
11911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11912 #endif
11913 }
11914 return resultobj;
11915 fail:
11916 return NULL;
11917 }
11918
11919
11920 SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11921 PyObject *resultobj = 0;
11922 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11923 wxString *arg2 = 0 ;
11924 void *argp1 = 0 ;
11925 int res1 = 0 ;
11926 bool temp2 = false ;
11927 PyObject * obj0 = 0 ;
11928 PyObject * obj1 = 0 ;
11929 char * kwnames[] = {
11930 (char *) "self",(char *) "value", NULL
11931 };
11932
11933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11935 if (!SWIG_IsOK(res1)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11937 }
11938 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11939 {
11940 arg2 = wxString_in_helper(obj1);
11941 if (arg2 == NULL) SWIG_fail;
11942 temp2 = true;
11943 }
11944 {
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 (arg1)->SetValue((wxString const &)*arg2);
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 resultobj = SWIG_Py_Void();
11951 {
11952 if (temp2)
11953 delete arg2;
11954 }
11955 return resultobj;
11956 fail:
11957 {
11958 if (temp2)
11959 delete arg2;
11960 }
11961 return NULL;
11962 }
11963
11964
11965 SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11966 PyObject *resultobj = 0;
11967 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11968 bool result;
11969 void *argp1 = 0 ;
11970 int res1 = 0 ;
11971 PyObject *swig_obj[1] ;
11972
11973 if (!args) SWIG_fail;
11974 swig_obj[0] = args;
11975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11976 if (!SWIG_IsOK(res1)) {
11977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11978 }
11979 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
11982 result = (bool)((wxTextCtrl const *)arg1)->IsEmpty();
11983 wxPyEndAllowThreads(__tstate);
11984 if (PyErr_Occurred()) SWIG_fail;
11985 }
11986 {
11987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11988 }
11989 return resultobj;
11990 fail:
11991 return NULL;
11992 }
11993
11994
11995 SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj = 0;
11997 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11998 wxString *arg2 = 0 ;
11999 void *argp1 = 0 ;
12000 int res1 = 0 ;
12001 bool temp2 = false ;
12002 PyObject * obj0 = 0 ;
12003 PyObject * obj1 = 0 ;
12004 char * kwnames[] = {
12005 (char *) "self",(char *) "value", NULL
12006 };
12007
12008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail;
12009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12010 if (!SWIG_IsOK(res1)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12012 }
12013 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12014 {
12015 arg2 = wxString_in_helper(obj1);
12016 if (arg2 == NULL) SWIG_fail;
12017 temp2 = true;
12018 }
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 (arg1)->ChangeValue((wxString const &)*arg2);
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 resultobj = SWIG_Py_Void();
12026 {
12027 if (temp2)
12028 delete arg2;
12029 }
12030 return resultobj;
12031 fail:
12032 {
12033 if (temp2)
12034 delete arg2;
12035 }
12036 return NULL;
12037 }
12038
12039
12040 SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj = 0;
12042 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12043 long arg2 ;
12044 long arg3 ;
12045 wxString result;
12046 void *argp1 = 0 ;
12047 int res1 = 0 ;
12048 long val2 ;
12049 int ecode2 = 0 ;
12050 long val3 ;
12051 int ecode3 = 0 ;
12052 PyObject * obj0 = 0 ;
12053 PyObject * obj1 = 0 ;
12054 PyObject * obj2 = 0 ;
12055 char * kwnames[] = {
12056 (char *) "self",(char *) "from",(char *) "to", NULL
12057 };
12058
12059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12061 if (!SWIG_IsOK(res1)) {
12062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12063 }
12064 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12065 ecode2 = SWIG_AsVal_long(obj1, &val2);
12066 if (!SWIG_IsOK(ecode2)) {
12067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12068 }
12069 arg2 = static_cast< long >(val2);
12070 ecode3 = SWIG_AsVal_long(obj2, &val3);
12071 if (!SWIG_IsOK(ecode3)) {
12072 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12073 }
12074 arg3 = static_cast< long >(val3);
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
12081 {
12082 #if wxUSE_UNICODE
12083 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12084 #else
12085 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12086 #endif
12087 }
12088 return resultobj;
12089 fail:
12090 return NULL;
12091 }
12092
12093
12094 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12095 PyObject *resultobj = 0;
12096 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12097 long arg2 ;
12098 int result;
12099 void *argp1 = 0 ;
12100 int res1 = 0 ;
12101 long val2 ;
12102 int ecode2 = 0 ;
12103 PyObject * obj0 = 0 ;
12104 PyObject * obj1 = 0 ;
12105 char * kwnames[] = {
12106 (char *) "self",(char *) "lineNo", NULL
12107 };
12108
12109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12111 if (!SWIG_IsOK(res1)) {
12112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12113 }
12114 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12115 ecode2 = SWIG_AsVal_long(obj1, &val2);
12116 if (!SWIG_IsOK(ecode2)) {
12117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12118 }
12119 arg2 = static_cast< long >(val2);
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 resultobj = SWIG_From_int(static_cast< int >(result));
12127 return resultobj;
12128 fail:
12129 return NULL;
12130 }
12131
12132
12133 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12134 PyObject *resultobj = 0;
12135 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12136 long arg2 ;
12137 wxString result;
12138 void *argp1 = 0 ;
12139 int res1 = 0 ;
12140 long val2 ;
12141 int ecode2 = 0 ;
12142 PyObject * obj0 = 0 ;
12143 PyObject * obj1 = 0 ;
12144 char * kwnames[] = {
12145 (char *) "self",(char *) "lineNo", NULL
12146 };
12147
12148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12150 if (!SWIG_IsOK(res1)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12152 }
12153 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12154 ecode2 = SWIG_AsVal_long(obj1, &val2);
12155 if (!SWIG_IsOK(ecode2)) {
12156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12157 }
12158 arg2 = static_cast< long >(val2);
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 {
12166 #if wxUSE_UNICODE
12167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12168 #else
12169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12170 #endif
12171 }
12172 return resultobj;
12173 fail:
12174 return NULL;
12175 }
12176
12177
12178 SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12179 PyObject *resultobj = 0;
12180 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12181 int result;
12182 void *argp1 = 0 ;
12183 int res1 = 0 ;
12184 PyObject *swig_obj[1] ;
12185
12186 if (!args) SWIG_fail;
12187 swig_obj[0] = args;
12188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12189 if (!SWIG_IsOK(res1)) {
12190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12191 }
12192 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12193 {
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 resultobj = SWIG_From_int(static_cast< int >(result));
12200 return resultobj;
12201 fail:
12202 return NULL;
12203 }
12204
12205
12206 SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12207 PyObject *resultobj = 0;
12208 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12209 bool result;
12210 void *argp1 = 0 ;
12211 int res1 = 0 ;
12212 PyObject *swig_obj[1] ;
12213
12214 if (!args) SWIG_fail;
12215 swig_obj[0] = args;
12216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12217 if (!SWIG_IsOK(res1)) {
12218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12219 }
12220 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 {
12228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12229 }
12230 return resultobj;
12231 fail:
12232 return NULL;
12233 }
12234
12235
12236 SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12237 PyObject *resultobj = 0;
12238 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12239 bool result;
12240 void *argp1 = 0 ;
12241 int res1 = 0 ;
12242 PyObject *swig_obj[1] ;
12243
12244 if (!args) SWIG_fail;
12245 swig_obj[0] = args;
12246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12247 if (!SWIG_IsOK(res1)) {
12248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12249 }
12250 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 {
12258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12259 }
12260 return resultobj;
12261 fail:
12262 return NULL;
12263 }
12264
12265
12266 SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12267 PyObject *resultobj = 0;
12268 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12269 bool result;
12270 void *argp1 = 0 ;
12271 int res1 = 0 ;
12272 PyObject *swig_obj[1] ;
12273
12274 if (!args) SWIG_fail;
12275 swig_obj[0] = args;
12276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12277 if (!SWIG_IsOK(res1)) {
12278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12279 }
12280 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12281 {
12282 PyThreadState* __tstate = wxPyBeginAllowThreads();
12283 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12284 wxPyEndAllowThreads(__tstate);
12285 if (PyErr_Occurred()) SWIG_fail;
12286 }
12287 {
12288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12289 }
12290 return resultobj;
12291 fail:
12292 return NULL;
12293 }
12294
12295
12296 SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12297 PyObject *resultobj = 0;
12298 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12299 bool result;
12300 void *argp1 = 0 ;
12301 int res1 = 0 ;
12302 PyObject *swig_obj[1] ;
12303
12304 if (!args) SWIG_fail;
12305 swig_obj[0] = args;
12306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12307 if (!SWIG_IsOK(res1)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12309 }
12310 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12311 {
12312 PyThreadState* __tstate = wxPyBeginAllowThreads();
12313 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 {
12318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12319 }
12320 return resultobj;
12321 fail:
12322 return NULL;
12323 }
12324
12325
12326 SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12327 PyObject *resultobj = 0;
12328 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12329 long *arg2 = (long *) 0 ;
12330 long *arg3 = (long *) 0 ;
12331 void *argp1 = 0 ;
12332 int res1 = 0 ;
12333 long temp2 ;
12334 int res2 = SWIG_TMPOBJ ;
12335 long temp3 ;
12336 int res3 = SWIG_TMPOBJ ;
12337 PyObject *swig_obj[1] ;
12338
12339 arg2 = &temp2;
12340 arg3 = &temp3;
12341 if (!args) SWIG_fail;
12342 swig_obj[0] = args;
12343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12344 if (!SWIG_IsOK(res1)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12346 }
12347 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12348 {
12349 PyThreadState* __tstate = wxPyBeginAllowThreads();
12350 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12351 wxPyEndAllowThreads(__tstate);
12352 if (PyErr_Occurred()) SWIG_fail;
12353 }
12354 resultobj = SWIG_Py_Void();
12355 if (SWIG_IsTmpObj(res2)) {
12356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12357 } else {
12358 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12359 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12360 }
12361 if (SWIG_IsTmpObj(res3)) {
12362 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12363 } else {
12364 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12365 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12366 }
12367 return resultobj;
12368 fail:
12369 return NULL;
12370 }
12371
12372
12373 SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12374 PyObject *resultobj = 0;
12375 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12376 wxString result;
12377 void *argp1 = 0 ;
12378 int res1 = 0 ;
12379 PyObject *swig_obj[1] ;
12380
12381 if (!args) SWIG_fail;
12382 swig_obj[0] = args;
12383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12384 if (!SWIG_IsOK(res1)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12386 }
12387 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12388 {
12389 PyThreadState* __tstate = wxPyBeginAllowThreads();
12390 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12391 wxPyEndAllowThreads(__tstate);
12392 if (PyErr_Occurred()) SWIG_fail;
12393 }
12394 {
12395 #if wxUSE_UNICODE
12396 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12397 #else
12398 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12399 #endif
12400 }
12401 return resultobj;
12402 fail:
12403 return NULL;
12404 }
12405
12406
12407 SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12408 PyObject *resultobj = 0;
12409 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12410 void *argp1 = 0 ;
12411 int res1 = 0 ;
12412 PyObject *swig_obj[1] ;
12413
12414 if (!args) SWIG_fail;
12415 swig_obj[0] = args;
12416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12417 if (!SWIG_IsOK(res1)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12419 }
12420 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 (arg1)->Clear();
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
12427 resultobj = SWIG_Py_Void();
12428 return resultobj;
12429 fail:
12430 return NULL;
12431 }
12432
12433
12434 SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12435 PyObject *resultobj = 0;
12436 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12437 long arg2 ;
12438 long arg3 ;
12439 wxString *arg4 = 0 ;
12440 void *argp1 = 0 ;
12441 int res1 = 0 ;
12442 long val2 ;
12443 int ecode2 = 0 ;
12444 long val3 ;
12445 int ecode3 = 0 ;
12446 bool temp4 = false ;
12447 PyObject * obj0 = 0 ;
12448 PyObject * obj1 = 0 ;
12449 PyObject * obj2 = 0 ;
12450 PyObject * obj3 = 0 ;
12451 char * kwnames[] = {
12452 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12453 };
12454
12455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12457 if (!SWIG_IsOK(res1)) {
12458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12459 }
12460 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12461 ecode2 = SWIG_AsVal_long(obj1, &val2);
12462 if (!SWIG_IsOK(ecode2)) {
12463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12464 }
12465 arg2 = static_cast< long >(val2);
12466 ecode3 = SWIG_AsVal_long(obj2, &val3);
12467 if (!SWIG_IsOK(ecode3)) {
12468 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12469 }
12470 arg3 = static_cast< long >(val3);
12471 {
12472 arg4 = wxString_in_helper(obj3);
12473 if (arg4 == NULL) SWIG_fail;
12474 temp4 = true;
12475 }
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12479 wxPyEndAllowThreads(__tstate);
12480 if (PyErr_Occurred()) SWIG_fail;
12481 }
12482 resultobj = SWIG_Py_Void();
12483 {
12484 if (temp4)
12485 delete arg4;
12486 }
12487 return resultobj;
12488 fail:
12489 {
12490 if (temp4)
12491 delete arg4;
12492 }
12493 return NULL;
12494 }
12495
12496
12497 SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12498 PyObject *resultobj = 0;
12499 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12500 long arg2 ;
12501 long arg3 ;
12502 void *argp1 = 0 ;
12503 int res1 = 0 ;
12504 long val2 ;
12505 int ecode2 = 0 ;
12506 long val3 ;
12507 int ecode3 = 0 ;
12508 PyObject * obj0 = 0 ;
12509 PyObject * obj1 = 0 ;
12510 PyObject * obj2 = 0 ;
12511 char * kwnames[] = {
12512 (char *) "self",(char *) "from",(char *) "to", NULL
12513 };
12514
12515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12517 if (!SWIG_IsOK(res1)) {
12518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12519 }
12520 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12521 ecode2 = SWIG_AsVal_long(obj1, &val2);
12522 if (!SWIG_IsOK(ecode2)) {
12523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12524 }
12525 arg2 = static_cast< long >(val2);
12526 ecode3 = SWIG_AsVal_long(obj2, &val3);
12527 if (!SWIG_IsOK(ecode3)) {
12528 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12529 }
12530 arg3 = static_cast< long >(val3);
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 (arg1)->Remove(arg2,arg3);
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 resultobj = SWIG_Py_Void();
12538 return resultobj;
12539 fail:
12540 return NULL;
12541 }
12542
12543
12544 SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12545 PyObject *resultobj = 0;
12546 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12547 wxString *arg2 = 0 ;
12548 int arg3 = (int) wxTEXT_TYPE_ANY ;
12549 bool result;
12550 void *argp1 = 0 ;
12551 int res1 = 0 ;
12552 bool temp2 = false ;
12553 int val3 ;
12554 int ecode3 = 0 ;
12555 PyObject * obj0 = 0 ;
12556 PyObject * obj1 = 0 ;
12557 PyObject * obj2 = 0 ;
12558 char * kwnames[] = {
12559 (char *) "self",(char *) "file",(char *) "fileType", NULL
12560 };
12561
12562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12564 if (!SWIG_IsOK(res1)) {
12565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12566 }
12567 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12568 {
12569 arg2 = wxString_in_helper(obj1);
12570 if (arg2 == NULL) SWIG_fail;
12571 temp2 = true;
12572 }
12573 if (obj2) {
12574 ecode3 = SWIG_AsVal_int(obj2, &val3);
12575 if (!SWIG_IsOK(ecode3)) {
12576 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12577 }
12578 arg3 = static_cast< int >(val3);
12579 }
12580 {
12581 PyThreadState* __tstate = wxPyBeginAllowThreads();
12582 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
12583 wxPyEndAllowThreads(__tstate);
12584 if (PyErr_Occurred()) SWIG_fail;
12585 }
12586 {
12587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12588 }
12589 {
12590 if (temp2)
12591 delete arg2;
12592 }
12593 return resultobj;
12594 fail:
12595 {
12596 if (temp2)
12597 delete arg2;
12598 }
12599 return NULL;
12600 }
12601
12602
12603 SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12604 PyObject *resultobj = 0;
12605 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12606 wxString const &arg2_defvalue = wxPyEmptyString ;
12607 wxString *arg2 = (wxString *) &arg2_defvalue ;
12608 int arg3 = (int) wxTEXT_TYPE_ANY ;
12609 bool result;
12610 void *argp1 = 0 ;
12611 int res1 = 0 ;
12612 bool temp2 = false ;
12613 int val3 ;
12614 int ecode3 = 0 ;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12617 PyObject * obj2 = 0 ;
12618 char * kwnames[] = {
12619 (char *) "self",(char *) "file",(char *) "fileType", NULL
12620 };
12621
12622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12624 if (!SWIG_IsOK(res1)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12626 }
12627 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12628 if (obj1) {
12629 {
12630 arg2 = wxString_in_helper(obj1);
12631 if (arg2 == NULL) SWIG_fail;
12632 temp2 = true;
12633 }
12634 }
12635 if (obj2) {
12636 ecode3 = SWIG_AsVal_int(obj2, &val3);
12637 if (!SWIG_IsOK(ecode3)) {
12638 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12639 }
12640 arg3 = static_cast< int >(val3);
12641 }
12642 {
12643 PyThreadState* __tstate = wxPyBeginAllowThreads();
12644 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
12645 wxPyEndAllowThreads(__tstate);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 {
12649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12650 }
12651 {
12652 if (temp2)
12653 delete arg2;
12654 }
12655 return resultobj;
12656 fail:
12657 {
12658 if (temp2)
12659 delete arg2;
12660 }
12661 return NULL;
12662 }
12663
12664
12665 SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(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_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12677 }
12678 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 (arg1)->MarkDirty();
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_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12693 PyObject *resultobj = 0;
12694 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12695 void *argp1 = 0 ;
12696 int res1 = 0 ;
12697 PyObject *swig_obj[1] ;
12698
12699 if (!args) SWIG_fail;
12700 swig_obj[0] = args;
12701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12702 if (!SWIG_IsOK(res1)) {
12703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12704 }
12705 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 (arg1)->DiscardEdits();
12709 wxPyEndAllowThreads(__tstate);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
12712 resultobj = SWIG_Py_Void();
12713 return resultobj;
12714 fail:
12715 return NULL;
12716 }
12717
12718
12719 SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12720 PyObject *resultobj = 0;
12721 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12722 bool arg2 ;
12723 void *argp1 = 0 ;
12724 int res1 = 0 ;
12725 bool val2 ;
12726 int ecode2 = 0 ;
12727 PyObject * obj0 = 0 ;
12728 PyObject * obj1 = 0 ;
12729 char * kwnames[] = {
12730 (char *) "self",(char *) "modified", NULL
12731 };
12732
12733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
12734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12735 if (!SWIG_IsOK(res1)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12737 }
12738 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12739 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12740 if (!SWIG_IsOK(ecode2)) {
12741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12742 }
12743 arg2 = static_cast< bool >(val2);
12744 {
12745 PyThreadState* __tstate = wxPyBeginAllowThreads();
12746 (arg1)->SetModified(arg2);
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
12750 resultobj = SWIG_Py_Void();
12751 return resultobj;
12752 fail:
12753 return NULL;
12754 }
12755
12756
12757 SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12758 PyObject *resultobj = 0;
12759 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12760 unsigned long arg2 ;
12761 void *argp1 = 0 ;
12762 int res1 = 0 ;
12763 unsigned long val2 ;
12764 int ecode2 = 0 ;
12765 PyObject * obj0 = 0 ;
12766 PyObject * obj1 = 0 ;
12767 char * kwnames[] = {
12768 (char *) "self",(char *) "len", NULL
12769 };
12770
12771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12773 if (!SWIG_IsOK(res1)) {
12774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12775 }
12776 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12777 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12778 if (!SWIG_IsOK(ecode2)) {
12779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12780 }
12781 arg2 = static_cast< unsigned long >(val2);
12782 {
12783 PyThreadState* __tstate = wxPyBeginAllowThreads();
12784 (arg1)->SetMaxLength(arg2);
12785 wxPyEndAllowThreads(__tstate);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 resultobj = SWIG_Py_Void();
12789 return resultobj;
12790 fail:
12791 return NULL;
12792 }
12793
12794
12795 SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12796 PyObject *resultobj = 0;
12797 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12798 wxString *arg2 = 0 ;
12799 void *argp1 = 0 ;
12800 int res1 = 0 ;
12801 bool temp2 = false ;
12802 PyObject * obj0 = 0 ;
12803 PyObject * obj1 = 0 ;
12804 char * kwnames[] = {
12805 (char *) "self",(char *) "text", NULL
12806 };
12807
12808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12810 if (!SWIG_IsOK(res1)) {
12811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12812 }
12813 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12814 {
12815 arg2 = wxString_in_helper(obj1);
12816 if (arg2 == NULL) SWIG_fail;
12817 temp2 = true;
12818 }
12819 {
12820 PyThreadState* __tstate = wxPyBeginAllowThreads();
12821 (arg1)->WriteText((wxString const &)*arg2);
12822 wxPyEndAllowThreads(__tstate);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 }
12825 resultobj = SWIG_Py_Void();
12826 {
12827 if (temp2)
12828 delete arg2;
12829 }
12830 return resultobj;
12831 fail:
12832 {
12833 if (temp2)
12834 delete arg2;
12835 }
12836 return NULL;
12837 }
12838
12839
12840 SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12841 PyObject *resultobj = 0;
12842 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12843 wxString *arg2 = 0 ;
12844 void *argp1 = 0 ;
12845 int res1 = 0 ;
12846 bool temp2 = false ;
12847 PyObject * obj0 = 0 ;
12848 PyObject * obj1 = 0 ;
12849 char * kwnames[] = {
12850 (char *) "self",(char *) "text", NULL
12851 };
12852
12853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12855 if (!SWIG_IsOK(res1)) {
12856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12857 }
12858 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12859 {
12860 arg2 = wxString_in_helper(obj1);
12861 if (arg2 == NULL) SWIG_fail;
12862 temp2 = true;
12863 }
12864 {
12865 PyThreadState* __tstate = wxPyBeginAllowThreads();
12866 (arg1)->AppendText((wxString const &)*arg2);
12867 wxPyEndAllowThreads(__tstate);
12868 if (PyErr_Occurred()) SWIG_fail;
12869 }
12870 resultobj = SWIG_Py_Void();
12871 {
12872 if (temp2)
12873 delete arg2;
12874 }
12875 return resultobj;
12876 fail:
12877 {
12878 if (temp2)
12879 delete arg2;
12880 }
12881 return NULL;
12882 }
12883
12884
12885 SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12886 PyObject *resultobj = 0;
12887 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12888 wxKeyEvent *arg2 = 0 ;
12889 bool result;
12890 void *argp1 = 0 ;
12891 int res1 = 0 ;
12892 void *argp2 = 0 ;
12893 int res2 = 0 ;
12894 PyObject * obj0 = 0 ;
12895 PyObject * obj1 = 0 ;
12896 char * kwnames[] = {
12897 (char *) "self",(char *) "event", NULL
12898 };
12899
12900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12902 if (!SWIG_IsOK(res1)) {
12903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12904 }
12905 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12906 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12907 if (!SWIG_IsOK(res2)) {
12908 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12909 }
12910 if (!argp2) {
12911 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12912 }
12913 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12914 {
12915 PyThreadState* __tstate = wxPyBeginAllowThreads();
12916 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12917 wxPyEndAllowThreads(__tstate);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
12920 {
12921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12922 }
12923 return resultobj;
12924 fail:
12925 return NULL;
12926 }
12927
12928
12929 SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12930 PyObject *resultobj = 0;
12931 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12932 long arg2 ;
12933 long arg3 ;
12934 wxTextAttr *arg4 = 0 ;
12935 bool result;
12936 void *argp1 = 0 ;
12937 int res1 = 0 ;
12938 long val2 ;
12939 int ecode2 = 0 ;
12940 long val3 ;
12941 int ecode3 = 0 ;
12942 void *argp4 = 0 ;
12943 int res4 = 0 ;
12944 PyObject * obj0 = 0 ;
12945 PyObject * obj1 = 0 ;
12946 PyObject * obj2 = 0 ;
12947 PyObject * obj3 = 0 ;
12948 char * kwnames[] = {
12949 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12950 };
12951
12952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12954 if (!SWIG_IsOK(res1)) {
12955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12956 }
12957 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12958 ecode2 = SWIG_AsVal_long(obj1, &val2);
12959 if (!SWIG_IsOK(ecode2)) {
12960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12961 }
12962 arg2 = static_cast< long >(val2);
12963 ecode3 = SWIG_AsVal_long(obj2, &val3);
12964 if (!SWIG_IsOK(ecode3)) {
12965 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12966 }
12967 arg3 = static_cast< long >(val3);
12968 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12969 if (!SWIG_IsOK(res4)) {
12970 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12971 }
12972 if (!argp4) {
12973 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12974 }
12975 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12976 {
12977 PyThreadState* __tstate = wxPyBeginAllowThreads();
12978 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12979 wxPyEndAllowThreads(__tstate);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 {
12983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12984 }
12985 return resultobj;
12986 fail:
12987 return NULL;
12988 }
12989
12990
12991 SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12992 PyObject *resultobj = 0;
12993 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12994 long arg2 ;
12995 wxTextAttr *arg3 = 0 ;
12996 bool result;
12997 void *argp1 = 0 ;
12998 int res1 = 0 ;
12999 long val2 ;
13000 int ecode2 = 0 ;
13001 void *argp3 = 0 ;
13002 int res3 = 0 ;
13003 PyObject * obj0 = 0 ;
13004 PyObject * obj1 = 0 ;
13005 PyObject * obj2 = 0 ;
13006 char * kwnames[] = {
13007 (char *) "self",(char *) "position",(char *) "style", NULL
13008 };
13009
13010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13012 if (!SWIG_IsOK(res1)) {
13013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13014 }
13015 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13016 ecode2 = SWIG_AsVal_long(obj1, &val2);
13017 if (!SWIG_IsOK(ecode2)) {
13018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13019 }
13020 arg2 = static_cast< long >(val2);
13021 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
13022 if (!SWIG_IsOK(res3)) {
13023 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13024 }
13025 if (!argp3) {
13026 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13027 }
13028 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
13029 {
13030 PyThreadState* __tstate = wxPyBeginAllowThreads();
13031 result = (bool)(arg1)->GetStyle(arg2,*arg3);
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 {
13036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13037 }
13038 return resultobj;
13039 fail:
13040 return NULL;
13041 }
13042
13043
13044 SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13045 PyObject *resultobj = 0;
13046 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13047 wxTextAttr *arg2 = 0 ;
13048 bool result;
13049 void *argp1 = 0 ;
13050 int res1 = 0 ;
13051 void *argp2 = 0 ;
13052 int res2 = 0 ;
13053 PyObject * obj0 = 0 ;
13054 PyObject * obj1 = 0 ;
13055 char * kwnames[] = {
13056 (char *) "self",(char *) "style", NULL
13057 };
13058
13059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
13060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13061 if (!SWIG_IsOK(res1)) {
13062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13063 }
13064 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13065 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
13066 if (!SWIG_IsOK(res2)) {
13067 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13068 }
13069 if (!argp2) {
13070 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13071 }
13072 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 {
13080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13081 }
13082 return resultobj;
13083 fail:
13084 return NULL;
13085 }
13086
13087
13088 SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13089 PyObject *resultobj = 0;
13090 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13091 wxTextAttr *result = 0 ;
13092 void *argp1 = 0 ;
13093 int res1 = 0 ;
13094 PyObject *swig_obj[1] ;
13095
13096 if (!args) SWIG_fail;
13097 swig_obj[0] = args;
13098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13099 if (!SWIG_IsOK(res1)) {
13100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13101 }
13102 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13103 {
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
13105 {
13106 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13107 result = (wxTextAttr *) &_result_ref;
13108 }
13109 wxPyEndAllowThreads(__tstate);
13110 if (PyErr_Occurred()) SWIG_fail;
13111 }
13112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13113 return resultobj;
13114 fail:
13115 return NULL;
13116 }
13117
13118
13119 SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13120 PyObject *resultobj = 0;
13121 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13122 long arg2 ;
13123 long arg3 ;
13124 long result;
13125 void *argp1 = 0 ;
13126 int res1 = 0 ;
13127 long val2 ;
13128 int ecode2 = 0 ;
13129 long val3 ;
13130 int ecode3 = 0 ;
13131 PyObject * obj0 = 0 ;
13132 PyObject * obj1 = 0 ;
13133 PyObject * obj2 = 0 ;
13134 char * kwnames[] = {
13135 (char *) "self",(char *) "x",(char *) "y", NULL
13136 };
13137
13138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13140 if (!SWIG_IsOK(res1)) {
13141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13142 }
13143 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13144 ecode2 = SWIG_AsVal_long(obj1, &val2);
13145 if (!SWIG_IsOK(ecode2)) {
13146 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13147 }
13148 arg2 = static_cast< long >(val2);
13149 ecode3 = SWIG_AsVal_long(obj2, &val3);
13150 if (!SWIG_IsOK(ecode3)) {
13151 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13152 }
13153 arg3 = static_cast< long >(val3);
13154 {
13155 PyThreadState* __tstate = wxPyBeginAllowThreads();
13156 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 resultobj = SWIG_From_long(static_cast< long >(result));
13161 return resultobj;
13162 fail:
13163 return NULL;
13164 }
13165
13166
13167 SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13168 PyObject *resultobj = 0;
13169 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13170 long arg2 ;
13171 long *arg3 = (long *) 0 ;
13172 long *arg4 = (long *) 0 ;
13173 void *argp1 = 0 ;
13174 int res1 = 0 ;
13175 long val2 ;
13176 int ecode2 = 0 ;
13177 long temp3 ;
13178 int res3 = SWIG_TMPOBJ ;
13179 long temp4 ;
13180 int res4 = SWIG_TMPOBJ ;
13181 PyObject * obj0 = 0 ;
13182 PyObject * obj1 = 0 ;
13183 char * kwnames[] = {
13184 (char *) "self",(char *) "pos", NULL
13185 };
13186
13187 arg3 = &temp3;
13188 arg4 = &temp4;
13189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13191 if (!SWIG_IsOK(res1)) {
13192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13193 }
13194 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13195 ecode2 = SWIG_AsVal_long(obj1, &val2);
13196 if (!SWIG_IsOK(ecode2)) {
13197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13198 }
13199 arg2 = static_cast< long >(val2);
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 resultobj = SWIG_Py_Void();
13207 if (SWIG_IsTmpObj(res3)) {
13208 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13209 } else {
13210 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13211 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13212 }
13213 if (SWIG_IsTmpObj(res4)) {
13214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13215 } else {
13216 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13217 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13218 }
13219 return resultobj;
13220 fail:
13221 return NULL;
13222 }
13223
13224
13225 SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13226 PyObject *resultobj = 0;
13227 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13228 long arg2 ;
13229 void *argp1 = 0 ;
13230 int res1 = 0 ;
13231 long val2 ;
13232 int ecode2 = 0 ;
13233 PyObject * obj0 = 0 ;
13234 PyObject * obj1 = 0 ;
13235 char * kwnames[] = {
13236 (char *) "self",(char *) "pos", NULL
13237 };
13238
13239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13241 if (!SWIG_IsOK(res1)) {
13242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13243 }
13244 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13245 ecode2 = SWIG_AsVal_long(obj1, &val2);
13246 if (!SWIG_IsOK(ecode2)) {
13247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13248 }
13249 arg2 = static_cast< long >(val2);
13250 {
13251 PyThreadState* __tstate = wxPyBeginAllowThreads();
13252 (arg1)->ShowPosition(arg2);
13253 wxPyEndAllowThreads(__tstate);
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
13256 resultobj = SWIG_Py_Void();
13257 return resultobj;
13258 fail:
13259 return NULL;
13260 }
13261
13262
13263 SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13264 PyObject *resultobj = 0;
13265 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13266 wxPoint *arg2 = 0 ;
13267 long *arg3 = (long *) 0 ;
13268 long *arg4 = (long *) 0 ;
13269 wxTextCtrlHitTestResult result;
13270 void *argp1 = 0 ;
13271 int res1 = 0 ;
13272 wxPoint temp2 ;
13273 long temp3 ;
13274 int res3 = SWIG_TMPOBJ ;
13275 long temp4 ;
13276 int res4 = SWIG_TMPOBJ ;
13277 PyObject * obj0 = 0 ;
13278 PyObject * obj1 = 0 ;
13279 char * kwnames[] = {
13280 (char *) "self",(char *) "pt", NULL
13281 };
13282
13283 arg3 = &temp3;
13284 arg4 = &temp4;
13285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13287 if (!SWIG_IsOK(res1)) {
13288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13289 }
13290 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13291 {
13292 arg2 = &temp2;
13293 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13294 }
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13298 wxPyEndAllowThreads(__tstate);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 resultobj = SWIG_From_int(static_cast< int >(result));
13302 if (SWIG_IsTmpObj(res3)) {
13303 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13304 } else {
13305 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13306 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13307 }
13308 if (SWIG_IsTmpObj(res4)) {
13309 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13310 } else {
13311 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13312 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13313 }
13314 return resultobj;
13315 fail:
13316 return NULL;
13317 }
13318
13319
13320 SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13321 PyObject *resultobj = 0;
13322 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13323 wxPoint *arg2 = 0 ;
13324 long *arg3 = (long *) 0 ;
13325 wxTextCtrlHitTestResult result;
13326 void *argp1 = 0 ;
13327 int res1 = 0 ;
13328 wxPoint temp2 ;
13329 long temp3 ;
13330 int res3 = SWIG_TMPOBJ ;
13331 PyObject * obj0 = 0 ;
13332 PyObject * obj1 = 0 ;
13333 char * kwnames[] = {
13334 (char *) "self",(char *) "pt", NULL
13335 };
13336
13337 arg3 = &temp3;
13338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13340 if (!SWIG_IsOK(res1)) {
13341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13342 }
13343 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13344 {
13345 arg2 = &temp2;
13346 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13347 }
13348 {
13349 PyThreadState* __tstate = wxPyBeginAllowThreads();
13350 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13351 wxPyEndAllowThreads(__tstate);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 }
13354 resultobj = SWIG_From_int(static_cast< int >(result));
13355 if (SWIG_IsTmpObj(res3)) {
13356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13357 } else {
13358 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13359 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13360 }
13361 return resultobj;
13362 fail:
13363 return NULL;
13364 }
13365
13366
13367 SWIGINTERN PyObject *_wrap_TextCtrl_Copy(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_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13379 }
13380 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 (arg1)->Copy();
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_Cut(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_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13406 }
13407 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 (arg1)->Cut();
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_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13422 PyObject *resultobj = 0;
13423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13424 void *argp1 = 0 ;
13425 int res1 = 0 ;
13426 PyObject *swig_obj[1] ;
13427
13428 if (!args) SWIG_fail;
13429 swig_obj[0] = args;
13430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13431 if (!SWIG_IsOK(res1)) {
13432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13433 }
13434 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13435 {
13436 PyThreadState* __tstate = wxPyBeginAllowThreads();
13437 (arg1)->Paste();
13438 wxPyEndAllowThreads(__tstate);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 resultobj = SWIG_Py_Void();
13442 return resultobj;
13443 fail:
13444 return NULL;
13445 }
13446
13447
13448 SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13449 PyObject *resultobj = 0;
13450 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13451 bool result;
13452 void *argp1 = 0 ;
13453 int res1 = 0 ;
13454 PyObject *swig_obj[1] ;
13455
13456 if (!args) SWIG_fail;
13457 swig_obj[0] = args;
13458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13459 if (!SWIG_IsOK(res1)) {
13460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13461 }
13462 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13463 {
13464 PyThreadState* __tstate = wxPyBeginAllowThreads();
13465 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 {
13470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13471 }
13472 return resultobj;
13473 fail:
13474 return NULL;
13475 }
13476
13477
13478 SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13479 PyObject *resultobj = 0;
13480 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13481 bool result;
13482 void *argp1 = 0 ;
13483 int res1 = 0 ;
13484 PyObject *swig_obj[1] ;
13485
13486 if (!args) SWIG_fail;
13487 swig_obj[0] = args;
13488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13489 if (!SWIG_IsOK(res1)) {
13490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13491 }
13492 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13493 {
13494 PyThreadState* __tstate = wxPyBeginAllowThreads();
13495 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13496 wxPyEndAllowThreads(__tstate);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
13499 {
13500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13501 }
13502 return resultobj;
13503 fail:
13504 return NULL;
13505 }
13506
13507
13508 SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13509 PyObject *resultobj = 0;
13510 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13511 bool result;
13512 void *argp1 = 0 ;
13513 int res1 = 0 ;
13514 PyObject *swig_obj[1] ;
13515
13516 if (!args) SWIG_fail;
13517 swig_obj[0] = args;
13518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13519 if (!SWIG_IsOK(res1)) {
13520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13521 }
13522 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13523 {
13524 PyThreadState* __tstate = wxPyBeginAllowThreads();
13525 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 {
13530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13531 }
13532 return resultobj;
13533 fail:
13534 return NULL;
13535 }
13536
13537
13538 SWIGINTERN PyObject *_wrap_TextCtrl_Undo(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_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13550 }
13551 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13552 {
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 (arg1)->Undo();
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_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13566 PyObject *resultobj = 0;
13567 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13568 void *argp1 = 0 ;
13569 int res1 = 0 ;
13570 PyObject *swig_obj[1] ;
13571
13572 if (!args) SWIG_fail;
13573 swig_obj[0] = args;
13574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13575 if (!SWIG_IsOK(res1)) {
13576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13577 }
13578 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13579 {
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
13581 (arg1)->Redo();
13582 wxPyEndAllowThreads(__tstate);
13583 if (PyErr_Occurred()) SWIG_fail;
13584 }
13585 resultobj = SWIG_Py_Void();
13586 return resultobj;
13587 fail:
13588 return NULL;
13589 }
13590
13591
13592 SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13593 PyObject *resultobj = 0;
13594 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13595 bool result;
13596 void *argp1 = 0 ;
13597 int res1 = 0 ;
13598 PyObject *swig_obj[1] ;
13599
13600 if (!args) SWIG_fail;
13601 swig_obj[0] = args;
13602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13603 if (!SWIG_IsOK(res1)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13605 }
13606 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
13613 {
13614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13615 }
13616 return resultobj;
13617 fail:
13618 return NULL;
13619 }
13620
13621
13622 SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13623 PyObject *resultobj = 0;
13624 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13625 bool result;
13626 void *argp1 = 0 ;
13627 int res1 = 0 ;
13628 PyObject *swig_obj[1] ;
13629
13630 if (!args) SWIG_fail;
13631 swig_obj[0] = args;
13632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13633 if (!SWIG_IsOK(res1)) {
13634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13635 }
13636 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 {
13644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13645 }
13646 return resultobj;
13647 fail:
13648 return NULL;
13649 }
13650
13651
13652 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13653 PyObject *resultobj = 0;
13654 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13655 long arg2 ;
13656 void *argp1 = 0 ;
13657 int res1 = 0 ;
13658 long val2 ;
13659 int ecode2 = 0 ;
13660 PyObject * obj0 = 0 ;
13661 PyObject * obj1 = 0 ;
13662 char * kwnames[] = {
13663 (char *) "self",(char *) "pos", NULL
13664 };
13665
13666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13668 if (!SWIG_IsOK(res1)) {
13669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13670 }
13671 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13672 ecode2 = SWIG_AsVal_long(obj1, &val2);
13673 if (!SWIG_IsOK(ecode2)) {
13674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13675 }
13676 arg2 = static_cast< long >(val2);
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 (arg1)->SetInsertionPoint(arg2);
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_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13691 PyObject *resultobj = 0;
13692 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13693 void *argp1 = 0 ;
13694 int res1 = 0 ;
13695 PyObject *swig_obj[1] ;
13696
13697 if (!args) SWIG_fail;
13698 swig_obj[0] = args;
13699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13700 if (!SWIG_IsOK(res1)) {
13701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13702 }
13703 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13704 {
13705 PyThreadState* __tstate = wxPyBeginAllowThreads();
13706 (arg1)->SetInsertionPointEnd();
13707 wxPyEndAllowThreads(__tstate);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 resultobj = SWIG_Py_Void();
13711 return resultobj;
13712 fail:
13713 return NULL;
13714 }
13715
13716
13717 SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13718 PyObject *resultobj = 0;
13719 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13720 long result;
13721 void *argp1 = 0 ;
13722 int res1 = 0 ;
13723 PyObject *swig_obj[1] ;
13724
13725 if (!args) SWIG_fail;
13726 swig_obj[0] = args;
13727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13728 if (!SWIG_IsOK(res1)) {
13729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13730 }
13731 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13732 {
13733 PyThreadState* __tstate = wxPyBeginAllowThreads();
13734 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13735 wxPyEndAllowThreads(__tstate);
13736 if (PyErr_Occurred()) SWIG_fail;
13737 }
13738 resultobj = SWIG_From_long(static_cast< long >(result));
13739 return resultobj;
13740 fail:
13741 return NULL;
13742 }
13743
13744
13745 SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13746 PyObject *resultobj = 0;
13747 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13748 long result;
13749 void *argp1 = 0 ;
13750 int res1 = 0 ;
13751 PyObject *swig_obj[1] ;
13752
13753 if (!args) SWIG_fail;
13754 swig_obj[0] = args;
13755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13756 if (!SWIG_IsOK(res1)) {
13757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13758 }
13759 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13760 {
13761 PyThreadState* __tstate = wxPyBeginAllowThreads();
13762 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13763 wxPyEndAllowThreads(__tstate);
13764 if (PyErr_Occurred()) SWIG_fail;
13765 }
13766 resultobj = SWIG_From_long(static_cast< long >(result));
13767 return resultobj;
13768 fail:
13769 return NULL;
13770 }
13771
13772
13773 SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13774 PyObject *resultobj = 0;
13775 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13776 long arg2 ;
13777 long arg3 ;
13778 void *argp1 = 0 ;
13779 int res1 = 0 ;
13780 long val2 ;
13781 int ecode2 = 0 ;
13782 long val3 ;
13783 int ecode3 = 0 ;
13784 PyObject * obj0 = 0 ;
13785 PyObject * obj1 = 0 ;
13786 PyObject * obj2 = 0 ;
13787 char * kwnames[] = {
13788 (char *) "self",(char *) "from",(char *) "to", NULL
13789 };
13790
13791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13793 if (!SWIG_IsOK(res1)) {
13794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13795 }
13796 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13797 ecode2 = SWIG_AsVal_long(obj1, &val2);
13798 if (!SWIG_IsOK(ecode2)) {
13799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13800 }
13801 arg2 = static_cast< long >(val2);
13802 ecode3 = SWIG_AsVal_long(obj2, &val3);
13803 if (!SWIG_IsOK(ecode3)) {
13804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13805 }
13806 arg3 = static_cast< long >(val3);
13807 {
13808 PyThreadState* __tstate = wxPyBeginAllowThreads();
13809 (arg1)->SetSelection(arg2,arg3);
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_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13821 PyObject *resultobj = 0;
13822 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13823 void *argp1 = 0 ;
13824 int res1 = 0 ;
13825 PyObject *swig_obj[1] ;
13826
13827 if (!args) SWIG_fail;
13828 swig_obj[0] = args;
13829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13830 if (!SWIG_IsOK(res1)) {
13831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13832 }
13833 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13834 {
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 (arg1)->SelectAll();
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 resultobj = SWIG_Py_Void();
13841 return resultobj;
13842 fail:
13843 return NULL;
13844 }
13845
13846
13847 SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13848 PyObject *resultobj = 0;
13849 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13850 bool arg2 ;
13851 void *argp1 = 0 ;
13852 int res1 = 0 ;
13853 bool val2 ;
13854 int ecode2 = 0 ;
13855 PyObject * obj0 = 0 ;
13856 PyObject * obj1 = 0 ;
13857 char * kwnames[] = {
13858 (char *) "self",(char *) "editable", NULL
13859 };
13860
13861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13863 if (!SWIG_IsOK(res1)) {
13864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13865 }
13866 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13867 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13868 if (!SWIG_IsOK(ecode2)) {
13869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13870 }
13871 arg2 = static_cast< bool >(val2);
13872 {
13873 PyThreadState* __tstate = wxPyBeginAllowThreads();
13874 (arg1)->SetEditable(arg2);
13875 wxPyEndAllowThreads(__tstate);
13876 if (PyErr_Occurred()) SWIG_fail;
13877 }
13878 resultobj = SWIG_Py_Void();
13879 return resultobj;
13880 fail:
13881 return NULL;
13882 }
13883
13884
13885 SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13886 PyObject *resultobj = 0;
13887 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13888 void *argp1 = 0 ;
13889 int res1 = 0 ;
13890 PyObject *swig_obj[1] ;
13891
13892 if (!args) SWIG_fail;
13893 swig_obj[0] = args;
13894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13895 if (!SWIG_IsOK(res1)) {
13896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13897 }
13898 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13899 {
13900 PyThreadState* __tstate = wxPyBeginAllowThreads();
13901 (arg1)->SendTextUpdatedEvent();
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 resultobj = SWIG_Py_Void();
13906 return resultobj;
13907 fail:
13908 return NULL;
13909 }
13910
13911
13912 SWIGINTERN PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13913 PyObject *resultobj = 0;
13914 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13915 bool arg2 = (bool) true ;
13916 bool result;
13917 void *argp1 = 0 ;
13918 int res1 = 0 ;
13919 bool val2 ;
13920 int ecode2 = 0 ;
13921 PyObject * obj0 = 0 ;
13922 PyObject * obj1 = 0 ;
13923 char * kwnames[] = {
13924 (char *) "self",(char *) "show", NULL
13925 };
13926
13927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) SWIG_fail;
13928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13929 if (!SWIG_IsOK(res1)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13931 }
13932 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13933 if (obj1) {
13934 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13935 if (!SWIG_IsOK(ecode2)) {
13936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13937 }
13938 arg2 = static_cast< bool >(val2);
13939 }
13940 {
13941 PyThreadState* __tstate = wxPyBeginAllowThreads();
13942 result = (bool)(arg1)->ShowNativeCaret(arg2);
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 {
13947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13948 }
13949 return resultobj;
13950 fail:
13951 return NULL;
13952 }
13953
13954
13955 SWIGINTERN PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13956 PyObject *resultobj = 0;
13957 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13958 bool result;
13959 void *argp1 = 0 ;
13960 int res1 = 0 ;
13961 PyObject *swig_obj[1] ;
13962
13963 if (!args) SWIG_fail;
13964 swig_obj[0] = args;
13965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13966 if (!SWIG_IsOK(res1)) {
13967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13968 }
13969 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13970 {
13971 PyThreadState* __tstate = wxPyBeginAllowThreads();
13972 result = (bool)(arg1)->HideNativeCaret();
13973 wxPyEndAllowThreads(__tstate);
13974 if (PyErr_Occurred()) SWIG_fail;
13975 }
13976 {
13977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13978 }
13979 return resultobj;
13980 fail:
13981 return NULL;
13982 }
13983
13984
13985 SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13986 PyObject *resultobj = 0;
13987 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13988 wxString *arg2 = 0 ;
13989 void *argp1 = 0 ;
13990 int res1 = 0 ;
13991 bool temp2 = false ;
13992 PyObject * obj0 = 0 ;
13993 PyObject * obj1 = 0 ;
13994 char * kwnames[] = {
13995 (char *) "self",(char *) "text", NULL
13996 };
13997
13998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14000 if (!SWIG_IsOK(res1)) {
14001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14002 }
14003 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14004 {
14005 arg2 = wxString_in_helper(obj1);
14006 if (arg2 == NULL) SWIG_fail;
14007 temp2 = true;
14008 }
14009 {
14010 PyThreadState* __tstate = wxPyBeginAllowThreads();
14011 wxTextCtrl_write(arg1,(wxString const &)*arg2);
14012 wxPyEndAllowThreads(__tstate);
14013 if (PyErr_Occurred()) SWIG_fail;
14014 }
14015 resultobj = SWIG_Py_Void();
14016 {
14017 if (temp2)
14018 delete arg2;
14019 }
14020 return resultobj;
14021 fail:
14022 {
14023 if (temp2)
14024 delete arg2;
14025 }
14026 return NULL;
14027 }
14028
14029
14030 SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14031 PyObject *resultobj = 0;
14032 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14033 long arg2 ;
14034 long arg3 ;
14035 wxString result;
14036 void *argp1 = 0 ;
14037 int res1 = 0 ;
14038 long val2 ;
14039 int ecode2 = 0 ;
14040 long val3 ;
14041 int ecode3 = 0 ;
14042 PyObject * obj0 = 0 ;
14043 PyObject * obj1 = 0 ;
14044 PyObject * obj2 = 0 ;
14045 char * kwnames[] = {
14046 (char *) "self",(char *) "from",(char *) "to", NULL
14047 };
14048
14049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14051 if (!SWIG_IsOK(res1)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14053 }
14054 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14055 ecode2 = SWIG_AsVal_long(obj1, &val2);
14056 if (!SWIG_IsOK(ecode2)) {
14057 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14058 }
14059 arg2 = static_cast< long >(val2);
14060 ecode3 = SWIG_AsVal_long(obj2, &val3);
14061 if (!SWIG_IsOK(ecode3)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14063 }
14064 arg3 = static_cast< long >(val3);
14065 {
14066 PyThreadState* __tstate = wxPyBeginAllowThreads();
14067 result = wxTextCtrl_GetString(arg1,arg2,arg3);
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 {
14072 #if wxUSE_UNICODE
14073 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14074 #else
14075 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14076 #endif
14077 }
14078 return resultobj;
14079 fail:
14080 return NULL;
14081 }
14082
14083
14084 SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14085 PyObject *resultobj = 0;
14086 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14087 SwigValueWrapper<wxVisualAttributes > result;
14088 int val1 ;
14089 int ecode1 = 0 ;
14090 PyObject * obj0 = 0 ;
14091 char * kwnames[] = {
14092 (char *) "variant", NULL
14093 };
14094
14095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14096 if (obj0) {
14097 ecode1 = SWIG_AsVal_int(obj0, &val1);
14098 if (!SWIG_IsOK(ecode1)) {
14099 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14100 }
14101 arg1 = static_cast< wxWindowVariant >(val1);
14102 }
14103 {
14104 if (!wxPyCheckForApp()) SWIG_fail;
14105 PyThreadState* __tstate = wxPyBeginAllowThreads();
14106 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
14107 wxPyEndAllowThreads(__tstate);
14108 if (PyErr_Occurred()) SWIG_fail;
14109 }
14110 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14111 return resultobj;
14112 fail:
14113 return NULL;
14114 }
14115
14116
14117 SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14118 PyObject *obj;
14119 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14120 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
14121 return SWIG_Py_Void();
14122 }
14123
14124 SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14125 return SWIG_Python_InitShadowInstance(args);
14126 }
14127
14128 SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14129 PyObject *resultobj = 0;
14130 int arg1 ;
14131 wxMouseEvent *arg2 = 0 ;
14132 long arg3 ;
14133 long arg4 ;
14134 wxTextUrlEvent *result = 0 ;
14135 int val1 ;
14136 int ecode1 = 0 ;
14137 void *argp2 = 0 ;
14138 int res2 = 0 ;
14139 long val3 ;
14140 int ecode3 = 0 ;
14141 long val4 ;
14142 int ecode4 = 0 ;
14143 PyObject * obj0 = 0 ;
14144 PyObject * obj1 = 0 ;
14145 PyObject * obj2 = 0 ;
14146 PyObject * obj3 = 0 ;
14147 char * kwnames[] = {
14148 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14149 };
14150
14151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14152 ecode1 = SWIG_AsVal_int(obj0, &val1);
14153 if (!SWIG_IsOK(ecode1)) {
14154 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14155 }
14156 arg1 = static_cast< int >(val1);
14157 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14158 if (!SWIG_IsOK(res2)) {
14159 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14160 }
14161 if (!argp2) {
14162 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14163 }
14164 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14165 ecode3 = SWIG_AsVal_long(obj2, &val3);
14166 if (!SWIG_IsOK(ecode3)) {
14167 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14168 }
14169 arg3 = static_cast< long >(val3);
14170 ecode4 = SWIG_AsVal_long(obj3, &val4);
14171 if (!SWIG_IsOK(ecode4)) {
14172 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14173 }
14174 arg4 = static_cast< long >(val4);
14175 {
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14178 wxPyEndAllowThreads(__tstate);
14179 if (PyErr_Occurred()) SWIG_fail;
14180 }
14181 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14182 return resultobj;
14183 fail:
14184 return NULL;
14185 }
14186
14187
14188 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14189 PyObject *resultobj = 0;
14190 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14191 wxMouseEvent *result = 0 ;
14192 void *argp1 = 0 ;
14193 int res1 = 0 ;
14194 PyObject *swig_obj[1] ;
14195
14196 if (!args) SWIG_fail;
14197 swig_obj[0] = args;
14198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14199 if (!SWIG_IsOK(res1)) {
14200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14201 }
14202 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14203 {
14204 PyThreadState* __tstate = wxPyBeginAllowThreads();
14205 {
14206 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14207 result = (wxMouseEvent *) &_result_ref;
14208 }
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
14212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14213 return resultobj;
14214 fail:
14215 return NULL;
14216 }
14217
14218
14219 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14220 PyObject *resultobj = 0;
14221 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14222 long result;
14223 void *argp1 = 0 ;
14224 int res1 = 0 ;
14225 PyObject *swig_obj[1] ;
14226
14227 if (!args) SWIG_fail;
14228 swig_obj[0] = args;
14229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14230 if (!SWIG_IsOK(res1)) {
14231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14232 }
14233 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14234 {
14235 PyThreadState* __tstate = wxPyBeginAllowThreads();
14236 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 resultobj = SWIG_From_long(static_cast< long >(result));
14241 return resultobj;
14242 fail:
14243 return NULL;
14244 }
14245
14246
14247 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14248 PyObject *resultobj = 0;
14249 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14250 long result;
14251 void *argp1 = 0 ;
14252 int res1 = 0 ;
14253 PyObject *swig_obj[1] ;
14254
14255 if (!args) SWIG_fail;
14256 swig_obj[0] = args;
14257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14258 if (!SWIG_IsOK(res1)) {
14259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14260 }
14261 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14262 {
14263 PyThreadState* __tstate = wxPyBeginAllowThreads();
14264 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14265 wxPyEndAllowThreads(__tstate);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
14268 resultobj = SWIG_From_long(static_cast< long >(result));
14269 return resultobj;
14270 fail:
14271 return NULL;
14272 }
14273
14274
14275 SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14276 PyObject *obj;
14277 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14278 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14279 return SWIG_Py_Void();
14280 }
14281
14282 SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14283 return SWIG_Python_InitShadowInstance(args);
14284 }
14285
14286 SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14287 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14288 return 1;
14289 }
14290
14291
14292 SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14293 PyObject *pyobj = 0;
14294
14295 {
14296 #if wxUSE_UNICODE
14297 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14298 #else
14299 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14300 #endif
14301 }
14302 return pyobj;
14303 }
14304
14305
14306 SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14307 PyObject *resultobj = 0;
14308 wxWindow *arg1 = (wxWindow *) 0 ;
14309 int arg2 = (int) -1 ;
14310 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14311 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14312 wxSize const &arg4_defvalue = wxDefaultSize ;
14313 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14314 long arg5 = (long) wxSB_HORIZONTAL ;
14315 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14316 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14317 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14318 wxString *arg7 = (wxString *) &arg7_defvalue ;
14319 wxScrollBar *result = 0 ;
14320 void *argp1 = 0 ;
14321 int res1 = 0 ;
14322 int val2 ;
14323 int ecode2 = 0 ;
14324 wxPoint temp3 ;
14325 wxSize temp4 ;
14326 long val5 ;
14327 int ecode5 = 0 ;
14328 void *argp6 = 0 ;
14329 int res6 = 0 ;
14330 bool temp7 = false ;
14331 PyObject * obj0 = 0 ;
14332 PyObject * obj1 = 0 ;
14333 PyObject * obj2 = 0 ;
14334 PyObject * obj3 = 0 ;
14335 PyObject * obj4 = 0 ;
14336 PyObject * obj5 = 0 ;
14337 PyObject * obj6 = 0 ;
14338 char * kwnames[] = {
14339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14340 };
14341
14342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14344 if (!SWIG_IsOK(res1)) {
14345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14346 }
14347 arg1 = reinterpret_cast< wxWindow * >(argp1);
14348 if (obj1) {
14349 ecode2 = SWIG_AsVal_int(obj1, &val2);
14350 if (!SWIG_IsOK(ecode2)) {
14351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14352 }
14353 arg2 = static_cast< int >(val2);
14354 }
14355 if (obj2) {
14356 {
14357 arg3 = &temp3;
14358 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14359 }
14360 }
14361 if (obj3) {
14362 {
14363 arg4 = &temp4;
14364 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14365 }
14366 }
14367 if (obj4) {
14368 ecode5 = SWIG_AsVal_long(obj4, &val5);
14369 if (!SWIG_IsOK(ecode5)) {
14370 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14371 }
14372 arg5 = static_cast< long >(val5);
14373 }
14374 if (obj5) {
14375 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14376 if (!SWIG_IsOK(res6)) {
14377 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14378 }
14379 if (!argp6) {
14380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14381 }
14382 arg6 = reinterpret_cast< wxValidator * >(argp6);
14383 }
14384 if (obj6) {
14385 {
14386 arg7 = wxString_in_helper(obj6);
14387 if (arg7 == NULL) SWIG_fail;
14388 temp7 = true;
14389 }
14390 }
14391 {
14392 if (!wxPyCheckForApp()) SWIG_fail;
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14395 wxPyEndAllowThreads(__tstate);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14399 {
14400 if (temp7)
14401 delete arg7;
14402 }
14403 return resultobj;
14404 fail:
14405 {
14406 if (temp7)
14407 delete arg7;
14408 }
14409 return NULL;
14410 }
14411
14412
14413 SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14414 PyObject *resultobj = 0;
14415 wxScrollBar *result = 0 ;
14416
14417 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14418 {
14419 if (!wxPyCheckForApp()) SWIG_fail;
14420 PyThreadState* __tstate = wxPyBeginAllowThreads();
14421 result = (wxScrollBar *)new wxScrollBar();
14422 wxPyEndAllowThreads(__tstate);
14423 if (PyErr_Occurred()) SWIG_fail;
14424 }
14425 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14426 return resultobj;
14427 fail:
14428 return NULL;
14429 }
14430
14431
14432 SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj = 0;
14434 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14435 wxWindow *arg2 = (wxWindow *) 0 ;
14436 int arg3 = (int) -1 ;
14437 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14438 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14439 wxSize const &arg5_defvalue = wxDefaultSize ;
14440 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14441 long arg6 = (long) wxSB_HORIZONTAL ;
14442 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14443 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14444 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14445 wxString *arg8 = (wxString *) &arg8_defvalue ;
14446 bool result;
14447 void *argp1 = 0 ;
14448 int res1 = 0 ;
14449 void *argp2 = 0 ;
14450 int res2 = 0 ;
14451 int val3 ;
14452 int ecode3 = 0 ;
14453 wxPoint temp4 ;
14454 wxSize temp5 ;
14455 long val6 ;
14456 int ecode6 = 0 ;
14457 void *argp7 = 0 ;
14458 int res7 = 0 ;
14459 bool temp8 = false ;
14460 PyObject * obj0 = 0 ;
14461 PyObject * obj1 = 0 ;
14462 PyObject * obj2 = 0 ;
14463 PyObject * obj3 = 0 ;
14464 PyObject * obj4 = 0 ;
14465 PyObject * obj5 = 0 ;
14466 PyObject * obj6 = 0 ;
14467 PyObject * obj7 = 0 ;
14468 char * kwnames[] = {
14469 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14470 };
14471
14472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14474 if (!SWIG_IsOK(res1)) {
14475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14476 }
14477 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14478 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14479 if (!SWIG_IsOK(res2)) {
14480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14481 }
14482 arg2 = reinterpret_cast< wxWindow * >(argp2);
14483 if (obj2) {
14484 ecode3 = SWIG_AsVal_int(obj2, &val3);
14485 if (!SWIG_IsOK(ecode3)) {
14486 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14487 }
14488 arg3 = static_cast< int >(val3);
14489 }
14490 if (obj3) {
14491 {
14492 arg4 = &temp4;
14493 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14494 }
14495 }
14496 if (obj4) {
14497 {
14498 arg5 = &temp5;
14499 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14500 }
14501 }
14502 if (obj5) {
14503 ecode6 = SWIG_AsVal_long(obj5, &val6);
14504 if (!SWIG_IsOK(ecode6)) {
14505 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14506 }
14507 arg6 = static_cast< long >(val6);
14508 }
14509 if (obj6) {
14510 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14511 if (!SWIG_IsOK(res7)) {
14512 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14513 }
14514 if (!argp7) {
14515 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14516 }
14517 arg7 = reinterpret_cast< wxValidator * >(argp7);
14518 }
14519 if (obj7) {
14520 {
14521 arg8 = wxString_in_helper(obj7);
14522 if (arg8 == NULL) SWIG_fail;
14523 temp8 = true;
14524 }
14525 }
14526 {
14527 PyThreadState* __tstate = wxPyBeginAllowThreads();
14528 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14529 wxPyEndAllowThreads(__tstate);
14530 if (PyErr_Occurred()) SWIG_fail;
14531 }
14532 {
14533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14534 }
14535 {
14536 if (temp8)
14537 delete arg8;
14538 }
14539 return resultobj;
14540 fail:
14541 {
14542 if (temp8)
14543 delete arg8;
14544 }
14545 return NULL;
14546 }
14547
14548
14549 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14550 PyObject *resultobj = 0;
14551 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14552 int result;
14553 void *argp1 = 0 ;
14554 int res1 = 0 ;
14555 PyObject *swig_obj[1] ;
14556
14557 if (!args) SWIG_fail;
14558 swig_obj[0] = args;
14559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14560 if (!SWIG_IsOK(res1)) {
14561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14562 }
14563 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14564 {
14565 PyThreadState* __tstate = wxPyBeginAllowThreads();
14566 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14567 wxPyEndAllowThreads(__tstate);
14568 if (PyErr_Occurred()) SWIG_fail;
14569 }
14570 resultobj = SWIG_From_int(static_cast< int >(result));
14571 return resultobj;
14572 fail:
14573 return NULL;
14574 }
14575
14576
14577 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14578 PyObject *resultobj = 0;
14579 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14580 int result;
14581 void *argp1 = 0 ;
14582 int res1 = 0 ;
14583 PyObject *swig_obj[1] ;
14584
14585 if (!args) SWIG_fail;
14586 swig_obj[0] = args;
14587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14588 if (!SWIG_IsOK(res1)) {
14589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14590 }
14591 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14592 {
14593 PyThreadState* __tstate = wxPyBeginAllowThreads();
14594 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14595 wxPyEndAllowThreads(__tstate);
14596 if (PyErr_Occurred()) SWIG_fail;
14597 }
14598 resultobj = SWIG_From_int(static_cast< int >(result));
14599 return resultobj;
14600 fail:
14601 return NULL;
14602 }
14603
14604
14605 SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14606 PyObject *resultobj = 0;
14607 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14608 int result;
14609 void *argp1 = 0 ;
14610 int res1 = 0 ;
14611 PyObject *swig_obj[1] ;
14612
14613 if (!args) SWIG_fail;
14614 swig_obj[0] = args;
14615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14616 if (!SWIG_IsOK(res1)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14618 }
14619 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14620 {
14621 PyThreadState* __tstate = wxPyBeginAllowThreads();
14622 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 resultobj = SWIG_From_int(static_cast< int >(result));
14627 return resultobj;
14628 fail:
14629 return NULL;
14630 }
14631
14632
14633 SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14634 PyObject *resultobj = 0;
14635 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14636 int result;
14637 void *argp1 = 0 ;
14638 int res1 = 0 ;
14639 PyObject *swig_obj[1] ;
14640
14641 if (!args) SWIG_fail;
14642 swig_obj[0] = args;
14643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14644 if (!SWIG_IsOK(res1)) {
14645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14646 }
14647 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14648 {
14649 PyThreadState* __tstate = wxPyBeginAllowThreads();
14650 result = (int)((wxScrollBar const *)arg1)->GetRange();
14651 wxPyEndAllowThreads(__tstate);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 }
14654 resultobj = SWIG_From_int(static_cast< int >(result));
14655 return resultobj;
14656 fail:
14657 return NULL;
14658 }
14659
14660
14661 SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14662 PyObject *resultobj = 0;
14663 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14664 bool result;
14665 void *argp1 = 0 ;
14666 int res1 = 0 ;
14667 PyObject *swig_obj[1] ;
14668
14669 if (!args) SWIG_fail;
14670 swig_obj[0] = args;
14671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14672 if (!SWIG_IsOK(res1)) {
14673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14674 }
14675 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14679 wxPyEndAllowThreads(__tstate);
14680 if (PyErr_Occurred()) SWIG_fail;
14681 }
14682 {
14683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14684 }
14685 return resultobj;
14686 fail:
14687 return NULL;
14688 }
14689
14690
14691 SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14692 PyObject *resultobj = 0;
14693 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14694 int arg2 ;
14695 void *argp1 = 0 ;
14696 int res1 = 0 ;
14697 int val2 ;
14698 int ecode2 = 0 ;
14699 PyObject * obj0 = 0 ;
14700 PyObject * obj1 = 0 ;
14701 char * kwnames[] = {
14702 (char *) "self",(char *) "viewStart", NULL
14703 };
14704
14705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14707 if (!SWIG_IsOK(res1)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14709 }
14710 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14711 ecode2 = SWIG_AsVal_int(obj1, &val2);
14712 if (!SWIG_IsOK(ecode2)) {
14713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14714 }
14715 arg2 = static_cast< int >(val2);
14716 {
14717 PyThreadState* __tstate = wxPyBeginAllowThreads();
14718 (arg1)->SetThumbPosition(arg2);
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 resultobj = SWIG_Py_Void();
14723 return resultobj;
14724 fail:
14725 return NULL;
14726 }
14727
14728
14729 SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14730 PyObject *resultobj = 0;
14731 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14732 SwigValueWrapper<wxVisualAttributes > result;
14733 int val1 ;
14734 int ecode1 = 0 ;
14735 PyObject * obj0 = 0 ;
14736 char * kwnames[] = {
14737 (char *) "variant", NULL
14738 };
14739
14740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14741 if (obj0) {
14742 ecode1 = SWIG_AsVal_int(obj0, &val1);
14743 if (!SWIG_IsOK(ecode1)) {
14744 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14745 }
14746 arg1 = static_cast< wxWindowVariant >(val1);
14747 }
14748 {
14749 if (!wxPyCheckForApp()) SWIG_fail;
14750 PyThreadState* __tstate = wxPyBeginAllowThreads();
14751 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14752 wxPyEndAllowThreads(__tstate);
14753 if (PyErr_Occurred()) SWIG_fail;
14754 }
14755 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14756 return resultobj;
14757 fail:
14758 return NULL;
14759 }
14760
14761
14762 SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14763 PyObject *obj;
14764 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14765 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14766 return SWIG_Py_Void();
14767 }
14768
14769 SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14770 return SWIG_Python_InitShadowInstance(args);
14771 }
14772
14773 SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14774 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14775 return 1;
14776 }
14777
14778
14779 SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14780 PyObject *pyobj = 0;
14781
14782 {
14783 #if wxUSE_UNICODE
14784 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14785 #else
14786 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14787 #endif
14788 }
14789 return pyobj;
14790 }
14791
14792
14793 SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14794 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14795 return 1;
14796 }
14797
14798
14799 SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14800 PyObject *pyobj = 0;
14801
14802 {
14803 #if wxUSE_UNICODE
14804 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14805 #else
14806 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14807 #endif
14808 }
14809 return pyobj;
14810 }
14811
14812
14813 SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14814 PyObject *resultobj = 0;
14815 wxWindow *arg1 = (wxWindow *) 0 ;
14816 int arg2 = (int) -1 ;
14817 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14818 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14819 wxSize const &arg4_defvalue = wxDefaultSize ;
14820 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14821 long arg5 = (long) wxSP_HORIZONTAL ;
14822 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14823 wxString *arg6 = (wxString *) &arg6_defvalue ;
14824 wxSpinButton *result = 0 ;
14825 void *argp1 = 0 ;
14826 int res1 = 0 ;
14827 int val2 ;
14828 int ecode2 = 0 ;
14829 wxPoint temp3 ;
14830 wxSize temp4 ;
14831 long val5 ;
14832 int ecode5 = 0 ;
14833 bool temp6 = false ;
14834 PyObject * obj0 = 0 ;
14835 PyObject * obj1 = 0 ;
14836 PyObject * obj2 = 0 ;
14837 PyObject * obj3 = 0 ;
14838 PyObject * obj4 = 0 ;
14839 PyObject * obj5 = 0 ;
14840 char * kwnames[] = {
14841 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14842 };
14843
14844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14846 if (!SWIG_IsOK(res1)) {
14847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14848 }
14849 arg1 = reinterpret_cast< wxWindow * >(argp1);
14850 if (obj1) {
14851 ecode2 = SWIG_AsVal_int(obj1, &val2);
14852 if (!SWIG_IsOK(ecode2)) {
14853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14854 }
14855 arg2 = static_cast< int >(val2);
14856 }
14857 if (obj2) {
14858 {
14859 arg3 = &temp3;
14860 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14861 }
14862 }
14863 if (obj3) {
14864 {
14865 arg4 = &temp4;
14866 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14867 }
14868 }
14869 if (obj4) {
14870 ecode5 = SWIG_AsVal_long(obj4, &val5);
14871 if (!SWIG_IsOK(ecode5)) {
14872 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14873 }
14874 arg5 = static_cast< long >(val5);
14875 }
14876 if (obj5) {
14877 {
14878 arg6 = wxString_in_helper(obj5);
14879 if (arg6 == NULL) SWIG_fail;
14880 temp6 = true;
14881 }
14882 }
14883 {
14884 if (!wxPyCheckForApp()) SWIG_fail;
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14887 wxPyEndAllowThreads(__tstate);
14888 if (PyErr_Occurred()) SWIG_fail;
14889 }
14890 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14891 {
14892 if (temp6)
14893 delete arg6;
14894 }
14895 return resultobj;
14896 fail:
14897 {
14898 if (temp6)
14899 delete arg6;
14900 }
14901 return NULL;
14902 }
14903
14904
14905 SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14906 PyObject *resultobj = 0;
14907 wxSpinButton *result = 0 ;
14908
14909 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14910 {
14911 if (!wxPyCheckForApp()) SWIG_fail;
14912 PyThreadState* __tstate = wxPyBeginAllowThreads();
14913 result = (wxSpinButton *)new wxSpinButton();
14914 wxPyEndAllowThreads(__tstate);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 }
14917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14918 return resultobj;
14919 fail:
14920 return NULL;
14921 }
14922
14923
14924 SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14925 PyObject *resultobj = 0;
14926 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14927 wxWindow *arg2 = (wxWindow *) 0 ;
14928 int arg3 = (int) -1 ;
14929 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14930 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14931 wxSize const &arg5_defvalue = wxDefaultSize ;
14932 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14933 long arg6 = (long) wxSP_HORIZONTAL ;
14934 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14935 wxString *arg7 = (wxString *) &arg7_defvalue ;
14936 bool result;
14937 void *argp1 = 0 ;
14938 int res1 = 0 ;
14939 void *argp2 = 0 ;
14940 int res2 = 0 ;
14941 int val3 ;
14942 int ecode3 = 0 ;
14943 wxPoint temp4 ;
14944 wxSize temp5 ;
14945 long val6 ;
14946 int ecode6 = 0 ;
14947 bool temp7 = false ;
14948 PyObject * obj0 = 0 ;
14949 PyObject * obj1 = 0 ;
14950 PyObject * obj2 = 0 ;
14951 PyObject * obj3 = 0 ;
14952 PyObject * obj4 = 0 ;
14953 PyObject * obj5 = 0 ;
14954 PyObject * obj6 = 0 ;
14955 char * kwnames[] = {
14956 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14957 };
14958
14959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14961 if (!SWIG_IsOK(res1)) {
14962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14963 }
14964 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14965 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14966 if (!SWIG_IsOK(res2)) {
14967 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14968 }
14969 arg2 = reinterpret_cast< wxWindow * >(argp2);
14970 if (obj2) {
14971 ecode3 = SWIG_AsVal_int(obj2, &val3);
14972 if (!SWIG_IsOK(ecode3)) {
14973 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14974 }
14975 arg3 = static_cast< int >(val3);
14976 }
14977 if (obj3) {
14978 {
14979 arg4 = &temp4;
14980 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14981 }
14982 }
14983 if (obj4) {
14984 {
14985 arg5 = &temp5;
14986 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14987 }
14988 }
14989 if (obj5) {
14990 ecode6 = SWIG_AsVal_long(obj5, &val6);
14991 if (!SWIG_IsOK(ecode6)) {
14992 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14993 }
14994 arg6 = static_cast< long >(val6);
14995 }
14996 if (obj6) {
14997 {
14998 arg7 = wxString_in_helper(obj6);
14999 if (arg7 == NULL) SWIG_fail;
15000 temp7 = true;
15001 }
15002 }
15003 {
15004 PyThreadState* __tstate = wxPyBeginAllowThreads();
15005 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15006 wxPyEndAllowThreads(__tstate);
15007 if (PyErr_Occurred()) SWIG_fail;
15008 }
15009 {
15010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15011 }
15012 {
15013 if (temp7)
15014 delete arg7;
15015 }
15016 return resultobj;
15017 fail:
15018 {
15019 if (temp7)
15020 delete arg7;
15021 }
15022 return NULL;
15023 }
15024
15025
15026 SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15027 PyObject *resultobj = 0;
15028 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15029 int result;
15030 void *argp1 = 0 ;
15031 int res1 = 0 ;
15032 PyObject *swig_obj[1] ;
15033
15034 if (!args) SWIG_fail;
15035 swig_obj[0] = args;
15036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15037 if (!SWIG_IsOK(res1)) {
15038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15039 }
15040 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 result = (int)((wxSpinButton const *)arg1)->GetValue();
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 resultobj = SWIG_From_int(static_cast< int >(result));
15048 return resultobj;
15049 fail:
15050 return NULL;
15051 }
15052
15053
15054 SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15055 PyObject *resultobj = 0;
15056 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15057 int result;
15058 void *argp1 = 0 ;
15059 int res1 = 0 ;
15060 PyObject *swig_obj[1] ;
15061
15062 if (!args) SWIG_fail;
15063 swig_obj[0] = args;
15064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15065 if (!SWIG_IsOK(res1)) {
15066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15067 }
15068 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15069 {
15070 PyThreadState* __tstate = wxPyBeginAllowThreads();
15071 result = (int)((wxSpinButton const *)arg1)->GetMin();
15072 wxPyEndAllowThreads(__tstate);
15073 if (PyErr_Occurred()) SWIG_fail;
15074 }
15075 resultobj = SWIG_From_int(static_cast< int >(result));
15076 return resultobj;
15077 fail:
15078 return NULL;
15079 }
15080
15081
15082 SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15083 PyObject *resultobj = 0;
15084 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15085 int result;
15086 void *argp1 = 0 ;
15087 int res1 = 0 ;
15088 PyObject *swig_obj[1] ;
15089
15090 if (!args) SWIG_fail;
15091 swig_obj[0] = args;
15092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15093 if (!SWIG_IsOK(res1)) {
15094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15095 }
15096 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15097 {
15098 PyThreadState* __tstate = wxPyBeginAllowThreads();
15099 result = (int)((wxSpinButton const *)arg1)->GetMax();
15100 wxPyEndAllowThreads(__tstate);
15101 if (PyErr_Occurred()) SWIG_fail;
15102 }
15103 resultobj = SWIG_From_int(static_cast< int >(result));
15104 return resultobj;
15105 fail:
15106 return NULL;
15107 }
15108
15109
15110 SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15111 PyObject *resultobj = 0;
15112 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15113 int arg2 ;
15114 void *argp1 = 0 ;
15115 int res1 = 0 ;
15116 int val2 ;
15117 int ecode2 = 0 ;
15118 PyObject * obj0 = 0 ;
15119 PyObject * obj1 = 0 ;
15120 char * kwnames[] = {
15121 (char *) "self",(char *) "val", NULL
15122 };
15123
15124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15126 if (!SWIG_IsOK(res1)) {
15127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15128 }
15129 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15130 ecode2 = SWIG_AsVal_int(obj1, &val2);
15131 if (!SWIG_IsOK(ecode2)) {
15132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15133 }
15134 arg2 = static_cast< int >(val2);
15135 {
15136 PyThreadState* __tstate = wxPyBeginAllowThreads();
15137 (arg1)->SetValue(arg2);
15138 wxPyEndAllowThreads(__tstate);
15139 if (PyErr_Occurred()) SWIG_fail;
15140 }
15141 resultobj = SWIG_Py_Void();
15142 return resultobj;
15143 fail:
15144 return NULL;
15145 }
15146
15147
15148 SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15149 PyObject *resultobj = 0;
15150 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15151 int arg2 ;
15152 void *argp1 = 0 ;
15153 int res1 = 0 ;
15154 int val2 ;
15155 int ecode2 = 0 ;
15156 PyObject * obj0 = 0 ;
15157 PyObject * obj1 = 0 ;
15158 char * kwnames[] = {
15159 (char *) "self",(char *) "minVal", NULL
15160 };
15161
15162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15164 if (!SWIG_IsOK(res1)) {
15165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15166 }
15167 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15168 ecode2 = SWIG_AsVal_int(obj1, &val2);
15169 if (!SWIG_IsOK(ecode2)) {
15170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15171 }
15172 arg2 = static_cast< int >(val2);
15173 {
15174 PyThreadState* __tstate = wxPyBeginAllowThreads();
15175 (arg1)->SetMin(arg2);
15176 wxPyEndAllowThreads(__tstate);
15177 if (PyErr_Occurred()) SWIG_fail;
15178 }
15179 resultobj = SWIG_Py_Void();
15180 return resultobj;
15181 fail:
15182 return NULL;
15183 }
15184
15185
15186 SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15187 PyObject *resultobj = 0;
15188 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15189 int arg2 ;
15190 void *argp1 = 0 ;
15191 int res1 = 0 ;
15192 int val2 ;
15193 int ecode2 = 0 ;
15194 PyObject * obj0 = 0 ;
15195 PyObject * obj1 = 0 ;
15196 char * kwnames[] = {
15197 (char *) "self",(char *) "maxVal", NULL
15198 };
15199
15200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15202 if (!SWIG_IsOK(res1)) {
15203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15204 }
15205 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15206 ecode2 = SWIG_AsVal_int(obj1, &val2);
15207 if (!SWIG_IsOK(ecode2)) {
15208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15209 }
15210 arg2 = static_cast< int >(val2);
15211 {
15212 PyThreadState* __tstate = wxPyBeginAllowThreads();
15213 (arg1)->SetMax(arg2);
15214 wxPyEndAllowThreads(__tstate);
15215 if (PyErr_Occurred()) SWIG_fail;
15216 }
15217 resultobj = SWIG_Py_Void();
15218 return resultobj;
15219 fail:
15220 return NULL;
15221 }
15222
15223
15224 SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15225 PyObject *resultobj = 0;
15226 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15227 int arg2 ;
15228 int arg3 ;
15229 void *argp1 = 0 ;
15230 int res1 = 0 ;
15231 int val2 ;
15232 int ecode2 = 0 ;
15233 int val3 ;
15234 int ecode3 = 0 ;
15235 PyObject * obj0 = 0 ;
15236 PyObject * obj1 = 0 ;
15237 PyObject * obj2 = 0 ;
15238 char * kwnames[] = {
15239 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15240 };
15241
15242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15244 if (!SWIG_IsOK(res1)) {
15245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15246 }
15247 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15248 ecode2 = SWIG_AsVal_int(obj1, &val2);
15249 if (!SWIG_IsOK(ecode2)) {
15250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15251 }
15252 arg2 = static_cast< int >(val2);
15253 ecode3 = SWIG_AsVal_int(obj2, &val3);
15254 if (!SWIG_IsOK(ecode3)) {
15255 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15256 }
15257 arg3 = static_cast< int >(val3);
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 (arg1)->SetRange(arg2,arg3);
15261 wxPyEndAllowThreads(__tstate);
15262 if (PyErr_Occurred()) SWIG_fail;
15263 }
15264 resultobj = SWIG_Py_Void();
15265 return resultobj;
15266 fail:
15267 return NULL;
15268 }
15269
15270
15271 SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15272 PyObject *resultobj = 0;
15273 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15274 bool result;
15275 void *argp1 = 0 ;
15276 int res1 = 0 ;
15277 PyObject *swig_obj[1] ;
15278
15279 if (!args) SWIG_fail;
15280 swig_obj[0] = args;
15281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15282 if (!SWIG_IsOK(res1)) {
15283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15284 }
15285 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15292 {
15293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15294 }
15295 return resultobj;
15296 fail:
15297 return NULL;
15298 }
15299
15300
15301 SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15302 PyObject *resultobj = 0;
15303 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15304 SwigValueWrapper<wxVisualAttributes > result;
15305 int val1 ;
15306 int ecode1 = 0 ;
15307 PyObject * obj0 = 0 ;
15308 char * kwnames[] = {
15309 (char *) "variant", NULL
15310 };
15311
15312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15313 if (obj0) {
15314 ecode1 = SWIG_AsVal_int(obj0, &val1);
15315 if (!SWIG_IsOK(ecode1)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15317 }
15318 arg1 = static_cast< wxWindowVariant >(val1);
15319 }
15320 {
15321 if (!wxPyCheckForApp()) SWIG_fail;
15322 PyThreadState* __tstate = wxPyBeginAllowThreads();
15323 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15324 wxPyEndAllowThreads(__tstate);
15325 if (PyErr_Occurred()) SWIG_fail;
15326 }
15327 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15328 return resultobj;
15329 fail:
15330 return NULL;
15331 }
15332
15333
15334 SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15335 PyObject *obj;
15336 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15337 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15338 return SWIG_Py_Void();
15339 }
15340
15341 SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15342 return SWIG_Python_InitShadowInstance(args);
15343 }
15344
15345 SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15346 PyObject *resultobj = 0;
15347 wxWindow *arg1 = (wxWindow *) 0 ;
15348 int arg2 = (int) -1 ;
15349 wxString const &arg3_defvalue = wxPyEmptyString ;
15350 wxString *arg3 = (wxString *) &arg3_defvalue ;
15351 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15352 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15353 wxSize const &arg5_defvalue = wxDefaultSize ;
15354 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15355 long arg6 = (long) wxSP_ARROW_KEYS ;
15356 int arg7 = (int) 0 ;
15357 int arg8 = (int) 100 ;
15358 int arg9 = (int) 0 ;
15359 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15360 wxString *arg10 = (wxString *) &arg10_defvalue ;
15361 wxSpinCtrl *result = 0 ;
15362 void *argp1 = 0 ;
15363 int res1 = 0 ;
15364 int val2 ;
15365 int ecode2 = 0 ;
15366 bool temp3 = false ;
15367 wxPoint temp4 ;
15368 wxSize temp5 ;
15369 long val6 ;
15370 int ecode6 = 0 ;
15371 int val7 ;
15372 int ecode7 = 0 ;
15373 int val8 ;
15374 int ecode8 = 0 ;
15375 int val9 ;
15376 int ecode9 = 0 ;
15377 bool temp10 = false ;
15378 PyObject * obj0 = 0 ;
15379 PyObject * obj1 = 0 ;
15380 PyObject * obj2 = 0 ;
15381 PyObject * obj3 = 0 ;
15382 PyObject * obj4 = 0 ;
15383 PyObject * obj5 = 0 ;
15384 PyObject * obj6 = 0 ;
15385 PyObject * obj7 = 0 ;
15386 PyObject * obj8 = 0 ;
15387 PyObject * obj9 = 0 ;
15388 char * kwnames[] = {
15389 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15390 };
15391
15392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15394 if (!SWIG_IsOK(res1)) {
15395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15396 }
15397 arg1 = reinterpret_cast< wxWindow * >(argp1);
15398 if (obj1) {
15399 ecode2 = SWIG_AsVal_int(obj1, &val2);
15400 if (!SWIG_IsOK(ecode2)) {
15401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15402 }
15403 arg2 = static_cast< int >(val2);
15404 }
15405 if (obj2) {
15406 {
15407 arg3 = wxString_in_helper(obj2);
15408 if (arg3 == NULL) SWIG_fail;
15409 temp3 = true;
15410 }
15411 }
15412 if (obj3) {
15413 {
15414 arg4 = &temp4;
15415 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15416 }
15417 }
15418 if (obj4) {
15419 {
15420 arg5 = &temp5;
15421 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15422 }
15423 }
15424 if (obj5) {
15425 ecode6 = SWIG_AsVal_long(obj5, &val6);
15426 if (!SWIG_IsOK(ecode6)) {
15427 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15428 }
15429 arg6 = static_cast< long >(val6);
15430 }
15431 if (obj6) {
15432 ecode7 = SWIG_AsVal_int(obj6, &val7);
15433 if (!SWIG_IsOK(ecode7)) {
15434 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15435 }
15436 arg7 = static_cast< int >(val7);
15437 }
15438 if (obj7) {
15439 ecode8 = SWIG_AsVal_int(obj7, &val8);
15440 if (!SWIG_IsOK(ecode8)) {
15441 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15442 }
15443 arg8 = static_cast< int >(val8);
15444 }
15445 if (obj8) {
15446 ecode9 = SWIG_AsVal_int(obj8, &val9);
15447 if (!SWIG_IsOK(ecode9)) {
15448 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15449 }
15450 arg9 = static_cast< int >(val9);
15451 }
15452 if (obj9) {
15453 {
15454 arg10 = wxString_in_helper(obj9);
15455 if (arg10 == NULL) SWIG_fail;
15456 temp10 = true;
15457 }
15458 }
15459 {
15460 if (!wxPyCheckForApp()) SWIG_fail;
15461 PyThreadState* __tstate = wxPyBeginAllowThreads();
15462 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15463 wxPyEndAllowThreads(__tstate);
15464 if (PyErr_Occurred()) SWIG_fail;
15465 }
15466 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15467 {
15468 if (temp3)
15469 delete arg3;
15470 }
15471 {
15472 if (temp10)
15473 delete arg10;
15474 }
15475 return resultobj;
15476 fail:
15477 {
15478 if (temp3)
15479 delete arg3;
15480 }
15481 {
15482 if (temp10)
15483 delete arg10;
15484 }
15485 return NULL;
15486 }
15487
15488
15489 SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15490 PyObject *resultobj = 0;
15491 wxSpinCtrl *result = 0 ;
15492
15493 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15494 {
15495 if (!wxPyCheckForApp()) SWIG_fail;
15496 PyThreadState* __tstate = wxPyBeginAllowThreads();
15497 result = (wxSpinCtrl *)new wxSpinCtrl();
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15502 return resultobj;
15503 fail:
15504 return NULL;
15505 }
15506
15507
15508 SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj = 0;
15510 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15511 wxWindow *arg2 = (wxWindow *) 0 ;
15512 int arg3 = (int) -1 ;
15513 wxString const &arg4_defvalue = wxPyEmptyString ;
15514 wxString *arg4 = (wxString *) &arg4_defvalue ;
15515 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15516 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15517 wxSize const &arg6_defvalue = wxDefaultSize ;
15518 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15519 long arg7 = (long) wxSP_ARROW_KEYS ;
15520 int arg8 = (int) 0 ;
15521 int arg9 = (int) 100 ;
15522 int arg10 = (int) 0 ;
15523 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15524 wxString *arg11 = (wxString *) &arg11_defvalue ;
15525 bool result;
15526 void *argp1 = 0 ;
15527 int res1 = 0 ;
15528 void *argp2 = 0 ;
15529 int res2 = 0 ;
15530 int val3 ;
15531 int ecode3 = 0 ;
15532 bool temp4 = false ;
15533 wxPoint temp5 ;
15534 wxSize temp6 ;
15535 long val7 ;
15536 int ecode7 = 0 ;
15537 int val8 ;
15538 int ecode8 = 0 ;
15539 int val9 ;
15540 int ecode9 = 0 ;
15541 int val10 ;
15542 int ecode10 = 0 ;
15543 bool temp11 = false ;
15544 PyObject * obj0 = 0 ;
15545 PyObject * obj1 = 0 ;
15546 PyObject * obj2 = 0 ;
15547 PyObject * obj3 = 0 ;
15548 PyObject * obj4 = 0 ;
15549 PyObject * obj5 = 0 ;
15550 PyObject * obj6 = 0 ;
15551 PyObject * obj7 = 0 ;
15552 PyObject * obj8 = 0 ;
15553 PyObject * obj9 = 0 ;
15554 PyObject * obj10 = 0 ;
15555 char * kwnames[] = {
15556 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15557 };
15558
15559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15561 if (!SWIG_IsOK(res1)) {
15562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15563 }
15564 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15565 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15566 if (!SWIG_IsOK(res2)) {
15567 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15568 }
15569 arg2 = reinterpret_cast< wxWindow * >(argp2);
15570 if (obj2) {
15571 ecode3 = SWIG_AsVal_int(obj2, &val3);
15572 if (!SWIG_IsOK(ecode3)) {
15573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15574 }
15575 arg3 = static_cast< int >(val3);
15576 }
15577 if (obj3) {
15578 {
15579 arg4 = wxString_in_helper(obj3);
15580 if (arg4 == NULL) SWIG_fail;
15581 temp4 = true;
15582 }
15583 }
15584 if (obj4) {
15585 {
15586 arg5 = &temp5;
15587 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15588 }
15589 }
15590 if (obj5) {
15591 {
15592 arg6 = &temp6;
15593 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15594 }
15595 }
15596 if (obj6) {
15597 ecode7 = SWIG_AsVal_long(obj6, &val7);
15598 if (!SWIG_IsOK(ecode7)) {
15599 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15600 }
15601 arg7 = static_cast< long >(val7);
15602 }
15603 if (obj7) {
15604 ecode8 = SWIG_AsVal_int(obj7, &val8);
15605 if (!SWIG_IsOK(ecode8)) {
15606 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15607 }
15608 arg8 = static_cast< int >(val8);
15609 }
15610 if (obj8) {
15611 ecode9 = SWIG_AsVal_int(obj8, &val9);
15612 if (!SWIG_IsOK(ecode9)) {
15613 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15614 }
15615 arg9 = static_cast< int >(val9);
15616 }
15617 if (obj9) {
15618 ecode10 = SWIG_AsVal_int(obj9, &val10);
15619 if (!SWIG_IsOK(ecode10)) {
15620 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15621 }
15622 arg10 = static_cast< int >(val10);
15623 }
15624 if (obj10) {
15625 {
15626 arg11 = wxString_in_helper(obj10);
15627 if (arg11 == NULL) SWIG_fail;
15628 temp11 = true;
15629 }
15630 }
15631 {
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15634 wxPyEndAllowThreads(__tstate);
15635 if (PyErr_Occurred()) SWIG_fail;
15636 }
15637 {
15638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15639 }
15640 {
15641 if (temp4)
15642 delete arg4;
15643 }
15644 {
15645 if (temp11)
15646 delete arg11;
15647 }
15648 return resultobj;
15649 fail:
15650 {
15651 if (temp4)
15652 delete arg4;
15653 }
15654 {
15655 if (temp11)
15656 delete arg11;
15657 }
15658 return NULL;
15659 }
15660
15661
15662 SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15663 PyObject *resultobj = 0;
15664 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15665 int result;
15666 void *argp1 = 0 ;
15667 int res1 = 0 ;
15668 PyObject *swig_obj[1] ;
15669
15670 if (!args) SWIG_fail;
15671 swig_obj[0] = args;
15672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15673 if (!SWIG_IsOK(res1)) {
15674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15675 }
15676 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15677 {
15678 PyThreadState* __tstate = wxPyBeginAllowThreads();
15679 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15680 wxPyEndAllowThreads(__tstate);
15681 if (PyErr_Occurred()) SWIG_fail;
15682 }
15683 resultobj = SWIG_From_int(static_cast< int >(result));
15684 return resultobj;
15685 fail:
15686 return NULL;
15687 }
15688
15689
15690 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15691 PyObject *resultobj = 0;
15692 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15693 int arg2 ;
15694 void *argp1 = 0 ;
15695 int res1 = 0 ;
15696 int val2 ;
15697 int ecode2 = 0 ;
15698 PyObject * obj0 = 0 ;
15699 PyObject * obj1 = 0 ;
15700 char * kwnames[] = {
15701 (char *) "self",(char *) "value", NULL
15702 };
15703
15704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15706 if (!SWIG_IsOK(res1)) {
15707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15708 }
15709 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15710 ecode2 = SWIG_AsVal_int(obj1, &val2);
15711 if (!SWIG_IsOK(ecode2)) {
15712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15713 }
15714 arg2 = static_cast< int >(val2);
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 (arg1)->SetValue(arg2);
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 resultobj = SWIG_Py_Void();
15722 return resultobj;
15723 fail:
15724 return NULL;
15725 }
15726
15727
15728 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15729 PyObject *resultobj = 0;
15730 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15731 wxString *arg2 = 0 ;
15732 void *argp1 = 0 ;
15733 int res1 = 0 ;
15734 bool temp2 = false ;
15735 PyObject * obj0 = 0 ;
15736 PyObject * obj1 = 0 ;
15737 char * kwnames[] = {
15738 (char *) "self",(char *) "text", NULL
15739 };
15740
15741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15743 if (!SWIG_IsOK(res1)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15745 }
15746 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15747 {
15748 arg2 = wxString_in_helper(obj1);
15749 if (arg2 == NULL) SWIG_fail;
15750 temp2 = true;
15751 }
15752 {
15753 PyThreadState* __tstate = wxPyBeginAllowThreads();
15754 (arg1)->SetValue((wxString const &)*arg2);
15755 wxPyEndAllowThreads(__tstate);
15756 if (PyErr_Occurred()) SWIG_fail;
15757 }
15758 resultobj = SWIG_Py_Void();
15759 {
15760 if (temp2)
15761 delete arg2;
15762 }
15763 return resultobj;
15764 fail:
15765 {
15766 if (temp2)
15767 delete arg2;
15768 }
15769 return NULL;
15770 }
15771
15772
15773 SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15774 PyObject *resultobj = 0;
15775 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15776 int arg2 ;
15777 int arg3 ;
15778 void *argp1 = 0 ;
15779 int res1 = 0 ;
15780 int val2 ;
15781 int ecode2 = 0 ;
15782 int val3 ;
15783 int ecode3 = 0 ;
15784 PyObject * obj0 = 0 ;
15785 PyObject * obj1 = 0 ;
15786 PyObject * obj2 = 0 ;
15787 char * kwnames[] = {
15788 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15789 };
15790
15791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15793 if (!SWIG_IsOK(res1)) {
15794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15795 }
15796 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15797 ecode2 = SWIG_AsVal_int(obj1, &val2);
15798 if (!SWIG_IsOK(ecode2)) {
15799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15800 }
15801 arg2 = static_cast< int >(val2);
15802 ecode3 = SWIG_AsVal_int(obj2, &val3);
15803 if (!SWIG_IsOK(ecode3)) {
15804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15805 }
15806 arg3 = static_cast< int >(val3);
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 (arg1)->SetRange(arg2,arg3);
15810 wxPyEndAllowThreads(__tstate);
15811 if (PyErr_Occurred()) SWIG_fail;
15812 }
15813 resultobj = SWIG_Py_Void();
15814 return resultobj;
15815 fail:
15816 return NULL;
15817 }
15818
15819
15820 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15821 PyObject *resultobj = 0;
15822 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15823 int result;
15824 void *argp1 = 0 ;
15825 int res1 = 0 ;
15826 PyObject *swig_obj[1] ;
15827
15828 if (!args) SWIG_fail;
15829 swig_obj[0] = args;
15830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15831 if (!SWIG_IsOK(res1)) {
15832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15833 }
15834 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15835 {
15836 PyThreadState* __tstate = wxPyBeginAllowThreads();
15837 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15838 wxPyEndAllowThreads(__tstate);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
15841 resultobj = SWIG_From_int(static_cast< int >(result));
15842 return resultobj;
15843 fail:
15844 return NULL;
15845 }
15846
15847
15848 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15849 PyObject *resultobj = 0;
15850 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15851 int result;
15852 void *argp1 = 0 ;
15853 int res1 = 0 ;
15854 PyObject *swig_obj[1] ;
15855
15856 if (!args) SWIG_fail;
15857 swig_obj[0] = args;
15858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15859 if (!SWIG_IsOK(res1)) {
15860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15861 }
15862 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15863 {
15864 PyThreadState* __tstate = wxPyBeginAllowThreads();
15865 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 resultobj = SWIG_From_int(static_cast< int >(result));
15870 return resultobj;
15871 fail:
15872 return NULL;
15873 }
15874
15875
15876 SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15877 PyObject *resultobj = 0;
15878 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15879 long arg2 ;
15880 long arg3 ;
15881 void *argp1 = 0 ;
15882 int res1 = 0 ;
15883 long val2 ;
15884 int ecode2 = 0 ;
15885 long val3 ;
15886 int ecode3 = 0 ;
15887 PyObject * obj0 = 0 ;
15888 PyObject * obj1 = 0 ;
15889 PyObject * obj2 = 0 ;
15890 char * kwnames[] = {
15891 (char *) "self",(char *) "from",(char *) "to", NULL
15892 };
15893
15894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15896 if (!SWIG_IsOK(res1)) {
15897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15898 }
15899 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15900 ecode2 = SWIG_AsVal_long(obj1, &val2);
15901 if (!SWIG_IsOK(ecode2)) {
15902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15903 }
15904 arg2 = static_cast< long >(val2);
15905 ecode3 = SWIG_AsVal_long(obj2, &val3);
15906 if (!SWIG_IsOK(ecode3)) {
15907 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15908 }
15909 arg3 = static_cast< long >(val3);
15910 {
15911 PyThreadState* __tstate = wxPyBeginAllowThreads();
15912 (arg1)->SetSelection(arg2,arg3);
15913 wxPyEndAllowThreads(__tstate);
15914 if (PyErr_Occurred()) SWIG_fail;
15915 }
15916 resultobj = SWIG_Py_Void();
15917 return resultobj;
15918 fail:
15919 return NULL;
15920 }
15921
15922
15923 SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15924 PyObject *resultobj = 0;
15925 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15926 SwigValueWrapper<wxVisualAttributes > result;
15927 int val1 ;
15928 int ecode1 = 0 ;
15929 PyObject * obj0 = 0 ;
15930 char * kwnames[] = {
15931 (char *) "variant", NULL
15932 };
15933
15934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15935 if (obj0) {
15936 ecode1 = SWIG_AsVal_int(obj0, &val1);
15937 if (!SWIG_IsOK(ecode1)) {
15938 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15939 }
15940 arg1 = static_cast< wxWindowVariant >(val1);
15941 }
15942 {
15943 if (!wxPyCheckForApp()) SWIG_fail;
15944 PyThreadState* __tstate = wxPyBeginAllowThreads();
15945 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15946 wxPyEndAllowThreads(__tstate);
15947 if (PyErr_Occurred()) SWIG_fail;
15948 }
15949 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15950 return resultobj;
15951 fail:
15952 return NULL;
15953 }
15954
15955
15956 SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15957 PyObject *obj;
15958 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15959 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15960 return SWIG_Py_Void();
15961 }
15962
15963 SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15964 return SWIG_Python_InitShadowInstance(args);
15965 }
15966
15967 SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15968 PyObject *resultobj = 0;
15969 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15970 int arg2 = (int) 0 ;
15971 wxSpinEvent *result = 0 ;
15972 int val1 ;
15973 int ecode1 = 0 ;
15974 int val2 ;
15975 int ecode2 = 0 ;
15976 PyObject * obj0 = 0 ;
15977 PyObject * obj1 = 0 ;
15978 char * kwnames[] = {
15979 (char *) "commandType",(char *) "winid", NULL
15980 };
15981
15982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15983 if (obj0) {
15984 ecode1 = SWIG_AsVal_int(obj0, &val1);
15985 if (!SWIG_IsOK(ecode1)) {
15986 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15987 }
15988 arg1 = static_cast< wxEventType >(val1);
15989 }
15990 if (obj1) {
15991 ecode2 = SWIG_AsVal_int(obj1, &val2);
15992 if (!SWIG_IsOK(ecode2)) {
15993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15994 }
15995 arg2 = static_cast< int >(val2);
15996 }
15997 {
15998 PyThreadState* __tstate = wxPyBeginAllowThreads();
15999 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
16000 wxPyEndAllowThreads(__tstate);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
16004 return resultobj;
16005 fail:
16006 return NULL;
16007 }
16008
16009
16010 SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16011 PyObject *resultobj = 0;
16012 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16013 int result;
16014 void *argp1 = 0 ;
16015 int res1 = 0 ;
16016 PyObject *swig_obj[1] ;
16017
16018 if (!args) SWIG_fail;
16019 swig_obj[0] = args;
16020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16021 if (!SWIG_IsOK(res1)) {
16022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16023 }
16024 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16025 {
16026 PyThreadState* __tstate = wxPyBeginAllowThreads();
16027 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 resultobj = SWIG_From_int(static_cast< int >(result));
16032 return resultobj;
16033 fail:
16034 return NULL;
16035 }
16036
16037
16038 SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16039 PyObject *resultobj = 0;
16040 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16041 int arg2 ;
16042 void *argp1 = 0 ;
16043 int res1 = 0 ;
16044 int val2 ;
16045 int ecode2 = 0 ;
16046 PyObject * obj0 = 0 ;
16047 PyObject * obj1 = 0 ;
16048 char * kwnames[] = {
16049 (char *) "self",(char *) "pos", NULL
16050 };
16051
16052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16054 if (!SWIG_IsOK(res1)) {
16055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16056 }
16057 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16058 ecode2 = SWIG_AsVal_int(obj1, &val2);
16059 if (!SWIG_IsOK(ecode2)) {
16060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16061 }
16062 arg2 = static_cast< int >(val2);
16063 {
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 (arg1)->SetPosition(arg2);
16066 wxPyEndAllowThreads(__tstate);
16067 if (PyErr_Occurred()) SWIG_fail;
16068 }
16069 resultobj = SWIG_Py_Void();
16070 return resultobj;
16071 fail:
16072 return NULL;
16073 }
16074
16075
16076 SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16077 PyObject *obj;
16078 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16079 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
16080 return SWIG_Py_Void();
16081 }
16082
16083 SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16084 return SWIG_Python_InitShadowInstance(args);
16085 }
16086
16087 SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
16088 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
16089 return 1;
16090 }
16091
16092
16093 SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
16094 PyObject *pyobj = 0;
16095
16096 {
16097 #if wxUSE_UNICODE
16098 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16099 #else
16100 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16101 #endif
16102 }
16103 return pyobj;
16104 }
16105
16106
16107 SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
16108 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
16109 return 1;
16110 }
16111
16112
16113 SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
16114 PyObject *pyobj = 0;
16115
16116 {
16117 #if wxUSE_UNICODE
16118 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16119 #else
16120 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16121 #endif
16122 }
16123 return pyobj;
16124 }
16125
16126
16127 SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16128 PyObject *resultobj = 0;
16129 wxWindow *arg1 = (wxWindow *) 0 ;
16130 int arg2 = (int) -1 ;
16131 wxString const &arg3_defvalue = wxPyEmptyString ;
16132 wxString *arg3 = (wxString *) &arg3_defvalue ;
16133 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16134 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16135 wxSize const &arg5_defvalue = wxDefaultSize ;
16136 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16137 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16138 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16139 int arg7 = (int) 0 ;
16140 long arg8 = (long) wxRA_HORIZONTAL ;
16141 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16142 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16143 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16144 wxString *arg10 = (wxString *) &arg10_defvalue ;
16145 wxRadioBox *result = 0 ;
16146 void *argp1 = 0 ;
16147 int res1 = 0 ;
16148 int val2 ;
16149 int ecode2 = 0 ;
16150 bool temp3 = false ;
16151 wxPoint temp4 ;
16152 wxSize temp5 ;
16153 bool temp6 = false ;
16154 int val7 ;
16155 int ecode7 = 0 ;
16156 long val8 ;
16157 int ecode8 = 0 ;
16158 void *argp9 = 0 ;
16159 int res9 = 0 ;
16160 bool temp10 = false ;
16161 PyObject * obj0 = 0 ;
16162 PyObject * obj1 = 0 ;
16163 PyObject * obj2 = 0 ;
16164 PyObject * obj3 = 0 ;
16165 PyObject * obj4 = 0 ;
16166 PyObject * obj5 = 0 ;
16167 PyObject * obj6 = 0 ;
16168 PyObject * obj7 = 0 ;
16169 PyObject * obj8 = 0 ;
16170 PyObject * obj9 = 0 ;
16171 char * kwnames[] = {
16172 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16173 };
16174
16175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16177 if (!SWIG_IsOK(res1)) {
16178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16179 }
16180 arg1 = reinterpret_cast< wxWindow * >(argp1);
16181 if (obj1) {
16182 ecode2 = SWIG_AsVal_int(obj1, &val2);
16183 if (!SWIG_IsOK(ecode2)) {
16184 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16185 }
16186 arg2 = static_cast< int >(val2);
16187 }
16188 if (obj2) {
16189 {
16190 arg3 = wxString_in_helper(obj2);
16191 if (arg3 == NULL) SWIG_fail;
16192 temp3 = true;
16193 }
16194 }
16195 if (obj3) {
16196 {
16197 arg4 = &temp4;
16198 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16199 }
16200 }
16201 if (obj4) {
16202 {
16203 arg5 = &temp5;
16204 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16205 }
16206 }
16207 if (obj5) {
16208 {
16209 if (! PySequence_Check(obj5)) {
16210 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16211 SWIG_fail;
16212 }
16213 arg6 = new wxArrayString;
16214 temp6 = true;
16215 int i, len=PySequence_Length(obj5);
16216 for (i=0; i<len; i++) {
16217 PyObject* item = PySequence_GetItem(obj5, i);
16218 wxString* s = wxString_in_helper(item);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 arg6->Add(*s);
16221 delete s;
16222 Py_DECREF(item);
16223 }
16224 }
16225 }
16226 if (obj6) {
16227 ecode7 = SWIG_AsVal_int(obj6, &val7);
16228 if (!SWIG_IsOK(ecode7)) {
16229 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16230 }
16231 arg7 = static_cast< int >(val7);
16232 }
16233 if (obj7) {
16234 ecode8 = SWIG_AsVal_long(obj7, &val8);
16235 if (!SWIG_IsOK(ecode8)) {
16236 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16237 }
16238 arg8 = static_cast< long >(val8);
16239 }
16240 if (obj8) {
16241 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16242 if (!SWIG_IsOK(res9)) {
16243 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16244 }
16245 if (!argp9) {
16246 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16247 }
16248 arg9 = reinterpret_cast< wxValidator * >(argp9);
16249 }
16250 if (obj9) {
16251 {
16252 arg10 = wxString_in_helper(obj9);
16253 if (arg10 == NULL) SWIG_fail;
16254 temp10 = true;
16255 }
16256 }
16257 {
16258 if (!wxPyCheckForApp()) SWIG_fail;
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 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);
16261 wxPyEndAllowThreads(__tstate);
16262 if (PyErr_Occurred()) SWIG_fail;
16263 }
16264 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16265 {
16266 if (temp3)
16267 delete arg3;
16268 }
16269 {
16270 if (temp6) delete arg6;
16271 }
16272 {
16273 if (temp10)
16274 delete arg10;
16275 }
16276 return resultobj;
16277 fail:
16278 {
16279 if (temp3)
16280 delete arg3;
16281 }
16282 {
16283 if (temp6) delete arg6;
16284 }
16285 {
16286 if (temp10)
16287 delete arg10;
16288 }
16289 return NULL;
16290 }
16291
16292
16293 SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16294 PyObject *resultobj = 0;
16295 wxRadioBox *result = 0 ;
16296
16297 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16298 {
16299 if (!wxPyCheckForApp()) SWIG_fail;
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 result = (wxRadioBox *)new wxRadioBox();
16302 wxPyEndAllowThreads(__tstate);
16303 if (PyErr_Occurred()) SWIG_fail;
16304 }
16305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16306 return resultobj;
16307 fail:
16308 return NULL;
16309 }
16310
16311
16312 SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16313 PyObject *resultobj = 0;
16314 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16315 wxWindow *arg2 = (wxWindow *) 0 ;
16316 int arg3 = (int) -1 ;
16317 wxString const &arg4_defvalue = wxPyEmptyString ;
16318 wxString *arg4 = (wxString *) &arg4_defvalue ;
16319 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16320 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16321 wxSize const &arg6_defvalue = wxDefaultSize ;
16322 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16323 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16324 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16325 int arg8 = (int) 0 ;
16326 long arg9 = (long) wxRA_HORIZONTAL ;
16327 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16328 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16329 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16330 wxString *arg11 = (wxString *) &arg11_defvalue ;
16331 bool result;
16332 void *argp1 = 0 ;
16333 int res1 = 0 ;
16334 void *argp2 = 0 ;
16335 int res2 = 0 ;
16336 int val3 ;
16337 int ecode3 = 0 ;
16338 bool temp4 = false ;
16339 wxPoint temp5 ;
16340 wxSize temp6 ;
16341 bool temp7 = false ;
16342 int val8 ;
16343 int ecode8 = 0 ;
16344 long val9 ;
16345 int ecode9 = 0 ;
16346 void *argp10 = 0 ;
16347 int res10 = 0 ;
16348 bool temp11 = false ;
16349 PyObject * obj0 = 0 ;
16350 PyObject * obj1 = 0 ;
16351 PyObject * obj2 = 0 ;
16352 PyObject * obj3 = 0 ;
16353 PyObject * obj4 = 0 ;
16354 PyObject * obj5 = 0 ;
16355 PyObject * obj6 = 0 ;
16356 PyObject * obj7 = 0 ;
16357 PyObject * obj8 = 0 ;
16358 PyObject * obj9 = 0 ;
16359 PyObject * obj10 = 0 ;
16360 char * kwnames[] = {
16361 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16362 };
16363
16364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16366 if (!SWIG_IsOK(res1)) {
16367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16368 }
16369 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16370 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16371 if (!SWIG_IsOK(res2)) {
16372 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16373 }
16374 arg2 = reinterpret_cast< wxWindow * >(argp2);
16375 if (obj2) {
16376 ecode3 = SWIG_AsVal_int(obj2, &val3);
16377 if (!SWIG_IsOK(ecode3)) {
16378 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16379 }
16380 arg3 = static_cast< int >(val3);
16381 }
16382 if (obj3) {
16383 {
16384 arg4 = wxString_in_helper(obj3);
16385 if (arg4 == NULL) SWIG_fail;
16386 temp4 = true;
16387 }
16388 }
16389 if (obj4) {
16390 {
16391 arg5 = &temp5;
16392 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16393 }
16394 }
16395 if (obj5) {
16396 {
16397 arg6 = &temp6;
16398 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16399 }
16400 }
16401 if (obj6) {
16402 {
16403 if (! PySequence_Check(obj6)) {
16404 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16405 SWIG_fail;
16406 }
16407 arg7 = new wxArrayString;
16408 temp7 = true;
16409 int i, len=PySequence_Length(obj6);
16410 for (i=0; i<len; i++) {
16411 PyObject* item = PySequence_GetItem(obj6, i);
16412 wxString* s = wxString_in_helper(item);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 arg7->Add(*s);
16415 delete s;
16416 Py_DECREF(item);
16417 }
16418 }
16419 }
16420 if (obj7) {
16421 ecode8 = SWIG_AsVal_int(obj7, &val8);
16422 if (!SWIG_IsOK(ecode8)) {
16423 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16424 }
16425 arg8 = static_cast< int >(val8);
16426 }
16427 if (obj8) {
16428 ecode9 = SWIG_AsVal_long(obj8, &val9);
16429 if (!SWIG_IsOK(ecode9)) {
16430 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16431 }
16432 arg9 = static_cast< long >(val9);
16433 }
16434 if (obj9) {
16435 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16436 if (!SWIG_IsOK(res10)) {
16437 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16438 }
16439 if (!argp10) {
16440 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16441 }
16442 arg10 = reinterpret_cast< wxValidator * >(argp10);
16443 }
16444 if (obj10) {
16445 {
16446 arg11 = wxString_in_helper(obj10);
16447 if (arg11 == NULL) SWIG_fail;
16448 temp11 = true;
16449 }
16450 }
16451 {
16452 PyThreadState* __tstate = wxPyBeginAllowThreads();
16453 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);
16454 wxPyEndAllowThreads(__tstate);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 }
16457 {
16458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16459 }
16460 {
16461 if (temp4)
16462 delete arg4;
16463 }
16464 {
16465 if (temp7) delete arg7;
16466 }
16467 {
16468 if (temp11)
16469 delete arg11;
16470 }
16471 return resultobj;
16472 fail:
16473 {
16474 if (temp4)
16475 delete arg4;
16476 }
16477 {
16478 if (temp7) delete arg7;
16479 }
16480 {
16481 if (temp11)
16482 delete arg11;
16483 }
16484 return NULL;
16485 }
16486
16487
16488 SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16489 PyObject *resultobj = 0;
16490 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16491 int arg2 ;
16492 void *argp1 = 0 ;
16493 int res1 = 0 ;
16494 int val2 ;
16495 int ecode2 = 0 ;
16496 PyObject * obj0 = 0 ;
16497 PyObject * obj1 = 0 ;
16498 char * kwnames[] = {
16499 (char *) "self",(char *) "n", NULL
16500 };
16501
16502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16504 if (!SWIG_IsOK(res1)) {
16505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16506 }
16507 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16508 ecode2 = SWIG_AsVal_int(obj1, &val2);
16509 if (!SWIG_IsOK(ecode2)) {
16510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16511 }
16512 arg2 = static_cast< int >(val2);
16513 {
16514 PyThreadState* __tstate = wxPyBeginAllowThreads();
16515 (arg1)->SetSelection(arg2);
16516 wxPyEndAllowThreads(__tstate);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 resultobj = SWIG_Py_Void();
16520 return resultobj;
16521 fail:
16522 return NULL;
16523 }
16524
16525
16526 SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16527 PyObject *resultobj = 0;
16528 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16529 int result;
16530 void *argp1 = 0 ;
16531 int res1 = 0 ;
16532 PyObject *swig_obj[1] ;
16533
16534 if (!args) SWIG_fail;
16535 swig_obj[0] = args;
16536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16537 if (!SWIG_IsOK(res1)) {
16538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16539 }
16540 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16541 {
16542 PyThreadState* __tstate = wxPyBeginAllowThreads();
16543 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16544 wxPyEndAllowThreads(__tstate);
16545 if (PyErr_Occurred()) SWIG_fail;
16546 }
16547 resultobj = SWIG_From_int(static_cast< int >(result));
16548 return resultobj;
16549 fail:
16550 return NULL;
16551 }
16552
16553
16554 SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16555 PyObject *resultobj = 0;
16556 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16557 wxString result;
16558 void *argp1 = 0 ;
16559 int res1 = 0 ;
16560 PyObject *swig_obj[1] ;
16561
16562 if (!args) SWIG_fail;
16563 swig_obj[0] = args;
16564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16565 if (!SWIG_IsOK(res1)) {
16566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16567 }
16568 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16569 {
16570 PyThreadState* __tstate = wxPyBeginAllowThreads();
16571 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16572 wxPyEndAllowThreads(__tstate);
16573 if (PyErr_Occurred()) SWIG_fail;
16574 }
16575 {
16576 #if wxUSE_UNICODE
16577 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16578 #else
16579 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16580 #endif
16581 }
16582 return resultobj;
16583 fail:
16584 return NULL;
16585 }
16586
16587
16588 SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj = 0;
16590 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16591 wxString *arg2 = 0 ;
16592 bool result;
16593 void *argp1 = 0 ;
16594 int res1 = 0 ;
16595 bool temp2 = false ;
16596 PyObject * obj0 = 0 ;
16597 PyObject * obj1 = 0 ;
16598 char * kwnames[] = {
16599 (char *) "self",(char *) "s", NULL
16600 };
16601
16602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16604 if (!SWIG_IsOK(res1)) {
16605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16606 }
16607 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16608 {
16609 arg2 = wxString_in_helper(obj1);
16610 if (arg2 == NULL) SWIG_fail;
16611 temp2 = true;
16612 }
16613 {
16614 PyThreadState* __tstate = wxPyBeginAllowThreads();
16615 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16616 wxPyEndAllowThreads(__tstate);
16617 if (PyErr_Occurred()) SWIG_fail;
16618 }
16619 {
16620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16621 }
16622 {
16623 if (temp2)
16624 delete arg2;
16625 }
16626 return resultobj;
16627 fail:
16628 {
16629 if (temp2)
16630 delete arg2;
16631 }
16632 return NULL;
16633 }
16634
16635
16636 SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16637 PyObject *resultobj = 0;
16638 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16639 size_t result;
16640 void *argp1 = 0 ;
16641 int res1 = 0 ;
16642 PyObject *swig_obj[1] ;
16643
16644 if (!args) SWIG_fail;
16645 swig_obj[0] = args;
16646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16647 if (!SWIG_IsOK(res1)) {
16648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16649 }
16650 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16651 {
16652 PyThreadState* __tstate = wxPyBeginAllowThreads();
16653 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
16654 wxPyEndAllowThreads(__tstate);
16655 if (PyErr_Occurred()) SWIG_fail;
16656 }
16657 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16658 return resultobj;
16659 fail:
16660 return NULL;
16661 }
16662
16663
16664 SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16665 PyObject *resultobj = 0;
16666 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16667 wxString *arg2 = 0 ;
16668 int result;
16669 void *argp1 = 0 ;
16670 int res1 = 0 ;
16671 bool temp2 = false ;
16672 PyObject * obj0 = 0 ;
16673 PyObject * obj1 = 0 ;
16674 char * kwnames[] = {
16675 (char *) "self",(char *) "s", NULL
16676 };
16677
16678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16680 if (!SWIG_IsOK(res1)) {
16681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16682 }
16683 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16684 {
16685 arg2 = wxString_in_helper(obj1);
16686 if (arg2 == NULL) SWIG_fail;
16687 temp2 = true;
16688 }
16689 {
16690 PyThreadState* __tstate = wxPyBeginAllowThreads();
16691 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16692 wxPyEndAllowThreads(__tstate);
16693 if (PyErr_Occurred()) SWIG_fail;
16694 }
16695 resultobj = SWIG_From_int(static_cast< int >(result));
16696 {
16697 if (temp2)
16698 delete arg2;
16699 }
16700 return resultobj;
16701 fail:
16702 {
16703 if (temp2)
16704 delete arg2;
16705 }
16706 return NULL;
16707 }
16708
16709
16710 SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16711 PyObject *resultobj = 0;
16712 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16713 int arg2 ;
16714 wxString result;
16715 void *argp1 = 0 ;
16716 int res1 = 0 ;
16717 int val2 ;
16718 int ecode2 = 0 ;
16719 PyObject * obj0 = 0 ;
16720 PyObject * obj1 = 0 ;
16721 char * kwnames[] = {
16722 (char *) "self",(char *) "n", NULL
16723 };
16724
16725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16727 if (!SWIG_IsOK(res1)) {
16728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16729 }
16730 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16731 ecode2 = SWIG_AsVal_int(obj1, &val2);
16732 if (!SWIG_IsOK(ecode2)) {
16733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16734 }
16735 arg2 = static_cast< int >(val2);
16736 {
16737 PyThreadState* __tstate = wxPyBeginAllowThreads();
16738 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16739 wxPyEndAllowThreads(__tstate);
16740 if (PyErr_Occurred()) SWIG_fail;
16741 }
16742 {
16743 #if wxUSE_UNICODE
16744 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16745 #else
16746 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16747 #endif
16748 }
16749 return resultobj;
16750 fail:
16751 return NULL;
16752 }
16753
16754
16755 SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16756 PyObject *resultobj = 0;
16757 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16758 int arg2 ;
16759 wxString *arg3 = 0 ;
16760 void *argp1 = 0 ;
16761 int res1 = 0 ;
16762 int val2 ;
16763 int ecode2 = 0 ;
16764 bool temp3 = false ;
16765 PyObject * obj0 = 0 ;
16766 PyObject * obj1 = 0 ;
16767 PyObject * obj2 = 0 ;
16768 char * kwnames[] = {
16769 (char *) "self",(char *) "n",(char *) "label", NULL
16770 };
16771
16772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16774 if (!SWIG_IsOK(res1)) {
16775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16776 }
16777 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16778 ecode2 = SWIG_AsVal_int(obj1, &val2);
16779 if (!SWIG_IsOK(ecode2)) {
16780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16781 }
16782 arg2 = static_cast< int >(val2);
16783 {
16784 arg3 = wxString_in_helper(obj2);
16785 if (arg3 == NULL) SWIG_fail;
16786 temp3 = true;
16787 }
16788 {
16789 PyThreadState* __tstate = wxPyBeginAllowThreads();
16790 (arg1)->SetString(arg2,(wxString const &)*arg3);
16791 wxPyEndAllowThreads(__tstate);
16792 if (PyErr_Occurred()) SWIG_fail;
16793 }
16794 resultobj = SWIG_Py_Void();
16795 {
16796 if (temp3)
16797 delete arg3;
16798 }
16799 return resultobj;
16800 fail:
16801 {
16802 if (temp3)
16803 delete arg3;
16804 }
16805 return NULL;
16806 }
16807
16808
16809 SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16810 PyObject *resultobj = 0;
16811 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16812 unsigned int arg2 ;
16813 bool arg3 = (bool) true ;
16814 void *argp1 = 0 ;
16815 int res1 = 0 ;
16816 unsigned int val2 ;
16817 int ecode2 = 0 ;
16818 bool val3 ;
16819 int ecode3 = 0 ;
16820 PyObject * obj0 = 0 ;
16821 PyObject * obj1 = 0 ;
16822 PyObject * obj2 = 0 ;
16823 char * kwnames[] = {
16824 (char *) "self",(char *) "n",(char *) "enable", NULL
16825 };
16826
16827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16829 if (!SWIG_IsOK(res1)) {
16830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16831 }
16832 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16833 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16834 if (!SWIG_IsOK(ecode2)) {
16835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16836 }
16837 arg2 = static_cast< unsigned int >(val2);
16838 if (obj2) {
16839 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16840 if (!SWIG_IsOK(ecode3)) {
16841 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16842 }
16843 arg3 = static_cast< bool >(val3);
16844 }
16845 {
16846 PyThreadState* __tstate = wxPyBeginAllowThreads();
16847 (arg1)->Enable(arg2,arg3);
16848 wxPyEndAllowThreads(__tstate);
16849 if (PyErr_Occurred()) SWIG_fail;
16850 }
16851 resultobj = SWIG_Py_Void();
16852 return resultobj;
16853 fail:
16854 return NULL;
16855 }
16856
16857
16858 SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16859 PyObject *resultobj = 0;
16860 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16861 unsigned int arg2 ;
16862 bool arg3 = (bool) true ;
16863 void *argp1 = 0 ;
16864 int res1 = 0 ;
16865 unsigned int val2 ;
16866 int ecode2 = 0 ;
16867 bool val3 ;
16868 int ecode3 = 0 ;
16869 PyObject * obj0 = 0 ;
16870 PyObject * obj1 = 0 ;
16871 PyObject * obj2 = 0 ;
16872 char * kwnames[] = {
16873 (char *) "self",(char *) "n",(char *) "show", NULL
16874 };
16875
16876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16878 if (!SWIG_IsOK(res1)) {
16879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16880 }
16881 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16882 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16883 if (!SWIG_IsOK(ecode2)) {
16884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16885 }
16886 arg2 = static_cast< unsigned int >(val2);
16887 if (obj2) {
16888 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16889 if (!SWIG_IsOK(ecode3)) {
16890 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16891 }
16892 arg3 = static_cast< bool >(val3);
16893 }
16894 {
16895 PyThreadState* __tstate = wxPyBeginAllowThreads();
16896 (arg1)->Show(arg2,arg3);
16897 wxPyEndAllowThreads(__tstate);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 }
16900 resultobj = SWIG_Py_Void();
16901 return resultobj;
16902 fail:
16903 return NULL;
16904 }
16905
16906
16907 SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16908 PyObject *resultobj = 0;
16909 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16910 unsigned int arg2 ;
16911 bool result;
16912 void *argp1 = 0 ;
16913 int res1 = 0 ;
16914 unsigned int val2 ;
16915 int ecode2 = 0 ;
16916 PyObject * obj0 = 0 ;
16917 PyObject * obj1 = 0 ;
16918 char * kwnames[] = {
16919 (char *) "self",(char *) "n", NULL
16920 };
16921
16922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16924 if (!SWIG_IsOK(res1)) {
16925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16926 }
16927 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16928 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16929 if (!SWIG_IsOK(ecode2)) {
16930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16931 }
16932 arg2 = static_cast< unsigned int >(val2);
16933 {
16934 PyThreadState* __tstate = wxPyBeginAllowThreads();
16935 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16936 wxPyEndAllowThreads(__tstate);
16937 if (PyErr_Occurred()) SWIG_fail;
16938 }
16939 {
16940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16941 }
16942 return resultobj;
16943 fail:
16944 return NULL;
16945 }
16946
16947
16948 SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16949 PyObject *resultobj = 0;
16950 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16951 unsigned int arg2 ;
16952 bool result;
16953 void *argp1 = 0 ;
16954 int res1 = 0 ;
16955 unsigned int val2 ;
16956 int ecode2 = 0 ;
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
16959 char * kwnames[] = {
16960 (char *) "self",(char *) "n", NULL
16961 };
16962
16963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16965 if (!SWIG_IsOK(res1)) {
16966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16967 }
16968 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16969 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16970 if (!SWIG_IsOK(ecode2)) {
16971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16972 }
16973 arg2 = static_cast< unsigned int >(val2);
16974 {
16975 PyThreadState* __tstate = wxPyBeginAllowThreads();
16976 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16977 wxPyEndAllowThreads(__tstate);
16978 if (PyErr_Occurred()) SWIG_fail;
16979 }
16980 {
16981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16982 }
16983 return resultobj;
16984 fail:
16985 return NULL;
16986 }
16987
16988
16989 SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16990 PyObject *resultobj = 0;
16991 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16992 unsigned int result;
16993 void *argp1 = 0 ;
16994 int res1 = 0 ;
16995 PyObject *swig_obj[1] ;
16996
16997 if (!args) SWIG_fail;
16998 swig_obj[0] = args;
16999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17000 if (!SWIG_IsOK(res1)) {
17001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17002 }
17003 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
17011 return resultobj;
17012 fail:
17013 return NULL;
17014 }
17015
17016
17017 SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17018 PyObject *resultobj = 0;
17019 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17020 unsigned int result;
17021 void *argp1 = 0 ;
17022 int res1 = 0 ;
17023 PyObject *swig_obj[1] ;
17024
17025 if (!args) SWIG_fail;
17026 swig_obj[0] = args;
17027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17028 if (!SWIG_IsOK(res1)) {
17029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17030 }
17031 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17032 {
17033 PyThreadState* __tstate = wxPyBeginAllowThreads();
17034 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
17035 wxPyEndAllowThreads(__tstate);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 }
17038 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
17039 return resultobj;
17040 fail:
17041 return NULL;
17042 }
17043
17044
17045 SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17046 PyObject *resultobj = 0;
17047 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17048 int arg2 ;
17049 wxDirection arg3 ;
17050 long arg4 ;
17051 int result;
17052 void *argp1 = 0 ;
17053 int res1 = 0 ;
17054 int val2 ;
17055 int ecode2 = 0 ;
17056 int val3 ;
17057 int ecode3 = 0 ;
17058 long val4 ;
17059 int ecode4 = 0 ;
17060 PyObject * obj0 = 0 ;
17061 PyObject * obj1 = 0 ;
17062 PyObject * obj2 = 0 ;
17063 PyObject * obj3 = 0 ;
17064 char * kwnames[] = {
17065 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17066 };
17067
17068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17070 if (!SWIG_IsOK(res1)) {
17071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17072 }
17073 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17074 ecode2 = SWIG_AsVal_int(obj1, &val2);
17075 if (!SWIG_IsOK(ecode2)) {
17076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17077 }
17078 arg2 = static_cast< int >(val2);
17079 ecode3 = SWIG_AsVal_int(obj2, &val3);
17080 if (!SWIG_IsOK(ecode3)) {
17081 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17082 }
17083 arg3 = static_cast< wxDirection >(val3);
17084 ecode4 = SWIG_AsVal_long(obj3, &val4);
17085 if (!SWIG_IsOK(ecode4)) {
17086 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17087 }
17088 arg4 = static_cast< long >(val4);
17089 {
17090 PyThreadState* __tstate = wxPyBeginAllowThreads();
17091 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 resultobj = SWIG_From_int(static_cast< int >(result));
17096 return resultobj;
17097 fail:
17098 return NULL;
17099 }
17100
17101
17102 SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17103 PyObject *resultobj = 0;
17104 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17105 unsigned int arg2 ;
17106 wxString *arg3 = 0 ;
17107 void *argp1 = 0 ;
17108 int res1 = 0 ;
17109 unsigned int val2 ;
17110 int ecode2 = 0 ;
17111 bool temp3 = false ;
17112 PyObject * obj0 = 0 ;
17113 PyObject * obj1 = 0 ;
17114 PyObject * obj2 = 0 ;
17115 char * kwnames[] = {
17116 (char *) "self",(char *) "item",(char *) "text", NULL
17117 };
17118
17119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17121 if (!SWIG_IsOK(res1)) {
17122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17123 }
17124 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17125 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17126 if (!SWIG_IsOK(ecode2)) {
17127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17128 }
17129 arg2 = static_cast< unsigned int >(val2);
17130 {
17131 arg3 = wxString_in_helper(obj2);
17132 if (arg3 == NULL) SWIG_fail;
17133 temp3 = true;
17134 }
17135 {
17136 PyThreadState* __tstate = wxPyBeginAllowThreads();
17137 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 resultobj = SWIG_Py_Void();
17142 {
17143 if (temp3)
17144 delete arg3;
17145 }
17146 return resultobj;
17147 fail:
17148 {
17149 if (temp3)
17150 delete arg3;
17151 }
17152 return NULL;
17153 }
17154
17155
17156 SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17157 PyObject *resultobj = 0;
17158 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17159 unsigned int arg2 ;
17160 wxToolTip *result = 0 ;
17161 void *argp1 = 0 ;
17162 int res1 = 0 ;
17163 unsigned int val2 ;
17164 int ecode2 = 0 ;
17165 PyObject * obj0 = 0 ;
17166 PyObject * obj1 = 0 ;
17167 char * kwnames[] = {
17168 (char *) "self",(char *) "item", NULL
17169 };
17170
17171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17173 if (!SWIG_IsOK(res1)) {
17174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17175 }
17176 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17177 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17178 if (!SWIG_IsOK(ecode2)) {
17179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17180 }
17181 arg2 = static_cast< unsigned int >(val2);
17182 {
17183 PyThreadState* __tstate = wxPyBeginAllowThreads();
17184 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17185 wxPyEndAllowThreads(__tstate);
17186 if (PyErr_Occurred()) SWIG_fail;
17187 }
17188 {
17189 resultobj = wxPyMake_wxObject(result, (bool)0);
17190 }
17191 return resultobj;
17192 fail:
17193 return NULL;
17194 }
17195
17196
17197 SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17198 PyObject *resultobj = 0;
17199 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17200 unsigned int arg2 ;
17201 wxString *arg3 = 0 ;
17202 void *argp1 = 0 ;
17203 int res1 = 0 ;
17204 unsigned int val2 ;
17205 int ecode2 = 0 ;
17206 bool temp3 = false ;
17207 PyObject * obj0 = 0 ;
17208 PyObject * obj1 = 0 ;
17209 PyObject * obj2 = 0 ;
17210 char * kwnames[] = {
17211 (char *) "self",(char *) "n",(char *) "helpText", NULL
17212 };
17213
17214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17216 if (!SWIG_IsOK(res1)) {
17217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17218 }
17219 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17220 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17221 if (!SWIG_IsOK(ecode2)) {
17222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17223 }
17224 arg2 = static_cast< unsigned int >(val2);
17225 {
17226 arg3 = wxString_in_helper(obj2);
17227 if (arg3 == NULL) SWIG_fail;
17228 temp3 = true;
17229 }
17230 {
17231 PyThreadState* __tstate = wxPyBeginAllowThreads();
17232 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 resultobj = SWIG_Py_Void();
17237 {
17238 if (temp3)
17239 delete arg3;
17240 }
17241 return resultobj;
17242 fail:
17243 {
17244 if (temp3)
17245 delete arg3;
17246 }
17247 return NULL;
17248 }
17249
17250
17251 SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj = 0;
17253 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17254 unsigned int arg2 ;
17255 wxString result;
17256 void *argp1 = 0 ;
17257 int res1 = 0 ;
17258 unsigned int val2 ;
17259 int ecode2 = 0 ;
17260 PyObject * obj0 = 0 ;
17261 PyObject * obj1 = 0 ;
17262 char * kwnames[] = {
17263 (char *) "self",(char *) "n", NULL
17264 };
17265
17266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17268 if (!SWIG_IsOK(res1)) {
17269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17270 }
17271 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17272 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17273 if (!SWIG_IsOK(ecode2)) {
17274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17275 }
17276 arg2 = static_cast< unsigned int >(val2);
17277 {
17278 PyThreadState* __tstate = wxPyBeginAllowThreads();
17279 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17280 wxPyEndAllowThreads(__tstate);
17281 if (PyErr_Occurred()) SWIG_fail;
17282 }
17283 {
17284 #if wxUSE_UNICODE
17285 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17286 #else
17287 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17288 #endif
17289 }
17290 return resultobj;
17291 fail:
17292 return NULL;
17293 }
17294
17295
17296 SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17297 PyObject *resultobj = 0;
17298 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17299 SwigValueWrapper<wxVisualAttributes > result;
17300 int val1 ;
17301 int ecode1 = 0 ;
17302 PyObject * obj0 = 0 ;
17303 char * kwnames[] = {
17304 (char *) "variant", NULL
17305 };
17306
17307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17308 if (obj0) {
17309 ecode1 = SWIG_AsVal_int(obj0, &val1);
17310 if (!SWIG_IsOK(ecode1)) {
17311 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17312 }
17313 arg1 = static_cast< wxWindowVariant >(val1);
17314 }
17315 {
17316 if (!wxPyCheckForApp()) SWIG_fail;
17317 PyThreadState* __tstate = wxPyBeginAllowThreads();
17318 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17319 wxPyEndAllowThreads(__tstate);
17320 if (PyErr_Occurred()) SWIG_fail;
17321 }
17322 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17323 return resultobj;
17324 fail:
17325 return NULL;
17326 }
17327
17328
17329 SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17330 PyObject *obj;
17331 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17332 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17333 return SWIG_Py_Void();
17334 }
17335
17336 SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17337 return SWIG_Python_InitShadowInstance(args);
17338 }
17339
17340 SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17341 PyObject *resultobj = 0;
17342 wxWindow *arg1 = (wxWindow *) 0 ;
17343 int arg2 = (int) -1 ;
17344 wxString const &arg3_defvalue = wxPyEmptyString ;
17345 wxString *arg3 = (wxString *) &arg3_defvalue ;
17346 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17347 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17348 wxSize const &arg5_defvalue = wxDefaultSize ;
17349 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17350 long arg6 = (long) 0 ;
17351 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17352 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17353 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17354 wxString *arg8 = (wxString *) &arg8_defvalue ;
17355 wxRadioButton *result = 0 ;
17356 void *argp1 = 0 ;
17357 int res1 = 0 ;
17358 int val2 ;
17359 int ecode2 = 0 ;
17360 bool temp3 = false ;
17361 wxPoint temp4 ;
17362 wxSize temp5 ;
17363 long val6 ;
17364 int ecode6 = 0 ;
17365 void *argp7 = 0 ;
17366 int res7 = 0 ;
17367 bool temp8 = false ;
17368 PyObject * obj0 = 0 ;
17369 PyObject * obj1 = 0 ;
17370 PyObject * obj2 = 0 ;
17371 PyObject * obj3 = 0 ;
17372 PyObject * obj4 = 0 ;
17373 PyObject * obj5 = 0 ;
17374 PyObject * obj6 = 0 ;
17375 PyObject * obj7 = 0 ;
17376 char * kwnames[] = {
17377 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17378 };
17379
17380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17382 if (!SWIG_IsOK(res1)) {
17383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17384 }
17385 arg1 = reinterpret_cast< wxWindow * >(argp1);
17386 if (obj1) {
17387 ecode2 = SWIG_AsVal_int(obj1, &val2);
17388 if (!SWIG_IsOK(ecode2)) {
17389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17390 }
17391 arg2 = static_cast< int >(val2);
17392 }
17393 if (obj2) {
17394 {
17395 arg3 = wxString_in_helper(obj2);
17396 if (arg3 == NULL) SWIG_fail;
17397 temp3 = true;
17398 }
17399 }
17400 if (obj3) {
17401 {
17402 arg4 = &temp4;
17403 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17404 }
17405 }
17406 if (obj4) {
17407 {
17408 arg5 = &temp5;
17409 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17410 }
17411 }
17412 if (obj5) {
17413 ecode6 = SWIG_AsVal_long(obj5, &val6);
17414 if (!SWIG_IsOK(ecode6)) {
17415 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17416 }
17417 arg6 = static_cast< long >(val6);
17418 }
17419 if (obj6) {
17420 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17421 if (!SWIG_IsOK(res7)) {
17422 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17423 }
17424 if (!argp7) {
17425 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17426 }
17427 arg7 = reinterpret_cast< wxValidator * >(argp7);
17428 }
17429 if (obj7) {
17430 {
17431 arg8 = wxString_in_helper(obj7);
17432 if (arg8 == NULL) SWIG_fail;
17433 temp8 = true;
17434 }
17435 }
17436 {
17437 if (!wxPyCheckForApp()) SWIG_fail;
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17444 {
17445 if (temp3)
17446 delete arg3;
17447 }
17448 {
17449 if (temp8)
17450 delete arg8;
17451 }
17452 return resultobj;
17453 fail:
17454 {
17455 if (temp3)
17456 delete arg3;
17457 }
17458 {
17459 if (temp8)
17460 delete arg8;
17461 }
17462 return NULL;
17463 }
17464
17465
17466 SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17467 PyObject *resultobj = 0;
17468 wxRadioButton *result = 0 ;
17469
17470 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17471 {
17472 if (!wxPyCheckForApp()) SWIG_fail;
17473 PyThreadState* __tstate = wxPyBeginAllowThreads();
17474 result = (wxRadioButton *)new wxRadioButton();
17475 wxPyEndAllowThreads(__tstate);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17479 return resultobj;
17480 fail:
17481 return NULL;
17482 }
17483
17484
17485 SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17486 PyObject *resultobj = 0;
17487 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17488 wxWindow *arg2 = (wxWindow *) 0 ;
17489 int arg3 = (int) -1 ;
17490 wxString const &arg4_defvalue = wxPyEmptyString ;
17491 wxString *arg4 = (wxString *) &arg4_defvalue ;
17492 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17493 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17494 wxSize const &arg6_defvalue = wxDefaultSize ;
17495 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17496 long arg7 = (long) 0 ;
17497 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17498 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17499 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17500 wxString *arg9 = (wxString *) &arg9_defvalue ;
17501 bool result;
17502 void *argp1 = 0 ;
17503 int res1 = 0 ;
17504 void *argp2 = 0 ;
17505 int res2 = 0 ;
17506 int val3 ;
17507 int ecode3 = 0 ;
17508 bool temp4 = false ;
17509 wxPoint temp5 ;
17510 wxSize temp6 ;
17511 long val7 ;
17512 int ecode7 = 0 ;
17513 void *argp8 = 0 ;
17514 int res8 = 0 ;
17515 bool temp9 = false ;
17516 PyObject * obj0 = 0 ;
17517 PyObject * obj1 = 0 ;
17518 PyObject * obj2 = 0 ;
17519 PyObject * obj3 = 0 ;
17520 PyObject * obj4 = 0 ;
17521 PyObject * obj5 = 0 ;
17522 PyObject * obj6 = 0 ;
17523 PyObject * obj7 = 0 ;
17524 PyObject * obj8 = 0 ;
17525 char * kwnames[] = {
17526 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17527 };
17528
17529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17531 if (!SWIG_IsOK(res1)) {
17532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17533 }
17534 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17535 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17536 if (!SWIG_IsOK(res2)) {
17537 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17538 }
17539 arg2 = reinterpret_cast< wxWindow * >(argp2);
17540 if (obj2) {
17541 ecode3 = SWIG_AsVal_int(obj2, &val3);
17542 if (!SWIG_IsOK(ecode3)) {
17543 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17544 }
17545 arg3 = static_cast< int >(val3);
17546 }
17547 if (obj3) {
17548 {
17549 arg4 = wxString_in_helper(obj3);
17550 if (arg4 == NULL) SWIG_fail;
17551 temp4 = true;
17552 }
17553 }
17554 if (obj4) {
17555 {
17556 arg5 = &temp5;
17557 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17558 }
17559 }
17560 if (obj5) {
17561 {
17562 arg6 = &temp6;
17563 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17564 }
17565 }
17566 if (obj6) {
17567 ecode7 = SWIG_AsVal_long(obj6, &val7);
17568 if (!SWIG_IsOK(ecode7)) {
17569 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17570 }
17571 arg7 = static_cast< long >(val7);
17572 }
17573 if (obj7) {
17574 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17575 if (!SWIG_IsOK(res8)) {
17576 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17577 }
17578 if (!argp8) {
17579 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17580 }
17581 arg8 = reinterpret_cast< wxValidator * >(argp8);
17582 }
17583 if (obj8) {
17584 {
17585 arg9 = wxString_in_helper(obj8);
17586 if (arg9 == NULL) SWIG_fail;
17587 temp9 = true;
17588 }
17589 }
17590 {
17591 PyThreadState* __tstate = wxPyBeginAllowThreads();
17592 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17593 wxPyEndAllowThreads(__tstate);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 {
17597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17598 }
17599 {
17600 if (temp4)
17601 delete arg4;
17602 }
17603 {
17604 if (temp9)
17605 delete arg9;
17606 }
17607 return resultobj;
17608 fail:
17609 {
17610 if (temp4)
17611 delete arg4;
17612 }
17613 {
17614 if (temp9)
17615 delete arg9;
17616 }
17617 return NULL;
17618 }
17619
17620
17621 SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17622 PyObject *resultobj = 0;
17623 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17624 bool result;
17625 void *argp1 = 0 ;
17626 int res1 = 0 ;
17627 PyObject *swig_obj[1] ;
17628
17629 if (!args) SWIG_fail;
17630 swig_obj[0] = args;
17631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17632 if (!SWIG_IsOK(res1)) {
17633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17634 }
17635 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17636 {
17637 PyThreadState* __tstate = wxPyBeginAllowThreads();
17638 result = (bool)(arg1)->GetValue();
17639 wxPyEndAllowThreads(__tstate);
17640 if (PyErr_Occurred()) SWIG_fail;
17641 }
17642 {
17643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17644 }
17645 return resultobj;
17646 fail:
17647 return NULL;
17648 }
17649
17650
17651 SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17652 PyObject *resultobj = 0;
17653 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17654 bool arg2 ;
17655 void *argp1 = 0 ;
17656 int res1 = 0 ;
17657 bool val2 ;
17658 int ecode2 = 0 ;
17659 PyObject * obj0 = 0 ;
17660 PyObject * obj1 = 0 ;
17661 char * kwnames[] = {
17662 (char *) "self",(char *) "value", NULL
17663 };
17664
17665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17667 if (!SWIG_IsOK(res1)) {
17668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17669 }
17670 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17671 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17672 if (!SWIG_IsOK(ecode2)) {
17673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17674 }
17675 arg2 = static_cast< bool >(val2);
17676 {
17677 PyThreadState* __tstate = wxPyBeginAllowThreads();
17678 (arg1)->SetValue(arg2);
17679 wxPyEndAllowThreads(__tstate);
17680 if (PyErr_Occurred()) SWIG_fail;
17681 }
17682 resultobj = SWIG_Py_Void();
17683 return resultobj;
17684 fail:
17685 return NULL;
17686 }
17687
17688
17689 SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17690 PyObject *resultobj = 0;
17691 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17692 SwigValueWrapper<wxVisualAttributes > result;
17693 int val1 ;
17694 int ecode1 = 0 ;
17695 PyObject * obj0 = 0 ;
17696 char * kwnames[] = {
17697 (char *) "variant", NULL
17698 };
17699
17700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17701 if (obj0) {
17702 ecode1 = SWIG_AsVal_int(obj0, &val1);
17703 if (!SWIG_IsOK(ecode1)) {
17704 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17705 }
17706 arg1 = static_cast< wxWindowVariant >(val1);
17707 }
17708 {
17709 if (!wxPyCheckForApp()) SWIG_fail;
17710 PyThreadState* __tstate = wxPyBeginAllowThreads();
17711 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17716 return resultobj;
17717 fail:
17718 return NULL;
17719 }
17720
17721
17722 SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17723 PyObject *obj;
17724 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17725 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17726 return SWIG_Py_Void();
17727 }
17728
17729 SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17730 return SWIG_Python_InitShadowInstance(args);
17731 }
17732
17733 SWIGINTERN int SliderNameStr_set(PyObject *) {
17734 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17735 return 1;
17736 }
17737
17738
17739 SWIGINTERN PyObject *SliderNameStr_get(void) {
17740 PyObject *pyobj = 0;
17741
17742 {
17743 #if wxUSE_UNICODE
17744 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17745 #else
17746 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17747 #endif
17748 }
17749 return pyobj;
17750 }
17751
17752
17753 SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17754 PyObject *resultobj = 0;
17755 wxWindow *arg1 = (wxWindow *) 0 ;
17756 int arg2 = (int) -1 ;
17757 int arg3 = (int) 0 ;
17758 int arg4 = (int) 0 ;
17759 int arg5 = (int) 100 ;
17760 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17761 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17762 wxSize const &arg7_defvalue = wxDefaultSize ;
17763 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17764 long arg8 = (long) wxSL_HORIZONTAL ;
17765 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17766 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17767 wxString const &arg10_defvalue = wxPySliderNameStr ;
17768 wxString *arg10 = (wxString *) &arg10_defvalue ;
17769 wxSlider *result = 0 ;
17770 void *argp1 = 0 ;
17771 int res1 = 0 ;
17772 int val2 ;
17773 int ecode2 = 0 ;
17774 int val3 ;
17775 int ecode3 = 0 ;
17776 int val4 ;
17777 int ecode4 = 0 ;
17778 int val5 ;
17779 int ecode5 = 0 ;
17780 wxPoint temp6 ;
17781 wxSize temp7 ;
17782 long val8 ;
17783 int ecode8 = 0 ;
17784 void *argp9 = 0 ;
17785 int res9 = 0 ;
17786 bool temp10 = false ;
17787 PyObject * obj0 = 0 ;
17788 PyObject * obj1 = 0 ;
17789 PyObject * obj2 = 0 ;
17790 PyObject * obj3 = 0 ;
17791 PyObject * obj4 = 0 ;
17792 PyObject * obj5 = 0 ;
17793 PyObject * obj6 = 0 ;
17794 PyObject * obj7 = 0 ;
17795 PyObject * obj8 = 0 ;
17796 PyObject * obj9 = 0 ;
17797 char * kwnames[] = {
17798 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17799 };
17800
17801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17803 if (!SWIG_IsOK(res1)) {
17804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17805 }
17806 arg1 = reinterpret_cast< wxWindow * >(argp1);
17807 if (obj1) {
17808 ecode2 = SWIG_AsVal_int(obj1, &val2);
17809 if (!SWIG_IsOK(ecode2)) {
17810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17811 }
17812 arg2 = static_cast< int >(val2);
17813 }
17814 if (obj2) {
17815 ecode3 = SWIG_AsVal_int(obj2, &val3);
17816 if (!SWIG_IsOK(ecode3)) {
17817 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17818 }
17819 arg3 = static_cast< int >(val3);
17820 }
17821 if (obj3) {
17822 ecode4 = SWIG_AsVal_int(obj3, &val4);
17823 if (!SWIG_IsOK(ecode4)) {
17824 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17825 }
17826 arg4 = static_cast< int >(val4);
17827 }
17828 if (obj4) {
17829 ecode5 = SWIG_AsVal_int(obj4, &val5);
17830 if (!SWIG_IsOK(ecode5)) {
17831 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17832 }
17833 arg5 = static_cast< int >(val5);
17834 }
17835 if (obj5) {
17836 {
17837 arg6 = &temp6;
17838 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17839 }
17840 }
17841 if (obj6) {
17842 {
17843 arg7 = &temp7;
17844 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
17845 }
17846 }
17847 if (obj7) {
17848 ecode8 = SWIG_AsVal_long(obj7, &val8);
17849 if (!SWIG_IsOK(ecode8)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17851 }
17852 arg8 = static_cast< long >(val8);
17853 }
17854 if (obj8) {
17855 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17856 if (!SWIG_IsOK(res9)) {
17857 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17858 }
17859 if (!argp9) {
17860 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17861 }
17862 arg9 = reinterpret_cast< wxValidator * >(argp9);
17863 }
17864 if (obj9) {
17865 {
17866 arg10 = wxString_in_helper(obj9);
17867 if (arg10 == NULL) SWIG_fail;
17868 temp10 = true;
17869 }
17870 }
17871 {
17872 if (!wxPyCheckForApp()) SWIG_fail;
17873 PyThreadState* __tstate = wxPyBeginAllowThreads();
17874 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17875 wxPyEndAllowThreads(__tstate);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 }
17878 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17879 {
17880 if (temp10)
17881 delete arg10;
17882 }
17883 return resultobj;
17884 fail:
17885 {
17886 if (temp10)
17887 delete arg10;
17888 }
17889 return NULL;
17890 }
17891
17892
17893 SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17894 PyObject *resultobj = 0;
17895 wxSlider *result = 0 ;
17896
17897 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17898 {
17899 if (!wxPyCheckForApp()) SWIG_fail;
17900 PyThreadState* __tstate = wxPyBeginAllowThreads();
17901 result = (wxSlider *)new wxSlider();
17902 wxPyEndAllowThreads(__tstate);
17903 if (PyErr_Occurred()) SWIG_fail;
17904 }
17905 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17906 return resultobj;
17907 fail:
17908 return NULL;
17909 }
17910
17911
17912 SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17913 PyObject *resultobj = 0;
17914 wxSlider *arg1 = (wxSlider *) 0 ;
17915 wxWindow *arg2 = (wxWindow *) 0 ;
17916 int arg3 = (int) -1 ;
17917 int arg4 = (int) 0 ;
17918 int arg5 = (int) 0 ;
17919 int arg6 = (int) 100 ;
17920 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17921 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17922 wxSize const &arg8_defvalue = wxDefaultSize ;
17923 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17924 long arg9 = (long) wxSL_HORIZONTAL ;
17925 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17926 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17927 wxString const &arg11_defvalue = wxPySliderNameStr ;
17928 wxString *arg11 = (wxString *) &arg11_defvalue ;
17929 bool result;
17930 void *argp1 = 0 ;
17931 int res1 = 0 ;
17932 void *argp2 = 0 ;
17933 int res2 = 0 ;
17934 int val3 ;
17935 int ecode3 = 0 ;
17936 int val4 ;
17937 int ecode4 = 0 ;
17938 int val5 ;
17939 int ecode5 = 0 ;
17940 int val6 ;
17941 int ecode6 = 0 ;
17942 wxPoint temp7 ;
17943 wxSize temp8 ;
17944 long val9 ;
17945 int ecode9 = 0 ;
17946 void *argp10 = 0 ;
17947 int res10 = 0 ;
17948 bool temp11 = false ;
17949 PyObject * obj0 = 0 ;
17950 PyObject * obj1 = 0 ;
17951 PyObject * obj2 = 0 ;
17952 PyObject * obj3 = 0 ;
17953 PyObject * obj4 = 0 ;
17954 PyObject * obj5 = 0 ;
17955 PyObject * obj6 = 0 ;
17956 PyObject * obj7 = 0 ;
17957 PyObject * obj8 = 0 ;
17958 PyObject * obj9 = 0 ;
17959 PyObject * obj10 = 0 ;
17960 char * kwnames[] = {
17961 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17962 };
17963
17964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17966 if (!SWIG_IsOK(res1)) {
17967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17968 }
17969 arg1 = reinterpret_cast< wxSlider * >(argp1);
17970 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17971 if (!SWIG_IsOK(res2)) {
17972 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17973 }
17974 arg2 = reinterpret_cast< wxWindow * >(argp2);
17975 if (obj2) {
17976 ecode3 = SWIG_AsVal_int(obj2, &val3);
17977 if (!SWIG_IsOK(ecode3)) {
17978 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17979 }
17980 arg3 = static_cast< int >(val3);
17981 }
17982 if (obj3) {
17983 ecode4 = SWIG_AsVal_int(obj3, &val4);
17984 if (!SWIG_IsOK(ecode4)) {
17985 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17986 }
17987 arg4 = static_cast< int >(val4);
17988 }
17989 if (obj4) {
17990 ecode5 = SWIG_AsVal_int(obj4, &val5);
17991 if (!SWIG_IsOK(ecode5)) {
17992 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17993 }
17994 arg5 = static_cast< int >(val5);
17995 }
17996 if (obj5) {
17997 ecode6 = SWIG_AsVal_int(obj5, &val6);
17998 if (!SWIG_IsOK(ecode6)) {
17999 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18000 }
18001 arg6 = static_cast< int >(val6);
18002 }
18003 if (obj6) {
18004 {
18005 arg7 = &temp7;
18006 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
18007 }
18008 }
18009 if (obj7) {
18010 {
18011 arg8 = &temp8;
18012 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
18013 }
18014 }
18015 if (obj8) {
18016 ecode9 = SWIG_AsVal_long(obj8, &val9);
18017 if (!SWIG_IsOK(ecode9)) {
18018 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18019 }
18020 arg9 = static_cast< long >(val9);
18021 }
18022 if (obj9) {
18023 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
18024 if (!SWIG_IsOK(res10)) {
18025 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18026 }
18027 if (!argp10) {
18028 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18029 }
18030 arg10 = reinterpret_cast< wxValidator * >(argp10);
18031 }
18032 if (obj10) {
18033 {
18034 arg11 = wxString_in_helper(obj10);
18035 if (arg11 == NULL) SWIG_fail;
18036 temp11 = true;
18037 }
18038 }
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 {
18046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18047 }
18048 {
18049 if (temp11)
18050 delete arg11;
18051 }
18052 return resultobj;
18053 fail:
18054 {
18055 if (temp11)
18056 delete arg11;
18057 }
18058 return NULL;
18059 }
18060
18061
18062 SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18063 PyObject *resultobj = 0;
18064 wxSlider *arg1 = (wxSlider *) 0 ;
18065 int result;
18066 void *argp1 = 0 ;
18067 int res1 = 0 ;
18068 PyObject *swig_obj[1] ;
18069
18070 if (!args) SWIG_fail;
18071 swig_obj[0] = args;
18072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18073 if (!SWIG_IsOK(res1)) {
18074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18075 }
18076 arg1 = reinterpret_cast< wxSlider * >(argp1);
18077 {
18078 PyThreadState* __tstate = wxPyBeginAllowThreads();
18079 result = (int)((wxSlider const *)arg1)->GetValue();
18080 wxPyEndAllowThreads(__tstate);
18081 if (PyErr_Occurred()) SWIG_fail;
18082 }
18083 resultobj = SWIG_From_int(static_cast< int >(result));
18084 return resultobj;
18085 fail:
18086 return NULL;
18087 }
18088
18089
18090 SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18091 PyObject *resultobj = 0;
18092 wxSlider *arg1 = (wxSlider *) 0 ;
18093 int arg2 ;
18094 void *argp1 = 0 ;
18095 int res1 = 0 ;
18096 int val2 ;
18097 int ecode2 = 0 ;
18098 PyObject * obj0 = 0 ;
18099 PyObject * obj1 = 0 ;
18100 char * kwnames[] = {
18101 (char *) "self",(char *) "value", NULL
18102 };
18103
18104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18106 if (!SWIG_IsOK(res1)) {
18107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18108 }
18109 arg1 = reinterpret_cast< wxSlider * >(argp1);
18110 ecode2 = SWIG_AsVal_int(obj1, &val2);
18111 if (!SWIG_IsOK(ecode2)) {
18112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18113 }
18114 arg2 = static_cast< int >(val2);
18115 {
18116 PyThreadState* __tstate = wxPyBeginAllowThreads();
18117 (arg1)->SetValue(arg2);
18118 wxPyEndAllowThreads(__tstate);
18119 if (PyErr_Occurred()) SWIG_fail;
18120 }
18121 resultobj = SWIG_Py_Void();
18122 return resultobj;
18123 fail:
18124 return NULL;
18125 }
18126
18127
18128 SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18129 PyObject *resultobj = 0;
18130 wxSlider *arg1 = (wxSlider *) 0 ;
18131 int arg2 ;
18132 int arg3 ;
18133 void *argp1 = 0 ;
18134 int res1 = 0 ;
18135 int val2 ;
18136 int ecode2 = 0 ;
18137 int val3 ;
18138 int ecode3 = 0 ;
18139 PyObject * obj0 = 0 ;
18140 PyObject * obj1 = 0 ;
18141 PyObject * obj2 = 0 ;
18142 char * kwnames[] = {
18143 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18144 };
18145
18146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18148 if (!SWIG_IsOK(res1)) {
18149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18150 }
18151 arg1 = reinterpret_cast< wxSlider * >(argp1);
18152 ecode2 = SWIG_AsVal_int(obj1, &val2);
18153 if (!SWIG_IsOK(ecode2)) {
18154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18155 }
18156 arg2 = static_cast< int >(val2);
18157 ecode3 = SWIG_AsVal_int(obj2, &val3);
18158 if (!SWIG_IsOK(ecode3)) {
18159 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18160 }
18161 arg3 = static_cast< int >(val3);
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 (arg1)->SetRange(arg2,arg3);
18165 wxPyEndAllowThreads(__tstate);
18166 if (PyErr_Occurred()) SWIG_fail;
18167 }
18168 resultobj = SWIG_Py_Void();
18169 return resultobj;
18170 fail:
18171 return NULL;
18172 }
18173
18174
18175 SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18176 PyObject *resultobj = 0;
18177 wxSlider *arg1 = (wxSlider *) 0 ;
18178 int result;
18179 void *argp1 = 0 ;
18180 int res1 = 0 ;
18181 PyObject *swig_obj[1] ;
18182
18183 if (!args) SWIG_fail;
18184 swig_obj[0] = args;
18185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18186 if (!SWIG_IsOK(res1)) {
18187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18188 }
18189 arg1 = reinterpret_cast< wxSlider * >(argp1);
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 result = (int)((wxSlider const *)arg1)->GetMin();
18193 wxPyEndAllowThreads(__tstate);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 resultobj = SWIG_From_int(static_cast< int >(result));
18197 return resultobj;
18198 fail:
18199 return NULL;
18200 }
18201
18202
18203 SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18204 PyObject *resultobj = 0;
18205 wxSlider *arg1 = (wxSlider *) 0 ;
18206 int result;
18207 void *argp1 = 0 ;
18208 int res1 = 0 ;
18209 PyObject *swig_obj[1] ;
18210
18211 if (!args) SWIG_fail;
18212 swig_obj[0] = args;
18213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18214 if (!SWIG_IsOK(res1)) {
18215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18216 }
18217 arg1 = reinterpret_cast< wxSlider * >(argp1);
18218 {
18219 PyThreadState* __tstate = wxPyBeginAllowThreads();
18220 result = (int)((wxSlider const *)arg1)->GetMax();
18221 wxPyEndAllowThreads(__tstate);
18222 if (PyErr_Occurred()) SWIG_fail;
18223 }
18224 resultobj = SWIG_From_int(static_cast< int >(result));
18225 return resultobj;
18226 fail:
18227 return NULL;
18228 }
18229
18230
18231 SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18232 PyObject *resultobj = 0;
18233 wxSlider *arg1 = (wxSlider *) 0 ;
18234 int arg2 ;
18235 void *argp1 = 0 ;
18236 int res1 = 0 ;
18237 int val2 ;
18238 int ecode2 = 0 ;
18239 PyObject * obj0 = 0 ;
18240 PyObject * obj1 = 0 ;
18241 char * kwnames[] = {
18242 (char *) "self",(char *) "minValue", NULL
18243 };
18244
18245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18247 if (!SWIG_IsOK(res1)) {
18248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18249 }
18250 arg1 = reinterpret_cast< wxSlider * >(argp1);
18251 ecode2 = SWIG_AsVal_int(obj1, &val2);
18252 if (!SWIG_IsOK(ecode2)) {
18253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18254 }
18255 arg2 = static_cast< int >(val2);
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 (arg1)->SetMin(arg2);
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 resultobj = SWIG_Py_Void();
18263 return resultobj;
18264 fail:
18265 return NULL;
18266 }
18267
18268
18269 SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj = 0;
18271 wxSlider *arg1 = (wxSlider *) 0 ;
18272 int arg2 ;
18273 void *argp1 = 0 ;
18274 int res1 = 0 ;
18275 int val2 ;
18276 int ecode2 = 0 ;
18277 PyObject * obj0 = 0 ;
18278 PyObject * obj1 = 0 ;
18279 char * kwnames[] = {
18280 (char *) "self",(char *) "maxValue", NULL
18281 };
18282
18283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18285 if (!SWIG_IsOK(res1)) {
18286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18287 }
18288 arg1 = reinterpret_cast< wxSlider * >(argp1);
18289 ecode2 = SWIG_AsVal_int(obj1, &val2);
18290 if (!SWIG_IsOK(ecode2)) {
18291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18292 }
18293 arg2 = static_cast< int >(val2);
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 (arg1)->SetMax(arg2);
18297 wxPyEndAllowThreads(__tstate);
18298 if (PyErr_Occurred()) SWIG_fail;
18299 }
18300 resultobj = SWIG_Py_Void();
18301 return resultobj;
18302 fail:
18303 return NULL;
18304 }
18305
18306
18307 SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18308 PyObject *resultobj = 0;
18309 wxSlider *arg1 = (wxSlider *) 0 ;
18310 int arg2 ;
18311 void *argp1 = 0 ;
18312 int res1 = 0 ;
18313 int val2 ;
18314 int ecode2 = 0 ;
18315 PyObject * obj0 = 0 ;
18316 PyObject * obj1 = 0 ;
18317 char * kwnames[] = {
18318 (char *) "self",(char *) "lineSize", NULL
18319 };
18320
18321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18323 if (!SWIG_IsOK(res1)) {
18324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18325 }
18326 arg1 = reinterpret_cast< wxSlider * >(argp1);
18327 ecode2 = SWIG_AsVal_int(obj1, &val2);
18328 if (!SWIG_IsOK(ecode2)) {
18329 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18330 }
18331 arg2 = static_cast< int >(val2);
18332 {
18333 PyThreadState* __tstate = wxPyBeginAllowThreads();
18334 (arg1)->SetLineSize(arg2);
18335 wxPyEndAllowThreads(__tstate);
18336 if (PyErr_Occurred()) SWIG_fail;
18337 }
18338 resultobj = SWIG_Py_Void();
18339 return resultobj;
18340 fail:
18341 return NULL;
18342 }
18343
18344
18345 SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18346 PyObject *resultobj = 0;
18347 wxSlider *arg1 = (wxSlider *) 0 ;
18348 int arg2 ;
18349 void *argp1 = 0 ;
18350 int res1 = 0 ;
18351 int val2 ;
18352 int ecode2 = 0 ;
18353 PyObject * obj0 = 0 ;
18354 PyObject * obj1 = 0 ;
18355 char * kwnames[] = {
18356 (char *) "self",(char *) "pageSize", NULL
18357 };
18358
18359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18361 if (!SWIG_IsOK(res1)) {
18362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18363 }
18364 arg1 = reinterpret_cast< wxSlider * >(argp1);
18365 ecode2 = SWIG_AsVal_int(obj1, &val2);
18366 if (!SWIG_IsOK(ecode2)) {
18367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18368 }
18369 arg2 = static_cast< int >(val2);
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 (arg1)->SetPageSize(arg2);
18373 wxPyEndAllowThreads(__tstate);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 resultobj = SWIG_Py_Void();
18377 return resultobj;
18378 fail:
18379 return NULL;
18380 }
18381
18382
18383 SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18384 PyObject *resultobj = 0;
18385 wxSlider *arg1 = (wxSlider *) 0 ;
18386 int result;
18387 void *argp1 = 0 ;
18388 int res1 = 0 ;
18389 PyObject *swig_obj[1] ;
18390
18391 if (!args) SWIG_fail;
18392 swig_obj[0] = args;
18393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18394 if (!SWIG_IsOK(res1)) {
18395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18396 }
18397 arg1 = reinterpret_cast< wxSlider * >(argp1);
18398 {
18399 PyThreadState* __tstate = wxPyBeginAllowThreads();
18400 result = (int)((wxSlider const *)arg1)->GetLineSize();
18401 wxPyEndAllowThreads(__tstate);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 resultobj = SWIG_From_int(static_cast< int >(result));
18405 return resultobj;
18406 fail:
18407 return NULL;
18408 }
18409
18410
18411 SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18412 PyObject *resultobj = 0;
18413 wxSlider *arg1 = (wxSlider *) 0 ;
18414 int result;
18415 void *argp1 = 0 ;
18416 int res1 = 0 ;
18417 PyObject *swig_obj[1] ;
18418
18419 if (!args) SWIG_fail;
18420 swig_obj[0] = args;
18421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18422 if (!SWIG_IsOK(res1)) {
18423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18424 }
18425 arg1 = reinterpret_cast< wxSlider * >(argp1);
18426 {
18427 PyThreadState* __tstate = wxPyBeginAllowThreads();
18428 result = (int)((wxSlider const *)arg1)->GetPageSize();
18429 wxPyEndAllowThreads(__tstate);
18430 if (PyErr_Occurred()) SWIG_fail;
18431 }
18432 resultobj = SWIG_From_int(static_cast< int >(result));
18433 return resultobj;
18434 fail:
18435 return NULL;
18436 }
18437
18438
18439 SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18440 PyObject *resultobj = 0;
18441 wxSlider *arg1 = (wxSlider *) 0 ;
18442 int arg2 ;
18443 void *argp1 = 0 ;
18444 int res1 = 0 ;
18445 int val2 ;
18446 int ecode2 = 0 ;
18447 PyObject * obj0 = 0 ;
18448 PyObject * obj1 = 0 ;
18449 char * kwnames[] = {
18450 (char *) "self",(char *) "lenPixels", NULL
18451 };
18452
18453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18455 if (!SWIG_IsOK(res1)) {
18456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18457 }
18458 arg1 = reinterpret_cast< wxSlider * >(argp1);
18459 ecode2 = SWIG_AsVal_int(obj1, &val2);
18460 if (!SWIG_IsOK(ecode2)) {
18461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18462 }
18463 arg2 = static_cast< int >(val2);
18464 {
18465 PyThreadState* __tstate = wxPyBeginAllowThreads();
18466 (arg1)->SetThumbLength(arg2);
18467 wxPyEndAllowThreads(__tstate);
18468 if (PyErr_Occurred()) SWIG_fail;
18469 }
18470 resultobj = SWIG_Py_Void();
18471 return resultobj;
18472 fail:
18473 return NULL;
18474 }
18475
18476
18477 SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18478 PyObject *resultobj = 0;
18479 wxSlider *arg1 = (wxSlider *) 0 ;
18480 int result;
18481 void *argp1 = 0 ;
18482 int res1 = 0 ;
18483 PyObject *swig_obj[1] ;
18484
18485 if (!args) SWIG_fail;
18486 swig_obj[0] = args;
18487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18488 if (!SWIG_IsOK(res1)) {
18489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18490 }
18491 arg1 = reinterpret_cast< wxSlider * >(argp1);
18492 {
18493 PyThreadState* __tstate = wxPyBeginAllowThreads();
18494 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 resultobj = SWIG_From_int(static_cast< int >(result));
18499 return resultobj;
18500 fail:
18501 return NULL;
18502 }
18503
18504
18505 SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18506 PyObject *resultobj = 0;
18507 wxSlider *arg1 = (wxSlider *) 0 ;
18508 int arg2 ;
18509 int arg3 = (int) 1 ;
18510 void *argp1 = 0 ;
18511 int res1 = 0 ;
18512 int val2 ;
18513 int ecode2 = 0 ;
18514 int val3 ;
18515 int ecode3 = 0 ;
18516 PyObject * obj0 = 0 ;
18517 PyObject * obj1 = 0 ;
18518 PyObject * obj2 = 0 ;
18519 char * kwnames[] = {
18520 (char *) "self",(char *) "n",(char *) "pos", NULL
18521 };
18522
18523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18525 if (!SWIG_IsOK(res1)) {
18526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18527 }
18528 arg1 = reinterpret_cast< wxSlider * >(argp1);
18529 ecode2 = SWIG_AsVal_int(obj1, &val2);
18530 if (!SWIG_IsOK(ecode2)) {
18531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18532 }
18533 arg2 = static_cast< int >(val2);
18534 if (obj2) {
18535 ecode3 = SWIG_AsVal_int(obj2, &val3);
18536 if (!SWIG_IsOK(ecode3)) {
18537 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18538 }
18539 arg3 = static_cast< int >(val3);
18540 }
18541 {
18542 PyThreadState* __tstate = wxPyBeginAllowThreads();
18543 (arg1)->SetTickFreq(arg2,arg3);
18544 wxPyEndAllowThreads(__tstate);
18545 if (PyErr_Occurred()) SWIG_fail;
18546 }
18547 resultobj = SWIG_Py_Void();
18548 return resultobj;
18549 fail:
18550 return NULL;
18551 }
18552
18553
18554 SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18555 PyObject *resultobj = 0;
18556 wxSlider *arg1 = (wxSlider *) 0 ;
18557 int result;
18558 void *argp1 = 0 ;
18559 int res1 = 0 ;
18560 PyObject *swig_obj[1] ;
18561
18562 if (!args) SWIG_fail;
18563 swig_obj[0] = args;
18564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18565 if (!SWIG_IsOK(res1)) {
18566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18567 }
18568 arg1 = reinterpret_cast< wxSlider * >(argp1);
18569 {
18570 PyThreadState* __tstate = wxPyBeginAllowThreads();
18571 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 resultobj = SWIG_From_int(static_cast< int >(result));
18576 return resultobj;
18577 fail:
18578 return NULL;
18579 }
18580
18581
18582 SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18583 PyObject *resultobj = 0;
18584 wxSlider *arg1 = (wxSlider *) 0 ;
18585 void *argp1 = 0 ;
18586 int res1 = 0 ;
18587 PyObject *swig_obj[1] ;
18588
18589 if (!args) SWIG_fail;
18590 swig_obj[0] = args;
18591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18592 if (!SWIG_IsOK(res1)) {
18593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18594 }
18595 arg1 = reinterpret_cast< wxSlider * >(argp1);
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 (arg1)->ClearTicks();
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 resultobj = SWIG_Py_Void();
18603 return resultobj;
18604 fail:
18605 return NULL;
18606 }
18607
18608
18609 SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj = 0;
18611 wxSlider *arg1 = (wxSlider *) 0 ;
18612 int arg2 ;
18613 void *argp1 = 0 ;
18614 int res1 = 0 ;
18615 int val2 ;
18616 int ecode2 = 0 ;
18617 PyObject * obj0 = 0 ;
18618 PyObject * obj1 = 0 ;
18619 char * kwnames[] = {
18620 (char *) "self",(char *) "tickPos", NULL
18621 };
18622
18623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18625 if (!SWIG_IsOK(res1)) {
18626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18627 }
18628 arg1 = reinterpret_cast< wxSlider * >(argp1);
18629 ecode2 = SWIG_AsVal_int(obj1, &val2);
18630 if (!SWIG_IsOK(ecode2)) {
18631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18632 }
18633 arg2 = static_cast< int >(val2);
18634 {
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 (arg1)->SetTick(arg2);
18637 wxPyEndAllowThreads(__tstate);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 resultobj = SWIG_Py_Void();
18641 return resultobj;
18642 fail:
18643 return NULL;
18644 }
18645
18646
18647 SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18648 PyObject *resultobj = 0;
18649 wxSlider *arg1 = (wxSlider *) 0 ;
18650 void *argp1 = 0 ;
18651 int res1 = 0 ;
18652 PyObject *swig_obj[1] ;
18653
18654 if (!args) SWIG_fail;
18655 swig_obj[0] = args;
18656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18657 if (!SWIG_IsOK(res1)) {
18658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18659 }
18660 arg1 = reinterpret_cast< wxSlider * >(argp1);
18661 {
18662 PyThreadState* __tstate = wxPyBeginAllowThreads();
18663 (arg1)->ClearSel();
18664 wxPyEndAllowThreads(__tstate);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
18667 resultobj = SWIG_Py_Void();
18668 return resultobj;
18669 fail:
18670 return NULL;
18671 }
18672
18673
18674 SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18675 PyObject *resultobj = 0;
18676 wxSlider *arg1 = (wxSlider *) 0 ;
18677 int result;
18678 void *argp1 = 0 ;
18679 int res1 = 0 ;
18680 PyObject *swig_obj[1] ;
18681
18682 if (!args) SWIG_fail;
18683 swig_obj[0] = args;
18684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18685 if (!SWIG_IsOK(res1)) {
18686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18687 }
18688 arg1 = reinterpret_cast< wxSlider * >(argp1);
18689 {
18690 PyThreadState* __tstate = wxPyBeginAllowThreads();
18691 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 resultobj = SWIG_From_int(static_cast< int >(result));
18696 return resultobj;
18697 fail:
18698 return NULL;
18699 }
18700
18701
18702 SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18703 PyObject *resultobj = 0;
18704 wxSlider *arg1 = (wxSlider *) 0 ;
18705 int result;
18706 void *argp1 = 0 ;
18707 int res1 = 0 ;
18708 PyObject *swig_obj[1] ;
18709
18710 if (!args) SWIG_fail;
18711 swig_obj[0] = args;
18712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18713 if (!SWIG_IsOK(res1)) {
18714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18715 }
18716 arg1 = reinterpret_cast< wxSlider * >(argp1);
18717 {
18718 PyThreadState* __tstate = wxPyBeginAllowThreads();
18719 result = (int)((wxSlider const *)arg1)->GetSelStart();
18720 wxPyEndAllowThreads(__tstate);
18721 if (PyErr_Occurred()) SWIG_fail;
18722 }
18723 resultobj = SWIG_From_int(static_cast< int >(result));
18724 return resultobj;
18725 fail:
18726 return NULL;
18727 }
18728
18729
18730 SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18731 PyObject *resultobj = 0;
18732 wxSlider *arg1 = (wxSlider *) 0 ;
18733 int arg2 ;
18734 int arg3 ;
18735 void *argp1 = 0 ;
18736 int res1 = 0 ;
18737 int val2 ;
18738 int ecode2 = 0 ;
18739 int val3 ;
18740 int ecode3 = 0 ;
18741 PyObject * obj0 = 0 ;
18742 PyObject * obj1 = 0 ;
18743 PyObject * obj2 = 0 ;
18744 char * kwnames[] = {
18745 (char *) "self",(char *) "min",(char *) "max", NULL
18746 };
18747
18748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18750 if (!SWIG_IsOK(res1)) {
18751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18752 }
18753 arg1 = reinterpret_cast< wxSlider * >(argp1);
18754 ecode2 = SWIG_AsVal_int(obj1, &val2);
18755 if (!SWIG_IsOK(ecode2)) {
18756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18757 }
18758 arg2 = static_cast< int >(val2);
18759 ecode3 = SWIG_AsVal_int(obj2, &val3);
18760 if (!SWIG_IsOK(ecode3)) {
18761 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18762 }
18763 arg3 = static_cast< int >(val3);
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 (arg1)->SetSelection(arg2,arg3);
18767 wxPyEndAllowThreads(__tstate);
18768 if (PyErr_Occurred()) SWIG_fail;
18769 }
18770 resultobj = SWIG_Py_Void();
18771 return resultobj;
18772 fail:
18773 return NULL;
18774 }
18775
18776
18777 SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18778 PyObject *resultobj = 0;
18779 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18780 SwigValueWrapper<wxVisualAttributes > result;
18781 int val1 ;
18782 int ecode1 = 0 ;
18783 PyObject * obj0 = 0 ;
18784 char * kwnames[] = {
18785 (char *) "variant", NULL
18786 };
18787
18788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18789 if (obj0) {
18790 ecode1 = SWIG_AsVal_int(obj0, &val1);
18791 if (!SWIG_IsOK(ecode1)) {
18792 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18793 }
18794 arg1 = static_cast< wxWindowVariant >(val1);
18795 }
18796 {
18797 if (!wxPyCheckForApp()) SWIG_fail;
18798 PyThreadState* __tstate = wxPyBeginAllowThreads();
18799 result = wxSlider::GetClassDefaultAttributes(arg1);
18800 wxPyEndAllowThreads(__tstate);
18801 if (PyErr_Occurred()) SWIG_fail;
18802 }
18803 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18804 return resultobj;
18805 fail:
18806 return NULL;
18807 }
18808
18809
18810 SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18811 PyObject *obj;
18812 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18813 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18814 return SWIG_Py_Void();
18815 }
18816
18817 SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18818 return SWIG_Python_InitShadowInstance(args);
18819 }
18820
18821 SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18822 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18823 return 1;
18824 }
18825
18826
18827 SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18828 PyObject *pyobj = 0;
18829
18830 {
18831 #if wxUSE_UNICODE
18832 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18833 #else
18834 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18835 #endif
18836 }
18837 return pyobj;
18838 }
18839
18840
18841 SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18842 PyObject *resultobj = 0;
18843 wxWindow *arg1 = (wxWindow *) 0 ;
18844 int arg2 = (int) -1 ;
18845 wxString const &arg3_defvalue = wxPyEmptyString ;
18846 wxString *arg3 = (wxString *) &arg3_defvalue ;
18847 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18848 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18849 wxSize const &arg5_defvalue = wxDefaultSize ;
18850 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18851 long arg6 = (long) 0 ;
18852 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18853 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18854 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18855 wxString *arg8 = (wxString *) &arg8_defvalue ;
18856 wxToggleButton *result = 0 ;
18857 void *argp1 = 0 ;
18858 int res1 = 0 ;
18859 int val2 ;
18860 int ecode2 = 0 ;
18861 bool temp3 = false ;
18862 wxPoint temp4 ;
18863 wxSize temp5 ;
18864 long val6 ;
18865 int ecode6 = 0 ;
18866 void *argp7 = 0 ;
18867 int res7 = 0 ;
18868 bool temp8 = false ;
18869 PyObject * obj0 = 0 ;
18870 PyObject * obj1 = 0 ;
18871 PyObject * obj2 = 0 ;
18872 PyObject * obj3 = 0 ;
18873 PyObject * obj4 = 0 ;
18874 PyObject * obj5 = 0 ;
18875 PyObject * obj6 = 0 ;
18876 PyObject * obj7 = 0 ;
18877 char * kwnames[] = {
18878 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18879 };
18880
18881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18883 if (!SWIG_IsOK(res1)) {
18884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18885 }
18886 arg1 = reinterpret_cast< wxWindow * >(argp1);
18887 if (obj1) {
18888 ecode2 = SWIG_AsVal_int(obj1, &val2);
18889 if (!SWIG_IsOK(ecode2)) {
18890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18891 }
18892 arg2 = static_cast< int >(val2);
18893 }
18894 if (obj2) {
18895 {
18896 arg3 = wxString_in_helper(obj2);
18897 if (arg3 == NULL) SWIG_fail;
18898 temp3 = true;
18899 }
18900 }
18901 if (obj3) {
18902 {
18903 arg4 = &temp4;
18904 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18905 }
18906 }
18907 if (obj4) {
18908 {
18909 arg5 = &temp5;
18910 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18911 }
18912 }
18913 if (obj5) {
18914 ecode6 = SWIG_AsVal_long(obj5, &val6);
18915 if (!SWIG_IsOK(ecode6)) {
18916 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18917 }
18918 arg6 = static_cast< long >(val6);
18919 }
18920 if (obj6) {
18921 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18922 if (!SWIG_IsOK(res7)) {
18923 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18924 }
18925 if (!argp7) {
18926 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18927 }
18928 arg7 = reinterpret_cast< wxValidator * >(argp7);
18929 }
18930 if (obj7) {
18931 {
18932 arg8 = wxString_in_helper(obj7);
18933 if (arg8 == NULL) SWIG_fail;
18934 temp8 = true;
18935 }
18936 }
18937 {
18938 if (!wxPyCheckForApp()) SWIG_fail;
18939 PyThreadState* __tstate = wxPyBeginAllowThreads();
18940 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18941 wxPyEndAllowThreads(__tstate);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18945 {
18946 if (temp3)
18947 delete arg3;
18948 }
18949 {
18950 if (temp8)
18951 delete arg8;
18952 }
18953 return resultobj;
18954 fail:
18955 {
18956 if (temp3)
18957 delete arg3;
18958 }
18959 {
18960 if (temp8)
18961 delete arg8;
18962 }
18963 return NULL;
18964 }
18965
18966
18967 SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18968 PyObject *resultobj = 0;
18969 wxToggleButton *result = 0 ;
18970
18971 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18972 {
18973 if (!wxPyCheckForApp()) SWIG_fail;
18974 PyThreadState* __tstate = wxPyBeginAllowThreads();
18975 result = (wxToggleButton *)new wxToggleButton();
18976 wxPyEndAllowThreads(__tstate);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 }
18979 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18980 return resultobj;
18981 fail:
18982 return NULL;
18983 }
18984
18985
18986 SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18987 PyObject *resultobj = 0;
18988 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18989 wxWindow *arg2 = (wxWindow *) 0 ;
18990 int arg3 = (int) -1 ;
18991 wxString const &arg4_defvalue = wxPyEmptyString ;
18992 wxString *arg4 = (wxString *) &arg4_defvalue ;
18993 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18994 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18995 wxSize const &arg6_defvalue = wxDefaultSize ;
18996 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18997 long arg7 = (long) 0 ;
18998 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18999 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
19000 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
19001 wxString *arg9 = (wxString *) &arg9_defvalue ;
19002 bool result;
19003 void *argp1 = 0 ;
19004 int res1 = 0 ;
19005 void *argp2 = 0 ;
19006 int res2 = 0 ;
19007 int val3 ;
19008 int ecode3 = 0 ;
19009 bool temp4 = false ;
19010 wxPoint temp5 ;
19011 wxSize temp6 ;
19012 long val7 ;
19013 int ecode7 = 0 ;
19014 void *argp8 = 0 ;
19015 int res8 = 0 ;
19016 bool temp9 = false ;
19017 PyObject * obj0 = 0 ;
19018 PyObject * obj1 = 0 ;
19019 PyObject * obj2 = 0 ;
19020 PyObject * obj3 = 0 ;
19021 PyObject * obj4 = 0 ;
19022 PyObject * obj5 = 0 ;
19023 PyObject * obj6 = 0 ;
19024 PyObject * obj7 = 0 ;
19025 PyObject * obj8 = 0 ;
19026 char * kwnames[] = {
19027 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19028 };
19029
19030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
19031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19032 if (!SWIG_IsOK(res1)) {
19033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19034 }
19035 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19036 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19037 if (!SWIG_IsOK(res2)) {
19038 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19039 }
19040 arg2 = reinterpret_cast< wxWindow * >(argp2);
19041 if (obj2) {
19042 ecode3 = SWIG_AsVal_int(obj2, &val3);
19043 if (!SWIG_IsOK(ecode3)) {
19044 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19045 }
19046 arg3 = static_cast< int >(val3);
19047 }
19048 if (obj3) {
19049 {
19050 arg4 = wxString_in_helper(obj3);
19051 if (arg4 == NULL) SWIG_fail;
19052 temp4 = true;
19053 }
19054 }
19055 if (obj4) {
19056 {
19057 arg5 = &temp5;
19058 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19059 }
19060 }
19061 if (obj5) {
19062 {
19063 arg6 = &temp6;
19064 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
19065 }
19066 }
19067 if (obj6) {
19068 ecode7 = SWIG_AsVal_long(obj6, &val7);
19069 if (!SWIG_IsOK(ecode7)) {
19070 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19071 }
19072 arg7 = static_cast< long >(val7);
19073 }
19074 if (obj7) {
19075 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
19076 if (!SWIG_IsOK(res8)) {
19077 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19078 }
19079 if (!argp8) {
19080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19081 }
19082 arg8 = reinterpret_cast< wxValidator * >(argp8);
19083 }
19084 if (obj8) {
19085 {
19086 arg9 = wxString_in_helper(obj8);
19087 if (arg9 == NULL) SWIG_fail;
19088 temp9 = true;
19089 }
19090 }
19091 {
19092 PyThreadState* __tstate = wxPyBeginAllowThreads();
19093 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
19094 wxPyEndAllowThreads(__tstate);
19095 if (PyErr_Occurred()) SWIG_fail;
19096 }
19097 {
19098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19099 }
19100 {
19101 if (temp4)
19102 delete arg4;
19103 }
19104 {
19105 if (temp9)
19106 delete arg9;
19107 }
19108 return resultobj;
19109 fail:
19110 {
19111 if (temp4)
19112 delete arg4;
19113 }
19114 {
19115 if (temp9)
19116 delete arg9;
19117 }
19118 return NULL;
19119 }
19120
19121
19122 SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19123 PyObject *resultobj = 0;
19124 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19125 bool arg2 ;
19126 void *argp1 = 0 ;
19127 int res1 = 0 ;
19128 bool val2 ;
19129 int ecode2 = 0 ;
19130 PyObject * obj0 = 0 ;
19131 PyObject * obj1 = 0 ;
19132 char * kwnames[] = {
19133 (char *) "self",(char *) "value", NULL
19134 };
19135
19136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19138 if (!SWIG_IsOK(res1)) {
19139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19140 }
19141 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19142 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19143 if (!SWIG_IsOK(ecode2)) {
19144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19145 }
19146 arg2 = static_cast< bool >(val2);
19147 {
19148 PyThreadState* __tstate = wxPyBeginAllowThreads();
19149 (arg1)->SetValue(arg2);
19150 wxPyEndAllowThreads(__tstate);
19151 if (PyErr_Occurred()) SWIG_fail;
19152 }
19153 resultobj = SWIG_Py_Void();
19154 return resultobj;
19155 fail:
19156 return NULL;
19157 }
19158
19159
19160 SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19161 PyObject *resultobj = 0;
19162 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19163 bool result;
19164 void *argp1 = 0 ;
19165 int res1 = 0 ;
19166 PyObject *swig_obj[1] ;
19167
19168 if (!args) SWIG_fail;
19169 swig_obj[0] = args;
19170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19171 if (!SWIG_IsOK(res1)) {
19172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19173 }
19174 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19175 {
19176 PyThreadState* __tstate = wxPyBeginAllowThreads();
19177 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 {
19182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19183 }
19184 return resultobj;
19185 fail:
19186 return NULL;
19187 }
19188
19189
19190 SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj = 0;
19192 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19193 SwigValueWrapper<wxVisualAttributes > result;
19194 int val1 ;
19195 int ecode1 = 0 ;
19196 PyObject * obj0 = 0 ;
19197 char * kwnames[] = {
19198 (char *) "variant", NULL
19199 };
19200
19201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19202 if (obj0) {
19203 ecode1 = SWIG_AsVal_int(obj0, &val1);
19204 if (!SWIG_IsOK(ecode1)) {
19205 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19206 }
19207 arg1 = static_cast< wxWindowVariant >(val1);
19208 }
19209 {
19210 if (!wxPyCheckForApp()) SWIG_fail;
19211 PyThreadState* __tstate = wxPyBeginAllowThreads();
19212 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19213 wxPyEndAllowThreads(__tstate);
19214 if (PyErr_Occurred()) SWIG_fail;
19215 }
19216 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19217 return resultobj;
19218 fail:
19219 return NULL;
19220 }
19221
19222
19223 SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19224 PyObject *obj;
19225 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19226 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19227 return SWIG_Py_Void();
19228 }
19229
19230 SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19231 return SWIG_Python_InitShadowInstance(args);
19232 }
19233
19234 SWIGINTERN int NotebookNameStr_set(PyObject *) {
19235 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19236 return 1;
19237 }
19238
19239
19240 SWIGINTERN PyObject *NotebookNameStr_get(void) {
19241 PyObject *pyobj = 0;
19242
19243 {
19244 #if wxUSE_UNICODE
19245 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19246 #else
19247 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19248 #endif
19249 }
19250 return pyobj;
19251 }
19252
19253
19254 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19255 PyObject *resultobj = 0;
19256 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19257 size_t result;
19258 void *argp1 = 0 ;
19259 int res1 = 0 ;
19260 PyObject *swig_obj[1] ;
19261
19262 if (!args) SWIG_fail;
19263 swig_obj[0] = args;
19264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19265 if (!SWIG_IsOK(res1)) {
19266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19267 }
19268 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19269 {
19270 PyThreadState* __tstate = wxPyBeginAllowThreads();
19271 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19272 wxPyEndAllowThreads(__tstate);
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
19275 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19276 return resultobj;
19277 fail:
19278 return NULL;
19279 }
19280
19281
19282 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19283 PyObject *resultobj = 0;
19284 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19285 size_t arg2 ;
19286 wxWindow *result = 0 ;
19287 void *argp1 = 0 ;
19288 int res1 = 0 ;
19289 size_t val2 ;
19290 int ecode2 = 0 ;
19291 PyObject * obj0 = 0 ;
19292 PyObject * obj1 = 0 ;
19293 char * kwnames[] = {
19294 (char *) "self",(char *) "n", NULL
19295 };
19296
19297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19299 if (!SWIG_IsOK(res1)) {
19300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19301 }
19302 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19303 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19304 if (!SWIG_IsOK(ecode2)) {
19305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19306 }
19307 arg2 = static_cast< size_t >(val2);
19308 {
19309 PyThreadState* __tstate = wxPyBeginAllowThreads();
19310 result = (wxWindow *)(arg1)->GetPage(arg2);
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 {
19315 resultobj = wxPyMake_wxObject(result, 0);
19316 }
19317 return resultobj;
19318 fail:
19319 return NULL;
19320 }
19321
19322
19323 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19324 PyObject *resultobj = 0;
19325 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19326 wxWindow *result = 0 ;
19327 void *argp1 = 0 ;
19328 int res1 = 0 ;
19329 PyObject *swig_obj[1] ;
19330
19331 if (!args) SWIG_fail;
19332 swig_obj[0] = args;
19333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19334 if (!SWIG_IsOK(res1)) {
19335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19336 }
19337 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19338 {
19339 PyThreadState* __tstate = wxPyBeginAllowThreads();
19340 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19341 wxPyEndAllowThreads(__tstate);
19342 if (PyErr_Occurred()) SWIG_fail;
19343 }
19344 {
19345 resultobj = wxPyMake_wxObject(result, 0);
19346 }
19347 return resultobj;
19348 fail:
19349 return NULL;
19350 }
19351
19352
19353 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19354 PyObject *resultobj = 0;
19355 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19356 int result;
19357 void *argp1 = 0 ;
19358 int res1 = 0 ;
19359 PyObject *swig_obj[1] ;
19360
19361 if (!args) SWIG_fail;
19362 swig_obj[0] = args;
19363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19364 if (!SWIG_IsOK(res1)) {
19365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19366 }
19367 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19368 {
19369 PyThreadState* __tstate = wxPyBeginAllowThreads();
19370 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19371 wxPyEndAllowThreads(__tstate);
19372 if (PyErr_Occurred()) SWIG_fail;
19373 }
19374 resultobj = SWIG_From_int(static_cast< int >(result));
19375 return resultobj;
19376 fail:
19377 return NULL;
19378 }
19379
19380
19381 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19382 PyObject *resultobj = 0;
19383 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19384 size_t arg2 ;
19385 wxString *arg3 = 0 ;
19386 bool result;
19387 void *argp1 = 0 ;
19388 int res1 = 0 ;
19389 size_t val2 ;
19390 int ecode2 = 0 ;
19391 bool temp3 = false ;
19392 PyObject * obj0 = 0 ;
19393 PyObject * obj1 = 0 ;
19394 PyObject * obj2 = 0 ;
19395 char * kwnames[] = {
19396 (char *) "self",(char *) "n",(char *) "strText", NULL
19397 };
19398
19399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19401 if (!SWIG_IsOK(res1)) {
19402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19403 }
19404 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19405 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19406 if (!SWIG_IsOK(ecode2)) {
19407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19408 }
19409 arg2 = static_cast< size_t >(val2);
19410 {
19411 arg3 = wxString_in_helper(obj2);
19412 if (arg3 == NULL) SWIG_fail;
19413 temp3 = true;
19414 }
19415 {
19416 PyThreadState* __tstate = wxPyBeginAllowThreads();
19417 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19418 wxPyEndAllowThreads(__tstate);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 }
19421 {
19422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19423 }
19424 {
19425 if (temp3)
19426 delete arg3;
19427 }
19428 return resultobj;
19429 fail:
19430 {
19431 if (temp3)
19432 delete arg3;
19433 }
19434 return NULL;
19435 }
19436
19437
19438 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19439 PyObject *resultobj = 0;
19440 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19441 size_t arg2 ;
19442 wxString result;
19443 void *argp1 = 0 ;
19444 int res1 = 0 ;
19445 size_t val2 ;
19446 int ecode2 = 0 ;
19447 PyObject * obj0 = 0 ;
19448 PyObject * obj1 = 0 ;
19449 char * kwnames[] = {
19450 (char *) "self",(char *) "n", NULL
19451 };
19452
19453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19455 if (!SWIG_IsOK(res1)) {
19456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19457 }
19458 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19459 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19460 if (!SWIG_IsOK(ecode2)) {
19461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19462 }
19463 arg2 = static_cast< size_t >(val2);
19464 {
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
19466 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19467 wxPyEndAllowThreads(__tstate);
19468 if (PyErr_Occurred()) SWIG_fail;
19469 }
19470 {
19471 #if wxUSE_UNICODE
19472 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19473 #else
19474 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19475 #endif
19476 }
19477 return resultobj;
19478 fail:
19479 return NULL;
19480 }
19481
19482
19483 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19484 PyObject *resultobj = 0;
19485 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19486 wxImageList *arg2 = (wxImageList *) 0 ;
19487 void *argp1 = 0 ;
19488 int res1 = 0 ;
19489 void *argp2 = 0 ;
19490 int res2 = 0 ;
19491 PyObject * obj0 = 0 ;
19492 PyObject * obj1 = 0 ;
19493 char * kwnames[] = {
19494 (char *) "self",(char *) "imageList", NULL
19495 };
19496
19497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19499 if (!SWIG_IsOK(res1)) {
19500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19501 }
19502 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19503 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19504 if (!SWIG_IsOK(res2)) {
19505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19506 }
19507 arg2 = reinterpret_cast< wxImageList * >(argp2);
19508 {
19509 PyThreadState* __tstate = wxPyBeginAllowThreads();
19510 (arg1)->SetImageList(arg2);
19511 wxPyEndAllowThreads(__tstate);
19512 if (PyErr_Occurred()) SWIG_fail;
19513 }
19514 resultobj = SWIG_Py_Void();
19515 return resultobj;
19516 fail:
19517 return NULL;
19518 }
19519
19520
19521 SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19522 PyObject *resultobj = 0;
19523 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19524 wxImageList *arg2 = (wxImageList *) 0 ;
19525 void *argp1 = 0 ;
19526 int res1 = 0 ;
19527 int res2 = 0 ;
19528 PyObject * obj0 = 0 ;
19529 PyObject * obj1 = 0 ;
19530 char * kwnames[] = {
19531 (char *) "self",(char *) "imageList", NULL
19532 };
19533
19534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19536 if (!SWIG_IsOK(res1)) {
19537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19538 }
19539 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19540 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19541 if (!SWIG_IsOK(res2)) {
19542 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19543 }
19544 {
19545 PyThreadState* __tstate = wxPyBeginAllowThreads();
19546 (arg1)->AssignImageList(arg2);
19547 wxPyEndAllowThreads(__tstate);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 }
19550 resultobj = SWIG_Py_Void();
19551 return resultobj;
19552 fail:
19553 return NULL;
19554 }
19555
19556
19557 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19558 PyObject *resultobj = 0;
19559 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19560 wxImageList *result = 0 ;
19561 void *argp1 = 0 ;
19562 int res1 = 0 ;
19563 PyObject *swig_obj[1] ;
19564
19565 if (!args) SWIG_fail;
19566 swig_obj[0] = args;
19567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19568 if (!SWIG_IsOK(res1)) {
19569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19570 }
19571 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19572 {
19573 PyThreadState* __tstate = wxPyBeginAllowThreads();
19574 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19575 wxPyEndAllowThreads(__tstate);
19576 if (PyErr_Occurred()) SWIG_fail;
19577 }
19578 {
19579 resultobj = wxPyMake_wxObject(result, (bool)0);
19580 }
19581 return resultobj;
19582 fail:
19583 return NULL;
19584 }
19585
19586
19587 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19588 PyObject *resultobj = 0;
19589 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19590 size_t arg2 ;
19591 int result;
19592 void *argp1 = 0 ;
19593 int res1 = 0 ;
19594 size_t val2 ;
19595 int ecode2 = 0 ;
19596 PyObject * obj0 = 0 ;
19597 PyObject * obj1 = 0 ;
19598 char * kwnames[] = {
19599 (char *) "self",(char *) "n", NULL
19600 };
19601
19602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19604 if (!SWIG_IsOK(res1)) {
19605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19606 }
19607 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19608 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19609 if (!SWIG_IsOK(ecode2)) {
19610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19611 }
19612 arg2 = static_cast< size_t >(val2);
19613 {
19614 PyThreadState* __tstate = wxPyBeginAllowThreads();
19615 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19616 wxPyEndAllowThreads(__tstate);
19617 if (PyErr_Occurred()) SWIG_fail;
19618 }
19619 resultobj = SWIG_From_int(static_cast< int >(result));
19620 return resultobj;
19621 fail:
19622 return NULL;
19623 }
19624
19625
19626 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19627 PyObject *resultobj = 0;
19628 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19629 size_t arg2 ;
19630 int arg3 ;
19631 bool result;
19632 void *argp1 = 0 ;
19633 int res1 = 0 ;
19634 size_t val2 ;
19635 int ecode2 = 0 ;
19636 int val3 ;
19637 int ecode3 = 0 ;
19638 PyObject * obj0 = 0 ;
19639 PyObject * obj1 = 0 ;
19640 PyObject * obj2 = 0 ;
19641 char * kwnames[] = {
19642 (char *) "self",(char *) "n",(char *) "imageId", NULL
19643 };
19644
19645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19647 if (!SWIG_IsOK(res1)) {
19648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19649 }
19650 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19651 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19652 if (!SWIG_IsOK(ecode2)) {
19653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19654 }
19655 arg2 = static_cast< size_t >(val2);
19656 ecode3 = SWIG_AsVal_int(obj2, &val3);
19657 if (!SWIG_IsOK(ecode3)) {
19658 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19659 }
19660 arg3 = static_cast< int >(val3);
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 {
19668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19669 }
19670 return resultobj;
19671 fail:
19672 return NULL;
19673 }
19674
19675
19676 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19677 PyObject *resultobj = 0;
19678 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19679 wxSize *arg2 = 0 ;
19680 void *argp1 = 0 ;
19681 int res1 = 0 ;
19682 wxSize temp2 ;
19683 PyObject * obj0 = 0 ;
19684 PyObject * obj1 = 0 ;
19685 char * kwnames[] = {
19686 (char *) "self",(char *) "size", NULL
19687 };
19688
19689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19691 if (!SWIG_IsOK(res1)) {
19692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19693 }
19694 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19695 {
19696 arg2 = &temp2;
19697 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19698 }
19699 {
19700 PyThreadState* __tstate = wxPyBeginAllowThreads();
19701 (arg1)->SetPageSize((wxSize const &)*arg2);
19702 wxPyEndAllowThreads(__tstate);
19703 if (PyErr_Occurred()) SWIG_fail;
19704 }
19705 resultobj = SWIG_Py_Void();
19706 return resultobj;
19707 fail:
19708 return NULL;
19709 }
19710
19711
19712 SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19713 PyObject *resultobj = 0;
19714 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19715 wxSize *arg2 = 0 ;
19716 wxSize result;
19717 void *argp1 = 0 ;
19718 int res1 = 0 ;
19719 wxSize temp2 ;
19720 PyObject * obj0 = 0 ;
19721 PyObject * obj1 = 0 ;
19722 char * kwnames[] = {
19723 (char *) "self",(char *) "sizePage", NULL
19724 };
19725
19726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19728 if (!SWIG_IsOK(res1)) {
19729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19730 }
19731 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19732 {
19733 arg2 = &temp2;
19734 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19735 }
19736 {
19737 PyThreadState* __tstate = wxPyBeginAllowThreads();
19738 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19743 return resultobj;
19744 fail:
19745 return NULL;
19746 }
19747
19748
19749 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19750 PyObject *resultobj = 0;
19751 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19752 unsigned int result;
19753 void *argp1 = 0 ;
19754 int res1 = 0 ;
19755 PyObject *swig_obj[1] ;
19756
19757 if (!args) SWIG_fail;
19758 swig_obj[0] = args;
19759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19760 if (!SWIG_IsOK(res1)) {
19761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19762 }
19763 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19764 {
19765 PyThreadState* __tstate = wxPyBeginAllowThreads();
19766 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
19770 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
19771 return resultobj;
19772 fail:
19773 return NULL;
19774 }
19775
19776
19777 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj = 0;
19779 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19780 unsigned int arg2 ;
19781 void *argp1 = 0 ;
19782 int res1 = 0 ;
19783 unsigned int val2 ;
19784 int ecode2 = 0 ;
19785 PyObject * obj0 = 0 ;
19786 PyObject * obj1 = 0 ;
19787 char * kwnames[] = {
19788 (char *) "self",(char *) "internalBorder", NULL
19789 };
19790
19791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19793 if (!SWIG_IsOK(res1)) {
19794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19795 }
19796 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19797 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
19798 if (!SWIG_IsOK(ecode2)) {
19799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19800 }
19801 arg2 = static_cast< unsigned int >(val2);
19802 {
19803 PyThreadState* __tstate = wxPyBeginAllowThreads();
19804 (arg1)->SetInternalBorder(arg2);
19805 wxPyEndAllowThreads(__tstate);
19806 if (PyErr_Occurred()) SWIG_fail;
19807 }
19808 resultobj = SWIG_Py_Void();
19809 return resultobj;
19810 fail:
19811 return NULL;
19812 }
19813
19814
19815 SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19816 PyObject *resultobj = 0;
19817 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19818 bool result;
19819 void *argp1 = 0 ;
19820 int res1 = 0 ;
19821 PyObject *swig_obj[1] ;
19822
19823 if (!args) SWIG_fail;
19824 swig_obj[0] = args;
19825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19826 if (!SWIG_IsOK(res1)) {
19827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19828 }
19829 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19830 {
19831 PyThreadState* __tstate = wxPyBeginAllowThreads();
19832 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 {
19837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19838 }
19839 return resultobj;
19840 fail:
19841 return NULL;
19842 }
19843
19844
19845 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19846 PyObject *resultobj = 0;
19847 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19848 int arg2 ;
19849 void *argp1 = 0 ;
19850 int res1 = 0 ;
19851 int val2 ;
19852 int ecode2 = 0 ;
19853 PyObject * obj0 = 0 ;
19854 PyObject * obj1 = 0 ;
19855 char * kwnames[] = {
19856 (char *) "self",(char *) "margin", NULL
19857 };
19858
19859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19861 if (!SWIG_IsOK(res1)) {
19862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19863 }
19864 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19865 ecode2 = SWIG_AsVal_int(obj1, &val2);
19866 if (!SWIG_IsOK(ecode2)) {
19867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19868 }
19869 arg2 = static_cast< int >(val2);
19870 {
19871 PyThreadState* __tstate = wxPyBeginAllowThreads();
19872 (arg1)->SetControlMargin(arg2);
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
19876 resultobj = SWIG_Py_Void();
19877 return resultobj;
19878 fail:
19879 return NULL;
19880 }
19881
19882
19883 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19884 PyObject *resultobj = 0;
19885 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19886 int result;
19887 void *argp1 = 0 ;
19888 int res1 = 0 ;
19889 PyObject *swig_obj[1] ;
19890
19891 if (!args) SWIG_fail;
19892 swig_obj[0] = args;
19893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19894 if (!SWIG_IsOK(res1)) {
19895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19896 }
19897 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19901 wxPyEndAllowThreads(__tstate);
19902 if (PyErr_Occurred()) SWIG_fail;
19903 }
19904 resultobj = SWIG_From_int(static_cast< int >(result));
19905 return resultobj;
19906 fail:
19907 return NULL;
19908 }
19909
19910
19911 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19912 PyObject *resultobj = 0;
19913 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19914 bool arg2 ;
19915 void *argp1 = 0 ;
19916 int res1 = 0 ;
19917 bool val2 ;
19918 int ecode2 = 0 ;
19919 PyObject * obj0 = 0 ;
19920 PyObject * obj1 = 0 ;
19921 char * kwnames[] = {
19922 (char *) "self",(char *) "fit", NULL
19923 };
19924
19925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19927 if (!SWIG_IsOK(res1)) {
19928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19929 }
19930 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19931 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19932 if (!SWIG_IsOK(ecode2)) {
19933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19934 }
19935 arg2 = static_cast< bool >(val2);
19936 {
19937 PyThreadState* __tstate = wxPyBeginAllowThreads();
19938 (arg1)->SetFitToCurrentPage(arg2);
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
19942 resultobj = SWIG_Py_Void();
19943 return resultobj;
19944 fail:
19945 return NULL;
19946 }
19947
19948
19949 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19950 PyObject *resultobj = 0;
19951 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19952 bool result;
19953 void *argp1 = 0 ;
19954 int res1 = 0 ;
19955 PyObject *swig_obj[1] ;
19956
19957 if (!args) SWIG_fail;
19958 swig_obj[0] = args;
19959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19960 if (!SWIG_IsOK(res1)) {
19961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19962 }
19963 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19967 wxPyEndAllowThreads(__tstate);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
19970 {
19971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19972 }
19973 return resultobj;
19974 fail:
19975 return NULL;
19976 }
19977
19978
19979 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19980 PyObject *resultobj = 0;
19981 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19982 wxSizer *result = 0 ;
19983 void *argp1 = 0 ;
19984 int res1 = 0 ;
19985 PyObject *swig_obj[1] ;
19986
19987 if (!args) SWIG_fail;
19988 swig_obj[0] = args;
19989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19990 if (!SWIG_IsOK(res1)) {
19991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19992 }
19993 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19994 {
19995 PyThreadState* __tstate = wxPyBeginAllowThreads();
19996 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19997 wxPyEndAllowThreads(__tstate);
19998 if (PyErr_Occurred()) SWIG_fail;
19999 }
20000 {
20001 resultobj = wxPyMake_wxObject(result, (bool)0);
20002 }
20003 return resultobj;
20004 fail:
20005 return NULL;
20006 }
20007
20008
20009 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20010 PyObject *resultobj = 0;
20011 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20012 size_t arg2 ;
20013 bool result;
20014 void *argp1 = 0 ;
20015 int res1 = 0 ;
20016 size_t val2 ;
20017 int ecode2 = 0 ;
20018 PyObject * obj0 = 0 ;
20019 PyObject * obj1 = 0 ;
20020 char * kwnames[] = {
20021 (char *) "self",(char *) "n", NULL
20022 };
20023
20024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
20025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20026 if (!SWIG_IsOK(res1)) {
20027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20028 }
20029 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20030 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20031 if (!SWIG_IsOK(ecode2)) {
20032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20033 }
20034 arg2 = static_cast< size_t >(val2);
20035 {
20036 PyThreadState* __tstate = wxPyBeginAllowThreads();
20037 result = (bool)(arg1)->DeletePage(arg2);
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 {
20042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20043 }
20044 return resultobj;
20045 fail:
20046 return NULL;
20047 }
20048
20049
20050 SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20051 PyObject *resultobj = 0;
20052 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20053 size_t arg2 ;
20054 bool result;
20055 void *argp1 = 0 ;
20056 int res1 = 0 ;
20057 size_t val2 ;
20058 int ecode2 = 0 ;
20059 PyObject * obj0 = 0 ;
20060 PyObject * obj1 = 0 ;
20061 char * kwnames[] = {
20062 (char *) "self",(char *) "n", NULL
20063 };
20064
20065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
20066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20067 if (!SWIG_IsOK(res1)) {
20068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20069 }
20070 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20071 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20072 if (!SWIG_IsOK(ecode2)) {
20073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20074 }
20075 arg2 = static_cast< size_t >(val2);
20076 {
20077 PyThreadState* __tstate = wxPyBeginAllowThreads();
20078 result = (bool)(arg1)->RemovePage(arg2);
20079 wxPyEndAllowThreads(__tstate);
20080 if (PyErr_Occurred()) SWIG_fail;
20081 }
20082 {
20083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20084 }
20085 return resultobj;
20086 fail:
20087 return NULL;
20088 }
20089
20090
20091 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20092 PyObject *resultobj = 0;
20093 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20094 bool result;
20095 void *argp1 = 0 ;
20096 int res1 = 0 ;
20097 PyObject *swig_obj[1] ;
20098
20099 if (!args) SWIG_fail;
20100 swig_obj[0] = args;
20101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20102 if (!SWIG_IsOK(res1)) {
20103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20104 }
20105 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20106 {
20107 PyThreadState* __tstate = wxPyBeginAllowThreads();
20108 result = (bool)(arg1)->DeleteAllPages();
20109 wxPyEndAllowThreads(__tstate);
20110 if (PyErr_Occurred()) SWIG_fail;
20111 }
20112 {
20113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20114 }
20115 return resultobj;
20116 fail:
20117 return NULL;
20118 }
20119
20120
20121 SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20122 PyObject *resultobj = 0;
20123 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20124 wxWindow *arg2 = (wxWindow *) 0 ;
20125 wxString *arg3 = 0 ;
20126 bool arg4 = (bool) false ;
20127 int arg5 = (int) -1 ;
20128 bool result;
20129 void *argp1 = 0 ;
20130 int res1 = 0 ;
20131 void *argp2 = 0 ;
20132 int res2 = 0 ;
20133 bool temp3 = false ;
20134 bool val4 ;
20135 int ecode4 = 0 ;
20136 int val5 ;
20137 int ecode5 = 0 ;
20138 PyObject * obj0 = 0 ;
20139 PyObject * obj1 = 0 ;
20140 PyObject * obj2 = 0 ;
20141 PyObject * obj3 = 0 ;
20142 PyObject * obj4 = 0 ;
20143 char * kwnames[] = {
20144 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20145 };
20146
20147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20149 if (!SWIG_IsOK(res1)) {
20150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20151 }
20152 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20153 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20154 if (!SWIG_IsOK(res2)) {
20155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20156 }
20157 arg2 = reinterpret_cast< wxWindow * >(argp2);
20158 {
20159 arg3 = wxString_in_helper(obj2);
20160 if (arg3 == NULL) SWIG_fail;
20161 temp3 = true;
20162 }
20163 if (obj3) {
20164 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20165 if (!SWIG_IsOK(ecode4)) {
20166 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20167 }
20168 arg4 = static_cast< bool >(val4);
20169 }
20170 if (obj4) {
20171 ecode5 = SWIG_AsVal_int(obj4, &val5);
20172 if (!SWIG_IsOK(ecode5)) {
20173 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20174 }
20175 arg5 = static_cast< int >(val5);
20176 }
20177 {
20178 PyThreadState* __tstate = wxPyBeginAllowThreads();
20179 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20180 wxPyEndAllowThreads(__tstate);
20181 if (PyErr_Occurred()) SWIG_fail;
20182 }
20183 {
20184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20185 }
20186 {
20187 if (temp3)
20188 delete arg3;
20189 }
20190 return resultobj;
20191 fail:
20192 {
20193 if (temp3)
20194 delete arg3;
20195 }
20196 return NULL;
20197 }
20198
20199
20200 SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20201 PyObject *resultobj = 0;
20202 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20203 size_t arg2 ;
20204 wxWindow *arg3 = (wxWindow *) 0 ;
20205 wxString *arg4 = 0 ;
20206 bool arg5 = (bool) false ;
20207 int arg6 = (int) -1 ;
20208 bool result;
20209 void *argp1 = 0 ;
20210 int res1 = 0 ;
20211 size_t val2 ;
20212 int ecode2 = 0 ;
20213 void *argp3 = 0 ;
20214 int res3 = 0 ;
20215 bool temp4 = false ;
20216 bool val5 ;
20217 int ecode5 = 0 ;
20218 int val6 ;
20219 int ecode6 = 0 ;
20220 PyObject * obj0 = 0 ;
20221 PyObject * obj1 = 0 ;
20222 PyObject * obj2 = 0 ;
20223 PyObject * obj3 = 0 ;
20224 PyObject * obj4 = 0 ;
20225 PyObject * obj5 = 0 ;
20226 char * kwnames[] = {
20227 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20228 };
20229
20230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20232 if (!SWIG_IsOK(res1)) {
20233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20234 }
20235 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20236 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20237 if (!SWIG_IsOK(ecode2)) {
20238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20239 }
20240 arg2 = static_cast< size_t >(val2);
20241 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20242 if (!SWIG_IsOK(res3)) {
20243 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20244 }
20245 arg3 = reinterpret_cast< wxWindow * >(argp3);
20246 {
20247 arg4 = wxString_in_helper(obj3);
20248 if (arg4 == NULL) SWIG_fail;
20249 temp4 = true;
20250 }
20251 if (obj4) {
20252 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20253 if (!SWIG_IsOK(ecode5)) {
20254 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20255 }
20256 arg5 = static_cast< bool >(val5);
20257 }
20258 if (obj5) {
20259 ecode6 = SWIG_AsVal_int(obj5, &val6);
20260 if (!SWIG_IsOK(ecode6)) {
20261 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20262 }
20263 arg6 = static_cast< int >(val6);
20264 }
20265 {
20266 PyThreadState* __tstate = wxPyBeginAllowThreads();
20267 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 {
20272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20273 }
20274 {
20275 if (temp4)
20276 delete arg4;
20277 }
20278 return resultobj;
20279 fail:
20280 {
20281 if (temp4)
20282 delete arg4;
20283 }
20284 return NULL;
20285 }
20286
20287
20288 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20289 PyObject *resultobj = 0;
20290 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20291 size_t arg2 ;
20292 int result;
20293 void *argp1 = 0 ;
20294 int res1 = 0 ;
20295 size_t val2 ;
20296 int ecode2 = 0 ;
20297 PyObject * obj0 = 0 ;
20298 PyObject * obj1 = 0 ;
20299 char * kwnames[] = {
20300 (char *) "self",(char *) "n", NULL
20301 };
20302
20303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20305 if (!SWIG_IsOK(res1)) {
20306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20307 }
20308 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20309 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20310 if (!SWIG_IsOK(ecode2)) {
20311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20312 }
20313 arg2 = static_cast< size_t >(val2);
20314 {
20315 PyThreadState* __tstate = wxPyBeginAllowThreads();
20316 result = (int)(arg1)->SetSelection(arg2);
20317 wxPyEndAllowThreads(__tstate);
20318 if (PyErr_Occurred()) SWIG_fail;
20319 }
20320 resultobj = SWIG_From_int(static_cast< int >(result));
20321 return resultobj;
20322 fail:
20323 return NULL;
20324 }
20325
20326
20327 SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20328 PyObject *resultobj = 0;
20329 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20330 size_t arg2 ;
20331 int result;
20332 void *argp1 = 0 ;
20333 int res1 = 0 ;
20334 size_t val2 ;
20335 int ecode2 = 0 ;
20336 PyObject * obj0 = 0 ;
20337 PyObject * obj1 = 0 ;
20338 char * kwnames[] = {
20339 (char *) "self",(char *) "n", NULL
20340 };
20341
20342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20344 if (!SWIG_IsOK(res1)) {
20345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20346 }
20347 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20348 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20349 if (!SWIG_IsOK(ecode2)) {
20350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20351 }
20352 arg2 = static_cast< size_t >(val2);
20353 {
20354 PyThreadState* __tstate = wxPyBeginAllowThreads();
20355 result = (int)(arg1)->ChangeSelection(arg2);
20356 wxPyEndAllowThreads(__tstate);
20357 if (PyErr_Occurred()) SWIG_fail;
20358 }
20359 resultobj = SWIG_From_int(static_cast< int >(result));
20360 return resultobj;
20361 fail:
20362 return NULL;
20363 }
20364
20365
20366 SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20367 PyObject *resultobj = 0;
20368 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20369 bool arg2 = (bool) true ;
20370 void *argp1 = 0 ;
20371 int res1 = 0 ;
20372 bool val2 ;
20373 int ecode2 = 0 ;
20374 PyObject * obj0 = 0 ;
20375 PyObject * obj1 = 0 ;
20376 char * kwnames[] = {
20377 (char *) "self",(char *) "forward", NULL
20378 };
20379
20380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20382 if (!SWIG_IsOK(res1)) {
20383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20384 }
20385 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20386 if (obj1) {
20387 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20388 if (!SWIG_IsOK(ecode2)) {
20389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20390 }
20391 arg2 = static_cast< bool >(val2);
20392 }
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 (arg1)->AdvanceSelection(arg2);
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 resultobj = SWIG_Py_Void();
20400 return resultobj;
20401 fail:
20402 return NULL;
20403 }
20404
20405
20406 SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20407 PyObject *resultobj = 0;
20408 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20409 wxPoint *arg2 = 0 ;
20410 long *arg3 = (long *) 0 ;
20411 int result;
20412 void *argp1 = 0 ;
20413 int res1 = 0 ;
20414 wxPoint temp2 ;
20415 long temp3 ;
20416 int res3 = SWIG_TMPOBJ ;
20417 PyObject * obj0 = 0 ;
20418 PyObject * obj1 = 0 ;
20419 char * kwnames[] = {
20420 (char *) "self",(char *) "pt", NULL
20421 };
20422
20423 arg3 = &temp3;
20424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20426 if (!SWIG_IsOK(res1)) {
20427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20428 }
20429 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20430 {
20431 arg2 = &temp2;
20432 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20433 }
20434 {
20435 PyThreadState* __tstate = wxPyBeginAllowThreads();
20436 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20437 wxPyEndAllowThreads(__tstate);
20438 if (PyErr_Occurred()) SWIG_fail;
20439 }
20440 resultobj = SWIG_From_int(static_cast< int >(result));
20441 if (SWIG_IsTmpObj(res3)) {
20442 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20443 } else {
20444 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20445 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20446 }
20447 return resultobj;
20448 fail:
20449 return NULL;
20450 }
20451
20452
20453 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20454 PyObject *resultobj = 0;
20455 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20456 SwigValueWrapper<wxVisualAttributes > result;
20457 int val1 ;
20458 int ecode1 = 0 ;
20459 PyObject * obj0 = 0 ;
20460 char * kwnames[] = {
20461 (char *) "variant", NULL
20462 };
20463
20464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20465 if (obj0) {
20466 ecode1 = SWIG_AsVal_int(obj0, &val1);
20467 if (!SWIG_IsOK(ecode1)) {
20468 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20469 }
20470 arg1 = static_cast< wxWindowVariant >(val1);
20471 }
20472 {
20473 if (!wxPyCheckForApp()) SWIG_fail;
20474 PyThreadState* __tstate = wxPyBeginAllowThreads();
20475 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20476 wxPyEndAllowThreads(__tstate);
20477 if (PyErr_Occurred()) SWIG_fail;
20478 }
20479 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20480 return resultobj;
20481 fail:
20482 return NULL;
20483 }
20484
20485
20486 SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20487 PyObject *obj;
20488 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20489 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20490 return SWIG_Py_Void();
20491 }
20492
20493 SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20494 PyObject *resultobj = 0;
20495 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20496 int arg2 = (int) 0 ;
20497 int arg3 = (int) -1 ;
20498 int arg4 = (int) -1 ;
20499 wxBookCtrlBaseEvent *result = 0 ;
20500 int val1 ;
20501 int ecode1 = 0 ;
20502 int val2 ;
20503 int ecode2 = 0 ;
20504 int val3 ;
20505 int ecode3 = 0 ;
20506 int val4 ;
20507 int ecode4 = 0 ;
20508 PyObject * obj0 = 0 ;
20509 PyObject * obj1 = 0 ;
20510 PyObject * obj2 = 0 ;
20511 PyObject * obj3 = 0 ;
20512 char * kwnames[] = {
20513 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20514 };
20515
20516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20517 if (obj0) {
20518 ecode1 = SWIG_AsVal_int(obj0, &val1);
20519 if (!SWIG_IsOK(ecode1)) {
20520 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20521 }
20522 arg1 = static_cast< wxEventType >(val1);
20523 }
20524 if (obj1) {
20525 ecode2 = SWIG_AsVal_int(obj1, &val2);
20526 if (!SWIG_IsOK(ecode2)) {
20527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20528 }
20529 arg2 = static_cast< int >(val2);
20530 }
20531 if (obj2) {
20532 ecode3 = SWIG_AsVal_int(obj2, &val3);
20533 if (!SWIG_IsOK(ecode3)) {
20534 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20535 }
20536 arg3 = static_cast< int >(val3);
20537 }
20538 if (obj3) {
20539 ecode4 = SWIG_AsVal_int(obj3, &val4);
20540 if (!SWIG_IsOK(ecode4)) {
20541 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20542 }
20543 arg4 = static_cast< int >(val4);
20544 }
20545 {
20546 PyThreadState* __tstate = wxPyBeginAllowThreads();
20547 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
20551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20552 return resultobj;
20553 fail:
20554 return NULL;
20555 }
20556
20557
20558 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20559 PyObject *resultobj = 0;
20560 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20561 int result;
20562 void *argp1 = 0 ;
20563 int res1 = 0 ;
20564 PyObject *swig_obj[1] ;
20565
20566 if (!args) SWIG_fail;
20567 swig_obj[0] = args;
20568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20569 if (!SWIG_IsOK(res1)) {
20570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20571 }
20572 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20576 wxPyEndAllowThreads(__tstate);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 }
20579 resultobj = SWIG_From_int(static_cast< int >(result));
20580 return resultobj;
20581 fail:
20582 return NULL;
20583 }
20584
20585
20586 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20587 PyObject *resultobj = 0;
20588 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20589 int arg2 ;
20590 void *argp1 = 0 ;
20591 int res1 = 0 ;
20592 int val2 ;
20593 int ecode2 = 0 ;
20594 PyObject * obj0 = 0 ;
20595 PyObject * obj1 = 0 ;
20596 char * kwnames[] = {
20597 (char *) "self",(char *) "nSel", NULL
20598 };
20599
20600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20602 if (!SWIG_IsOK(res1)) {
20603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20604 }
20605 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20606 ecode2 = SWIG_AsVal_int(obj1, &val2);
20607 if (!SWIG_IsOK(ecode2)) {
20608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20609 }
20610 arg2 = static_cast< int >(val2);
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 (arg1)->SetSelection(arg2);
20614 wxPyEndAllowThreads(__tstate);
20615 if (PyErr_Occurred()) SWIG_fail;
20616 }
20617 resultobj = SWIG_Py_Void();
20618 return resultobj;
20619 fail:
20620 return NULL;
20621 }
20622
20623
20624 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20625 PyObject *resultobj = 0;
20626 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20627 int result;
20628 void *argp1 = 0 ;
20629 int res1 = 0 ;
20630 PyObject *swig_obj[1] ;
20631
20632 if (!args) SWIG_fail;
20633 swig_obj[0] = args;
20634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20635 if (!SWIG_IsOK(res1)) {
20636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20637 }
20638 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20639 {
20640 PyThreadState* __tstate = wxPyBeginAllowThreads();
20641 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20642 wxPyEndAllowThreads(__tstate);
20643 if (PyErr_Occurred()) SWIG_fail;
20644 }
20645 resultobj = SWIG_From_int(static_cast< int >(result));
20646 return resultobj;
20647 fail:
20648 return NULL;
20649 }
20650
20651
20652 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20653 PyObject *resultobj = 0;
20654 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20655 int arg2 ;
20656 void *argp1 = 0 ;
20657 int res1 = 0 ;
20658 int val2 ;
20659 int ecode2 = 0 ;
20660 PyObject * obj0 = 0 ;
20661 PyObject * obj1 = 0 ;
20662 char * kwnames[] = {
20663 (char *) "self",(char *) "nOldSel", NULL
20664 };
20665
20666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20668 if (!SWIG_IsOK(res1)) {
20669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20670 }
20671 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20672 ecode2 = SWIG_AsVal_int(obj1, &val2);
20673 if (!SWIG_IsOK(ecode2)) {
20674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20675 }
20676 arg2 = static_cast< int >(val2);
20677 {
20678 PyThreadState* __tstate = wxPyBeginAllowThreads();
20679 (arg1)->SetOldSelection(arg2);
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 resultobj = SWIG_Py_Void();
20684 return resultobj;
20685 fail:
20686 return NULL;
20687 }
20688
20689
20690 SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20691 PyObject *obj;
20692 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20693 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20694 return SWIG_Py_Void();
20695 }
20696
20697 SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20698 return SWIG_Python_InitShadowInstance(args);
20699 }
20700
20701 SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20702 PyObject *resultobj = 0;
20703 wxWindow *arg1 = (wxWindow *) 0 ;
20704 int arg2 = (int) -1 ;
20705 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20706 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20707 wxSize const &arg4_defvalue = wxDefaultSize ;
20708 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20709 long arg5 = (long) 0 ;
20710 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20711 wxString *arg6 = (wxString *) &arg6_defvalue ;
20712 wxNotebook *result = 0 ;
20713 void *argp1 = 0 ;
20714 int res1 = 0 ;
20715 int val2 ;
20716 int ecode2 = 0 ;
20717 wxPoint temp3 ;
20718 wxSize temp4 ;
20719 long val5 ;
20720 int ecode5 = 0 ;
20721 bool temp6 = false ;
20722 PyObject * obj0 = 0 ;
20723 PyObject * obj1 = 0 ;
20724 PyObject * obj2 = 0 ;
20725 PyObject * obj3 = 0 ;
20726 PyObject * obj4 = 0 ;
20727 PyObject * obj5 = 0 ;
20728 char * kwnames[] = {
20729 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20730 };
20731
20732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20734 if (!SWIG_IsOK(res1)) {
20735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20736 }
20737 arg1 = reinterpret_cast< wxWindow * >(argp1);
20738 if (obj1) {
20739 ecode2 = SWIG_AsVal_int(obj1, &val2);
20740 if (!SWIG_IsOK(ecode2)) {
20741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20742 }
20743 arg2 = static_cast< int >(val2);
20744 }
20745 if (obj2) {
20746 {
20747 arg3 = &temp3;
20748 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20749 }
20750 }
20751 if (obj3) {
20752 {
20753 arg4 = &temp4;
20754 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20755 }
20756 }
20757 if (obj4) {
20758 ecode5 = SWIG_AsVal_long(obj4, &val5);
20759 if (!SWIG_IsOK(ecode5)) {
20760 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20761 }
20762 arg5 = static_cast< long >(val5);
20763 }
20764 if (obj5) {
20765 {
20766 arg6 = wxString_in_helper(obj5);
20767 if (arg6 == NULL) SWIG_fail;
20768 temp6 = true;
20769 }
20770 }
20771 {
20772 if (!wxPyCheckForApp()) SWIG_fail;
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20775 wxPyEndAllowThreads(__tstate);
20776 if (PyErr_Occurred()) SWIG_fail;
20777 }
20778 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20779 {
20780 if (temp6)
20781 delete arg6;
20782 }
20783 return resultobj;
20784 fail:
20785 {
20786 if (temp6)
20787 delete arg6;
20788 }
20789 return NULL;
20790 }
20791
20792
20793 SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20794 PyObject *resultobj = 0;
20795 wxNotebook *result = 0 ;
20796
20797 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20798 {
20799 if (!wxPyCheckForApp()) SWIG_fail;
20800 PyThreadState* __tstate = wxPyBeginAllowThreads();
20801 result = (wxNotebook *)new wxNotebook();
20802 wxPyEndAllowThreads(__tstate);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 }
20805 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20806 return resultobj;
20807 fail:
20808 return NULL;
20809 }
20810
20811
20812 SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20813 PyObject *resultobj = 0;
20814 wxNotebook *arg1 = (wxNotebook *) 0 ;
20815 wxWindow *arg2 = (wxWindow *) 0 ;
20816 int arg3 = (int) -1 ;
20817 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20818 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20819 wxSize const &arg5_defvalue = wxDefaultSize ;
20820 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20821 long arg6 = (long) 0 ;
20822 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20823 wxString *arg7 = (wxString *) &arg7_defvalue ;
20824 bool result;
20825 void *argp1 = 0 ;
20826 int res1 = 0 ;
20827 void *argp2 = 0 ;
20828 int res2 = 0 ;
20829 int val3 ;
20830 int ecode3 = 0 ;
20831 wxPoint temp4 ;
20832 wxSize temp5 ;
20833 long val6 ;
20834 int ecode6 = 0 ;
20835 bool temp7 = false ;
20836 PyObject * obj0 = 0 ;
20837 PyObject * obj1 = 0 ;
20838 PyObject * obj2 = 0 ;
20839 PyObject * obj3 = 0 ;
20840 PyObject * obj4 = 0 ;
20841 PyObject * obj5 = 0 ;
20842 PyObject * obj6 = 0 ;
20843 char * kwnames[] = {
20844 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20845 };
20846
20847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20849 if (!SWIG_IsOK(res1)) {
20850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20851 }
20852 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20853 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20854 if (!SWIG_IsOK(res2)) {
20855 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20856 }
20857 arg2 = reinterpret_cast< wxWindow * >(argp2);
20858 if (obj2) {
20859 ecode3 = SWIG_AsVal_int(obj2, &val3);
20860 if (!SWIG_IsOK(ecode3)) {
20861 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20862 }
20863 arg3 = static_cast< int >(val3);
20864 }
20865 if (obj3) {
20866 {
20867 arg4 = &temp4;
20868 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20869 }
20870 }
20871 if (obj4) {
20872 {
20873 arg5 = &temp5;
20874 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20875 }
20876 }
20877 if (obj5) {
20878 ecode6 = SWIG_AsVal_long(obj5, &val6);
20879 if (!SWIG_IsOK(ecode6)) {
20880 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20881 }
20882 arg6 = static_cast< long >(val6);
20883 }
20884 if (obj6) {
20885 {
20886 arg7 = wxString_in_helper(obj6);
20887 if (arg7 == NULL) SWIG_fail;
20888 temp7 = true;
20889 }
20890 }
20891 {
20892 PyThreadState* __tstate = wxPyBeginAllowThreads();
20893 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20894 wxPyEndAllowThreads(__tstate);
20895 if (PyErr_Occurred()) SWIG_fail;
20896 }
20897 {
20898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20899 }
20900 {
20901 if (temp7)
20902 delete arg7;
20903 }
20904 return resultobj;
20905 fail:
20906 {
20907 if (temp7)
20908 delete arg7;
20909 }
20910 return NULL;
20911 }
20912
20913
20914 SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20915 PyObject *resultobj = 0;
20916 wxNotebook *arg1 = (wxNotebook *) 0 ;
20917 int result;
20918 void *argp1 = 0 ;
20919 int res1 = 0 ;
20920 PyObject *swig_obj[1] ;
20921
20922 if (!args) SWIG_fail;
20923 swig_obj[0] = args;
20924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20925 if (!SWIG_IsOK(res1)) {
20926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20927 }
20928 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20929 {
20930 PyThreadState* __tstate = wxPyBeginAllowThreads();
20931 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20932 wxPyEndAllowThreads(__tstate);
20933 if (PyErr_Occurred()) SWIG_fail;
20934 }
20935 resultobj = SWIG_From_int(static_cast< int >(result));
20936 return resultobj;
20937 fail:
20938 return NULL;
20939 }
20940
20941
20942 SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20943 PyObject *resultobj = 0;
20944 wxNotebook *arg1 = (wxNotebook *) 0 ;
20945 wxSize *arg2 = 0 ;
20946 void *argp1 = 0 ;
20947 int res1 = 0 ;
20948 wxSize temp2 ;
20949 PyObject * obj0 = 0 ;
20950 PyObject * obj1 = 0 ;
20951 char * kwnames[] = {
20952 (char *) "self",(char *) "padding", NULL
20953 };
20954
20955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20957 if (!SWIG_IsOK(res1)) {
20958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20959 }
20960 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20961 {
20962 arg2 = &temp2;
20963 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20964 }
20965 {
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 (arg1)->SetPadding((wxSize const &)*arg2);
20968 wxPyEndAllowThreads(__tstate);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 }
20971 resultobj = SWIG_Py_Void();
20972 return resultobj;
20973 fail:
20974 return NULL;
20975 }
20976
20977
20978 SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20979 PyObject *resultobj = 0;
20980 wxNotebook *arg1 = (wxNotebook *) 0 ;
20981 wxSize *arg2 = 0 ;
20982 void *argp1 = 0 ;
20983 int res1 = 0 ;
20984 wxSize temp2 ;
20985 PyObject * obj0 = 0 ;
20986 PyObject * obj1 = 0 ;
20987 char * kwnames[] = {
20988 (char *) "self",(char *) "sz", NULL
20989 };
20990
20991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20993 if (!SWIG_IsOK(res1)) {
20994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20995 }
20996 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20997 {
20998 arg2 = &temp2;
20999 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21000 }
21001 {
21002 PyThreadState* __tstate = wxPyBeginAllowThreads();
21003 (arg1)->SetTabSize((wxSize const &)*arg2);
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 resultobj = SWIG_Py_Void();
21008 return resultobj;
21009 fail:
21010 return NULL;
21011 }
21012
21013
21014 SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21015 PyObject *resultobj = 0;
21016 wxNotebook *arg1 = (wxNotebook *) 0 ;
21017 wxColour result;
21018 void *argp1 = 0 ;
21019 int res1 = 0 ;
21020 PyObject *swig_obj[1] ;
21021
21022 if (!args) SWIG_fail;
21023 swig_obj[0] = args;
21024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21025 if (!SWIG_IsOK(res1)) {
21026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21027 }
21028 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21029 {
21030 PyThreadState* __tstate = wxPyBeginAllowThreads();
21031 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
21032 wxPyEndAllowThreads(__tstate);
21033 if (PyErr_Occurred()) SWIG_fail;
21034 }
21035 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21036 return resultobj;
21037 fail:
21038 return NULL;
21039 }
21040
21041
21042 SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21043 PyObject *resultobj = 0;
21044 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21045 SwigValueWrapper<wxVisualAttributes > result;
21046 int val1 ;
21047 int ecode1 = 0 ;
21048 PyObject * obj0 = 0 ;
21049 char * kwnames[] = {
21050 (char *) "variant", NULL
21051 };
21052
21053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
21054 if (obj0) {
21055 ecode1 = SWIG_AsVal_int(obj0, &val1);
21056 if (!SWIG_IsOK(ecode1)) {
21057 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21058 }
21059 arg1 = static_cast< wxWindowVariant >(val1);
21060 }
21061 {
21062 if (!wxPyCheckForApp()) SWIG_fail;
21063 PyThreadState* __tstate = wxPyBeginAllowThreads();
21064 result = wxNotebook::GetClassDefaultAttributes(arg1);
21065 wxPyEndAllowThreads(__tstate);
21066 if (PyErr_Occurred()) SWIG_fail;
21067 }
21068 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21069 return resultobj;
21070 fail:
21071 return NULL;
21072 }
21073
21074
21075 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21076 PyObject *resultobj = 0;
21077 wxNotebook *arg1 = (wxNotebook *) 0 ;
21078 int arg2 ;
21079 bool result;
21080 void *argp1 = 0 ;
21081 int res1 = 0 ;
21082 int val2 ;
21083 int ecode2 = 0 ;
21084 PyObject * obj0 = 0 ;
21085 PyObject * obj1 = 0 ;
21086 char * kwnames[] = {
21087 (char *) "self",(char *) "nPage", NULL
21088 };
21089
21090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail;
21091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21092 if (!SWIG_IsOK(res1)) {
21093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21094 }
21095 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21096 ecode2 = SWIG_AsVal_int(obj1, &val2);
21097 if (!SWIG_IsOK(ecode2)) {
21098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21099 }
21100 arg2 = static_cast< int >(val2);
21101 {
21102 PyThreadState* __tstate = wxPyBeginAllowThreads();
21103 result = (bool)(arg1)->SendPageChangingEvent(arg2);
21104 wxPyEndAllowThreads(__tstate);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 }
21107 {
21108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21109 }
21110 return resultobj;
21111 fail:
21112 return NULL;
21113 }
21114
21115
21116 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21117 PyObject *resultobj = 0;
21118 wxNotebook *arg1 = (wxNotebook *) 0 ;
21119 int arg2 ;
21120 int arg3 = (int) -1 ;
21121 void *argp1 = 0 ;
21122 int res1 = 0 ;
21123 int val2 ;
21124 int ecode2 = 0 ;
21125 int val3 ;
21126 int ecode3 = 0 ;
21127 PyObject * obj0 = 0 ;
21128 PyObject * obj1 = 0 ;
21129 PyObject * obj2 = 0 ;
21130 char * kwnames[] = {
21131 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21132 };
21133
21134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21136 if (!SWIG_IsOK(res1)) {
21137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21138 }
21139 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21140 ecode2 = SWIG_AsVal_int(obj1, &val2);
21141 if (!SWIG_IsOK(ecode2)) {
21142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21143 }
21144 arg2 = static_cast< int >(val2);
21145 if (obj2) {
21146 ecode3 = SWIG_AsVal_int(obj2, &val3);
21147 if (!SWIG_IsOK(ecode3)) {
21148 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21149 }
21150 arg3 = static_cast< int >(val3);
21151 }
21152 {
21153 PyThreadState* __tstate = wxPyBeginAllowThreads();
21154 (arg1)->SendPageChangedEvent(arg2,arg3);
21155 wxPyEndAllowThreads(__tstate);
21156 if (PyErr_Occurred()) SWIG_fail;
21157 }
21158 resultobj = SWIG_Py_Void();
21159 return resultobj;
21160 fail:
21161 return NULL;
21162 }
21163
21164
21165 SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21166 PyObject *obj;
21167 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21168 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
21169 return SWIG_Py_Void();
21170 }
21171
21172 SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21173 return SWIG_Python_InitShadowInstance(args);
21174 }
21175
21176 SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21177 PyObject *resultobj = 0;
21178 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21179 int arg2 = (int) 0 ;
21180 int arg3 = (int) -1 ;
21181 int arg4 = (int) -1 ;
21182 wxNotebookEvent *result = 0 ;
21183 int val1 ;
21184 int ecode1 = 0 ;
21185 int val2 ;
21186 int ecode2 = 0 ;
21187 int val3 ;
21188 int ecode3 = 0 ;
21189 int val4 ;
21190 int ecode4 = 0 ;
21191 PyObject * obj0 = 0 ;
21192 PyObject * obj1 = 0 ;
21193 PyObject * obj2 = 0 ;
21194 PyObject * obj3 = 0 ;
21195 char * kwnames[] = {
21196 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21197 };
21198
21199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21200 if (obj0) {
21201 ecode1 = SWIG_AsVal_int(obj0, &val1);
21202 if (!SWIG_IsOK(ecode1)) {
21203 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21204 }
21205 arg1 = static_cast< wxEventType >(val1);
21206 }
21207 if (obj1) {
21208 ecode2 = SWIG_AsVal_int(obj1, &val2);
21209 if (!SWIG_IsOK(ecode2)) {
21210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21211 }
21212 arg2 = static_cast< int >(val2);
21213 }
21214 if (obj2) {
21215 ecode3 = SWIG_AsVal_int(obj2, &val3);
21216 if (!SWIG_IsOK(ecode3)) {
21217 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21218 }
21219 arg3 = static_cast< int >(val3);
21220 }
21221 if (obj3) {
21222 ecode4 = SWIG_AsVal_int(obj3, &val4);
21223 if (!SWIG_IsOK(ecode4)) {
21224 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21225 }
21226 arg4 = static_cast< int >(val4);
21227 }
21228 {
21229 PyThreadState* __tstate = wxPyBeginAllowThreads();
21230 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21231 wxPyEndAllowThreads(__tstate);
21232 if (PyErr_Occurred()) SWIG_fail;
21233 }
21234 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21235 return resultobj;
21236 fail:
21237 return NULL;
21238 }
21239
21240
21241 SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21242 PyObject *obj;
21243 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21244 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
21245 return SWIG_Py_Void();
21246 }
21247
21248 SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21249 return SWIG_Python_InitShadowInstance(args);
21250 }
21251
21252 SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21253 PyObject *resultobj = 0;
21254 wxWindow *arg1 = (wxWindow *) 0 ;
21255 int arg2 = (int) -1 ;
21256 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21257 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21258 wxSize const &arg4_defvalue = wxDefaultSize ;
21259 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21260 long arg5 = (long) 0 ;
21261 wxString const &arg6_defvalue = wxPyEmptyString ;
21262 wxString *arg6 = (wxString *) &arg6_defvalue ;
21263 wxListbook *result = 0 ;
21264 void *argp1 = 0 ;
21265 int res1 = 0 ;
21266 int val2 ;
21267 int ecode2 = 0 ;
21268 wxPoint temp3 ;
21269 wxSize temp4 ;
21270 long val5 ;
21271 int ecode5 = 0 ;
21272 bool temp6 = false ;
21273 PyObject * obj0 = 0 ;
21274 PyObject * obj1 = 0 ;
21275 PyObject * obj2 = 0 ;
21276 PyObject * obj3 = 0 ;
21277 PyObject * obj4 = 0 ;
21278 PyObject * obj5 = 0 ;
21279 char * kwnames[] = {
21280 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21281 };
21282
21283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21285 if (!SWIG_IsOK(res1)) {
21286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21287 }
21288 arg1 = reinterpret_cast< wxWindow * >(argp1);
21289 if (obj1) {
21290 ecode2 = SWIG_AsVal_int(obj1, &val2);
21291 if (!SWIG_IsOK(ecode2)) {
21292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21293 }
21294 arg2 = static_cast< int >(val2);
21295 }
21296 if (obj2) {
21297 {
21298 arg3 = &temp3;
21299 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21300 }
21301 }
21302 if (obj3) {
21303 {
21304 arg4 = &temp4;
21305 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21306 }
21307 }
21308 if (obj4) {
21309 ecode5 = SWIG_AsVal_long(obj4, &val5);
21310 if (!SWIG_IsOK(ecode5)) {
21311 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21312 }
21313 arg5 = static_cast< long >(val5);
21314 }
21315 if (obj5) {
21316 {
21317 arg6 = wxString_in_helper(obj5);
21318 if (arg6 == NULL) SWIG_fail;
21319 temp6 = true;
21320 }
21321 }
21322 {
21323 if (!wxPyCheckForApp()) SWIG_fail;
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21326 wxPyEndAllowThreads(__tstate);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21330 {
21331 if (temp6)
21332 delete arg6;
21333 }
21334 return resultobj;
21335 fail:
21336 {
21337 if (temp6)
21338 delete arg6;
21339 }
21340 return NULL;
21341 }
21342
21343
21344 SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21345 PyObject *resultobj = 0;
21346 wxListbook *result = 0 ;
21347
21348 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21349 {
21350 if (!wxPyCheckForApp()) SWIG_fail;
21351 PyThreadState* __tstate = wxPyBeginAllowThreads();
21352 result = (wxListbook *)new wxListbook();
21353 wxPyEndAllowThreads(__tstate);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 }
21356 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21357 return resultobj;
21358 fail:
21359 return NULL;
21360 }
21361
21362
21363 SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj = 0;
21365 wxListbook *arg1 = (wxListbook *) 0 ;
21366 wxWindow *arg2 = (wxWindow *) 0 ;
21367 int arg3 = (int) -1 ;
21368 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21369 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21370 wxSize const &arg5_defvalue = wxDefaultSize ;
21371 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21372 long arg6 = (long) 0 ;
21373 wxString const &arg7_defvalue = wxPyEmptyString ;
21374 wxString *arg7 = (wxString *) &arg7_defvalue ;
21375 bool result;
21376 void *argp1 = 0 ;
21377 int res1 = 0 ;
21378 void *argp2 = 0 ;
21379 int res2 = 0 ;
21380 int val3 ;
21381 int ecode3 = 0 ;
21382 wxPoint temp4 ;
21383 wxSize temp5 ;
21384 long val6 ;
21385 int ecode6 = 0 ;
21386 bool temp7 = false ;
21387 PyObject * obj0 = 0 ;
21388 PyObject * obj1 = 0 ;
21389 PyObject * obj2 = 0 ;
21390 PyObject * obj3 = 0 ;
21391 PyObject * obj4 = 0 ;
21392 PyObject * obj5 = 0 ;
21393 PyObject * obj6 = 0 ;
21394 char * kwnames[] = {
21395 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21396 };
21397
21398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21400 if (!SWIG_IsOK(res1)) {
21401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21402 }
21403 arg1 = reinterpret_cast< wxListbook * >(argp1);
21404 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21405 if (!SWIG_IsOK(res2)) {
21406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21407 }
21408 arg2 = reinterpret_cast< wxWindow * >(argp2);
21409 if (obj2) {
21410 ecode3 = SWIG_AsVal_int(obj2, &val3);
21411 if (!SWIG_IsOK(ecode3)) {
21412 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21413 }
21414 arg3 = static_cast< int >(val3);
21415 }
21416 if (obj3) {
21417 {
21418 arg4 = &temp4;
21419 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21420 }
21421 }
21422 if (obj4) {
21423 {
21424 arg5 = &temp5;
21425 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21426 }
21427 }
21428 if (obj5) {
21429 ecode6 = SWIG_AsVal_long(obj5, &val6);
21430 if (!SWIG_IsOK(ecode6)) {
21431 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21432 }
21433 arg6 = static_cast< long >(val6);
21434 }
21435 if (obj6) {
21436 {
21437 arg7 = wxString_in_helper(obj6);
21438 if (arg7 == NULL) SWIG_fail;
21439 temp7 = true;
21440 }
21441 }
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 {
21449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21450 }
21451 {
21452 if (temp7)
21453 delete arg7;
21454 }
21455 return resultobj;
21456 fail:
21457 {
21458 if (temp7)
21459 delete arg7;
21460 }
21461 return NULL;
21462 }
21463
21464
21465 SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21466 PyObject *resultobj = 0;
21467 wxListbook *arg1 = (wxListbook *) 0 ;
21468 wxListView *result = 0 ;
21469 void *argp1 = 0 ;
21470 int res1 = 0 ;
21471 PyObject *swig_obj[1] ;
21472
21473 if (!args) SWIG_fail;
21474 swig_obj[0] = args;
21475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21476 if (!SWIG_IsOK(res1)) {
21477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21478 }
21479 arg1 = reinterpret_cast< wxListbook * >(argp1);
21480 {
21481 PyThreadState* __tstate = wxPyBeginAllowThreads();
21482 result = (wxListView *)(arg1)->GetListView();
21483 wxPyEndAllowThreads(__tstate);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 }
21486 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21487 return resultobj;
21488 fail:
21489 return NULL;
21490 }
21491
21492
21493 SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21494 PyObject *obj;
21495 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21496 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21497 return SWIG_Py_Void();
21498 }
21499
21500 SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21501 return SWIG_Python_InitShadowInstance(args);
21502 }
21503
21504 SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21505 PyObject *resultobj = 0;
21506 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21507 int arg2 = (int) 0 ;
21508 int arg3 = (int) -1 ;
21509 int arg4 = (int) -1 ;
21510 wxListbookEvent *result = 0 ;
21511 int val1 ;
21512 int ecode1 = 0 ;
21513 int val2 ;
21514 int ecode2 = 0 ;
21515 int val3 ;
21516 int ecode3 = 0 ;
21517 int val4 ;
21518 int ecode4 = 0 ;
21519 PyObject * obj0 = 0 ;
21520 PyObject * obj1 = 0 ;
21521 PyObject * obj2 = 0 ;
21522 PyObject * obj3 = 0 ;
21523 char * kwnames[] = {
21524 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21525 };
21526
21527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21528 if (obj0) {
21529 ecode1 = SWIG_AsVal_int(obj0, &val1);
21530 if (!SWIG_IsOK(ecode1)) {
21531 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21532 }
21533 arg1 = static_cast< wxEventType >(val1);
21534 }
21535 if (obj1) {
21536 ecode2 = SWIG_AsVal_int(obj1, &val2);
21537 if (!SWIG_IsOK(ecode2)) {
21538 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21539 }
21540 arg2 = static_cast< int >(val2);
21541 }
21542 if (obj2) {
21543 ecode3 = SWIG_AsVal_int(obj2, &val3);
21544 if (!SWIG_IsOK(ecode3)) {
21545 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21546 }
21547 arg3 = static_cast< int >(val3);
21548 }
21549 if (obj3) {
21550 ecode4 = SWIG_AsVal_int(obj3, &val4);
21551 if (!SWIG_IsOK(ecode4)) {
21552 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21553 }
21554 arg4 = static_cast< int >(val4);
21555 }
21556 {
21557 PyThreadState* __tstate = wxPyBeginAllowThreads();
21558 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21559 wxPyEndAllowThreads(__tstate);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 }
21562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21563 return resultobj;
21564 fail:
21565 return NULL;
21566 }
21567
21568
21569 SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21570 PyObject *obj;
21571 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21572 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21573 return SWIG_Py_Void();
21574 }
21575
21576 SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21577 return SWIG_Python_InitShadowInstance(args);
21578 }
21579
21580 SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21581 PyObject *resultobj = 0;
21582 wxWindow *arg1 = (wxWindow *) 0 ;
21583 int arg2 ;
21584 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21585 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21586 wxSize const &arg4_defvalue = wxDefaultSize ;
21587 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21588 long arg5 = (long) 0 ;
21589 wxString const &arg6_defvalue = wxPyEmptyString ;
21590 wxString *arg6 = (wxString *) &arg6_defvalue ;
21591 wxChoicebook *result = 0 ;
21592 void *argp1 = 0 ;
21593 int res1 = 0 ;
21594 int val2 ;
21595 int ecode2 = 0 ;
21596 wxPoint temp3 ;
21597 wxSize temp4 ;
21598 long val5 ;
21599 int ecode5 = 0 ;
21600 bool temp6 = false ;
21601 PyObject * obj0 = 0 ;
21602 PyObject * obj1 = 0 ;
21603 PyObject * obj2 = 0 ;
21604 PyObject * obj3 = 0 ;
21605 PyObject * obj4 = 0 ;
21606 PyObject * obj5 = 0 ;
21607 char * kwnames[] = {
21608 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21609 };
21610
21611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21613 if (!SWIG_IsOK(res1)) {
21614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21615 }
21616 arg1 = reinterpret_cast< wxWindow * >(argp1);
21617 ecode2 = SWIG_AsVal_int(obj1, &val2);
21618 if (!SWIG_IsOK(ecode2)) {
21619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21620 }
21621 arg2 = static_cast< int >(val2);
21622 if (obj2) {
21623 {
21624 arg3 = &temp3;
21625 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21626 }
21627 }
21628 if (obj3) {
21629 {
21630 arg4 = &temp4;
21631 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21632 }
21633 }
21634 if (obj4) {
21635 ecode5 = SWIG_AsVal_long(obj4, &val5);
21636 if (!SWIG_IsOK(ecode5)) {
21637 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21638 }
21639 arg5 = static_cast< long >(val5);
21640 }
21641 if (obj5) {
21642 {
21643 arg6 = wxString_in_helper(obj5);
21644 if (arg6 == NULL) SWIG_fail;
21645 temp6 = true;
21646 }
21647 }
21648 {
21649 if (!wxPyCheckForApp()) SWIG_fail;
21650 PyThreadState* __tstate = wxPyBeginAllowThreads();
21651 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21652 wxPyEndAllowThreads(__tstate);
21653 if (PyErr_Occurred()) SWIG_fail;
21654 }
21655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21656 {
21657 if (temp6)
21658 delete arg6;
21659 }
21660 return resultobj;
21661 fail:
21662 {
21663 if (temp6)
21664 delete arg6;
21665 }
21666 return NULL;
21667 }
21668
21669
21670 SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21671 PyObject *resultobj = 0;
21672 wxChoicebook *result = 0 ;
21673
21674 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21675 {
21676 if (!wxPyCheckForApp()) SWIG_fail;
21677 PyThreadState* __tstate = wxPyBeginAllowThreads();
21678 result = (wxChoicebook *)new wxChoicebook();
21679 wxPyEndAllowThreads(__tstate);
21680 if (PyErr_Occurred()) SWIG_fail;
21681 }
21682 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21683 return resultobj;
21684 fail:
21685 return NULL;
21686 }
21687
21688
21689 SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21690 PyObject *resultobj = 0;
21691 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21692 wxWindow *arg2 = (wxWindow *) 0 ;
21693 int arg3 ;
21694 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21695 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21696 wxSize const &arg5_defvalue = wxDefaultSize ;
21697 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21698 long arg6 = (long) 0 ;
21699 wxString const &arg7_defvalue = wxPyEmptyString ;
21700 wxString *arg7 = (wxString *) &arg7_defvalue ;
21701 bool result;
21702 void *argp1 = 0 ;
21703 int res1 = 0 ;
21704 void *argp2 = 0 ;
21705 int res2 = 0 ;
21706 int val3 ;
21707 int ecode3 = 0 ;
21708 wxPoint temp4 ;
21709 wxSize temp5 ;
21710 long val6 ;
21711 int ecode6 = 0 ;
21712 bool temp7 = false ;
21713 PyObject * obj0 = 0 ;
21714 PyObject * obj1 = 0 ;
21715 PyObject * obj2 = 0 ;
21716 PyObject * obj3 = 0 ;
21717 PyObject * obj4 = 0 ;
21718 PyObject * obj5 = 0 ;
21719 PyObject * obj6 = 0 ;
21720 char * kwnames[] = {
21721 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21722 };
21723
21724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21726 if (!SWIG_IsOK(res1)) {
21727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21728 }
21729 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21730 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21731 if (!SWIG_IsOK(res2)) {
21732 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21733 }
21734 arg2 = reinterpret_cast< wxWindow * >(argp2);
21735 ecode3 = SWIG_AsVal_int(obj2, &val3);
21736 if (!SWIG_IsOK(ecode3)) {
21737 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21738 }
21739 arg3 = static_cast< int >(val3);
21740 if (obj3) {
21741 {
21742 arg4 = &temp4;
21743 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21744 }
21745 }
21746 if (obj4) {
21747 {
21748 arg5 = &temp5;
21749 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21750 }
21751 }
21752 if (obj5) {
21753 ecode6 = SWIG_AsVal_long(obj5, &val6);
21754 if (!SWIG_IsOK(ecode6)) {
21755 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21756 }
21757 arg6 = static_cast< long >(val6);
21758 }
21759 if (obj6) {
21760 {
21761 arg7 = wxString_in_helper(obj6);
21762 if (arg7 == NULL) SWIG_fail;
21763 temp7 = true;
21764 }
21765 }
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
21768 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21769 wxPyEndAllowThreads(__tstate);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 }
21772 {
21773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21774 }
21775 {
21776 if (temp7)
21777 delete arg7;
21778 }
21779 return resultobj;
21780 fail:
21781 {
21782 if (temp7)
21783 delete arg7;
21784 }
21785 return NULL;
21786 }
21787
21788
21789 SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21790 PyObject *resultobj = 0;
21791 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21792 wxChoice *result = 0 ;
21793 void *argp1 = 0 ;
21794 int res1 = 0 ;
21795 PyObject *swig_obj[1] ;
21796
21797 if (!args) SWIG_fail;
21798 swig_obj[0] = args;
21799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21800 if (!SWIG_IsOK(res1)) {
21801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21802 }
21803 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21804 {
21805 PyThreadState* __tstate = wxPyBeginAllowThreads();
21806 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21807 wxPyEndAllowThreads(__tstate);
21808 if (PyErr_Occurred()) SWIG_fail;
21809 }
21810 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21811 return resultobj;
21812 fail:
21813 return NULL;
21814 }
21815
21816
21817 SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21818 PyObject *obj;
21819 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21820 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21821 return SWIG_Py_Void();
21822 }
21823
21824 SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21825 return SWIG_Python_InitShadowInstance(args);
21826 }
21827
21828 SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21829 PyObject *resultobj = 0;
21830 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21831 int arg2 = (int) 0 ;
21832 int arg3 = (int) -1 ;
21833 int arg4 = (int) -1 ;
21834 wxChoicebookEvent *result = 0 ;
21835 int val1 ;
21836 int ecode1 = 0 ;
21837 int val2 ;
21838 int ecode2 = 0 ;
21839 int val3 ;
21840 int ecode3 = 0 ;
21841 int val4 ;
21842 int ecode4 = 0 ;
21843 PyObject * obj0 = 0 ;
21844 PyObject * obj1 = 0 ;
21845 PyObject * obj2 = 0 ;
21846 PyObject * obj3 = 0 ;
21847 char * kwnames[] = {
21848 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21849 };
21850
21851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21852 if (obj0) {
21853 ecode1 = SWIG_AsVal_int(obj0, &val1);
21854 if (!SWIG_IsOK(ecode1)) {
21855 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21856 }
21857 arg1 = static_cast< wxEventType >(val1);
21858 }
21859 if (obj1) {
21860 ecode2 = SWIG_AsVal_int(obj1, &val2);
21861 if (!SWIG_IsOK(ecode2)) {
21862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21863 }
21864 arg2 = static_cast< int >(val2);
21865 }
21866 if (obj2) {
21867 ecode3 = SWIG_AsVal_int(obj2, &val3);
21868 if (!SWIG_IsOK(ecode3)) {
21869 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21870 }
21871 arg3 = static_cast< int >(val3);
21872 }
21873 if (obj3) {
21874 ecode4 = SWIG_AsVal_int(obj3, &val4);
21875 if (!SWIG_IsOK(ecode4)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21877 }
21878 arg4 = static_cast< int >(val4);
21879 }
21880 {
21881 PyThreadState* __tstate = wxPyBeginAllowThreads();
21882 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21883 wxPyEndAllowThreads(__tstate);
21884 if (PyErr_Occurred()) SWIG_fail;
21885 }
21886 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21887 return resultobj;
21888 fail:
21889 return NULL;
21890 }
21891
21892
21893 SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21894 PyObject *obj;
21895 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21896 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21897 return SWIG_Py_Void();
21898 }
21899
21900 SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21901 return SWIG_Python_InitShadowInstance(args);
21902 }
21903
21904 SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21905 PyObject *resultobj = 0;
21906 wxWindow *arg1 = (wxWindow *) 0 ;
21907 int arg2 ;
21908 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21909 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21910 wxSize const &arg4_defvalue = wxDefaultSize ;
21911 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21912 long arg5 = (long) wxBK_DEFAULT ;
21913 wxString const &arg6_defvalue = wxPyEmptyString ;
21914 wxString *arg6 = (wxString *) &arg6_defvalue ;
21915 wxTreebook *result = 0 ;
21916 void *argp1 = 0 ;
21917 int res1 = 0 ;
21918 int val2 ;
21919 int ecode2 = 0 ;
21920 wxPoint temp3 ;
21921 wxSize temp4 ;
21922 long val5 ;
21923 int ecode5 = 0 ;
21924 bool temp6 = false ;
21925 PyObject * obj0 = 0 ;
21926 PyObject * obj1 = 0 ;
21927 PyObject * obj2 = 0 ;
21928 PyObject * obj3 = 0 ;
21929 PyObject * obj4 = 0 ;
21930 PyObject * obj5 = 0 ;
21931 char * kwnames[] = {
21932 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21933 };
21934
21935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21937 if (!SWIG_IsOK(res1)) {
21938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21939 }
21940 arg1 = reinterpret_cast< wxWindow * >(argp1);
21941 ecode2 = SWIG_AsVal_int(obj1, &val2);
21942 if (!SWIG_IsOK(ecode2)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21944 }
21945 arg2 = static_cast< int >(val2);
21946 if (obj2) {
21947 {
21948 arg3 = &temp3;
21949 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21950 }
21951 }
21952 if (obj3) {
21953 {
21954 arg4 = &temp4;
21955 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21956 }
21957 }
21958 if (obj4) {
21959 ecode5 = SWIG_AsVal_long(obj4, &val5);
21960 if (!SWIG_IsOK(ecode5)) {
21961 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21962 }
21963 arg5 = static_cast< long >(val5);
21964 }
21965 if (obj5) {
21966 {
21967 arg6 = wxString_in_helper(obj5);
21968 if (arg6 == NULL) SWIG_fail;
21969 temp6 = true;
21970 }
21971 }
21972 {
21973 if (!wxPyCheckForApp()) SWIG_fail;
21974 PyThreadState* __tstate = wxPyBeginAllowThreads();
21975 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21980 {
21981 if (temp6)
21982 delete arg6;
21983 }
21984 return resultobj;
21985 fail:
21986 {
21987 if (temp6)
21988 delete arg6;
21989 }
21990 return NULL;
21991 }
21992
21993
21994 SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21995 PyObject *resultobj = 0;
21996 wxTreebook *result = 0 ;
21997
21998 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21999 {
22000 if (!wxPyCheckForApp()) SWIG_fail;
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 result = (wxTreebook *)new wxTreebook();
22003 wxPyEndAllowThreads(__tstate);
22004 if (PyErr_Occurred()) SWIG_fail;
22005 }
22006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
22007 return resultobj;
22008 fail:
22009 return NULL;
22010 }
22011
22012
22013 SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22014 PyObject *resultobj = 0;
22015 wxTreebook *arg1 = (wxTreebook *) 0 ;
22016 wxWindow *arg2 = (wxWindow *) 0 ;
22017 int arg3 ;
22018 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22019 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22020 wxSize const &arg5_defvalue = wxDefaultSize ;
22021 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22022 long arg6 = (long) wxBK_DEFAULT ;
22023 wxString const &arg7_defvalue = wxPyEmptyString ;
22024 wxString *arg7 = (wxString *) &arg7_defvalue ;
22025 bool result;
22026 void *argp1 = 0 ;
22027 int res1 = 0 ;
22028 void *argp2 = 0 ;
22029 int res2 = 0 ;
22030 int val3 ;
22031 int ecode3 = 0 ;
22032 wxPoint temp4 ;
22033 wxSize temp5 ;
22034 long val6 ;
22035 int ecode6 = 0 ;
22036 bool temp7 = false ;
22037 PyObject * obj0 = 0 ;
22038 PyObject * obj1 = 0 ;
22039 PyObject * obj2 = 0 ;
22040 PyObject * obj3 = 0 ;
22041 PyObject * obj4 = 0 ;
22042 PyObject * obj5 = 0 ;
22043 PyObject * obj6 = 0 ;
22044 char * kwnames[] = {
22045 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22046 };
22047
22048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22050 if (!SWIG_IsOK(res1)) {
22051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22052 }
22053 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22054 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22055 if (!SWIG_IsOK(res2)) {
22056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22057 }
22058 arg2 = reinterpret_cast< wxWindow * >(argp2);
22059 ecode3 = SWIG_AsVal_int(obj2, &val3);
22060 if (!SWIG_IsOK(ecode3)) {
22061 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22062 }
22063 arg3 = static_cast< int >(val3);
22064 if (obj3) {
22065 {
22066 arg4 = &temp4;
22067 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22068 }
22069 }
22070 if (obj4) {
22071 {
22072 arg5 = &temp5;
22073 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22074 }
22075 }
22076 if (obj5) {
22077 ecode6 = SWIG_AsVal_long(obj5, &val6);
22078 if (!SWIG_IsOK(ecode6)) {
22079 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22080 }
22081 arg6 = static_cast< long >(val6);
22082 }
22083 if (obj6) {
22084 {
22085 arg7 = wxString_in_helper(obj6);
22086 if (arg7 == NULL) SWIG_fail;
22087 temp7 = true;
22088 }
22089 }
22090 {
22091 PyThreadState* __tstate = wxPyBeginAllowThreads();
22092 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22093 wxPyEndAllowThreads(__tstate);
22094 if (PyErr_Occurred()) SWIG_fail;
22095 }
22096 {
22097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22098 }
22099 {
22100 if (temp7)
22101 delete arg7;
22102 }
22103 return resultobj;
22104 fail:
22105 {
22106 if (temp7)
22107 delete arg7;
22108 }
22109 return NULL;
22110 }
22111
22112
22113 SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22114 PyObject *resultobj = 0;
22115 wxTreebook *arg1 = (wxTreebook *) 0 ;
22116 size_t arg2 ;
22117 wxWindow *arg3 = (wxWindow *) 0 ;
22118 wxString *arg4 = 0 ;
22119 bool arg5 = (bool) false ;
22120 int arg6 = (int) wxNOT_FOUND ;
22121 bool result;
22122 void *argp1 = 0 ;
22123 int res1 = 0 ;
22124 size_t val2 ;
22125 int ecode2 = 0 ;
22126 void *argp3 = 0 ;
22127 int res3 = 0 ;
22128 bool temp4 = false ;
22129 bool val5 ;
22130 int ecode5 = 0 ;
22131 int val6 ;
22132 int ecode6 = 0 ;
22133 PyObject * obj0 = 0 ;
22134 PyObject * obj1 = 0 ;
22135 PyObject * obj2 = 0 ;
22136 PyObject * obj3 = 0 ;
22137 PyObject * obj4 = 0 ;
22138 PyObject * obj5 = 0 ;
22139 char * kwnames[] = {
22140 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22141 };
22142
22143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22145 if (!SWIG_IsOK(res1)) {
22146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22147 }
22148 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22149 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22150 if (!SWIG_IsOK(ecode2)) {
22151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22152 }
22153 arg2 = static_cast< size_t >(val2);
22154 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
22155 if (!SWIG_IsOK(res3)) {
22156 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22157 }
22158 arg3 = reinterpret_cast< wxWindow * >(argp3);
22159 {
22160 arg4 = wxString_in_helper(obj3);
22161 if (arg4 == NULL) SWIG_fail;
22162 temp4 = true;
22163 }
22164 if (obj4) {
22165 ecode5 = SWIG_AsVal_bool(obj4, &val5);
22166 if (!SWIG_IsOK(ecode5)) {
22167 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22168 }
22169 arg5 = static_cast< bool >(val5);
22170 }
22171 if (obj5) {
22172 ecode6 = SWIG_AsVal_int(obj5, &val6);
22173 if (!SWIG_IsOK(ecode6)) {
22174 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22175 }
22176 arg6 = static_cast< int >(val6);
22177 }
22178 {
22179 PyThreadState* __tstate = wxPyBeginAllowThreads();
22180 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
22181 wxPyEndAllowThreads(__tstate);
22182 if (PyErr_Occurred()) SWIG_fail;
22183 }
22184 {
22185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22186 }
22187 {
22188 if (temp4)
22189 delete arg4;
22190 }
22191 return resultobj;
22192 fail:
22193 {
22194 if (temp4)
22195 delete arg4;
22196 }
22197 return NULL;
22198 }
22199
22200
22201 SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj = 0;
22203 wxTreebook *arg1 = (wxTreebook *) 0 ;
22204 wxWindow *arg2 = (wxWindow *) 0 ;
22205 wxString *arg3 = 0 ;
22206 bool arg4 = (bool) false ;
22207 int arg5 = (int) wxNOT_FOUND ;
22208 bool result;
22209 void *argp1 = 0 ;
22210 int res1 = 0 ;
22211 void *argp2 = 0 ;
22212 int res2 = 0 ;
22213 bool temp3 = false ;
22214 bool val4 ;
22215 int ecode4 = 0 ;
22216 int val5 ;
22217 int ecode5 = 0 ;
22218 PyObject * obj0 = 0 ;
22219 PyObject * obj1 = 0 ;
22220 PyObject * obj2 = 0 ;
22221 PyObject * obj3 = 0 ;
22222 PyObject * obj4 = 0 ;
22223 char * kwnames[] = {
22224 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22225 };
22226
22227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22229 if (!SWIG_IsOK(res1)) {
22230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22231 }
22232 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22233 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22234 if (!SWIG_IsOK(res2)) {
22235 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22236 }
22237 arg2 = reinterpret_cast< wxWindow * >(argp2);
22238 {
22239 arg3 = wxString_in_helper(obj2);
22240 if (arg3 == NULL) SWIG_fail;
22241 temp3 = true;
22242 }
22243 if (obj3) {
22244 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22245 if (!SWIG_IsOK(ecode4)) {
22246 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22247 }
22248 arg4 = static_cast< bool >(val4);
22249 }
22250 if (obj4) {
22251 ecode5 = SWIG_AsVal_int(obj4, &val5);
22252 if (!SWIG_IsOK(ecode5)) {
22253 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22254 }
22255 arg5 = static_cast< int >(val5);
22256 }
22257 {
22258 PyThreadState* __tstate = wxPyBeginAllowThreads();
22259 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22260 wxPyEndAllowThreads(__tstate);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
22263 {
22264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22265 }
22266 {
22267 if (temp3)
22268 delete arg3;
22269 }
22270 return resultobj;
22271 fail:
22272 {
22273 if (temp3)
22274 delete arg3;
22275 }
22276 return NULL;
22277 }
22278
22279
22280 SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22281 PyObject *resultobj = 0;
22282 wxTreebook *arg1 = (wxTreebook *) 0 ;
22283 size_t arg2 ;
22284 bool result;
22285 void *argp1 = 0 ;
22286 int res1 = 0 ;
22287 size_t val2 ;
22288 int ecode2 = 0 ;
22289 PyObject * obj0 = 0 ;
22290 PyObject * obj1 = 0 ;
22291 char * kwnames[] = {
22292 (char *) "self",(char *) "pos", NULL
22293 };
22294
22295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22297 if (!SWIG_IsOK(res1)) {
22298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22299 }
22300 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22301 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22302 if (!SWIG_IsOK(ecode2)) {
22303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22304 }
22305 arg2 = static_cast< size_t >(val2);
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22309 wxPyEndAllowThreads(__tstate);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
22312 {
22313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22314 }
22315 return resultobj;
22316 fail:
22317 return NULL;
22318 }
22319
22320
22321 SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22322 PyObject *resultobj = 0;
22323 wxTreebook *arg1 = (wxTreebook *) 0 ;
22324 size_t arg2 ;
22325 bool arg3 = (bool) true ;
22326 bool result;
22327 void *argp1 = 0 ;
22328 int res1 = 0 ;
22329 size_t val2 ;
22330 int ecode2 = 0 ;
22331 bool val3 ;
22332 int ecode3 = 0 ;
22333 PyObject * obj0 = 0 ;
22334 PyObject * obj1 = 0 ;
22335 PyObject * obj2 = 0 ;
22336 char * kwnames[] = {
22337 (char *) "self",(char *) "pos",(char *) "expand", NULL
22338 };
22339
22340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22342 if (!SWIG_IsOK(res1)) {
22343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22344 }
22345 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22346 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22347 if (!SWIG_IsOK(ecode2)) {
22348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22349 }
22350 arg2 = static_cast< size_t >(val2);
22351 if (obj2) {
22352 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22353 if (!SWIG_IsOK(ecode3)) {
22354 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22355 }
22356 arg3 = static_cast< bool >(val3);
22357 }
22358 {
22359 PyThreadState* __tstate = wxPyBeginAllowThreads();
22360 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22361 wxPyEndAllowThreads(__tstate);
22362 if (PyErr_Occurred()) SWIG_fail;
22363 }
22364 {
22365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22366 }
22367 return resultobj;
22368 fail:
22369 return NULL;
22370 }
22371
22372
22373 SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22374 PyObject *resultobj = 0;
22375 wxTreebook *arg1 = (wxTreebook *) 0 ;
22376 size_t arg2 ;
22377 bool result;
22378 void *argp1 = 0 ;
22379 int res1 = 0 ;
22380 size_t val2 ;
22381 int ecode2 = 0 ;
22382 PyObject * obj0 = 0 ;
22383 PyObject * obj1 = 0 ;
22384 char * kwnames[] = {
22385 (char *) "self",(char *) "pos", NULL
22386 };
22387
22388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22390 if (!SWIG_IsOK(res1)) {
22391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22392 }
22393 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22394 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22395 if (!SWIG_IsOK(ecode2)) {
22396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22397 }
22398 arg2 = static_cast< size_t >(val2);
22399 {
22400 PyThreadState* __tstate = wxPyBeginAllowThreads();
22401 result = (bool)(arg1)->CollapseNode(arg2);
22402 wxPyEndAllowThreads(__tstate);
22403 if (PyErr_Occurred()) SWIG_fail;
22404 }
22405 {
22406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22407 }
22408 return resultobj;
22409 fail:
22410 return NULL;
22411 }
22412
22413
22414 SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22415 PyObject *resultobj = 0;
22416 wxTreebook *arg1 = (wxTreebook *) 0 ;
22417 size_t arg2 ;
22418 int result;
22419 void *argp1 = 0 ;
22420 int res1 = 0 ;
22421 size_t val2 ;
22422 int ecode2 = 0 ;
22423 PyObject * obj0 = 0 ;
22424 PyObject * obj1 = 0 ;
22425 char * kwnames[] = {
22426 (char *) "self",(char *) "pos", NULL
22427 };
22428
22429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22431 if (!SWIG_IsOK(res1)) {
22432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22433 }
22434 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22435 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22436 if (!SWIG_IsOK(ecode2)) {
22437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22438 }
22439 arg2 = static_cast< size_t >(val2);
22440 {
22441 PyThreadState* __tstate = wxPyBeginAllowThreads();
22442 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22443 wxPyEndAllowThreads(__tstate);
22444 if (PyErr_Occurred()) SWIG_fail;
22445 }
22446 resultobj = SWIG_From_int(static_cast< int >(result));
22447 return resultobj;
22448 fail:
22449 return NULL;
22450 }
22451
22452
22453 SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22454 PyObject *resultobj = 0;
22455 wxTreebook *arg1 = (wxTreebook *) 0 ;
22456 wxPyTreeCtrl *result = 0 ;
22457 void *argp1 = 0 ;
22458 int res1 = 0 ;
22459 PyObject *swig_obj[1] ;
22460
22461 if (!args) SWIG_fail;
22462 swig_obj[0] = args;
22463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22464 if (!SWIG_IsOK(res1)) {
22465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22466 }
22467 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22468 {
22469 PyThreadState* __tstate = wxPyBeginAllowThreads();
22470 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
22471 wxPyEndAllowThreads(__tstate);
22472 if (PyErr_Occurred()) SWIG_fail;
22473 }
22474 {
22475 resultobj = wxPyMake_wxObject(result, (bool)0);
22476 }
22477 return resultobj;
22478 fail:
22479 return NULL;
22480 }
22481
22482
22483 SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22484 PyObject *obj;
22485 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22486 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22487 return SWIG_Py_Void();
22488 }
22489
22490 SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22491 return SWIG_Python_InitShadowInstance(args);
22492 }
22493
22494 SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22495 PyObject *resultobj = 0;
22496 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22497 int arg2 = (int) 0 ;
22498 int arg3 = (int) wxNOT_FOUND ;
22499 int arg4 = (int) wxNOT_FOUND ;
22500 wxTreebookEvent *result = 0 ;
22501 int val1 ;
22502 int ecode1 = 0 ;
22503 int val2 ;
22504 int ecode2 = 0 ;
22505 int val3 ;
22506 int ecode3 = 0 ;
22507 int val4 ;
22508 int ecode4 = 0 ;
22509 PyObject * obj0 = 0 ;
22510 PyObject * obj1 = 0 ;
22511 PyObject * obj2 = 0 ;
22512 PyObject * obj3 = 0 ;
22513 char * kwnames[] = {
22514 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22515 };
22516
22517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22518 if (obj0) {
22519 ecode1 = SWIG_AsVal_int(obj0, &val1);
22520 if (!SWIG_IsOK(ecode1)) {
22521 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22522 }
22523 arg1 = static_cast< wxEventType >(val1);
22524 }
22525 if (obj1) {
22526 ecode2 = SWIG_AsVal_int(obj1, &val2);
22527 if (!SWIG_IsOK(ecode2)) {
22528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22529 }
22530 arg2 = static_cast< int >(val2);
22531 }
22532 if (obj2) {
22533 ecode3 = SWIG_AsVal_int(obj2, &val3);
22534 if (!SWIG_IsOK(ecode3)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22536 }
22537 arg3 = static_cast< int >(val3);
22538 }
22539 if (obj3) {
22540 ecode4 = SWIG_AsVal_int(obj3, &val4);
22541 if (!SWIG_IsOK(ecode4)) {
22542 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22543 }
22544 arg4 = static_cast< int >(val4);
22545 }
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22549 wxPyEndAllowThreads(__tstate);
22550 if (PyErr_Occurred()) SWIG_fail;
22551 }
22552 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22553 return resultobj;
22554 fail:
22555 return NULL;
22556 }
22557
22558
22559 SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22560 PyObject *obj;
22561 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22562 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22563 return SWIG_Py_Void();
22564 }
22565
22566 SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22567 return SWIG_Python_InitShadowInstance(args);
22568 }
22569
22570 SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22571 PyObject *resultobj = 0;
22572 wxWindow *arg1 = (wxWindow *) 0 ;
22573 int arg2 ;
22574 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22575 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22576 wxSize const &arg4_defvalue = wxDefaultSize ;
22577 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22578 long arg5 = (long) wxBK_DEFAULT ;
22579 wxString const &arg6_defvalue = wxPyEmptyString ;
22580 wxString *arg6 = (wxString *) &arg6_defvalue ;
22581 wxToolbook *result = 0 ;
22582 void *argp1 = 0 ;
22583 int res1 = 0 ;
22584 int val2 ;
22585 int ecode2 = 0 ;
22586 wxPoint temp3 ;
22587 wxSize temp4 ;
22588 long val5 ;
22589 int ecode5 = 0 ;
22590 bool temp6 = false ;
22591 PyObject * obj0 = 0 ;
22592 PyObject * obj1 = 0 ;
22593 PyObject * obj2 = 0 ;
22594 PyObject * obj3 = 0 ;
22595 PyObject * obj4 = 0 ;
22596 PyObject * obj5 = 0 ;
22597 char * kwnames[] = {
22598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22599 };
22600
22601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22603 if (!SWIG_IsOK(res1)) {
22604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22605 }
22606 arg1 = reinterpret_cast< wxWindow * >(argp1);
22607 ecode2 = SWIG_AsVal_int(obj1, &val2);
22608 if (!SWIG_IsOK(ecode2)) {
22609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22610 }
22611 arg2 = static_cast< int >(val2);
22612 if (obj2) {
22613 {
22614 arg3 = &temp3;
22615 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22616 }
22617 }
22618 if (obj3) {
22619 {
22620 arg4 = &temp4;
22621 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22622 }
22623 }
22624 if (obj4) {
22625 ecode5 = SWIG_AsVal_long(obj4, &val5);
22626 if (!SWIG_IsOK(ecode5)) {
22627 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22628 }
22629 arg5 = static_cast< long >(val5);
22630 }
22631 if (obj5) {
22632 {
22633 arg6 = wxString_in_helper(obj5);
22634 if (arg6 == NULL) SWIG_fail;
22635 temp6 = true;
22636 }
22637 }
22638 {
22639 PyThreadState* __tstate = wxPyBeginAllowThreads();
22640 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22641 wxPyEndAllowThreads(__tstate);
22642 if (PyErr_Occurred()) SWIG_fail;
22643 }
22644 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22645 {
22646 if (temp6)
22647 delete arg6;
22648 }
22649 return resultobj;
22650 fail:
22651 {
22652 if (temp6)
22653 delete arg6;
22654 }
22655 return NULL;
22656 }
22657
22658
22659 SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22660 PyObject *resultobj = 0;
22661 wxToolbook *result = 0 ;
22662
22663 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22664 {
22665 PyThreadState* __tstate = wxPyBeginAllowThreads();
22666 result = (wxToolbook *)new wxToolbook();
22667 wxPyEndAllowThreads(__tstate);
22668 if (PyErr_Occurred()) SWIG_fail;
22669 }
22670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22671 return resultobj;
22672 fail:
22673 return NULL;
22674 }
22675
22676
22677 SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22678 PyObject *resultobj = 0;
22679 wxToolbook *arg1 = (wxToolbook *) 0 ;
22680 wxWindow *arg2 = (wxWindow *) 0 ;
22681 int arg3 ;
22682 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22683 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22684 wxSize const &arg5_defvalue = wxDefaultSize ;
22685 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22686 long arg6 = (long) 0 ;
22687 wxString const &arg7_defvalue = wxEmptyString ;
22688 wxString *arg7 = (wxString *) &arg7_defvalue ;
22689 bool result;
22690 void *argp1 = 0 ;
22691 int res1 = 0 ;
22692 void *argp2 = 0 ;
22693 int res2 = 0 ;
22694 int val3 ;
22695 int ecode3 = 0 ;
22696 wxPoint temp4 ;
22697 wxSize temp5 ;
22698 long val6 ;
22699 int ecode6 = 0 ;
22700 bool temp7 = false ;
22701 PyObject * obj0 = 0 ;
22702 PyObject * obj1 = 0 ;
22703 PyObject * obj2 = 0 ;
22704 PyObject * obj3 = 0 ;
22705 PyObject * obj4 = 0 ;
22706 PyObject * obj5 = 0 ;
22707 PyObject * obj6 = 0 ;
22708 char * kwnames[] = {
22709 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22710 };
22711
22712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22714 if (!SWIG_IsOK(res1)) {
22715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22716 }
22717 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22718 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22719 if (!SWIG_IsOK(res2)) {
22720 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22721 }
22722 arg2 = reinterpret_cast< wxWindow * >(argp2);
22723 ecode3 = SWIG_AsVal_int(obj2, &val3);
22724 if (!SWIG_IsOK(ecode3)) {
22725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22726 }
22727 arg3 = static_cast< int >(val3);
22728 if (obj3) {
22729 {
22730 arg4 = &temp4;
22731 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22732 }
22733 }
22734 if (obj4) {
22735 {
22736 arg5 = &temp5;
22737 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22738 }
22739 }
22740 if (obj5) {
22741 ecode6 = SWIG_AsVal_long(obj5, &val6);
22742 if (!SWIG_IsOK(ecode6)) {
22743 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22744 }
22745 arg6 = static_cast< long >(val6);
22746 }
22747 if (obj6) {
22748 {
22749 arg7 = wxString_in_helper(obj6);
22750 if (arg7 == NULL) SWIG_fail;
22751 temp7 = true;
22752 }
22753 }
22754 {
22755 PyThreadState* __tstate = wxPyBeginAllowThreads();
22756 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22757 wxPyEndAllowThreads(__tstate);
22758 if (PyErr_Occurred()) SWIG_fail;
22759 }
22760 {
22761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22762 }
22763 {
22764 if (temp7)
22765 delete arg7;
22766 }
22767 return resultobj;
22768 fail:
22769 {
22770 if (temp7)
22771 delete arg7;
22772 }
22773 return NULL;
22774 }
22775
22776
22777 SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22778 PyObject *resultobj = 0;
22779 wxToolbook *arg1 = (wxToolbook *) 0 ;
22780 wxToolBarBase *result = 0 ;
22781 void *argp1 = 0 ;
22782 int res1 = 0 ;
22783 PyObject *swig_obj[1] ;
22784
22785 if (!args) SWIG_fail;
22786 swig_obj[0] = args;
22787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22788 if (!SWIG_IsOK(res1)) {
22789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22790 }
22791 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22792 {
22793 PyThreadState* __tstate = wxPyBeginAllowThreads();
22794 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22795 wxPyEndAllowThreads(__tstate);
22796 if (PyErr_Occurred()) SWIG_fail;
22797 }
22798 {
22799 resultobj = wxPyMake_wxObject(result, (bool)0);
22800 }
22801 return resultobj;
22802 fail:
22803 return NULL;
22804 }
22805
22806
22807 SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22808 PyObject *resultobj = 0;
22809 wxToolbook *arg1 = (wxToolbook *) 0 ;
22810 void *argp1 = 0 ;
22811 int res1 = 0 ;
22812 PyObject *swig_obj[1] ;
22813
22814 if (!args) SWIG_fail;
22815 swig_obj[0] = args;
22816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22817 if (!SWIG_IsOK(res1)) {
22818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22819 }
22820 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22821 {
22822 PyThreadState* __tstate = wxPyBeginAllowThreads();
22823 (arg1)->Realize();
22824 wxPyEndAllowThreads(__tstate);
22825 if (PyErr_Occurred()) SWIG_fail;
22826 }
22827 resultobj = SWIG_Py_Void();
22828 return resultobj;
22829 fail:
22830 return NULL;
22831 }
22832
22833
22834 SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22835 PyObject *obj;
22836 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22837 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22838 return SWIG_Py_Void();
22839 }
22840
22841 SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22842 return SWIG_Python_InitShadowInstance(args);
22843 }
22844
22845 SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22846 PyObject *resultobj = 0;
22847 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22848 int arg2 = (int) 0 ;
22849 int arg3 = (int) wxNOT_FOUND ;
22850 int arg4 = (int) wxNOT_FOUND ;
22851 wxToolbookEvent *result = 0 ;
22852 int val1 ;
22853 int ecode1 = 0 ;
22854 int val2 ;
22855 int ecode2 = 0 ;
22856 int val3 ;
22857 int ecode3 = 0 ;
22858 int val4 ;
22859 int ecode4 = 0 ;
22860 PyObject * obj0 = 0 ;
22861 PyObject * obj1 = 0 ;
22862 PyObject * obj2 = 0 ;
22863 PyObject * obj3 = 0 ;
22864 char * kwnames[] = {
22865 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22866 };
22867
22868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22869 if (obj0) {
22870 ecode1 = SWIG_AsVal_int(obj0, &val1);
22871 if (!SWIG_IsOK(ecode1)) {
22872 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22873 }
22874 arg1 = static_cast< wxEventType >(val1);
22875 }
22876 if (obj1) {
22877 ecode2 = SWIG_AsVal_int(obj1, &val2);
22878 if (!SWIG_IsOK(ecode2)) {
22879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22880 }
22881 arg2 = static_cast< int >(val2);
22882 }
22883 if (obj2) {
22884 ecode3 = SWIG_AsVal_int(obj2, &val3);
22885 if (!SWIG_IsOK(ecode3)) {
22886 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22887 }
22888 arg3 = static_cast< int >(val3);
22889 }
22890 if (obj3) {
22891 ecode4 = SWIG_AsVal_int(obj3, &val4);
22892 if (!SWIG_IsOK(ecode4)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22894 }
22895 arg4 = static_cast< int >(val4);
22896 }
22897 {
22898 PyThreadState* __tstate = wxPyBeginAllowThreads();
22899 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22904 return resultobj;
22905 fail:
22906 return NULL;
22907 }
22908
22909
22910 SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22911 PyObject *obj;
22912 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22913 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22914 return SWIG_Py_Void();
22915 }
22916
22917 SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22918 return SWIG_Python_InitShadowInstance(args);
22919 }
22920
22921 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22922 PyObject *resultobj = 0;
22923 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22924 int result;
22925 void *argp1 = 0 ;
22926 int res1 = 0 ;
22927 PyObject *swig_obj[1] ;
22928
22929 if (!args) SWIG_fail;
22930 swig_obj[0] = args;
22931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22932 if (!SWIG_IsOK(res1)) {
22933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22934 }
22935 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 result = (int)(arg1)->GetId();
22939 wxPyEndAllowThreads(__tstate);
22940 if (PyErr_Occurred()) SWIG_fail;
22941 }
22942 resultobj = SWIG_From_int(static_cast< int >(result));
22943 return resultobj;
22944 fail:
22945 return NULL;
22946 }
22947
22948
22949 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22950 PyObject *resultobj = 0;
22951 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22952 wxControl *result = 0 ;
22953 void *argp1 = 0 ;
22954 int res1 = 0 ;
22955 PyObject *swig_obj[1] ;
22956
22957 if (!args) SWIG_fail;
22958 swig_obj[0] = args;
22959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22960 if (!SWIG_IsOK(res1)) {
22961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22962 }
22963 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22964 {
22965 PyThreadState* __tstate = wxPyBeginAllowThreads();
22966 result = (wxControl *)(arg1)->GetControl();
22967 wxPyEndAllowThreads(__tstate);
22968 if (PyErr_Occurred()) SWIG_fail;
22969 }
22970 {
22971 resultobj = wxPyMake_wxObject(result, 0);
22972 }
22973 return resultobj;
22974 fail:
22975 return NULL;
22976 }
22977
22978
22979 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22980 PyObject *resultobj = 0;
22981 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22982 wxToolBarBase *result = 0 ;
22983 void *argp1 = 0 ;
22984 int res1 = 0 ;
22985 PyObject *swig_obj[1] ;
22986
22987 if (!args) SWIG_fail;
22988 swig_obj[0] = args;
22989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22990 if (!SWIG_IsOK(res1)) {
22991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22992 }
22993 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22994 {
22995 PyThreadState* __tstate = wxPyBeginAllowThreads();
22996 result = (wxToolBarBase *)(arg1)->GetToolBar();
22997 wxPyEndAllowThreads(__tstate);
22998 if (PyErr_Occurred()) SWIG_fail;
22999 }
23000 {
23001 resultobj = wxPyMake_wxObject(result, (bool)0);
23002 }
23003 return resultobj;
23004 fail:
23005 return NULL;
23006 }
23007
23008
23009 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23010 PyObject *resultobj = 0;
23011 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23012 int result;
23013 void *argp1 = 0 ;
23014 int res1 = 0 ;
23015 PyObject *swig_obj[1] ;
23016
23017 if (!args) SWIG_fail;
23018 swig_obj[0] = args;
23019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23020 if (!SWIG_IsOK(res1)) {
23021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23022 }
23023 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23024 {
23025 PyThreadState* __tstate = wxPyBeginAllowThreads();
23026 result = (int)(arg1)->IsButton();
23027 wxPyEndAllowThreads(__tstate);
23028 if (PyErr_Occurred()) SWIG_fail;
23029 }
23030 resultobj = SWIG_From_int(static_cast< int >(result));
23031 return resultobj;
23032 fail:
23033 return NULL;
23034 }
23035
23036
23037 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23038 PyObject *resultobj = 0;
23039 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23040 int result;
23041 void *argp1 = 0 ;
23042 int res1 = 0 ;
23043 PyObject *swig_obj[1] ;
23044
23045 if (!args) SWIG_fail;
23046 swig_obj[0] = args;
23047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23048 if (!SWIG_IsOK(res1)) {
23049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23050 }
23051 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 result = (int)(arg1)->IsControl();
23055 wxPyEndAllowThreads(__tstate);
23056 if (PyErr_Occurred()) SWIG_fail;
23057 }
23058 resultobj = SWIG_From_int(static_cast< int >(result));
23059 return resultobj;
23060 fail:
23061 return NULL;
23062 }
23063
23064
23065 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23066 PyObject *resultobj = 0;
23067 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23068 int result;
23069 void *argp1 = 0 ;
23070 int res1 = 0 ;
23071 PyObject *swig_obj[1] ;
23072
23073 if (!args) SWIG_fail;
23074 swig_obj[0] = args;
23075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23076 if (!SWIG_IsOK(res1)) {
23077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23078 }
23079 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23080 {
23081 PyThreadState* __tstate = wxPyBeginAllowThreads();
23082 result = (int)(arg1)->IsSeparator();
23083 wxPyEndAllowThreads(__tstate);
23084 if (PyErr_Occurred()) SWIG_fail;
23085 }
23086 resultobj = SWIG_From_int(static_cast< int >(result));
23087 return resultobj;
23088 fail:
23089 return NULL;
23090 }
23091
23092
23093 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23094 PyObject *resultobj = 0;
23095 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23096 int result;
23097 void *argp1 = 0 ;
23098 int res1 = 0 ;
23099 PyObject *swig_obj[1] ;
23100
23101 if (!args) SWIG_fail;
23102 swig_obj[0] = args;
23103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23104 if (!SWIG_IsOK(res1)) {
23105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23106 }
23107 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23108 {
23109 PyThreadState* __tstate = wxPyBeginAllowThreads();
23110 result = (int)(arg1)->GetStyle();
23111 wxPyEndAllowThreads(__tstate);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 }
23114 resultobj = SWIG_From_int(static_cast< int >(result));
23115 return resultobj;
23116 fail:
23117 return NULL;
23118 }
23119
23120
23121 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23122 PyObject *resultobj = 0;
23123 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23124 wxItemKind result;
23125 void *argp1 = 0 ;
23126 int res1 = 0 ;
23127 PyObject *swig_obj[1] ;
23128
23129 if (!args) SWIG_fail;
23130 swig_obj[0] = args;
23131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23132 if (!SWIG_IsOK(res1)) {
23133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23134 }
23135 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23136 {
23137 PyThreadState* __tstate = wxPyBeginAllowThreads();
23138 result = (wxItemKind)(arg1)->GetKind();
23139 wxPyEndAllowThreads(__tstate);
23140 if (PyErr_Occurred()) SWIG_fail;
23141 }
23142 resultobj = SWIG_From_int(static_cast< int >(result));
23143 return resultobj;
23144 fail:
23145 return NULL;
23146 }
23147
23148
23149 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23150 PyObject *resultobj = 0;
23151 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23152 bool result;
23153 void *argp1 = 0 ;
23154 int res1 = 0 ;
23155 PyObject *swig_obj[1] ;
23156
23157 if (!args) SWIG_fail;
23158 swig_obj[0] = args;
23159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23160 if (!SWIG_IsOK(res1)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23162 }
23163 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23164 {
23165 PyThreadState* __tstate = wxPyBeginAllowThreads();
23166 result = (bool)(arg1)->IsEnabled();
23167 wxPyEndAllowThreads(__tstate);
23168 if (PyErr_Occurred()) SWIG_fail;
23169 }
23170 {
23171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23172 }
23173 return resultobj;
23174 fail:
23175 return NULL;
23176 }
23177
23178
23179 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23180 PyObject *resultobj = 0;
23181 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23182 bool result;
23183 void *argp1 = 0 ;
23184 int res1 = 0 ;
23185 PyObject *swig_obj[1] ;
23186
23187 if (!args) SWIG_fail;
23188 swig_obj[0] = args;
23189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23190 if (!SWIG_IsOK(res1)) {
23191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23192 }
23193 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23194 {
23195 PyThreadState* __tstate = wxPyBeginAllowThreads();
23196 result = (bool)(arg1)->IsToggled();
23197 wxPyEndAllowThreads(__tstate);
23198 if (PyErr_Occurred()) SWIG_fail;
23199 }
23200 {
23201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23202 }
23203 return resultobj;
23204 fail:
23205 return NULL;
23206 }
23207
23208
23209 SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23210 PyObject *resultobj = 0;
23211 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23212 bool result;
23213 void *argp1 = 0 ;
23214 int res1 = 0 ;
23215 PyObject *swig_obj[1] ;
23216
23217 if (!args) SWIG_fail;
23218 swig_obj[0] = args;
23219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23220 if (!SWIG_IsOK(res1)) {
23221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23222 }
23223 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23224 {
23225 PyThreadState* __tstate = wxPyBeginAllowThreads();
23226 result = (bool)(arg1)->CanBeToggled();
23227 wxPyEndAllowThreads(__tstate);
23228 if (PyErr_Occurred()) SWIG_fail;
23229 }
23230 {
23231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23232 }
23233 return resultobj;
23234 fail:
23235 return NULL;
23236 }
23237
23238
23239 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23240 PyObject *resultobj = 0;
23241 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23242 wxBitmap *result = 0 ;
23243 void *argp1 = 0 ;
23244 int res1 = 0 ;
23245 PyObject *swig_obj[1] ;
23246
23247 if (!args) SWIG_fail;
23248 swig_obj[0] = args;
23249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23250 if (!SWIG_IsOK(res1)) {
23251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23252 }
23253 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23254 {
23255 PyThreadState* __tstate = wxPyBeginAllowThreads();
23256 {
23257 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23258 result = (wxBitmap *) &_result_ref;
23259 }
23260 wxPyEndAllowThreads(__tstate);
23261 if (PyErr_Occurred()) SWIG_fail;
23262 }
23263 {
23264 wxBitmap* resultptr = new wxBitmap(*result);
23265 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23266 }
23267 return resultobj;
23268 fail:
23269 return NULL;
23270 }
23271
23272
23273 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23274 PyObject *resultobj = 0;
23275 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23276 wxBitmap *result = 0 ;
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_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23286 }
23287 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23288 {
23289 PyThreadState* __tstate = wxPyBeginAllowThreads();
23290 {
23291 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23292 result = (wxBitmap *) &_result_ref;
23293 }
23294 wxPyEndAllowThreads(__tstate);
23295 if (PyErr_Occurred()) SWIG_fail;
23296 }
23297 {
23298 wxBitmap* resultptr = new wxBitmap(*result);
23299 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23300 }
23301 return resultobj;
23302 fail:
23303 return NULL;
23304 }
23305
23306
23307 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23308 PyObject *resultobj = 0;
23309 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23310 wxBitmap 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_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23320 }
23321 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23322 {
23323 PyThreadState* __tstate = wxPyBeginAllowThreads();
23324 result = (arg1)->GetBitmap();
23325 wxPyEndAllowThreads(__tstate);
23326 if (PyErr_Occurred()) SWIG_fail;
23327 }
23328 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23329 return resultobj;
23330 fail:
23331 return NULL;
23332 }
23333
23334
23335 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23336 PyObject *resultobj = 0;
23337 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23338 wxString result;
23339 void *argp1 = 0 ;
23340 int res1 = 0 ;
23341 PyObject *swig_obj[1] ;
23342
23343 if (!args) SWIG_fail;
23344 swig_obj[0] = args;
23345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23346 if (!SWIG_IsOK(res1)) {
23347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23348 }
23349 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23350 {
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 result = (arg1)->GetLabel();
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 {
23357 #if wxUSE_UNICODE
23358 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23359 #else
23360 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23361 #endif
23362 }
23363 return resultobj;
23364 fail:
23365 return NULL;
23366 }
23367
23368
23369 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23370 PyObject *resultobj = 0;
23371 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23372 wxString result;
23373 void *argp1 = 0 ;
23374 int res1 = 0 ;
23375 PyObject *swig_obj[1] ;
23376
23377 if (!args) SWIG_fail;
23378 swig_obj[0] = args;
23379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23380 if (!SWIG_IsOK(res1)) {
23381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23382 }
23383 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23384 {
23385 PyThreadState* __tstate = wxPyBeginAllowThreads();
23386 result = (arg1)->GetShortHelp();
23387 wxPyEndAllowThreads(__tstate);
23388 if (PyErr_Occurred()) SWIG_fail;
23389 }
23390 {
23391 #if wxUSE_UNICODE
23392 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23393 #else
23394 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23395 #endif
23396 }
23397 return resultobj;
23398 fail:
23399 return NULL;
23400 }
23401
23402
23403 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23404 PyObject *resultobj = 0;
23405 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23406 wxString result;
23407 void *argp1 = 0 ;
23408 int res1 = 0 ;
23409 PyObject *swig_obj[1] ;
23410
23411 if (!args) SWIG_fail;
23412 swig_obj[0] = args;
23413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23414 if (!SWIG_IsOK(res1)) {
23415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23416 }
23417 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23418 {
23419 PyThreadState* __tstate = wxPyBeginAllowThreads();
23420 result = (arg1)->GetLongHelp();
23421 wxPyEndAllowThreads(__tstate);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 }
23424 {
23425 #if wxUSE_UNICODE
23426 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23427 #else
23428 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23429 #endif
23430 }
23431 return resultobj;
23432 fail:
23433 return NULL;
23434 }
23435
23436
23437 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23438 PyObject *resultobj = 0;
23439 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23440 bool arg2 ;
23441 bool result;
23442 void *argp1 = 0 ;
23443 int res1 = 0 ;
23444 bool val2 ;
23445 int ecode2 = 0 ;
23446 PyObject * obj0 = 0 ;
23447 PyObject * obj1 = 0 ;
23448 char * kwnames[] = {
23449 (char *) "self",(char *) "enable", NULL
23450 };
23451
23452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23454 if (!SWIG_IsOK(res1)) {
23455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23456 }
23457 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23458 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23459 if (!SWIG_IsOK(ecode2)) {
23460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23461 }
23462 arg2 = static_cast< bool >(val2);
23463 {
23464 PyThreadState* __tstate = wxPyBeginAllowThreads();
23465 result = (bool)(arg1)->Enable(arg2);
23466 wxPyEndAllowThreads(__tstate);
23467 if (PyErr_Occurred()) SWIG_fail;
23468 }
23469 {
23470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23471 }
23472 return resultobj;
23473 fail:
23474 return NULL;
23475 }
23476
23477
23478 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23479 PyObject *resultobj = 0;
23480 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23481 void *argp1 = 0 ;
23482 int res1 = 0 ;
23483 PyObject *swig_obj[1] ;
23484
23485 if (!args) SWIG_fail;
23486 swig_obj[0] = args;
23487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23488 if (!SWIG_IsOK(res1)) {
23489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23490 }
23491 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23492 {
23493 PyThreadState* __tstate = wxPyBeginAllowThreads();
23494 (arg1)->Toggle();
23495 wxPyEndAllowThreads(__tstate);
23496 if (PyErr_Occurred()) SWIG_fail;
23497 }
23498 resultobj = SWIG_Py_Void();
23499 return resultobj;
23500 fail:
23501 return NULL;
23502 }
23503
23504
23505 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23506 PyObject *resultobj = 0;
23507 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23508 bool arg2 ;
23509 bool result;
23510 void *argp1 = 0 ;
23511 int res1 = 0 ;
23512 bool val2 ;
23513 int ecode2 = 0 ;
23514 PyObject * obj0 = 0 ;
23515 PyObject * obj1 = 0 ;
23516 char * kwnames[] = {
23517 (char *) "self",(char *) "toggle", NULL
23518 };
23519
23520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23522 if (!SWIG_IsOK(res1)) {
23523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23524 }
23525 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23526 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23527 if (!SWIG_IsOK(ecode2)) {
23528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23529 }
23530 arg2 = static_cast< bool >(val2);
23531 {
23532 PyThreadState* __tstate = wxPyBeginAllowThreads();
23533 result = (bool)(arg1)->SetToggle(arg2);
23534 wxPyEndAllowThreads(__tstate);
23535 if (PyErr_Occurred()) SWIG_fail;
23536 }
23537 {
23538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23539 }
23540 return resultobj;
23541 fail:
23542 return NULL;
23543 }
23544
23545
23546 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23547 PyObject *resultobj = 0;
23548 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23549 wxString *arg2 = 0 ;
23550 bool result;
23551 void *argp1 = 0 ;
23552 int res1 = 0 ;
23553 bool temp2 = false ;
23554 PyObject * obj0 = 0 ;
23555 PyObject * obj1 = 0 ;
23556 char * kwnames[] = {
23557 (char *) "self",(char *) "help", NULL
23558 };
23559
23560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23562 if (!SWIG_IsOK(res1)) {
23563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23564 }
23565 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23566 {
23567 arg2 = wxString_in_helper(obj1);
23568 if (arg2 == NULL) SWIG_fail;
23569 temp2 = true;
23570 }
23571 {
23572 PyThreadState* __tstate = wxPyBeginAllowThreads();
23573 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 {
23578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23579 }
23580 {
23581 if (temp2)
23582 delete arg2;
23583 }
23584 return resultobj;
23585 fail:
23586 {
23587 if (temp2)
23588 delete arg2;
23589 }
23590 return NULL;
23591 }
23592
23593
23594 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23595 PyObject *resultobj = 0;
23596 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23597 wxString *arg2 = 0 ;
23598 bool result;
23599 void *argp1 = 0 ;
23600 int res1 = 0 ;
23601 bool temp2 = false ;
23602 PyObject * obj0 = 0 ;
23603 PyObject * obj1 = 0 ;
23604 char * kwnames[] = {
23605 (char *) "self",(char *) "help", NULL
23606 };
23607
23608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23610 if (!SWIG_IsOK(res1)) {
23611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23612 }
23613 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23614 {
23615 arg2 = wxString_in_helper(obj1);
23616 if (arg2 == NULL) SWIG_fail;
23617 temp2 = true;
23618 }
23619 {
23620 PyThreadState* __tstate = wxPyBeginAllowThreads();
23621 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23622 wxPyEndAllowThreads(__tstate);
23623 if (PyErr_Occurred()) SWIG_fail;
23624 }
23625 {
23626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23627 }
23628 {
23629 if (temp2)
23630 delete arg2;
23631 }
23632 return resultobj;
23633 fail:
23634 {
23635 if (temp2)
23636 delete arg2;
23637 }
23638 return NULL;
23639 }
23640
23641
23642 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23643 PyObject *resultobj = 0;
23644 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23645 wxBitmap *arg2 = 0 ;
23646 void *argp1 = 0 ;
23647 int res1 = 0 ;
23648 void *argp2 = 0 ;
23649 int res2 = 0 ;
23650 PyObject * obj0 = 0 ;
23651 PyObject * obj1 = 0 ;
23652 char * kwnames[] = {
23653 (char *) "self",(char *) "bmp", NULL
23654 };
23655
23656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23658 if (!SWIG_IsOK(res1)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23660 }
23661 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23662 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23663 if (!SWIG_IsOK(res2)) {
23664 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23665 }
23666 if (!argp2) {
23667 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23668 }
23669 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23670 {
23671 PyThreadState* __tstate = wxPyBeginAllowThreads();
23672 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23673 wxPyEndAllowThreads(__tstate);
23674 if (PyErr_Occurred()) SWIG_fail;
23675 }
23676 resultobj = SWIG_Py_Void();
23677 return resultobj;
23678 fail:
23679 return NULL;
23680 }
23681
23682
23683 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23684 PyObject *resultobj = 0;
23685 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23686 wxBitmap *arg2 = 0 ;
23687 void *argp1 = 0 ;
23688 int res1 = 0 ;
23689 void *argp2 = 0 ;
23690 int res2 = 0 ;
23691 PyObject * obj0 = 0 ;
23692 PyObject * obj1 = 0 ;
23693 char * kwnames[] = {
23694 (char *) "self",(char *) "bmp", NULL
23695 };
23696
23697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23699 if (!SWIG_IsOK(res1)) {
23700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23701 }
23702 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23703 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23704 if (!SWIG_IsOK(res2)) {
23705 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23706 }
23707 if (!argp2) {
23708 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23709 }
23710 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23711 {
23712 PyThreadState* __tstate = wxPyBeginAllowThreads();
23713 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23714 wxPyEndAllowThreads(__tstate);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
23717 resultobj = SWIG_Py_Void();
23718 return resultobj;
23719 fail:
23720 return NULL;
23721 }
23722
23723
23724 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23725 PyObject *resultobj = 0;
23726 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23727 wxString *arg2 = 0 ;
23728 void *argp1 = 0 ;
23729 int res1 = 0 ;
23730 bool temp2 = false ;
23731 PyObject * obj0 = 0 ;
23732 PyObject * obj1 = 0 ;
23733 char * kwnames[] = {
23734 (char *) "self",(char *) "label", NULL
23735 };
23736
23737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23739 if (!SWIG_IsOK(res1)) {
23740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23741 }
23742 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23743 {
23744 arg2 = wxString_in_helper(obj1);
23745 if (arg2 == NULL) SWIG_fail;
23746 temp2 = true;
23747 }
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 (arg1)->SetLabel((wxString const &)*arg2);
23751 wxPyEndAllowThreads(__tstate);
23752 if (PyErr_Occurred()) SWIG_fail;
23753 }
23754 resultobj = SWIG_Py_Void();
23755 {
23756 if (temp2)
23757 delete arg2;
23758 }
23759 return resultobj;
23760 fail:
23761 {
23762 if (temp2)
23763 delete arg2;
23764 }
23765 return NULL;
23766 }
23767
23768
23769 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23770 PyObject *resultobj = 0;
23771 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23772 void *argp1 = 0 ;
23773 int res1 = 0 ;
23774 PyObject *swig_obj[1] ;
23775
23776 if (!args) SWIG_fail;
23777 swig_obj[0] = args;
23778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23779 if (!SWIG_IsOK(res1)) {
23780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23781 }
23782 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23783 {
23784 PyThreadState* __tstate = wxPyBeginAllowThreads();
23785 (arg1)->Detach();
23786 wxPyEndAllowThreads(__tstate);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 }
23789 resultobj = SWIG_Py_Void();
23790 return resultobj;
23791 fail:
23792 return NULL;
23793 }
23794
23795
23796 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23797 PyObject *resultobj = 0;
23798 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23799 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23800 void *argp1 = 0 ;
23801 int res1 = 0 ;
23802 void *argp2 = 0 ;
23803 int res2 = 0 ;
23804 PyObject * obj0 = 0 ;
23805 PyObject * obj1 = 0 ;
23806 char * kwnames[] = {
23807 (char *) "self",(char *) "tbar", NULL
23808 };
23809
23810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23812 if (!SWIG_IsOK(res1)) {
23813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23814 }
23815 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23816 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23817 if (!SWIG_IsOK(res2)) {
23818 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23819 }
23820 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23821 {
23822 PyThreadState* __tstate = wxPyBeginAllowThreads();
23823 (arg1)->Attach(arg2);
23824 wxPyEndAllowThreads(__tstate);
23825 if (PyErr_Occurred()) SWIG_fail;
23826 }
23827 resultobj = SWIG_Py_Void();
23828 return resultobj;
23829 fail:
23830 return NULL;
23831 }
23832
23833
23834 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23835 PyObject *resultobj = 0;
23836 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23837 PyObject *result = 0 ;
23838 void *argp1 = 0 ;
23839 int res1 = 0 ;
23840 PyObject *swig_obj[1] ;
23841
23842 if (!args) SWIG_fail;
23843 swig_obj[0] = args;
23844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23845 if (!SWIG_IsOK(res1)) {
23846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23847 }
23848 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23849 {
23850 PyThreadState* __tstate = wxPyBeginAllowThreads();
23851 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23852 wxPyEndAllowThreads(__tstate);
23853 if (PyErr_Occurred()) SWIG_fail;
23854 }
23855 resultobj = result;
23856 return resultobj;
23857 fail:
23858 return NULL;
23859 }
23860
23861
23862 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23863 PyObject *resultobj = 0;
23864 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23865 PyObject *arg2 = (PyObject *) 0 ;
23866 void *argp1 = 0 ;
23867 int res1 = 0 ;
23868 PyObject * obj0 = 0 ;
23869 PyObject * obj1 = 0 ;
23870 char * kwnames[] = {
23871 (char *) "self",(char *) "clientData", NULL
23872 };
23873
23874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23876 if (!SWIG_IsOK(res1)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23878 }
23879 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23880 arg2 = obj1;
23881 {
23882 PyThreadState* __tstate = wxPyBeginAllowThreads();
23883 wxToolBarToolBase_SetClientData(arg1,arg2);
23884 wxPyEndAllowThreads(__tstate);
23885 if (PyErr_Occurred()) SWIG_fail;
23886 }
23887 resultobj = SWIG_Py_Void();
23888 return resultobj;
23889 fail:
23890 return NULL;
23891 }
23892
23893
23894 SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23895 PyObject *obj;
23896 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23897 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23898 return SWIG_Py_Void();
23899 }
23900
23901 SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23902 PyObject *resultobj = 0;
23903 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23904 int arg2 ;
23905 wxString *arg3 = 0 ;
23906 wxBitmap *arg4 = 0 ;
23907 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23908 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23909 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23910 wxString const &arg7_defvalue = wxPyEmptyString ;
23911 wxString *arg7 = (wxString *) &arg7_defvalue ;
23912 wxString const &arg8_defvalue = wxPyEmptyString ;
23913 wxString *arg8 = (wxString *) &arg8_defvalue ;
23914 PyObject *arg9 = (PyObject *) NULL ;
23915 wxToolBarToolBase *result = 0 ;
23916 void *argp1 = 0 ;
23917 int res1 = 0 ;
23918 int val2 ;
23919 int ecode2 = 0 ;
23920 bool temp3 = false ;
23921 void *argp4 = 0 ;
23922 int res4 = 0 ;
23923 void *argp5 = 0 ;
23924 int res5 = 0 ;
23925 int val6 ;
23926 int ecode6 = 0 ;
23927 bool temp7 = false ;
23928 bool temp8 = false ;
23929 PyObject * obj0 = 0 ;
23930 PyObject * obj1 = 0 ;
23931 PyObject * obj2 = 0 ;
23932 PyObject * obj3 = 0 ;
23933 PyObject * obj4 = 0 ;
23934 PyObject * obj5 = 0 ;
23935 PyObject * obj6 = 0 ;
23936 PyObject * obj7 = 0 ;
23937 PyObject * obj8 = 0 ;
23938 char * kwnames[] = {
23939 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23940 };
23941
23942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23944 if (!SWIG_IsOK(res1)) {
23945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23946 }
23947 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23948 ecode2 = SWIG_AsVal_int(obj1, &val2);
23949 if (!SWIG_IsOK(ecode2)) {
23950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23951 }
23952 arg2 = static_cast< int >(val2);
23953 {
23954 arg3 = wxString_in_helper(obj2);
23955 if (arg3 == NULL) SWIG_fail;
23956 temp3 = true;
23957 }
23958 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23959 if (!SWIG_IsOK(res4)) {
23960 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23961 }
23962 if (!argp4) {
23963 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23964 }
23965 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23966 if (obj4) {
23967 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23968 if (!SWIG_IsOK(res5)) {
23969 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23970 }
23971 if (!argp5) {
23972 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23973 }
23974 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23975 }
23976 if (obj5) {
23977 ecode6 = SWIG_AsVal_int(obj5, &val6);
23978 if (!SWIG_IsOK(ecode6)) {
23979 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23980 }
23981 arg6 = static_cast< wxItemKind >(val6);
23982 }
23983 if (obj6) {
23984 {
23985 arg7 = wxString_in_helper(obj6);
23986 if (arg7 == NULL) SWIG_fail;
23987 temp7 = true;
23988 }
23989 }
23990 if (obj7) {
23991 {
23992 arg8 = wxString_in_helper(obj7);
23993 if (arg8 == NULL) SWIG_fail;
23994 temp8 = true;
23995 }
23996 }
23997 if (obj8) {
23998 arg9 = obj8;
23999 }
24000 {
24001 PyThreadState* __tstate = wxPyBeginAllowThreads();
24002 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
24003 wxPyEndAllowThreads(__tstate);
24004 if (PyErr_Occurred()) SWIG_fail;
24005 }
24006 {
24007 resultobj = wxPyMake_wxObject(result, (bool)0);
24008 }
24009 {
24010 if (temp3)
24011 delete arg3;
24012 }
24013 {
24014 if (temp7)
24015 delete arg7;
24016 }
24017 {
24018 if (temp8)
24019 delete arg8;
24020 }
24021 return resultobj;
24022 fail:
24023 {
24024 if (temp3)
24025 delete arg3;
24026 }
24027 {
24028 if (temp7)
24029 delete arg7;
24030 }
24031 {
24032 if (temp8)
24033 delete arg8;
24034 }
24035 return NULL;
24036 }
24037
24038
24039 SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24040 PyObject *resultobj = 0;
24041 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24042 size_t arg2 ;
24043 int arg3 ;
24044 wxString *arg4 = 0 ;
24045 wxBitmap *arg5 = 0 ;
24046 wxBitmap const &arg6_defvalue = wxNullBitmap ;
24047 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
24048 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
24049 wxString const &arg8_defvalue = wxPyEmptyString ;
24050 wxString *arg8 = (wxString *) &arg8_defvalue ;
24051 wxString const &arg9_defvalue = wxPyEmptyString ;
24052 wxString *arg9 = (wxString *) &arg9_defvalue ;
24053 PyObject *arg10 = (PyObject *) NULL ;
24054 wxToolBarToolBase *result = 0 ;
24055 void *argp1 = 0 ;
24056 int res1 = 0 ;
24057 size_t val2 ;
24058 int ecode2 = 0 ;
24059 int val3 ;
24060 int ecode3 = 0 ;
24061 bool temp4 = false ;
24062 void *argp5 = 0 ;
24063 int res5 = 0 ;
24064 void *argp6 = 0 ;
24065 int res6 = 0 ;
24066 int val7 ;
24067 int ecode7 = 0 ;
24068 bool temp8 = false ;
24069 bool temp9 = false ;
24070 PyObject * obj0 = 0 ;
24071 PyObject * obj1 = 0 ;
24072 PyObject * obj2 = 0 ;
24073 PyObject * obj3 = 0 ;
24074 PyObject * obj4 = 0 ;
24075 PyObject * obj5 = 0 ;
24076 PyObject * obj6 = 0 ;
24077 PyObject * obj7 = 0 ;
24078 PyObject * obj8 = 0 ;
24079 PyObject * obj9 = 0 ;
24080 char * kwnames[] = {
24081 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24082 };
24083
24084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
24085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24086 if (!SWIG_IsOK(res1)) {
24087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24088 }
24089 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24090 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24091 if (!SWIG_IsOK(ecode2)) {
24092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24093 }
24094 arg2 = static_cast< size_t >(val2);
24095 ecode3 = SWIG_AsVal_int(obj2, &val3);
24096 if (!SWIG_IsOK(ecode3)) {
24097 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24098 }
24099 arg3 = static_cast< int >(val3);
24100 {
24101 arg4 = wxString_in_helper(obj3);
24102 if (arg4 == NULL) SWIG_fail;
24103 temp4 = true;
24104 }
24105 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
24106 if (!SWIG_IsOK(res5)) {
24107 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24108 }
24109 if (!argp5) {
24110 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24111 }
24112 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24113 if (obj5) {
24114 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
24115 if (!SWIG_IsOK(res6)) {
24116 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24117 }
24118 if (!argp6) {
24119 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24120 }
24121 arg6 = reinterpret_cast< wxBitmap * >(argp6);
24122 }
24123 if (obj6) {
24124 ecode7 = SWIG_AsVal_int(obj6, &val7);
24125 if (!SWIG_IsOK(ecode7)) {
24126 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24127 }
24128 arg7 = static_cast< wxItemKind >(val7);
24129 }
24130 if (obj7) {
24131 {
24132 arg8 = wxString_in_helper(obj7);
24133 if (arg8 == NULL) SWIG_fail;
24134 temp8 = true;
24135 }
24136 }
24137 if (obj8) {
24138 {
24139 arg9 = wxString_in_helper(obj8);
24140 if (arg9 == NULL) SWIG_fail;
24141 temp9 = true;
24142 }
24143 }
24144 if (obj9) {
24145 arg10 = obj9;
24146 }
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
24150 wxPyEndAllowThreads(__tstate);
24151 if (PyErr_Occurred()) SWIG_fail;
24152 }
24153 {
24154 resultobj = wxPyMake_wxObject(result, (bool)0);
24155 }
24156 {
24157 if (temp4)
24158 delete arg4;
24159 }
24160 {
24161 if (temp8)
24162 delete arg8;
24163 }
24164 {
24165 if (temp9)
24166 delete arg9;
24167 }
24168 return resultobj;
24169 fail:
24170 {
24171 if (temp4)
24172 delete arg4;
24173 }
24174 {
24175 if (temp8)
24176 delete arg8;
24177 }
24178 {
24179 if (temp9)
24180 delete arg9;
24181 }
24182 return NULL;
24183 }
24184
24185
24186 SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24187 PyObject *resultobj = 0;
24188 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24189 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
24190 wxToolBarToolBase *result = 0 ;
24191 void *argp1 = 0 ;
24192 int res1 = 0 ;
24193 void *argp2 = 0 ;
24194 int res2 = 0 ;
24195 PyObject * obj0 = 0 ;
24196 PyObject * obj1 = 0 ;
24197 char * kwnames[] = {
24198 (char *) "self",(char *) "tool", NULL
24199 };
24200
24201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
24202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24203 if (!SWIG_IsOK(res1)) {
24204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24205 }
24206 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24207 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24208 if (!SWIG_IsOK(res2)) {
24209 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24210 }
24211 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
24212 {
24213 PyThreadState* __tstate = wxPyBeginAllowThreads();
24214 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
24215 wxPyEndAllowThreads(__tstate);
24216 if (PyErr_Occurred()) SWIG_fail;
24217 }
24218 {
24219 resultobj = wxPyMake_wxObject(result, (bool)0);
24220 }
24221 return resultobj;
24222 fail:
24223 return NULL;
24224 }
24225
24226
24227 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24228 PyObject *resultobj = 0;
24229 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24230 size_t arg2 ;
24231 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24232 wxToolBarToolBase *result = 0 ;
24233 void *argp1 = 0 ;
24234 int res1 = 0 ;
24235 size_t val2 ;
24236 int ecode2 = 0 ;
24237 void *argp3 = 0 ;
24238 int res3 = 0 ;
24239 PyObject * obj0 = 0 ;
24240 PyObject * obj1 = 0 ;
24241 PyObject * obj2 = 0 ;
24242 char * kwnames[] = {
24243 (char *) "self",(char *) "pos",(char *) "tool", NULL
24244 };
24245
24246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24248 if (!SWIG_IsOK(res1)) {
24249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24250 }
24251 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24252 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24253 if (!SWIG_IsOK(ecode2)) {
24254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24255 }
24256 arg2 = static_cast< size_t >(val2);
24257 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24258 if (!SWIG_IsOK(res3)) {
24259 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24260 }
24261 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24262 {
24263 PyThreadState* __tstate = wxPyBeginAllowThreads();
24264 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
24265 wxPyEndAllowThreads(__tstate);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 }
24268 {
24269 resultobj = wxPyMake_wxObject(result, (bool)0);
24270 }
24271 return resultobj;
24272 fail:
24273 return NULL;
24274 }
24275
24276
24277 SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24278 PyObject *resultobj = 0;
24279 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24280 wxControl *arg2 = (wxControl *) 0 ;
24281 wxToolBarToolBase *result = 0 ;
24282 void *argp1 = 0 ;
24283 int res1 = 0 ;
24284 void *argp2 = 0 ;
24285 int res2 = 0 ;
24286 PyObject * obj0 = 0 ;
24287 PyObject * obj1 = 0 ;
24288 char * kwnames[] = {
24289 (char *) "self",(char *) "control", NULL
24290 };
24291
24292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
24293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24294 if (!SWIG_IsOK(res1)) {
24295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24296 }
24297 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24298 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24299 if (!SWIG_IsOK(res2)) {
24300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24301 }
24302 arg2 = reinterpret_cast< wxControl * >(argp2);
24303 {
24304 PyThreadState* __tstate = wxPyBeginAllowThreads();
24305 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
24306 wxPyEndAllowThreads(__tstate);
24307 if (PyErr_Occurred()) SWIG_fail;
24308 }
24309 {
24310 resultobj = wxPyMake_wxObject(result, (bool)0);
24311 }
24312 return resultobj;
24313 fail:
24314 return NULL;
24315 }
24316
24317
24318 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24319 PyObject *resultobj = 0;
24320 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24321 size_t arg2 ;
24322 wxControl *arg3 = (wxControl *) 0 ;
24323 wxToolBarToolBase *result = 0 ;
24324 void *argp1 = 0 ;
24325 int res1 = 0 ;
24326 size_t val2 ;
24327 int ecode2 = 0 ;
24328 void *argp3 = 0 ;
24329 int res3 = 0 ;
24330 PyObject * obj0 = 0 ;
24331 PyObject * obj1 = 0 ;
24332 PyObject * obj2 = 0 ;
24333 char * kwnames[] = {
24334 (char *) "self",(char *) "pos",(char *) "control", NULL
24335 };
24336
24337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24339 if (!SWIG_IsOK(res1)) {
24340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24341 }
24342 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24343 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24344 if (!SWIG_IsOK(ecode2)) {
24345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24346 }
24347 arg2 = static_cast< size_t >(val2);
24348 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24349 if (!SWIG_IsOK(res3)) {
24350 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24351 }
24352 arg3 = reinterpret_cast< wxControl * >(argp3);
24353 {
24354 PyThreadState* __tstate = wxPyBeginAllowThreads();
24355 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
24356 wxPyEndAllowThreads(__tstate);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 }
24359 {
24360 resultobj = wxPyMake_wxObject(result, (bool)0);
24361 }
24362 return resultobj;
24363 fail:
24364 return NULL;
24365 }
24366
24367
24368 SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24369 PyObject *resultobj = 0;
24370 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24371 int arg2 ;
24372 wxControl *result = 0 ;
24373 void *argp1 = 0 ;
24374 int res1 = 0 ;
24375 int val2 ;
24376 int ecode2 = 0 ;
24377 PyObject * obj0 = 0 ;
24378 PyObject * obj1 = 0 ;
24379 char * kwnames[] = {
24380 (char *) "self",(char *) "id", NULL
24381 };
24382
24383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24385 if (!SWIG_IsOK(res1)) {
24386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24387 }
24388 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24389 ecode2 = SWIG_AsVal_int(obj1, &val2);
24390 if (!SWIG_IsOK(ecode2)) {
24391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24392 }
24393 arg2 = static_cast< int >(val2);
24394 {
24395 PyThreadState* __tstate = wxPyBeginAllowThreads();
24396 result = (wxControl *)(arg1)->FindControl(arg2);
24397 wxPyEndAllowThreads(__tstate);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
24400 {
24401 resultobj = wxPyMake_wxObject(result, 0);
24402 }
24403 return resultobj;
24404 fail:
24405 return NULL;
24406 }
24407
24408
24409 SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24410 PyObject *resultobj = 0;
24411 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24412 wxToolBarToolBase *result = 0 ;
24413 void *argp1 = 0 ;
24414 int res1 = 0 ;
24415 PyObject *swig_obj[1] ;
24416
24417 if (!args) SWIG_fail;
24418 swig_obj[0] = args;
24419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24420 if (!SWIG_IsOK(res1)) {
24421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24422 }
24423 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24424 {
24425 PyThreadState* __tstate = wxPyBeginAllowThreads();
24426 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24427 wxPyEndAllowThreads(__tstate);
24428 if (PyErr_Occurred()) SWIG_fail;
24429 }
24430 {
24431 resultobj = wxPyMake_wxObject(result, (bool)0);
24432 }
24433 return resultobj;
24434 fail:
24435 return NULL;
24436 }
24437
24438
24439 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24440 PyObject *resultobj = 0;
24441 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24442 size_t arg2 ;
24443 wxToolBarToolBase *result = 0 ;
24444 void *argp1 = 0 ;
24445 int res1 = 0 ;
24446 size_t val2 ;
24447 int ecode2 = 0 ;
24448 PyObject * obj0 = 0 ;
24449 PyObject * obj1 = 0 ;
24450 char * kwnames[] = {
24451 (char *) "self",(char *) "pos", NULL
24452 };
24453
24454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24456 if (!SWIG_IsOK(res1)) {
24457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24458 }
24459 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24460 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24461 if (!SWIG_IsOK(ecode2)) {
24462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24463 }
24464 arg2 = static_cast< size_t >(val2);
24465 {
24466 PyThreadState* __tstate = wxPyBeginAllowThreads();
24467 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24468 wxPyEndAllowThreads(__tstate);
24469 if (PyErr_Occurred()) SWIG_fail;
24470 }
24471 {
24472 resultobj = wxPyMake_wxObject(result, (bool)0);
24473 }
24474 return resultobj;
24475 fail:
24476 return NULL;
24477 }
24478
24479
24480 SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24481 PyObject *resultobj = 0;
24482 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24483 int arg2 ;
24484 wxToolBarToolBase *result = 0 ;
24485 void *argp1 = 0 ;
24486 int res1 = 0 ;
24487 int val2 ;
24488 int ecode2 = 0 ;
24489 PyObject * obj0 = 0 ;
24490 PyObject * obj1 = 0 ;
24491 char * kwnames[] = {
24492 (char *) "self",(char *) "id", NULL
24493 };
24494
24495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24497 if (!SWIG_IsOK(res1)) {
24498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24499 }
24500 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24501 ecode2 = SWIG_AsVal_int(obj1, &val2);
24502 if (!SWIG_IsOK(ecode2)) {
24503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24504 }
24505 arg2 = static_cast< int >(val2);
24506 {
24507 PyThreadState* __tstate = wxPyBeginAllowThreads();
24508 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24509 wxPyEndAllowThreads(__tstate);
24510 if (PyErr_Occurred()) SWIG_fail;
24511 }
24512 {
24513 resultobj = wxPyMake_wxObject(result, (bool)0);
24514 }
24515 return resultobj;
24516 fail:
24517 return NULL;
24518 }
24519
24520
24521 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24522 PyObject *resultobj = 0;
24523 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24524 size_t arg2 ;
24525 bool result;
24526 void *argp1 = 0 ;
24527 int res1 = 0 ;
24528 size_t val2 ;
24529 int ecode2 = 0 ;
24530 PyObject * obj0 = 0 ;
24531 PyObject * obj1 = 0 ;
24532 char * kwnames[] = {
24533 (char *) "self",(char *) "pos", NULL
24534 };
24535
24536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24538 if (!SWIG_IsOK(res1)) {
24539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24540 }
24541 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24542 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24543 if (!SWIG_IsOK(ecode2)) {
24544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24545 }
24546 arg2 = static_cast< size_t >(val2);
24547 {
24548 PyThreadState* __tstate = wxPyBeginAllowThreads();
24549 result = (bool)(arg1)->DeleteToolByPos(arg2);
24550 wxPyEndAllowThreads(__tstate);
24551 if (PyErr_Occurred()) SWIG_fail;
24552 }
24553 {
24554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24555 }
24556 return resultobj;
24557 fail:
24558 return NULL;
24559 }
24560
24561
24562 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24563 PyObject *resultobj = 0;
24564 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24565 int arg2 ;
24566 bool result;
24567 void *argp1 = 0 ;
24568 int res1 = 0 ;
24569 int val2 ;
24570 int ecode2 = 0 ;
24571 PyObject * obj0 = 0 ;
24572 PyObject * obj1 = 0 ;
24573 char * kwnames[] = {
24574 (char *) "self",(char *) "id", NULL
24575 };
24576
24577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24579 if (!SWIG_IsOK(res1)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24581 }
24582 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24583 ecode2 = SWIG_AsVal_int(obj1, &val2);
24584 if (!SWIG_IsOK(ecode2)) {
24585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24586 }
24587 arg2 = static_cast< int >(val2);
24588 {
24589 PyThreadState* __tstate = wxPyBeginAllowThreads();
24590 result = (bool)(arg1)->DeleteTool(arg2);
24591 wxPyEndAllowThreads(__tstate);
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
24594 {
24595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24596 }
24597 return resultobj;
24598 fail:
24599 return NULL;
24600 }
24601
24602
24603 SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24604 PyObject *resultobj = 0;
24605 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24606 void *argp1 = 0 ;
24607 int res1 = 0 ;
24608 PyObject *swig_obj[1] ;
24609
24610 if (!args) SWIG_fail;
24611 swig_obj[0] = args;
24612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24613 if (!SWIG_IsOK(res1)) {
24614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24615 }
24616 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24617 {
24618 PyThreadState* __tstate = wxPyBeginAllowThreads();
24619 (arg1)->ClearTools();
24620 wxPyEndAllowThreads(__tstate);
24621 if (PyErr_Occurred()) SWIG_fail;
24622 }
24623 resultobj = SWIG_Py_Void();
24624 return resultobj;
24625 fail:
24626 return NULL;
24627 }
24628
24629
24630 SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24631 PyObject *resultobj = 0;
24632 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24633 bool result;
24634 void *argp1 = 0 ;
24635 int res1 = 0 ;
24636 PyObject *swig_obj[1] ;
24637
24638 if (!args) SWIG_fail;
24639 swig_obj[0] = args;
24640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24641 if (!SWIG_IsOK(res1)) {
24642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24643 }
24644 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24645 {
24646 PyThreadState* __tstate = wxPyBeginAllowThreads();
24647 result = (bool)(arg1)->Realize();
24648 wxPyEndAllowThreads(__tstate);
24649 if (PyErr_Occurred()) SWIG_fail;
24650 }
24651 {
24652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24653 }
24654 return resultobj;
24655 fail:
24656 return NULL;
24657 }
24658
24659
24660 SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24661 PyObject *resultobj = 0;
24662 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24663 int arg2 ;
24664 bool arg3 ;
24665 void *argp1 = 0 ;
24666 int res1 = 0 ;
24667 int val2 ;
24668 int ecode2 = 0 ;
24669 bool val3 ;
24670 int ecode3 = 0 ;
24671 PyObject * obj0 = 0 ;
24672 PyObject * obj1 = 0 ;
24673 PyObject * obj2 = 0 ;
24674 char * kwnames[] = {
24675 (char *) "self",(char *) "id",(char *) "enable", NULL
24676 };
24677
24678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24680 if (!SWIG_IsOK(res1)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24682 }
24683 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24684 ecode2 = SWIG_AsVal_int(obj1, &val2);
24685 if (!SWIG_IsOK(ecode2)) {
24686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24687 }
24688 arg2 = static_cast< int >(val2);
24689 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24690 if (!SWIG_IsOK(ecode3)) {
24691 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24692 }
24693 arg3 = static_cast< bool >(val3);
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 (arg1)->EnableTool(arg2,arg3);
24697 wxPyEndAllowThreads(__tstate);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 resultobj = SWIG_Py_Void();
24701 return resultobj;
24702 fail:
24703 return NULL;
24704 }
24705
24706
24707 SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24708 PyObject *resultobj = 0;
24709 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24710 int arg2 ;
24711 bool arg3 ;
24712 void *argp1 = 0 ;
24713 int res1 = 0 ;
24714 int val2 ;
24715 int ecode2 = 0 ;
24716 bool val3 ;
24717 int ecode3 = 0 ;
24718 PyObject * obj0 = 0 ;
24719 PyObject * obj1 = 0 ;
24720 PyObject * obj2 = 0 ;
24721 char * kwnames[] = {
24722 (char *) "self",(char *) "id",(char *) "toggle", NULL
24723 };
24724
24725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24727 if (!SWIG_IsOK(res1)) {
24728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24729 }
24730 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24731 ecode2 = SWIG_AsVal_int(obj1, &val2);
24732 if (!SWIG_IsOK(ecode2)) {
24733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24734 }
24735 arg2 = static_cast< int >(val2);
24736 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24737 if (!SWIG_IsOK(ecode3)) {
24738 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24739 }
24740 arg3 = static_cast< bool >(val3);
24741 {
24742 PyThreadState* __tstate = wxPyBeginAllowThreads();
24743 (arg1)->ToggleTool(arg2,arg3);
24744 wxPyEndAllowThreads(__tstate);
24745 if (PyErr_Occurred()) SWIG_fail;
24746 }
24747 resultobj = SWIG_Py_Void();
24748 return resultobj;
24749 fail:
24750 return NULL;
24751 }
24752
24753
24754 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24755 PyObject *resultobj = 0;
24756 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24757 int arg2 ;
24758 bool arg3 ;
24759 void *argp1 = 0 ;
24760 int res1 = 0 ;
24761 int val2 ;
24762 int ecode2 = 0 ;
24763 bool val3 ;
24764 int ecode3 = 0 ;
24765 PyObject * obj0 = 0 ;
24766 PyObject * obj1 = 0 ;
24767 PyObject * obj2 = 0 ;
24768 char * kwnames[] = {
24769 (char *) "self",(char *) "id",(char *) "toggle", NULL
24770 };
24771
24772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24774 if (!SWIG_IsOK(res1)) {
24775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24776 }
24777 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24778 ecode2 = SWIG_AsVal_int(obj1, &val2);
24779 if (!SWIG_IsOK(ecode2)) {
24780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24781 }
24782 arg2 = static_cast< int >(val2);
24783 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24784 if (!SWIG_IsOK(ecode3)) {
24785 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24786 }
24787 arg3 = static_cast< bool >(val3);
24788 {
24789 PyThreadState* __tstate = wxPyBeginAllowThreads();
24790 (arg1)->SetToggle(arg2,arg3);
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 resultobj = SWIG_Py_Void();
24795 return resultobj;
24796 fail:
24797 return NULL;
24798 }
24799
24800
24801 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24802 PyObject *resultobj = 0;
24803 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24804 int arg2 ;
24805 PyObject *result = 0 ;
24806 void *argp1 = 0 ;
24807 int res1 = 0 ;
24808 int val2 ;
24809 int ecode2 = 0 ;
24810 PyObject * obj0 = 0 ;
24811 PyObject * obj1 = 0 ;
24812 char * kwnames[] = {
24813 (char *) "self",(char *) "id", NULL
24814 };
24815
24816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24818 if (!SWIG_IsOK(res1)) {
24819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24820 }
24821 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24822 ecode2 = SWIG_AsVal_int(obj1, &val2);
24823 if (!SWIG_IsOK(ecode2)) {
24824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24825 }
24826 arg2 = static_cast< int >(val2);
24827 {
24828 PyThreadState* __tstate = wxPyBeginAllowThreads();
24829 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24830 wxPyEndAllowThreads(__tstate);
24831 if (PyErr_Occurred()) SWIG_fail;
24832 }
24833 resultobj = result;
24834 return resultobj;
24835 fail:
24836 return NULL;
24837 }
24838
24839
24840 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24841 PyObject *resultobj = 0;
24842 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24843 int arg2 ;
24844 PyObject *arg3 = (PyObject *) 0 ;
24845 void *argp1 = 0 ;
24846 int res1 = 0 ;
24847 int val2 ;
24848 int ecode2 = 0 ;
24849 PyObject * obj0 = 0 ;
24850 PyObject * obj1 = 0 ;
24851 PyObject * obj2 = 0 ;
24852 char * kwnames[] = {
24853 (char *) "self",(char *) "id",(char *) "clientData", NULL
24854 };
24855
24856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24858 if (!SWIG_IsOK(res1)) {
24859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24860 }
24861 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24862 ecode2 = SWIG_AsVal_int(obj1, &val2);
24863 if (!SWIG_IsOK(ecode2)) {
24864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24865 }
24866 arg2 = static_cast< int >(val2);
24867 arg3 = obj2;
24868 {
24869 PyThreadState* __tstate = wxPyBeginAllowThreads();
24870 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24871 wxPyEndAllowThreads(__tstate);
24872 if (PyErr_Occurred()) SWIG_fail;
24873 }
24874 resultobj = SWIG_Py_Void();
24875 return resultobj;
24876 fail:
24877 return NULL;
24878 }
24879
24880
24881 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24882 PyObject *resultobj = 0;
24883 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24884 int arg2 ;
24885 int result;
24886 void *argp1 = 0 ;
24887 int res1 = 0 ;
24888 int val2 ;
24889 int ecode2 = 0 ;
24890 PyObject * obj0 = 0 ;
24891 PyObject * obj1 = 0 ;
24892 char * kwnames[] = {
24893 (char *) "self",(char *) "id", NULL
24894 };
24895
24896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24898 if (!SWIG_IsOK(res1)) {
24899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24900 }
24901 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24902 ecode2 = SWIG_AsVal_int(obj1, &val2);
24903 if (!SWIG_IsOK(ecode2)) {
24904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24905 }
24906 arg2 = static_cast< int >(val2);
24907 {
24908 PyThreadState* __tstate = wxPyBeginAllowThreads();
24909 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24910 wxPyEndAllowThreads(__tstate);
24911 if (PyErr_Occurred()) SWIG_fail;
24912 }
24913 resultobj = SWIG_From_int(static_cast< int >(result));
24914 return resultobj;
24915 fail:
24916 return NULL;
24917 }
24918
24919
24920 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24921 PyObject *resultobj = 0;
24922 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24923 int arg2 ;
24924 bool result;
24925 void *argp1 = 0 ;
24926 int res1 = 0 ;
24927 int val2 ;
24928 int ecode2 = 0 ;
24929 PyObject * obj0 = 0 ;
24930 PyObject * obj1 = 0 ;
24931 char * kwnames[] = {
24932 (char *) "self",(char *) "id", NULL
24933 };
24934
24935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24937 if (!SWIG_IsOK(res1)) {
24938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24939 }
24940 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24941 ecode2 = SWIG_AsVal_int(obj1, &val2);
24942 if (!SWIG_IsOK(ecode2)) {
24943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24944 }
24945 arg2 = static_cast< int >(val2);
24946 {
24947 PyThreadState* __tstate = wxPyBeginAllowThreads();
24948 result = (bool)(arg1)->GetToolState(arg2);
24949 wxPyEndAllowThreads(__tstate);
24950 if (PyErr_Occurred()) SWIG_fail;
24951 }
24952 {
24953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24954 }
24955 return resultobj;
24956 fail:
24957 return NULL;
24958 }
24959
24960
24961 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24962 PyObject *resultobj = 0;
24963 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24964 int arg2 ;
24965 bool result;
24966 void *argp1 = 0 ;
24967 int res1 = 0 ;
24968 int val2 ;
24969 int ecode2 = 0 ;
24970 PyObject * obj0 = 0 ;
24971 PyObject * obj1 = 0 ;
24972 char * kwnames[] = {
24973 (char *) "self",(char *) "id", NULL
24974 };
24975
24976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24978 if (!SWIG_IsOK(res1)) {
24979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24980 }
24981 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24982 ecode2 = SWIG_AsVal_int(obj1, &val2);
24983 if (!SWIG_IsOK(ecode2)) {
24984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24985 }
24986 arg2 = static_cast< int >(val2);
24987 {
24988 PyThreadState* __tstate = wxPyBeginAllowThreads();
24989 result = (bool)(arg1)->GetToolEnabled(arg2);
24990 wxPyEndAllowThreads(__tstate);
24991 if (PyErr_Occurred()) SWIG_fail;
24992 }
24993 {
24994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24995 }
24996 return resultobj;
24997 fail:
24998 return NULL;
24999 }
25000
25001
25002 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25003 PyObject *resultobj = 0;
25004 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25005 int arg2 ;
25006 wxString *arg3 = 0 ;
25007 void *argp1 = 0 ;
25008 int res1 = 0 ;
25009 int val2 ;
25010 int ecode2 = 0 ;
25011 bool temp3 = false ;
25012 PyObject * obj0 = 0 ;
25013 PyObject * obj1 = 0 ;
25014 PyObject * obj2 = 0 ;
25015 char * kwnames[] = {
25016 (char *) "self",(char *) "id",(char *) "helpString", NULL
25017 };
25018
25019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25021 if (!SWIG_IsOK(res1)) {
25022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25023 }
25024 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25025 ecode2 = SWIG_AsVal_int(obj1, &val2);
25026 if (!SWIG_IsOK(ecode2)) {
25027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25028 }
25029 arg2 = static_cast< int >(val2);
25030 {
25031 arg3 = wxString_in_helper(obj2);
25032 if (arg3 == NULL) SWIG_fail;
25033 temp3 = true;
25034 }
25035 {
25036 PyThreadState* __tstate = wxPyBeginAllowThreads();
25037 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
25038 wxPyEndAllowThreads(__tstate);
25039 if (PyErr_Occurred()) SWIG_fail;
25040 }
25041 resultobj = SWIG_Py_Void();
25042 {
25043 if (temp3)
25044 delete arg3;
25045 }
25046 return resultobj;
25047 fail:
25048 {
25049 if (temp3)
25050 delete arg3;
25051 }
25052 return NULL;
25053 }
25054
25055
25056 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25057 PyObject *resultobj = 0;
25058 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25059 int arg2 ;
25060 wxString result;
25061 void *argp1 = 0 ;
25062 int res1 = 0 ;
25063 int val2 ;
25064 int ecode2 = 0 ;
25065 PyObject * obj0 = 0 ;
25066 PyObject * obj1 = 0 ;
25067 char * kwnames[] = {
25068 (char *) "self",(char *) "id", NULL
25069 };
25070
25071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25073 if (!SWIG_IsOK(res1)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25075 }
25076 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25077 ecode2 = SWIG_AsVal_int(obj1, &val2);
25078 if (!SWIG_IsOK(ecode2)) {
25079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25080 }
25081 arg2 = static_cast< int >(val2);
25082 {
25083 PyThreadState* __tstate = wxPyBeginAllowThreads();
25084 result = (arg1)->GetToolShortHelp(arg2);
25085 wxPyEndAllowThreads(__tstate);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 }
25088 {
25089 #if wxUSE_UNICODE
25090 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25091 #else
25092 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25093 #endif
25094 }
25095 return resultobj;
25096 fail:
25097 return NULL;
25098 }
25099
25100
25101 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25102 PyObject *resultobj = 0;
25103 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25104 int arg2 ;
25105 wxString *arg3 = 0 ;
25106 void *argp1 = 0 ;
25107 int res1 = 0 ;
25108 int val2 ;
25109 int ecode2 = 0 ;
25110 bool temp3 = false ;
25111 PyObject * obj0 = 0 ;
25112 PyObject * obj1 = 0 ;
25113 PyObject * obj2 = 0 ;
25114 char * kwnames[] = {
25115 (char *) "self",(char *) "id",(char *) "helpString", NULL
25116 };
25117
25118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25120 if (!SWIG_IsOK(res1)) {
25121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25122 }
25123 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25124 ecode2 = SWIG_AsVal_int(obj1, &val2);
25125 if (!SWIG_IsOK(ecode2)) {
25126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25127 }
25128 arg2 = static_cast< int >(val2);
25129 {
25130 arg3 = wxString_in_helper(obj2);
25131 if (arg3 == NULL) SWIG_fail;
25132 temp3 = true;
25133 }
25134 {
25135 PyThreadState* __tstate = wxPyBeginAllowThreads();
25136 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
25137 wxPyEndAllowThreads(__tstate);
25138 if (PyErr_Occurred()) SWIG_fail;
25139 }
25140 resultobj = SWIG_Py_Void();
25141 {
25142 if (temp3)
25143 delete arg3;
25144 }
25145 return resultobj;
25146 fail:
25147 {
25148 if (temp3)
25149 delete arg3;
25150 }
25151 return NULL;
25152 }
25153
25154
25155 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25156 PyObject *resultobj = 0;
25157 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25158 int arg2 ;
25159 wxString result;
25160 void *argp1 = 0 ;
25161 int res1 = 0 ;
25162 int val2 ;
25163 int ecode2 = 0 ;
25164 PyObject * obj0 = 0 ;
25165 PyObject * obj1 = 0 ;
25166 char * kwnames[] = {
25167 (char *) "self",(char *) "id", NULL
25168 };
25169
25170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25172 if (!SWIG_IsOK(res1)) {
25173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25174 }
25175 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25176 ecode2 = SWIG_AsVal_int(obj1, &val2);
25177 if (!SWIG_IsOK(ecode2)) {
25178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25179 }
25180 arg2 = static_cast< int >(val2);
25181 {
25182 PyThreadState* __tstate = wxPyBeginAllowThreads();
25183 result = (arg1)->GetToolLongHelp(arg2);
25184 wxPyEndAllowThreads(__tstate);
25185 if (PyErr_Occurred()) SWIG_fail;
25186 }
25187 {
25188 #if wxUSE_UNICODE
25189 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25190 #else
25191 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25192 #endif
25193 }
25194 return resultobj;
25195 fail:
25196 return NULL;
25197 }
25198
25199
25200 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25201 PyObject *resultobj = 0;
25202 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25203 int arg2 ;
25204 int arg3 ;
25205 void *argp1 = 0 ;
25206 int res1 = 0 ;
25207 int val2 ;
25208 int ecode2 = 0 ;
25209 int val3 ;
25210 int ecode3 = 0 ;
25211 PyObject * obj0 = 0 ;
25212 PyObject * obj1 = 0 ;
25213 PyObject * obj2 = 0 ;
25214 char * kwnames[] = {
25215 (char *) "self",(char *) "x",(char *) "y", NULL
25216 };
25217
25218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25220 if (!SWIG_IsOK(res1)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25222 }
25223 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25224 ecode2 = SWIG_AsVal_int(obj1, &val2);
25225 if (!SWIG_IsOK(ecode2)) {
25226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25227 }
25228 arg2 = static_cast< int >(val2);
25229 ecode3 = SWIG_AsVal_int(obj2, &val3);
25230 if (!SWIG_IsOK(ecode3)) {
25231 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25232 }
25233 arg3 = static_cast< int >(val3);
25234 {
25235 PyThreadState* __tstate = wxPyBeginAllowThreads();
25236 (arg1)->SetMargins(arg2,arg3);
25237 wxPyEndAllowThreads(__tstate);
25238 if (PyErr_Occurred()) SWIG_fail;
25239 }
25240 resultobj = SWIG_Py_Void();
25241 return resultobj;
25242 fail:
25243 return NULL;
25244 }
25245
25246
25247 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25248 PyObject *resultobj = 0;
25249 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25250 wxSize *arg2 = 0 ;
25251 void *argp1 = 0 ;
25252 int res1 = 0 ;
25253 wxSize temp2 ;
25254 PyObject * obj0 = 0 ;
25255 PyObject * obj1 = 0 ;
25256 char * kwnames[] = {
25257 (char *) "self",(char *) "size", NULL
25258 };
25259
25260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25262 if (!SWIG_IsOK(res1)) {
25263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25264 }
25265 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25266 {
25267 arg2 = &temp2;
25268 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25269 }
25270 {
25271 PyThreadState* __tstate = wxPyBeginAllowThreads();
25272 (arg1)->SetMargins((wxSize const &)*arg2);
25273 wxPyEndAllowThreads(__tstate);
25274 if (PyErr_Occurred()) SWIG_fail;
25275 }
25276 resultobj = SWIG_Py_Void();
25277 return resultobj;
25278 fail:
25279 return NULL;
25280 }
25281
25282
25283 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25284 PyObject *resultobj = 0;
25285 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25286 int arg2 ;
25287 void *argp1 = 0 ;
25288 int res1 = 0 ;
25289 int val2 ;
25290 int ecode2 = 0 ;
25291 PyObject * obj0 = 0 ;
25292 PyObject * obj1 = 0 ;
25293 char * kwnames[] = {
25294 (char *) "self",(char *) "packing", NULL
25295 };
25296
25297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25299 if (!SWIG_IsOK(res1)) {
25300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25301 }
25302 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25303 ecode2 = SWIG_AsVal_int(obj1, &val2);
25304 if (!SWIG_IsOK(ecode2)) {
25305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25306 }
25307 arg2 = static_cast< int >(val2);
25308 {
25309 PyThreadState* __tstate = wxPyBeginAllowThreads();
25310 (arg1)->SetToolPacking(arg2);
25311 wxPyEndAllowThreads(__tstate);
25312 if (PyErr_Occurred()) SWIG_fail;
25313 }
25314 resultobj = SWIG_Py_Void();
25315 return resultobj;
25316 fail:
25317 return NULL;
25318 }
25319
25320
25321 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25322 PyObject *resultobj = 0;
25323 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25324 int arg2 ;
25325 void *argp1 = 0 ;
25326 int res1 = 0 ;
25327 int val2 ;
25328 int ecode2 = 0 ;
25329 PyObject * obj0 = 0 ;
25330 PyObject * obj1 = 0 ;
25331 char * kwnames[] = {
25332 (char *) "self",(char *) "separation", NULL
25333 };
25334
25335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25337 if (!SWIG_IsOK(res1)) {
25338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25339 }
25340 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25341 ecode2 = SWIG_AsVal_int(obj1, &val2);
25342 if (!SWIG_IsOK(ecode2)) {
25343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25344 }
25345 arg2 = static_cast< int >(val2);
25346 {
25347 PyThreadState* __tstate = wxPyBeginAllowThreads();
25348 (arg1)->SetToolSeparation(arg2);
25349 wxPyEndAllowThreads(__tstate);
25350 if (PyErr_Occurred()) SWIG_fail;
25351 }
25352 resultobj = SWIG_Py_Void();
25353 return resultobj;
25354 fail:
25355 return NULL;
25356 }
25357
25358
25359 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25360 PyObject *resultobj = 0;
25361 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25362 wxSize result;
25363 void *argp1 = 0 ;
25364 int res1 = 0 ;
25365 PyObject *swig_obj[1] ;
25366
25367 if (!args) SWIG_fail;
25368 swig_obj[0] = args;
25369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25370 if (!SWIG_IsOK(res1)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25372 }
25373 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25374 {
25375 PyThreadState* __tstate = wxPyBeginAllowThreads();
25376 result = (arg1)->GetToolMargins();
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25381 return resultobj;
25382 fail:
25383 return NULL;
25384 }
25385
25386
25387 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25388 PyObject *resultobj = 0;
25389 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25390 wxSize result;
25391 void *argp1 = 0 ;
25392 int res1 = 0 ;
25393 PyObject *swig_obj[1] ;
25394
25395 if (!args) SWIG_fail;
25396 swig_obj[0] = args;
25397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25398 if (!SWIG_IsOK(res1)) {
25399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25400 }
25401 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25402 {
25403 PyThreadState* __tstate = wxPyBeginAllowThreads();
25404 result = (arg1)->GetMargins();
25405 wxPyEndAllowThreads(__tstate);
25406 if (PyErr_Occurred()) SWIG_fail;
25407 }
25408 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25409 return resultobj;
25410 fail:
25411 return NULL;
25412 }
25413
25414
25415 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25416 PyObject *resultobj = 0;
25417 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25418 int result;
25419 void *argp1 = 0 ;
25420 int res1 = 0 ;
25421 PyObject *swig_obj[1] ;
25422
25423 if (!args) SWIG_fail;
25424 swig_obj[0] = args;
25425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25426 if (!SWIG_IsOK(res1)) {
25427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25428 }
25429 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25430 {
25431 PyThreadState* __tstate = wxPyBeginAllowThreads();
25432 result = (int)(arg1)->GetToolPacking();
25433 wxPyEndAllowThreads(__tstate);
25434 if (PyErr_Occurred()) SWIG_fail;
25435 }
25436 resultobj = SWIG_From_int(static_cast< int >(result));
25437 return resultobj;
25438 fail:
25439 return NULL;
25440 }
25441
25442
25443 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25444 PyObject *resultobj = 0;
25445 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25446 int result;
25447 void *argp1 = 0 ;
25448 int res1 = 0 ;
25449 PyObject *swig_obj[1] ;
25450
25451 if (!args) SWIG_fail;
25452 swig_obj[0] = args;
25453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25454 if (!SWIG_IsOK(res1)) {
25455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25456 }
25457 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25458 {
25459 PyThreadState* __tstate = wxPyBeginAllowThreads();
25460 result = (int)(arg1)->GetToolSeparation();
25461 wxPyEndAllowThreads(__tstate);
25462 if (PyErr_Occurred()) SWIG_fail;
25463 }
25464 resultobj = SWIG_From_int(static_cast< int >(result));
25465 return resultobj;
25466 fail:
25467 return NULL;
25468 }
25469
25470
25471 SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25472 PyObject *resultobj = 0;
25473 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25474 int arg2 ;
25475 void *argp1 = 0 ;
25476 int res1 = 0 ;
25477 int val2 ;
25478 int ecode2 = 0 ;
25479 PyObject * obj0 = 0 ;
25480 PyObject * obj1 = 0 ;
25481 char * kwnames[] = {
25482 (char *) "self",(char *) "nRows", NULL
25483 };
25484
25485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25487 if (!SWIG_IsOK(res1)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25489 }
25490 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25491 ecode2 = SWIG_AsVal_int(obj1, &val2);
25492 if (!SWIG_IsOK(ecode2)) {
25493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25494 }
25495 arg2 = static_cast< int >(val2);
25496 {
25497 PyThreadState* __tstate = wxPyBeginAllowThreads();
25498 (arg1)->SetRows(arg2);
25499 wxPyEndAllowThreads(__tstate);
25500 if (PyErr_Occurred()) SWIG_fail;
25501 }
25502 resultobj = SWIG_Py_Void();
25503 return resultobj;
25504 fail:
25505 return NULL;
25506 }
25507
25508
25509 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25510 PyObject *resultobj = 0;
25511 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25512 int arg2 ;
25513 int arg3 ;
25514 void *argp1 = 0 ;
25515 int res1 = 0 ;
25516 int val2 ;
25517 int ecode2 = 0 ;
25518 int val3 ;
25519 int ecode3 = 0 ;
25520 PyObject * obj0 = 0 ;
25521 PyObject * obj1 = 0 ;
25522 PyObject * obj2 = 0 ;
25523 char * kwnames[] = {
25524 (char *) "self",(char *) "rows",(char *) "cols", NULL
25525 };
25526
25527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25529 if (!SWIG_IsOK(res1)) {
25530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25531 }
25532 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25533 ecode2 = SWIG_AsVal_int(obj1, &val2);
25534 if (!SWIG_IsOK(ecode2)) {
25535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25536 }
25537 arg2 = static_cast< int >(val2);
25538 ecode3 = SWIG_AsVal_int(obj2, &val3);
25539 if (!SWIG_IsOK(ecode3)) {
25540 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25541 }
25542 arg3 = static_cast< int >(val3);
25543 {
25544 PyThreadState* __tstate = wxPyBeginAllowThreads();
25545 (arg1)->SetMaxRowsCols(arg2,arg3);
25546 wxPyEndAllowThreads(__tstate);
25547 if (PyErr_Occurred()) SWIG_fail;
25548 }
25549 resultobj = SWIG_Py_Void();
25550 return resultobj;
25551 fail:
25552 return NULL;
25553 }
25554
25555
25556 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25557 PyObject *resultobj = 0;
25558 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25559 int result;
25560 void *argp1 = 0 ;
25561 int res1 = 0 ;
25562 PyObject *swig_obj[1] ;
25563
25564 if (!args) SWIG_fail;
25565 swig_obj[0] = args;
25566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25567 if (!SWIG_IsOK(res1)) {
25568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25569 }
25570 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25571 {
25572 PyThreadState* __tstate = wxPyBeginAllowThreads();
25573 result = (int)(arg1)->GetMaxRows();
25574 wxPyEndAllowThreads(__tstate);
25575 if (PyErr_Occurred()) SWIG_fail;
25576 }
25577 resultobj = SWIG_From_int(static_cast< int >(result));
25578 return resultobj;
25579 fail:
25580 return NULL;
25581 }
25582
25583
25584 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25585 PyObject *resultobj = 0;
25586 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25587 int result;
25588 void *argp1 = 0 ;
25589 int res1 = 0 ;
25590 PyObject *swig_obj[1] ;
25591
25592 if (!args) SWIG_fail;
25593 swig_obj[0] = args;
25594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25595 if (!SWIG_IsOK(res1)) {
25596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25597 }
25598 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25599 {
25600 PyThreadState* __tstate = wxPyBeginAllowThreads();
25601 result = (int)(arg1)->GetMaxCols();
25602 wxPyEndAllowThreads(__tstate);
25603 if (PyErr_Occurred()) SWIG_fail;
25604 }
25605 resultobj = SWIG_From_int(static_cast< int >(result));
25606 return resultobj;
25607 fail:
25608 return NULL;
25609 }
25610
25611
25612 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25613 PyObject *resultobj = 0;
25614 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25615 wxSize *arg2 = 0 ;
25616 void *argp1 = 0 ;
25617 int res1 = 0 ;
25618 wxSize temp2 ;
25619 PyObject * obj0 = 0 ;
25620 PyObject * obj1 = 0 ;
25621 char * kwnames[] = {
25622 (char *) "self",(char *) "size", NULL
25623 };
25624
25625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25627 if (!SWIG_IsOK(res1)) {
25628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25629 }
25630 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25631 {
25632 arg2 = &temp2;
25633 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25634 }
25635 {
25636 PyThreadState* __tstate = wxPyBeginAllowThreads();
25637 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25638 wxPyEndAllowThreads(__tstate);
25639 if (PyErr_Occurred()) SWIG_fail;
25640 }
25641 resultobj = SWIG_Py_Void();
25642 return resultobj;
25643 fail:
25644 return NULL;
25645 }
25646
25647
25648 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25649 PyObject *resultobj = 0;
25650 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25651 wxSize result;
25652 void *argp1 = 0 ;
25653 int res1 = 0 ;
25654 PyObject *swig_obj[1] ;
25655
25656 if (!args) SWIG_fail;
25657 swig_obj[0] = args;
25658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25659 if (!SWIG_IsOK(res1)) {
25660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25661 }
25662 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25663 {
25664 PyThreadState* __tstate = wxPyBeginAllowThreads();
25665 result = (arg1)->GetToolBitmapSize();
25666 wxPyEndAllowThreads(__tstate);
25667 if (PyErr_Occurred()) SWIG_fail;
25668 }
25669 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25670 return resultobj;
25671 fail:
25672 return NULL;
25673 }
25674
25675
25676 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25677 PyObject *resultobj = 0;
25678 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25679 wxSize result;
25680 void *argp1 = 0 ;
25681 int res1 = 0 ;
25682 PyObject *swig_obj[1] ;
25683
25684 if (!args) SWIG_fail;
25685 swig_obj[0] = args;
25686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25687 if (!SWIG_IsOK(res1)) {
25688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25689 }
25690 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25691 {
25692 PyThreadState* __tstate = wxPyBeginAllowThreads();
25693 result = (arg1)->GetToolSize();
25694 wxPyEndAllowThreads(__tstate);
25695 if (PyErr_Occurred()) SWIG_fail;
25696 }
25697 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25698 return resultobj;
25699 fail:
25700 return NULL;
25701 }
25702
25703
25704 SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25705 PyObject *resultobj = 0;
25706 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25707 int arg2 ;
25708 int arg3 ;
25709 wxToolBarToolBase *result = 0 ;
25710 void *argp1 = 0 ;
25711 int res1 = 0 ;
25712 int val2 ;
25713 int ecode2 = 0 ;
25714 int val3 ;
25715 int ecode3 = 0 ;
25716 PyObject * obj0 = 0 ;
25717 PyObject * obj1 = 0 ;
25718 PyObject * obj2 = 0 ;
25719 char * kwnames[] = {
25720 (char *) "self",(char *) "x",(char *) "y", NULL
25721 };
25722
25723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25725 if (!SWIG_IsOK(res1)) {
25726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25727 }
25728 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25729 ecode2 = SWIG_AsVal_int(obj1, &val2);
25730 if (!SWIG_IsOK(ecode2)) {
25731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25732 }
25733 arg2 = static_cast< int >(val2);
25734 ecode3 = SWIG_AsVal_int(obj2, &val3);
25735 if (!SWIG_IsOK(ecode3)) {
25736 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25737 }
25738 arg3 = static_cast< int >(val3);
25739 {
25740 PyThreadState* __tstate = wxPyBeginAllowThreads();
25741 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25742 wxPyEndAllowThreads(__tstate);
25743 if (PyErr_Occurred()) SWIG_fail;
25744 }
25745 {
25746 resultobj = wxPyMake_wxObject(result, (bool)0);
25747 }
25748 return resultobj;
25749 fail:
25750 return NULL;
25751 }
25752
25753
25754 SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25755 PyObject *resultobj = 0;
25756 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25757 int arg2 ;
25758 wxToolBarToolBase *result = 0 ;
25759 void *argp1 = 0 ;
25760 int res1 = 0 ;
25761 int val2 ;
25762 int ecode2 = 0 ;
25763 PyObject * obj0 = 0 ;
25764 PyObject * obj1 = 0 ;
25765 char * kwnames[] = {
25766 (char *) "self",(char *) "toolid", NULL
25767 };
25768
25769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25771 if (!SWIG_IsOK(res1)) {
25772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25773 }
25774 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25775 ecode2 = SWIG_AsVal_int(obj1, &val2);
25776 if (!SWIG_IsOK(ecode2)) {
25777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25778 }
25779 arg2 = static_cast< int >(val2);
25780 {
25781 PyThreadState* __tstate = wxPyBeginAllowThreads();
25782 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25783 wxPyEndAllowThreads(__tstate);
25784 if (PyErr_Occurred()) SWIG_fail;
25785 }
25786 {
25787 resultobj = wxPyMake_wxObject(result, (bool)0);
25788 }
25789 return resultobj;
25790 fail:
25791 return NULL;
25792 }
25793
25794
25795 SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25796 PyObject *resultobj = 0;
25797 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25798 bool result;
25799 void *argp1 = 0 ;
25800 int res1 = 0 ;
25801 PyObject *swig_obj[1] ;
25802
25803 if (!args) SWIG_fail;
25804 swig_obj[0] = args;
25805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25806 if (!SWIG_IsOK(res1)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25808 }
25809 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 result = (bool)(arg1)->IsVertical();
25813 wxPyEndAllowThreads(__tstate);
25814 if (PyErr_Occurred()) SWIG_fail;
25815 }
25816 {
25817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25818 }
25819 return resultobj;
25820 fail:
25821 return NULL;
25822 }
25823
25824
25825 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25826 PyObject *resultobj = 0;
25827 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25828 size_t result;
25829 void *argp1 = 0 ;
25830 int res1 = 0 ;
25831 PyObject *swig_obj[1] ;
25832
25833 if (!args) SWIG_fail;
25834 swig_obj[0] = args;
25835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25836 if (!SWIG_IsOK(res1)) {
25837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25838 }
25839 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25840 {
25841 PyThreadState* __tstate = wxPyBeginAllowThreads();
25842 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25843 wxPyEndAllowThreads(__tstate);
25844 if (PyErr_Occurred()) SWIG_fail;
25845 }
25846 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25847 return resultobj;
25848 fail:
25849 return NULL;
25850 }
25851
25852
25853 SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25854 PyObject *obj;
25855 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25856 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25857 return SWIG_Py_Void();
25858 }
25859
25860 SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25861 PyObject *resultobj = 0;
25862 wxWindow *arg1 = (wxWindow *) 0 ;
25863 int arg2 = (int) -1 ;
25864 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25865 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25866 wxSize const &arg4_defvalue = wxDefaultSize ;
25867 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25868 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25869 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25870 wxString *arg6 = (wxString *) &arg6_defvalue ;
25871 wxToolBar *result = 0 ;
25872 void *argp1 = 0 ;
25873 int res1 = 0 ;
25874 int val2 ;
25875 int ecode2 = 0 ;
25876 wxPoint temp3 ;
25877 wxSize temp4 ;
25878 long val5 ;
25879 int ecode5 = 0 ;
25880 bool temp6 = false ;
25881 PyObject * obj0 = 0 ;
25882 PyObject * obj1 = 0 ;
25883 PyObject * obj2 = 0 ;
25884 PyObject * obj3 = 0 ;
25885 PyObject * obj4 = 0 ;
25886 PyObject * obj5 = 0 ;
25887 char * kwnames[] = {
25888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25889 };
25890
25891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25893 if (!SWIG_IsOK(res1)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25895 }
25896 arg1 = reinterpret_cast< wxWindow * >(argp1);
25897 if (obj1) {
25898 ecode2 = SWIG_AsVal_int(obj1, &val2);
25899 if (!SWIG_IsOK(ecode2)) {
25900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25901 }
25902 arg2 = static_cast< int >(val2);
25903 }
25904 if (obj2) {
25905 {
25906 arg3 = &temp3;
25907 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25908 }
25909 }
25910 if (obj3) {
25911 {
25912 arg4 = &temp4;
25913 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25914 }
25915 }
25916 if (obj4) {
25917 ecode5 = SWIG_AsVal_long(obj4, &val5);
25918 if (!SWIG_IsOK(ecode5)) {
25919 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25920 }
25921 arg5 = static_cast< long >(val5);
25922 }
25923 if (obj5) {
25924 {
25925 arg6 = wxString_in_helper(obj5);
25926 if (arg6 == NULL) SWIG_fail;
25927 temp6 = true;
25928 }
25929 }
25930 {
25931 if (!wxPyCheckForApp()) SWIG_fail;
25932 PyThreadState* __tstate = wxPyBeginAllowThreads();
25933 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25934 wxPyEndAllowThreads(__tstate);
25935 if (PyErr_Occurred()) SWIG_fail;
25936 }
25937 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25938 {
25939 if (temp6)
25940 delete arg6;
25941 }
25942 return resultobj;
25943 fail:
25944 {
25945 if (temp6)
25946 delete arg6;
25947 }
25948 return NULL;
25949 }
25950
25951
25952 SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25953 PyObject *resultobj = 0;
25954 wxToolBar *result = 0 ;
25955
25956 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25957 {
25958 if (!wxPyCheckForApp()) SWIG_fail;
25959 PyThreadState* __tstate = wxPyBeginAllowThreads();
25960 result = (wxToolBar *)new wxToolBar();
25961 wxPyEndAllowThreads(__tstate);
25962 if (PyErr_Occurred()) SWIG_fail;
25963 }
25964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25965 return resultobj;
25966 fail:
25967 return NULL;
25968 }
25969
25970
25971 SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25972 PyObject *resultobj = 0;
25973 wxToolBar *arg1 = (wxToolBar *) 0 ;
25974 wxWindow *arg2 = (wxWindow *) 0 ;
25975 int arg3 = (int) -1 ;
25976 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25977 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25978 wxSize const &arg5_defvalue = wxDefaultSize ;
25979 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25980 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25981 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25982 wxString *arg7 = (wxString *) &arg7_defvalue ;
25983 bool result;
25984 void *argp1 = 0 ;
25985 int res1 = 0 ;
25986 void *argp2 = 0 ;
25987 int res2 = 0 ;
25988 int val3 ;
25989 int ecode3 = 0 ;
25990 wxPoint temp4 ;
25991 wxSize temp5 ;
25992 long val6 ;
25993 int ecode6 = 0 ;
25994 bool temp7 = false ;
25995 PyObject * obj0 = 0 ;
25996 PyObject * obj1 = 0 ;
25997 PyObject * obj2 = 0 ;
25998 PyObject * obj3 = 0 ;
25999 PyObject * obj4 = 0 ;
26000 PyObject * obj5 = 0 ;
26001 PyObject * obj6 = 0 ;
26002 char * kwnames[] = {
26003 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26004 };
26005
26006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
26007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
26008 if (!SWIG_IsOK(res1)) {
26009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26010 }
26011 arg1 = reinterpret_cast< wxToolBar * >(argp1);
26012 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26013 if (!SWIG_IsOK(res2)) {
26014 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26015 }
26016 arg2 = reinterpret_cast< wxWindow * >(argp2);
26017 if (obj2) {
26018 ecode3 = SWIG_AsVal_int(obj2, &val3);
26019 if (!SWIG_IsOK(ecode3)) {
26020 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26021 }
26022 arg3 = static_cast< int >(val3);
26023 }
26024 if (obj3) {
26025 {
26026 arg4 = &temp4;
26027 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26028 }
26029 }
26030 if (obj4) {
26031 {
26032 arg5 = &temp5;
26033 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26034 }
26035 }
26036 if (obj5) {
26037 ecode6 = SWIG_AsVal_long(obj5, &val6);
26038 if (!SWIG_IsOK(ecode6)) {
26039 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26040 }
26041 arg6 = static_cast< long >(val6);
26042 }
26043 if (obj6) {
26044 {
26045 arg7 = wxString_in_helper(obj6);
26046 if (arg7 == NULL) SWIG_fail;
26047 temp7 = true;
26048 }
26049 }
26050 {
26051 PyThreadState* __tstate = wxPyBeginAllowThreads();
26052 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26053 wxPyEndAllowThreads(__tstate);
26054 if (PyErr_Occurred()) SWIG_fail;
26055 }
26056 {
26057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26058 }
26059 {
26060 if (temp7)
26061 delete arg7;
26062 }
26063 return resultobj;
26064 fail:
26065 {
26066 if (temp7)
26067 delete arg7;
26068 }
26069 return NULL;
26070 }
26071
26072
26073 SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26074 PyObject *resultobj = 0;
26075 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26076 SwigValueWrapper<wxVisualAttributes > result;
26077 int val1 ;
26078 int ecode1 = 0 ;
26079 PyObject * obj0 = 0 ;
26080 char * kwnames[] = {
26081 (char *) "variant", NULL
26082 };
26083
26084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
26085 if (obj0) {
26086 ecode1 = SWIG_AsVal_int(obj0, &val1);
26087 if (!SWIG_IsOK(ecode1)) {
26088 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26089 }
26090 arg1 = static_cast< wxWindowVariant >(val1);
26091 }
26092 {
26093 if (!wxPyCheckForApp()) SWIG_fail;
26094 PyThreadState* __tstate = wxPyBeginAllowThreads();
26095 result = wxToolBar::GetClassDefaultAttributes(arg1);
26096 wxPyEndAllowThreads(__tstate);
26097 if (PyErr_Occurred()) SWIG_fail;
26098 }
26099 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
26100 return resultobj;
26101 fail:
26102 return NULL;
26103 }
26104
26105
26106 SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26107 PyObject *obj;
26108 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26109 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
26110 return SWIG_Py_Void();
26111 }
26112
26113 SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26114 return SWIG_Python_InitShadowInstance(args);
26115 }
26116
26117 SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
26118 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
26119 return 1;
26120 }
26121
26122
26123 SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
26124 PyObject *pyobj = 0;
26125
26126 {
26127 #if wxUSE_UNICODE
26128 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26129 #else
26130 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26131 #endif
26132 }
26133 return pyobj;
26134 }
26135
26136
26137 SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26138 PyObject *resultobj = 0;
26139 wxColour const &arg1_defvalue = wxNullColour ;
26140 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
26141 wxColour const &arg2_defvalue = wxNullColour ;
26142 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
26143 wxFont const &arg3_defvalue = wxNullFont ;
26144 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
26145 wxListItemAttr *result = 0 ;
26146 wxColour temp1 ;
26147 wxColour temp2 ;
26148 void *argp3 = 0 ;
26149 int res3 = 0 ;
26150 PyObject * obj0 = 0 ;
26151 PyObject * obj1 = 0 ;
26152 PyObject * obj2 = 0 ;
26153 char * kwnames[] = {
26154 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26155 };
26156
26157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26158 if (obj0) {
26159 {
26160 arg1 = &temp1;
26161 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
26162 }
26163 }
26164 if (obj1) {
26165 {
26166 arg2 = &temp2;
26167 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26168 }
26169 }
26170 if (obj2) {
26171 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
26172 if (!SWIG_IsOK(res3)) {
26173 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26174 }
26175 if (!argp3) {
26176 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26177 }
26178 arg3 = reinterpret_cast< wxFont * >(argp3);
26179 }
26180 {
26181 PyThreadState* __tstate = wxPyBeginAllowThreads();
26182 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
26183 wxPyEndAllowThreads(__tstate);
26184 if (PyErr_Occurred()) SWIG_fail;
26185 }
26186 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
26187 return resultobj;
26188 fail:
26189 return NULL;
26190 }
26191
26192
26193 SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26194 PyObject *resultobj = 0;
26195 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26196 void *argp1 = 0 ;
26197 int res1 = 0 ;
26198 PyObject *swig_obj[1] ;
26199
26200 if (!args) SWIG_fail;
26201 swig_obj[0] = args;
26202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
26203 if (!SWIG_IsOK(res1)) {
26204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26205 }
26206 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26207 {
26208 PyThreadState* __tstate = wxPyBeginAllowThreads();
26209 delete arg1;
26210
26211 wxPyEndAllowThreads(__tstate);
26212 if (PyErr_Occurred()) SWIG_fail;
26213 }
26214 resultobj = SWIG_Py_Void();
26215 return resultobj;
26216 fail:
26217 return NULL;
26218 }
26219
26220
26221 SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26222 PyObject *resultobj = 0;
26223 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26224 wxColour *arg2 = 0 ;
26225 void *argp1 = 0 ;
26226 int res1 = 0 ;
26227 wxColour temp2 ;
26228 PyObject * obj0 = 0 ;
26229 PyObject * obj1 = 0 ;
26230 char * kwnames[] = {
26231 (char *) "self",(char *) "colText", NULL
26232 };
26233
26234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26236 if (!SWIG_IsOK(res1)) {
26237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26238 }
26239 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26240 {
26241 arg2 = &temp2;
26242 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26243 }
26244 {
26245 PyThreadState* __tstate = wxPyBeginAllowThreads();
26246 (arg1)->SetTextColour((wxColour const &)*arg2);
26247 wxPyEndAllowThreads(__tstate);
26248 if (PyErr_Occurred()) SWIG_fail;
26249 }
26250 resultobj = SWIG_Py_Void();
26251 return resultobj;
26252 fail:
26253 return NULL;
26254 }
26255
26256
26257 SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26258 PyObject *resultobj = 0;
26259 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26260 wxColour *arg2 = 0 ;
26261 void *argp1 = 0 ;
26262 int res1 = 0 ;
26263 wxColour temp2 ;
26264 PyObject * obj0 = 0 ;
26265 PyObject * obj1 = 0 ;
26266 char * kwnames[] = {
26267 (char *) "self",(char *) "colBack", NULL
26268 };
26269
26270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26272 if (!SWIG_IsOK(res1)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26274 }
26275 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26276 {
26277 arg2 = &temp2;
26278 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26279 }
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26283 wxPyEndAllowThreads(__tstate);
26284 if (PyErr_Occurred()) SWIG_fail;
26285 }
26286 resultobj = SWIG_Py_Void();
26287 return resultobj;
26288 fail:
26289 return NULL;
26290 }
26291
26292
26293 SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26294 PyObject *resultobj = 0;
26295 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26296 wxFont *arg2 = 0 ;
26297 void *argp1 = 0 ;
26298 int res1 = 0 ;
26299 void *argp2 = 0 ;
26300 int res2 = 0 ;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj1 = 0 ;
26303 char * kwnames[] = {
26304 (char *) "self",(char *) "font", NULL
26305 };
26306
26307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26309 if (!SWIG_IsOK(res1)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26311 }
26312 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26313 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26314 if (!SWIG_IsOK(res2)) {
26315 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26316 }
26317 if (!argp2) {
26318 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26319 }
26320 arg2 = reinterpret_cast< wxFont * >(argp2);
26321 {
26322 PyThreadState* __tstate = wxPyBeginAllowThreads();
26323 (arg1)->SetFont((wxFont const &)*arg2);
26324 wxPyEndAllowThreads(__tstate);
26325 if (PyErr_Occurred()) SWIG_fail;
26326 }
26327 resultobj = SWIG_Py_Void();
26328 return resultobj;
26329 fail:
26330 return NULL;
26331 }
26332
26333
26334 SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26335 PyObject *resultobj = 0;
26336 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26337 bool result;
26338 void *argp1 = 0 ;
26339 int res1 = 0 ;
26340 PyObject *swig_obj[1] ;
26341
26342 if (!args) SWIG_fail;
26343 swig_obj[0] = args;
26344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26345 if (!SWIG_IsOK(res1)) {
26346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26347 }
26348 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26349 {
26350 PyThreadState* __tstate = wxPyBeginAllowThreads();
26351 result = (bool)(arg1)->HasTextColour();
26352 wxPyEndAllowThreads(__tstate);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
26355 {
26356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26357 }
26358 return resultobj;
26359 fail:
26360 return NULL;
26361 }
26362
26363
26364 SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26365 PyObject *resultobj = 0;
26366 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26367 bool result;
26368 void *argp1 = 0 ;
26369 int res1 = 0 ;
26370 PyObject *swig_obj[1] ;
26371
26372 if (!args) SWIG_fail;
26373 swig_obj[0] = args;
26374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26375 if (!SWIG_IsOK(res1)) {
26376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26377 }
26378 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26379 {
26380 PyThreadState* __tstate = wxPyBeginAllowThreads();
26381 result = (bool)(arg1)->HasBackgroundColour();
26382 wxPyEndAllowThreads(__tstate);
26383 if (PyErr_Occurred()) SWIG_fail;
26384 }
26385 {
26386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26387 }
26388 return resultobj;
26389 fail:
26390 return NULL;
26391 }
26392
26393
26394 SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26395 PyObject *resultobj = 0;
26396 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26397 bool result;
26398 void *argp1 = 0 ;
26399 int res1 = 0 ;
26400 PyObject *swig_obj[1] ;
26401
26402 if (!args) SWIG_fail;
26403 swig_obj[0] = args;
26404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26405 if (!SWIG_IsOK(res1)) {
26406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26407 }
26408 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26409 {
26410 PyThreadState* __tstate = wxPyBeginAllowThreads();
26411 result = (bool)(arg1)->HasFont();
26412 wxPyEndAllowThreads(__tstate);
26413 if (PyErr_Occurred()) SWIG_fail;
26414 }
26415 {
26416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26417 }
26418 return resultobj;
26419 fail:
26420 return NULL;
26421 }
26422
26423
26424 SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26425 PyObject *resultobj = 0;
26426 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26427 wxColour result;
26428 void *argp1 = 0 ;
26429 int res1 = 0 ;
26430 PyObject *swig_obj[1] ;
26431
26432 if (!args) SWIG_fail;
26433 swig_obj[0] = args;
26434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26435 if (!SWIG_IsOK(res1)) {
26436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26437 }
26438 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26439 {
26440 PyThreadState* __tstate = wxPyBeginAllowThreads();
26441 result = (arg1)->GetTextColour();
26442 wxPyEndAllowThreads(__tstate);
26443 if (PyErr_Occurred()) SWIG_fail;
26444 }
26445 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26446 return resultobj;
26447 fail:
26448 return NULL;
26449 }
26450
26451
26452 SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26453 PyObject *resultobj = 0;
26454 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26455 wxColour result;
26456 void *argp1 = 0 ;
26457 int res1 = 0 ;
26458 PyObject *swig_obj[1] ;
26459
26460 if (!args) SWIG_fail;
26461 swig_obj[0] = args;
26462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26463 if (!SWIG_IsOK(res1)) {
26464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26465 }
26466 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26467 {
26468 PyThreadState* __tstate = wxPyBeginAllowThreads();
26469 result = (arg1)->GetBackgroundColour();
26470 wxPyEndAllowThreads(__tstate);
26471 if (PyErr_Occurred()) SWIG_fail;
26472 }
26473 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26474 return resultobj;
26475 fail:
26476 return NULL;
26477 }
26478
26479
26480 SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26481 PyObject *resultobj = 0;
26482 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26483 wxFont result;
26484 void *argp1 = 0 ;
26485 int res1 = 0 ;
26486 PyObject *swig_obj[1] ;
26487
26488 if (!args) SWIG_fail;
26489 swig_obj[0] = args;
26490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26491 if (!SWIG_IsOK(res1)) {
26492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26493 }
26494 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26495 {
26496 PyThreadState* __tstate = wxPyBeginAllowThreads();
26497 result = (arg1)->GetFont();
26498 wxPyEndAllowThreads(__tstate);
26499 if (PyErr_Occurred()) SWIG_fail;
26500 }
26501 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26502 return resultobj;
26503 fail:
26504 return NULL;
26505 }
26506
26507
26508 SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26509 PyObject *resultobj = 0;
26510 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26511 wxListItemAttr *arg2 = 0 ;
26512 void *argp1 = 0 ;
26513 int res1 = 0 ;
26514 void *argp2 = 0 ;
26515 int res2 = 0 ;
26516 PyObject * obj0 = 0 ;
26517 PyObject * obj1 = 0 ;
26518 char * kwnames[] = {
26519 (char *) "self",(char *) "source", NULL
26520 };
26521
26522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26524 if (!SWIG_IsOK(res1)) {
26525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26526 }
26527 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26528 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26529 if (!SWIG_IsOK(res2)) {
26530 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26531 }
26532 if (!argp2) {
26533 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26534 }
26535 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26536 {
26537 PyThreadState* __tstate = wxPyBeginAllowThreads();
26538 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26539 wxPyEndAllowThreads(__tstate);
26540 if (PyErr_Occurred()) SWIG_fail;
26541 }
26542 resultobj = SWIG_Py_Void();
26543 return resultobj;
26544 fail:
26545 return NULL;
26546 }
26547
26548
26549 SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26550 PyObject *resultobj = 0;
26551 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26552 void *argp1 = 0 ;
26553 int res1 = 0 ;
26554 PyObject *swig_obj[1] ;
26555
26556 if (!args) SWIG_fail;
26557 swig_obj[0] = args;
26558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26559 if (!SWIG_IsOK(res1)) {
26560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26561 }
26562 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26563 {
26564 PyThreadState* __tstate = wxPyBeginAllowThreads();
26565 wxListItemAttr_Destroy(arg1);
26566 wxPyEndAllowThreads(__tstate);
26567 if (PyErr_Occurred()) SWIG_fail;
26568 }
26569 resultobj = SWIG_Py_Void();
26570 return resultobj;
26571 fail:
26572 return NULL;
26573 }
26574
26575
26576 SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26577 PyObject *obj;
26578 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26579 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26580 return SWIG_Py_Void();
26581 }
26582
26583 SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26584 return SWIG_Python_InitShadowInstance(args);
26585 }
26586
26587 SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26588 PyObject *resultobj = 0;
26589 wxListItem *result = 0 ;
26590
26591 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26592 {
26593 PyThreadState* __tstate = wxPyBeginAllowThreads();
26594 result = (wxListItem *)new wxListItem();
26595 wxPyEndAllowThreads(__tstate);
26596 if (PyErr_Occurred()) SWIG_fail;
26597 }
26598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, SWIG_POINTER_NEW | 0 );
26599 return resultobj;
26600 fail:
26601 return NULL;
26602 }
26603
26604
26605 SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26606 PyObject *resultobj = 0;
26607 wxListItem *arg1 = (wxListItem *) 0 ;
26608 void *argp1 = 0 ;
26609 int res1 = 0 ;
26610 PyObject *swig_obj[1] ;
26611
26612 if (!args) SWIG_fail;
26613 swig_obj[0] = args;
26614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26615 if (!SWIG_IsOK(res1)) {
26616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26617 }
26618 arg1 = reinterpret_cast< wxListItem * >(argp1);
26619 {
26620 PyThreadState* __tstate = wxPyBeginAllowThreads();
26621 delete arg1;
26622
26623 wxPyEndAllowThreads(__tstate);
26624 if (PyErr_Occurred()) SWIG_fail;
26625 }
26626 resultobj = SWIG_Py_Void();
26627 return resultobj;
26628 fail:
26629 return NULL;
26630 }
26631
26632
26633 SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26634 PyObject *resultobj = 0;
26635 wxListItem *arg1 = (wxListItem *) 0 ;
26636 void *argp1 = 0 ;
26637 int res1 = 0 ;
26638 PyObject *swig_obj[1] ;
26639
26640 if (!args) SWIG_fail;
26641 swig_obj[0] = args;
26642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26643 if (!SWIG_IsOK(res1)) {
26644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26645 }
26646 arg1 = reinterpret_cast< wxListItem * >(argp1);
26647 {
26648 PyThreadState* __tstate = wxPyBeginAllowThreads();
26649 (arg1)->Clear();
26650 wxPyEndAllowThreads(__tstate);
26651 if (PyErr_Occurred()) SWIG_fail;
26652 }
26653 resultobj = SWIG_Py_Void();
26654 return resultobj;
26655 fail:
26656 return NULL;
26657 }
26658
26659
26660 SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26661 PyObject *resultobj = 0;
26662 wxListItem *arg1 = (wxListItem *) 0 ;
26663 void *argp1 = 0 ;
26664 int res1 = 0 ;
26665 PyObject *swig_obj[1] ;
26666
26667 if (!args) SWIG_fail;
26668 swig_obj[0] = args;
26669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26670 if (!SWIG_IsOK(res1)) {
26671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26672 }
26673 arg1 = reinterpret_cast< wxListItem * >(argp1);
26674 {
26675 PyThreadState* __tstate = wxPyBeginAllowThreads();
26676 (arg1)->ClearAttributes();
26677 wxPyEndAllowThreads(__tstate);
26678 if (PyErr_Occurred()) SWIG_fail;
26679 }
26680 resultobj = SWIG_Py_Void();
26681 return resultobj;
26682 fail:
26683 return NULL;
26684 }
26685
26686
26687 SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26688 PyObject *resultobj = 0;
26689 wxListItem *arg1 = (wxListItem *) 0 ;
26690 long arg2 ;
26691 void *argp1 = 0 ;
26692 int res1 = 0 ;
26693 long val2 ;
26694 int ecode2 = 0 ;
26695 PyObject * obj0 = 0 ;
26696 PyObject * obj1 = 0 ;
26697 char * kwnames[] = {
26698 (char *) "self",(char *) "mask", NULL
26699 };
26700
26701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26703 if (!SWIG_IsOK(res1)) {
26704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26705 }
26706 arg1 = reinterpret_cast< wxListItem * >(argp1);
26707 ecode2 = SWIG_AsVal_long(obj1, &val2);
26708 if (!SWIG_IsOK(ecode2)) {
26709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26710 }
26711 arg2 = static_cast< long >(val2);
26712 {
26713 PyThreadState* __tstate = wxPyBeginAllowThreads();
26714 (arg1)->SetMask(arg2);
26715 wxPyEndAllowThreads(__tstate);
26716 if (PyErr_Occurred()) SWIG_fail;
26717 }
26718 resultobj = SWIG_Py_Void();
26719 return resultobj;
26720 fail:
26721 return NULL;
26722 }
26723
26724
26725 SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26726 PyObject *resultobj = 0;
26727 wxListItem *arg1 = (wxListItem *) 0 ;
26728 long arg2 ;
26729 void *argp1 = 0 ;
26730 int res1 = 0 ;
26731 long val2 ;
26732 int ecode2 = 0 ;
26733 PyObject * obj0 = 0 ;
26734 PyObject * obj1 = 0 ;
26735 char * kwnames[] = {
26736 (char *) "self",(char *) "id", NULL
26737 };
26738
26739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26741 if (!SWIG_IsOK(res1)) {
26742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26743 }
26744 arg1 = reinterpret_cast< wxListItem * >(argp1);
26745 ecode2 = SWIG_AsVal_long(obj1, &val2);
26746 if (!SWIG_IsOK(ecode2)) {
26747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26748 }
26749 arg2 = static_cast< long >(val2);
26750 {
26751 PyThreadState* __tstate = wxPyBeginAllowThreads();
26752 (arg1)->SetId(arg2);
26753 wxPyEndAllowThreads(__tstate);
26754 if (PyErr_Occurred()) SWIG_fail;
26755 }
26756 resultobj = SWIG_Py_Void();
26757 return resultobj;
26758 fail:
26759 return NULL;
26760 }
26761
26762
26763 SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26764 PyObject *resultobj = 0;
26765 wxListItem *arg1 = (wxListItem *) 0 ;
26766 int arg2 ;
26767 void *argp1 = 0 ;
26768 int res1 = 0 ;
26769 int val2 ;
26770 int ecode2 = 0 ;
26771 PyObject * obj0 = 0 ;
26772 PyObject * obj1 = 0 ;
26773 char * kwnames[] = {
26774 (char *) "self",(char *) "col", NULL
26775 };
26776
26777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26779 if (!SWIG_IsOK(res1)) {
26780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26781 }
26782 arg1 = reinterpret_cast< wxListItem * >(argp1);
26783 ecode2 = SWIG_AsVal_int(obj1, &val2);
26784 if (!SWIG_IsOK(ecode2)) {
26785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26786 }
26787 arg2 = static_cast< int >(val2);
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
26790 (arg1)->SetColumn(arg2);
26791 wxPyEndAllowThreads(__tstate);
26792 if (PyErr_Occurred()) SWIG_fail;
26793 }
26794 resultobj = SWIG_Py_Void();
26795 return resultobj;
26796 fail:
26797 return NULL;
26798 }
26799
26800
26801 SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26802 PyObject *resultobj = 0;
26803 wxListItem *arg1 = (wxListItem *) 0 ;
26804 long arg2 ;
26805 void *argp1 = 0 ;
26806 int res1 = 0 ;
26807 long val2 ;
26808 int ecode2 = 0 ;
26809 PyObject * obj0 = 0 ;
26810 PyObject * obj1 = 0 ;
26811 char * kwnames[] = {
26812 (char *) "self",(char *) "state", NULL
26813 };
26814
26815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26817 if (!SWIG_IsOK(res1)) {
26818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26819 }
26820 arg1 = reinterpret_cast< wxListItem * >(argp1);
26821 ecode2 = SWIG_AsVal_long(obj1, &val2);
26822 if (!SWIG_IsOK(ecode2)) {
26823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26824 }
26825 arg2 = static_cast< long >(val2);
26826 {
26827 PyThreadState* __tstate = wxPyBeginAllowThreads();
26828 (arg1)->SetState(arg2);
26829 wxPyEndAllowThreads(__tstate);
26830 if (PyErr_Occurred()) SWIG_fail;
26831 }
26832 resultobj = SWIG_Py_Void();
26833 return resultobj;
26834 fail:
26835 return NULL;
26836 }
26837
26838
26839 SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26840 PyObject *resultobj = 0;
26841 wxListItem *arg1 = (wxListItem *) 0 ;
26842 long arg2 ;
26843 void *argp1 = 0 ;
26844 int res1 = 0 ;
26845 long val2 ;
26846 int ecode2 = 0 ;
26847 PyObject * obj0 = 0 ;
26848 PyObject * obj1 = 0 ;
26849 char * kwnames[] = {
26850 (char *) "self",(char *) "stateMask", NULL
26851 };
26852
26853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26855 if (!SWIG_IsOK(res1)) {
26856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26857 }
26858 arg1 = reinterpret_cast< wxListItem * >(argp1);
26859 ecode2 = SWIG_AsVal_long(obj1, &val2);
26860 if (!SWIG_IsOK(ecode2)) {
26861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26862 }
26863 arg2 = static_cast< long >(val2);
26864 {
26865 PyThreadState* __tstate = wxPyBeginAllowThreads();
26866 (arg1)->SetStateMask(arg2);
26867 wxPyEndAllowThreads(__tstate);
26868 if (PyErr_Occurred()) SWIG_fail;
26869 }
26870 resultobj = SWIG_Py_Void();
26871 return resultobj;
26872 fail:
26873 return NULL;
26874 }
26875
26876
26877 SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26878 PyObject *resultobj = 0;
26879 wxListItem *arg1 = (wxListItem *) 0 ;
26880 wxString *arg2 = 0 ;
26881 void *argp1 = 0 ;
26882 int res1 = 0 ;
26883 bool temp2 = false ;
26884 PyObject * obj0 = 0 ;
26885 PyObject * obj1 = 0 ;
26886 char * kwnames[] = {
26887 (char *) "self",(char *) "text", NULL
26888 };
26889
26890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26892 if (!SWIG_IsOK(res1)) {
26893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26894 }
26895 arg1 = reinterpret_cast< wxListItem * >(argp1);
26896 {
26897 arg2 = wxString_in_helper(obj1);
26898 if (arg2 == NULL) SWIG_fail;
26899 temp2 = true;
26900 }
26901 {
26902 PyThreadState* __tstate = wxPyBeginAllowThreads();
26903 (arg1)->SetText((wxString const &)*arg2);
26904 wxPyEndAllowThreads(__tstate);
26905 if (PyErr_Occurred()) SWIG_fail;
26906 }
26907 resultobj = SWIG_Py_Void();
26908 {
26909 if (temp2)
26910 delete arg2;
26911 }
26912 return resultobj;
26913 fail:
26914 {
26915 if (temp2)
26916 delete arg2;
26917 }
26918 return NULL;
26919 }
26920
26921
26922 SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26923 PyObject *resultobj = 0;
26924 wxListItem *arg1 = (wxListItem *) 0 ;
26925 int arg2 ;
26926 void *argp1 = 0 ;
26927 int res1 = 0 ;
26928 int val2 ;
26929 int ecode2 = 0 ;
26930 PyObject * obj0 = 0 ;
26931 PyObject * obj1 = 0 ;
26932 char * kwnames[] = {
26933 (char *) "self",(char *) "image", NULL
26934 };
26935
26936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26938 if (!SWIG_IsOK(res1)) {
26939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26940 }
26941 arg1 = reinterpret_cast< wxListItem * >(argp1);
26942 ecode2 = SWIG_AsVal_int(obj1, &val2);
26943 if (!SWIG_IsOK(ecode2)) {
26944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26945 }
26946 arg2 = static_cast< int >(val2);
26947 {
26948 PyThreadState* __tstate = wxPyBeginAllowThreads();
26949 (arg1)->SetImage(arg2);
26950 wxPyEndAllowThreads(__tstate);
26951 if (PyErr_Occurred()) SWIG_fail;
26952 }
26953 resultobj = SWIG_Py_Void();
26954 return resultobj;
26955 fail:
26956 return NULL;
26957 }
26958
26959
26960 SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26961 PyObject *resultobj = 0;
26962 wxListItem *arg1 = (wxListItem *) 0 ;
26963 long arg2 ;
26964 void *argp1 = 0 ;
26965 int res1 = 0 ;
26966 long val2 ;
26967 int ecode2 = 0 ;
26968 PyObject * obj0 = 0 ;
26969 PyObject * obj1 = 0 ;
26970 char * kwnames[] = {
26971 (char *) "self",(char *) "data", NULL
26972 };
26973
26974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26976 if (!SWIG_IsOK(res1)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26978 }
26979 arg1 = reinterpret_cast< wxListItem * >(argp1);
26980 ecode2 = SWIG_AsVal_long(obj1, &val2);
26981 if (!SWIG_IsOK(ecode2)) {
26982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26983 }
26984 arg2 = static_cast< long >(val2);
26985 {
26986 PyThreadState* __tstate = wxPyBeginAllowThreads();
26987 (arg1)->SetData(arg2);
26988 wxPyEndAllowThreads(__tstate);
26989 if (PyErr_Occurred()) SWIG_fail;
26990 }
26991 resultobj = SWIG_Py_Void();
26992 return resultobj;
26993 fail:
26994 return NULL;
26995 }
26996
26997
26998 SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26999 PyObject *resultobj = 0;
27000 wxListItem *arg1 = (wxListItem *) 0 ;
27001 int arg2 ;
27002 void *argp1 = 0 ;
27003 int res1 = 0 ;
27004 int val2 ;
27005 int ecode2 = 0 ;
27006 PyObject * obj0 = 0 ;
27007 PyObject * obj1 = 0 ;
27008 char * kwnames[] = {
27009 (char *) "self",(char *) "width", NULL
27010 };
27011
27012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
27013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27014 if (!SWIG_IsOK(res1)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27016 }
27017 arg1 = reinterpret_cast< wxListItem * >(argp1);
27018 ecode2 = SWIG_AsVal_int(obj1, &val2);
27019 if (!SWIG_IsOK(ecode2)) {
27020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27021 }
27022 arg2 = static_cast< int >(val2);
27023 {
27024 PyThreadState* __tstate = wxPyBeginAllowThreads();
27025 (arg1)->SetWidth(arg2);
27026 wxPyEndAllowThreads(__tstate);
27027 if (PyErr_Occurred()) SWIG_fail;
27028 }
27029 resultobj = SWIG_Py_Void();
27030 return resultobj;
27031 fail:
27032 return NULL;
27033 }
27034
27035
27036 SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27037 PyObject *resultobj = 0;
27038 wxListItem *arg1 = (wxListItem *) 0 ;
27039 wxListColumnFormat arg2 ;
27040 void *argp1 = 0 ;
27041 int res1 = 0 ;
27042 int val2 ;
27043 int ecode2 = 0 ;
27044 PyObject * obj0 = 0 ;
27045 PyObject * obj1 = 0 ;
27046 char * kwnames[] = {
27047 (char *) "self",(char *) "align", NULL
27048 };
27049
27050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
27051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27052 if (!SWIG_IsOK(res1)) {
27053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27054 }
27055 arg1 = reinterpret_cast< wxListItem * >(argp1);
27056 ecode2 = SWIG_AsVal_int(obj1, &val2);
27057 if (!SWIG_IsOK(ecode2)) {
27058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27059 }
27060 arg2 = static_cast< wxListColumnFormat >(val2);
27061 {
27062 PyThreadState* __tstate = wxPyBeginAllowThreads();
27063 (arg1)->SetAlign(arg2);
27064 wxPyEndAllowThreads(__tstate);
27065 if (PyErr_Occurred()) SWIG_fail;
27066 }
27067 resultobj = SWIG_Py_Void();
27068 return resultobj;
27069 fail:
27070 return NULL;
27071 }
27072
27073
27074 SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27075 PyObject *resultobj = 0;
27076 wxListItem *arg1 = (wxListItem *) 0 ;
27077 wxColour *arg2 = 0 ;
27078 void *argp1 = 0 ;
27079 int res1 = 0 ;
27080 wxColour temp2 ;
27081 PyObject * obj0 = 0 ;
27082 PyObject * obj1 = 0 ;
27083 char * kwnames[] = {
27084 (char *) "self",(char *) "colText", NULL
27085 };
27086
27087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
27088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27089 if (!SWIG_IsOK(res1)) {
27090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27091 }
27092 arg1 = reinterpret_cast< wxListItem * >(argp1);
27093 {
27094 arg2 = &temp2;
27095 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27096 }
27097 {
27098 PyThreadState* __tstate = wxPyBeginAllowThreads();
27099 (arg1)->SetTextColour((wxColour const &)*arg2);
27100 wxPyEndAllowThreads(__tstate);
27101 if (PyErr_Occurred()) SWIG_fail;
27102 }
27103 resultobj = SWIG_Py_Void();
27104 return resultobj;
27105 fail:
27106 return NULL;
27107 }
27108
27109
27110 SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27111 PyObject *resultobj = 0;
27112 wxListItem *arg1 = (wxListItem *) 0 ;
27113 wxColour *arg2 = 0 ;
27114 void *argp1 = 0 ;
27115 int res1 = 0 ;
27116 wxColour temp2 ;
27117 PyObject * obj0 = 0 ;
27118 PyObject * obj1 = 0 ;
27119 char * kwnames[] = {
27120 (char *) "self",(char *) "colBack", NULL
27121 };
27122
27123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
27124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27125 if (!SWIG_IsOK(res1)) {
27126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27127 }
27128 arg1 = reinterpret_cast< wxListItem * >(argp1);
27129 {
27130 arg2 = &temp2;
27131 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27132 }
27133 {
27134 PyThreadState* __tstate = wxPyBeginAllowThreads();
27135 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
27136 wxPyEndAllowThreads(__tstate);
27137 if (PyErr_Occurred()) SWIG_fail;
27138 }
27139 resultobj = SWIG_Py_Void();
27140 return resultobj;
27141 fail:
27142 return NULL;
27143 }
27144
27145
27146 SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27147 PyObject *resultobj = 0;
27148 wxListItem *arg1 = (wxListItem *) 0 ;
27149 wxFont *arg2 = 0 ;
27150 void *argp1 = 0 ;
27151 int res1 = 0 ;
27152 void *argp2 = 0 ;
27153 int res2 = 0 ;
27154 PyObject * obj0 = 0 ;
27155 PyObject * obj1 = 0 ;
27156 char * kwnames[] = {
27157 (char *) "self",(char *) "font", NULL
27158 };
27159
27160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
27161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27162 if (!SWIG_IsOK(res1)) {
27163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27164 }
27165 arg1 = reinterpret_cast< wxListItem * >(argp1);
27166 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
27167 if (!SWIG_IsOK(res2)) {
27168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27169 }
27170 if (!argp2) {
27171 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27172 }
27173 arg2 = reinterpret_cast< wxFont * >(argp2);
27174 {
27175 PyThreadState* __tstate = wxPyBeginAllowThreads();
27176 (arg1)->SetFont((wxFont const &)*arg2);
27177 wxPyEndAllowThreads(__tstate);
27178 if (PyErr_Occurred()) SWIG_fail;
27179 }
27180 resultobj = SWIG_Py_Void();
27181 return resultobj;
27182 fail:
27183 return NULL;
27184 }
27185
27186
27187 SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27188 PyObject *resultobj = 0;
27189 wxListItem *arg1 = (wxListItem *) 0 ;
27190 long result;
27191 void *argp1 = 0 ;
27192 int res1 = 0 ;
27193 PyObject *swig_obj[1] ;
27194
27195 if (!args) SWIG_fail;
27196 swig_obj[0] = args;
27197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27198 if (!SWIG_IsOK(res1)) {
27199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27200 }
27201 arg1 = reinterpret_cast< wxListItem * >(argp1);
27202 {
27203 PyThreadState* __tstate = wxPyBeginAllowThreads();
27204 result = (long)(arg1)->GetMask();
27205 wxPyEndAllowThreads(__tstate);
27206 if (PyErr_Occurred()) SWIG_fail;
27207 }
27208 resultobj = SWIG_From_long(static_cast< long >(result));
27209 return resultobj;
27210 fail:
27211 return NULL;
27212 }
27213
27214
27215 SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27216 PyObject *resultobj = 0;
27217 wxListItem *arg1 = (wxListItem *) 0 ;
27218 long result;
27219 void *argp1 = 0 ;
27220 int res1 = 0 ;
27221 PyObject *swig_obj[1] ;
27222
27223 if (!args) SWIG_fail;
27224 swig_obj[0] = args;
27225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27226 if (!SWIG_IsOK(res1)) {
27227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27228 }
27229 arg1 = reinterpret_cast< wxListItem * >(argp1);
27230 {
27231 PyThreadState* __tstate = wxPyBeginAllowThreads();
27232 result = (long)(arg1)->GetId();
27233 wxPyEndAllowThreads(__tstate);
27234 if (PyErr_Occurred()) SWIG_fail;
27235 }
27236 resultobj = SWIG_From_long(static_cast< long >(result));
27237 return resultobj;
27238 fail:
27239 return NULL;
27240 }
27241
27242
27243 SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27244 PyObject *resultobj = 0;
27245 wxListItem *arg1 = (wxListItem *) 0 ;
27246 int result;
27247 void *argp1 = 0 ;
27248 int res1 = 0 ;
27249 PyObject *swig_obj[1] ;
27250
27251 if (!args) SWIG_fail;
27252 swig_obj[0] = args;
27253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27254 if (!SWIG_IsOK(res1)) {
27255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27256 }
27257 arg1 = reinterpret_cast< wxListItem * >(argp1);
27258 {
27259 PyThreadState* __tstate = wxPyBeginAllowThreads();
27260 result = (int)(arg1)->GetColumn();
27261 wxPyEndAllowThreads(__tstate);
27262 if (PyErr_Occurred()) SWIG_fail;
27263 }
27264 resultobj = SWIG_From_int(static_cast< int >(result));
27265 return resultobj;
27266 fail:
27267 return NULL;
27268 }
27269
27270
27271 SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27272 PyObject *resultobj = 0;
27273 wxListItem *arg1 = (wxListItem *) 0 ;
27274 long result;
27275 void *argp1 = 0 ;
27276 int res1 = 0 ;
27277 PyObject *swig_obj[1] ;
27278
27279 if (!args) SWIG_fail;
27280 swig_obj[0] = args;
27281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27282 if (!SWIG_IsOK(res1)) {
27283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27284 }
27285 arg1 = reinterpret_cast< wxListItem * >(argp1);
27286 {
27287 PyThreadState* __tstate = wxPyBeginAllowThreads();
27288 result = (long)(arg1)->GetState();
27289 wxPyEndAllowThreads(__tstate);
27290 if (PyErr_Occurred()) SWIG_fail;
27291 }
27292 resultobj = SWIG_From_long(static_cast< long >(result));
27293 return resultobj;
27294 fail:
27295 return NULL;
27296 }
27297
27298
27299 SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27300 PyObject *resultobj = 0;
27301 wxListItem *arg1 = (wxListItem *) 0 ;
27302 wxString *result = 0 ;
27303 void *argp1 = 0 ;
27304 int res1 = 0 ;
27305 PyObject *swig_obj[1] ;
27306
27307 if (!args) SWIG_fail;
27308 swig_obj[0] = args;
27309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27310 if (!SWIG_IsOK(res1)) {
27311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27312 }
27313 arg1 = reinterpret_cast< wxListItem * >(argp1);
27314 {
27315 PyThreadState* __tstate = wxPyBeginAllowThreads();
27316 {
27317 wxString const &_result_ref = (arg1)->GetText();
27318 result = (wxString *) &_result_ref;
27319 }
27320 wxPyEndAllowThreads(__tstate);
27321 if (PyErr_Occurred()) SWIG_fail;
27322 }
27323 {
27324 #if wxUSE_UNICODE
27325 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27326 #else
27327 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27328 #endif
27329 }
27330 return resultobj;
27331 fail:
27332 return NULL;
27333 }
27334
27335
27336 SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27337 PyObject *resultobj = 0;
27338 wxListItem *arg1 = (wxListItem *) 0 ;
27339 int result;
27340 void *argp1 = 0 ;
27341 int res1 = 0 ;
27342 PyObject *swig_obj[1] ;
27343
27344 if (!args) SWIG_fail;
27345 swig_obj[0] = args;
27346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27347 if (!SWIG_IsOK(res1)) {
27348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27349 }
27350 arg1 = reinterpret_cast< wxListItem * >(argp1);
27351 {
27352 PyThreadState* __tstate = wxPyBeginAllowThreads();
27353 result = (int)(arg1)->GetImage();
27354 wxPyEndAllowThreads(__tstate);
27355 if (PyErr_Occurred()) SWIG_fail;
27356 }
27357 resultobj = SWIG_From_int(static_cast< int >(result));
27358 return resultobj;
27359 fail:
27360 return NULL;
27361 }
27362
27363
27364 SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27365 PyObject *resultobj = 0;
27366 wxListItem *arg1 = (wxListItem *) 0 ;
27367 long result;
27368 void *argp1 = 0 ;
27369 int res1 = 0 ;
27370 PyObject *swig_obj[1] ;
27371
27372 if (!args) SWIG_fail;
27373 swig_obj[0] = args;
27374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27375 if (!SWIG_IsOK(res1)) {
27376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27377 }
27378 arg1 = reinterpret_cast< wxListItem * >(argp1);
27379 {
27380 PyThreadState* __tstate = wxPyBeginAllowThreads();
27381 result = (long)(arg1)->GetData();
27382 wxPyEndAllowThreads(__tstate);
27383 if (PyErr_Occurred()) SWIG_fail;
27384 }
27385 resultobj = SWIG_From_long(static_cast< long >(result));
27386 return resultobj;
27387 fail:
27388 return NULL;
27389 }
27390
27391
27392 SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27393 PyObject *resultobj = 0;
27394 wxListItem *arg1 = (wxListItem *) 0 ;
27395 int result;
27396 void *argp1 = 0 ;
27397 int res1 = 0 ;
27398 PyObject *swig_obj[1] ;
27399
27400 if (!args) SWIG_fail;
27401 swig_obj[0] = args;
27402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27403 if (!SWIG_IsOK(res1)) {
27404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27405 }
27406 arg1 = reinterpret_cast< wxListItem * >(argp1);
27407 {
27408 PyThreadState* __tstate = wxPyBeginAllowThreads();
27409 result = (int)(arg1)->GetWidth();
27410 wxPyEndAllowThreads(__tstate);
27411 if (PyErr_Occurred()) SWIG_fail;
27412 }
27413 resultobj = SWIG_From_int(static_cast< int >(result));
27414 return resultobj;
27415 fail:
27416 return NULL;
27417 }
27418
27419
27420 SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27421 PyObject *resultobj = 0;
27422 wxListItem *arg1 = (wxListItem *) 0 ;
27423 wxListColumnFormat result;
27424 void *argp1 = 0 ;
27425 int res1 = 0 ;
27426 PyObject *swig_obj[1] ;
27427
27428 if (!args) SWIG_fail;
27429 swig_obj[0] = args;
27430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27431 if (!SWIG_IsOK(res1)) {
27432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27433 }
27434 arg1 = reinterpret_cast< wxListItem * >(argp1);
27435 {
27436 PyThreadState* __tstate = wxPyBeginAllowThreads();
27437 result = (wxListColumnFormat)(arg1)->GetAlign();
27438 wxPyEndAllowThreads(__tstate);
27439 if (PyErr_Occurred()) SWIG_fail;
27440 }
27441 resultobj = SWIG_From_int(static_cast< int >(result));
27442 return resultobj;
27443 fail:
27444 return NULL;
27445 }
27446
27447
27448 SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27449 PyObject *resultobj = 0;
27450 wxListItem *arg1 = (wxListItem *) 0 ;
27451 wxListItemAttr *result = 0 ;
27452 void *argp1 = 0 ;
27453 int res1 = 0 ;
27454 PyObject *swig_obj[1] ;
27455
27456 if (!args) SWIG_fail;
27457 swig_obj[0] = args;
27458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27459 if (!SWIG_IsOK(res1)) {
27460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27461 }
27462 arg1 = reinterpret_cast< wxListItem * >(argp1);
27463 {
27464 PyThreadState* __tstate = wxPyBeginAllowThreads();
27465 result = (wxListItemAttr *)(arg1)->GetAttributes();
27466 wxPyEndAllowThreads(__tstate);
27467 if (PyErr_Occurred()) SWIG_fail;
27468 }
27469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27470 return resultobj;
27471 fail:
27472 return NULL;
27473 }
27474
27475
27476 SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27477 PyObject *resultobj = 0;
27478 wxListItem *arg1 = (wxListItem *) 0 ;
27479 bool result;
27480 void *argp1 = 0 ;
27481 int res1 = 0 ;
27482 PyObject *swig_obj[1] ;
27483
27484 if (!args) SWIG_fail;
27485 swig_obj[0] = args;
27486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27487 if (!SWIG_IsOK(res1)) {
27488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27489 }
27490 arg1 = reinterpret_cast< wxListItem * >(argp1);
27491 {
27492 PyThreadState* __tstate = wxPyBeginAllowThreads();
27493 result = (bool)(arg1)->HasAttributes();
27494 wxPyEndAllowThreads(__tstate);
27495 if (PyErr_Occurred()) SWIG_fail;
27496 }
27497 {
27498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27499 }
27500 return resultobj;
27501 fail:
27502 return NULL;
27503 }
27504
27505
27506 SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27507 PyObject *resultobj = 0;
27508 wxListItem *arg1 = (wxListItem *) 0 ;
27509 wxColour result;
27510 void *argp1 = 0 ;
27511 int res1 = 0 ;
27512 PyObject *swig_obj[1] ;
27513
27514 if (!args) SWIG_fail;
27515 swig_obj[0] = args;
27516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27517 if (!SWIG_IsOK(res1)) {
27518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27519 }
27520 arg1 = reinterpret_cast< wxListItem * >(argp1);
27521 {
27522 PyThreadState* __tstate = wxPyBeginAllowThreads();
27523 result = ((wxListItem const *)arg1)->GetTextColour();
27524 wxPyEndAllowThreads(__tstate);
27525 if (PyErr_Occurred()) SWIG_fail;
27526 }
27527 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27528 return resultobj;
27529 fail:
27530 return NULL;
27531 }
27532
27533
27534 SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27535 PyObject *resultobj = 0;
27536 wxListItem *arg1 = (wxListItem *) 0 ;
27537 wxColour result;
27538 void *argp1 = 0 ;
27539 int res1 = 0 ;
27540 PyObject *swig_obj[1] ;
27541
27542 if (!args) SWIG_fail;
27543 swig_obj[0] = args;
27544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27545 if (!SWIG_IsOK(res1)) {
27546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27547 }
27548 arg1 = reinterpret_cast< wxListItem * >(argp1);
27549 {
27550 PyThreadState* __tstate = wxPyBeginAllowThreads();
27551 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27552 wxPyEndAllowThreads(__tstate);
27553 if (PyErr_Occurred()) SWIG_fail;
27554 }
27555 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27556 return resultobj;
27557 fail:
27558 return NULL;
27559 }
27560
27561
27562 SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27563 PyObject *resultobj = 0;
27564 wxListItem *arg1 = (wxListItem *) 0 ;
27565 wxFont result;
27566 void *argp1 = 0 ;
27567 int res1 = 0 ;
27568 PyObject *swig_obj[1] ;
27569
27570 if (!args) SWIG_fail;
27571 swig_obj[0] = args;
27572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27573 if (!SWIG_IsOK(res1)) {
27574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27575 }
27576 arg1 = reinterpret_cast< wxListItem * >(argp1);
27577 {
27578 PyThreadState* __tstate = wxPyBeginAllowThreads();
27579 result = ((wxListItem const *)arg1)->GetFont();
27580 wxPyEndAllowThreads(__tstate);
27581 if (PyErr_Occurred()) SWIG_fail;
27582 }
27583 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27584 return resultobj;
27585 fail:
27586 return NULL;
27587 }
27588
27589
27590 SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27591 PyObject *resultobj = 0;
27592 wxListItem *arg1 = (wxListItem *) 0 ;
27593 long arg2 ;
27594 void *argp1 = 0 ;
27595 int res1 = 0 ;
27596 long val2 ;
27597 int ecode2 = 0 ;
27598 PyObject *swig_obj[2] ;
27599
27600 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27602 if (!SWIG_IsOK(res1)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27604 }
27605 arg1 = reinterpret_cast< wxListItem * >(argp1);
27606 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27607 if (!SWIG_IsOK(ecode2)) {
27608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27609 }
27610 arg2 = static_cast< long >(val2);
27611 if (arg1) (arg1)->m_mask = arg2;
27612
27613 resultobj = SWIG_Py_Void();
27614 return resultobj;
27615 fail:
27616 return NULL;
27617 }
27618
27619
27620 SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27621 PyObject *resultobj = 0;
27622 wxListItem *arg1 = (wxListItem *) 0 ;
27623 long result;
27624 void *argp1 = 0 ;
27625 int res1 = 0 ;
27626 PyObject *swig_obj[1] ;
27627
27628 if (!args) SWIG_fail;
27629 swig_obj[0] = args;
27630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27631 if (!SWIG_IsOK(res1)) {
27632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27633 }
27634 arg1 = reinterpret_cast< wxListItem * >(argp1);
27635 result = (long) ((arg1)->m_mask);
27636 resultobj = SWIG_From_long(static_cast< long >(result));
27637 return resultobj;
27638 fail:
27639 return NULL;
27640 }
27641
27642
27643 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27644 PyObject *resultobj = 0;
27645 wxListItem *arg1 = (wxListItem *) 0 ;
27646 long arg2 ;
27647 void *argp1 = 0 ;
27648 int res1 = 0 ;
27649 long val2 ;
27650 int ecode2 = 0 ;
27651 PyObject *swig_obj[2] ;
27652
27653 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27655 if (!SWIG_IsOK(res1)) {
27656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27657 }
27658 arg1 = reinterpret_cast< wxListItem * >(argp1);
27659 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27660 if (!SWIG_IsOK(ecode2)) {
27661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27662 }
27663 arg2 = static_cast< long >(val2);
27664 if (arg1) (arg1)->m_itemId = arg2;
27665
27666 resultobj = SWIG_Py_Void();
27667 return resultobj;
27668 fail:
27669 return NULL;
27670 }
27671
27672
27673 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27674 PyObject *resultobj = 0;
27675 wxListItem *arg1 = (wxListItem *) 0 ;
27676 long result;
27677 void *argp1 = 0 ;
27678 int res1 = 0 ;
27679 PyObject *swig_obj[1] ;
27680
27681 if (!args) SWIG_fail;
27682 swig_obj[0] = args;
27683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27684 if (!SWIG_IsOK(res1)) {
27685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27686 }
27687 arg1 = reinterpret_cast< wxListItem * >(argp1);
27688 result = (long) ((arg1)->m_itemId);
27689 resultobj = SWIG_From_long(static_cast< long >(result));
27690 return resultobj;
27691 fail:
27692 return NULL;
27693 }
27694
27695
27696 SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27697 PyObject *resultobj = 0;
27698 wxListItem *arg1 = (wxListItem *) 0 ;
27699 int arg2 ;
27700 void *argp1 = 0 ;
27701 int res1 = 0 ;
27702 int val2 ;
27703 int ecode2 = 0 ;
27704 PyObject *swig_obj[2] ;
27705
27706 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27708 if (!SWIG_IsOK(res1)) {
27709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27710 }
27711 arg1 = reinterpret_cast< wxListItem * >(argp1);
27712 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27713 if (!SWIG_IsOK(ecode2)) {
27714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27715 }
27716 arg2 = static_cast< int >(val2);
27717 if (arg1) (arg1)->m_col = arg2;
27718
27719 resultobj = SWIG_Py_Void();
27720 return resultobj;
27721 fail:
27722 return NULL;
27723 }
27724
27725
27726 SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27727 PyObject *resultobj = 0;
27728 wxListItem *arg1 = (wxListItem *) 0 ;
27729 int result;
27730 void *argp1 = 0 ;
27731 int res1 = 0 ;
27732 PyObject *swig_obj[1] ;
27733
27734 if (!args) SWIG_fail;
27735 swig_obj[0] = args;
27736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27737 if (!SWIG_IsOK(res1)) {
27738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27739 }
27740 arg1 = reinterpret_cast< wxListItem * >(argp1);
27741 result = (int) ((arg1)->m_col);
27742 resultobj = SWIG_From_int(static_cast< int >(result));
27743 return resultobj;
27744 fail:
27745 return NULL;
27746 }
27747
27748
27749 SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27750 PyObject *resultobj = 0;
27751 wxListItem *arg1 = (wxListItem *) 0 ;
27752 long arg2 ;
27753 void *argp1 = 0 ;
27754 int res1 = 0 ;
27755 long val2 ;
27756 int ecode2 = 0 ;
27757 PyObject *swig_obj[2] ;
27758
27759 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27761 if (!SWIG_IsOK(res1)) {
27762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27763 }
27764 arg1 = reinterpret_cast< wxListItem * >(argp1);
27765 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27766 if (!SWIG_IsOK(ecode2)) {
27767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27768 }
27769 arg2 = static_cast< long >(val2);
27770 if (arg1) (arg1)->m_state = arg2;
27771
27772 resultobj = SWIG_Py_Void();
27773 return resultobj;
27774 fail:
27775 return NULL;
27776 }
27777
27778
27779 SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27780 PyObject *resultobj = 0;
27781 wxListItem *arg1 = (wxListItem *) 0 ;
27782 long result;
27783 void *argp1 = 0 ;
27784 int res1 = 0 ;
27785 PyObject *swig_obj[1] ;
27786
27787 if (!args) SWIG_fail;
27788 swig_obj[0] = args;
27789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27790 if (!SWIG_IsOK(res1)) {
27791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27792 }
27793 arg1 = reinterpret_cast< wxListItem * >(argp1);
27794 result = (long) ((arg1)->m_state);
27795 resultobj = SWIG_From_long(static_cast< long >(result));
27796 return resultobj;
27797 fail:
27798 return NULL;
27799 }
27800
27801
27802 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27803 PyObject *resultobj = 0;
27804 wxListItem *arg1 = (wxListItem *) 0 ;
27805 long arg2 ;
27806 void *argp1 = 0 ;
27807 int res1 = 0 ;
27808 long val2 ;
27809 int ecode2 = 0 ;
27810 PyObject *swig_obj[2] ;
27811
27812 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27814 if (!SWIG_IsOK(res1)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27816 }
27817 arg1 = reinterpret_cast< wxListItem * >(argp1);
27818 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27819 if (!SWIG_IsOK(ecode2)) {
27820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27821 }
27822 arg2 = static_cast< long >(val2);
27823 if (arg1) (arg1)->m_stateMask = arg2;
27824
27825 resultobj = SWIG_Py_Void();
27826 return resultobj;
27827 fail:
27828 return NULL;
27829 }
27830
27831
27832 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27833 PyObject *resultobj = 0;
27834 wxListItem *arg1 = (wxListItem *) 0 ;
27835 long result;
27836 void *argp1 = 0 ;
27837 int res1 = 0 ;
27838 PyObject *swig_obj[1] ;
27839
27840 if (!args) SWIG_fail;
27841 swig_obj[0] = args;
27842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27843 if (!SWIG_IsOK(res1)) {
27844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27845 }
27846 arg1 = reinterpret_cast< wxListItem * >(argp1);
27847 result = (long) ((arg1)->m_stateMask);
27848 resultobj = SWIG_From_long(static_cast< long >(result));
27849 return resultobj;
27850 fail:
27851 return NULL;
27852 }
27853
27854
27855 SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27856 PyObject *resultobj = 0;
27857 wxListItem *arg1 = (wxListItem *) 0 ;
27858 wxString *arg2 = (wxString *) 0 ;
27859 void *argp1 = 0 ;
27860 int res1 = 0 ;
27861 bool temp2 = false ;
27862 PyObject *swig_obj[2] ;
27863
27864 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27866 if (!SWIG_IsOK(res1)) {
27867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27868 }
27869 arg1 = reinterpret_cast< wxListItem * >(argp1);
27870 {
27871 arg2 = wxString_in_helper(swig_obj[1]);
27872 if (arg2 == NULL) SWIG_fail;
27873 temp2 = true;
27874 }
27875 if (arg1) (arg1)->m_text = *arg2;
27876
27877 resultobj = SWIG_Py_Void();
27878 {
27879 if (temp2)
27880 delete arg2;
27881 }
27882 return resultobj;
27883 fail:
27884 {
27885 if (temp2)
27886 delete arg2;
27887 }
27888 return NULL;
27889 }
27890
27891
27892 SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27893 PyObject *resultobj = 0;
27894 wxListItem *arg1 = (wxListItem *) 0 ;
27895 wxString *result = 0 ;
27896 void *argp1 = 0 ;
27897 int res1 = 0 ;
27898 PyObject *swig_obj[1] ;
27899
27900 if (!args) SWIG_fail;
27901 swig_obj[0] = args;
27902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27903 if (!SWIG_IsOK(res1)) {
27904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27905 }
27906 arg1 = reinterpret_cast< wxListItem * >(argp1);
27907 result = (wxString *)& ((arg1)->m_text);
27908 {
27909 #if wxUSE_UNICODE
27910 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27911 #else
27912 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27913 #endif
27914 }
27915 return resultobj;
27916 fail:
27917 return NULL;
27918 }
27919
27920
27921 SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27922 PyObject *resultobj = 0;
27923 wxListItem *arg1 = (wxListItem *) 0 ;
27924 int arg2 ;
27925 void *argp1 = 0 ;
27926 int res1 = 0 ;
27927 int val2 ;
27928 int ecode2 = 0 ;
27929 PyObject *swig_obj[2] ;
27930
27931 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27933 if (!SWIG_IsOK(res1)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27935 }
27936 arg1 = reinterpret_cast< wxListItem * >(argp1);
27937 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27938 if (!SWIG_IsOK(ecode2)) {
27939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27940 }
27941 arg2 = static_cast< int >(val2);
27942 if (arg1) (arg1)->m_image = arg2;
27943
27944 resultobj = SWIG_Py_Void();
27945 return resultobj;
27946 fail:
27947 return NULL;
27948 }
27949
27950
27951 SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27952 PyObject *resultobj = 0;
27953 wxListItem *arg1 = (wxListItem *) 0 ;
27954 int result;
27955 void *argp1 = 0 ;
27956 int res1 = 0 ;
27957 PyObject *swig_obj[1] ;
27958
27959 if (!args) SWIG_fail;
27960 swig_obj[0] = args;
27961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27962 if (!SWIG_IsOK(res1)) {
27963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27964 }
27965 arg1 = reinterpret_cast< wxListItem * >(argp1);
27966 result = (int) ((arg1)->m_image);
27967 resultobj = SWIG_From_int(static_cast< int >(result));
27968 return resultobj;
27969 fail:
27970 return NULL;
27971 }
27972
27973
27974 SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27975 PyObject *resultobj = 0;
27976 wxListItem *arg1 = (wxListItem *) 0 ;
27977 long arg2 ;
27978 void *argp1 = 0 ;
27979 int res1 = 0 ;
27980 long val2 ;
27981 int ecode2 = 0 ;
27982 PyObject *swig_obj[2] ;
27983
27984 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27986 if (!SWIG_IsOK(res1)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27988 }
27989 arg1 = reinterpret_cast< wxListItem * >(argp1);
27990 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27991 if (!SWIG_IsOK(ecode2)) {
27992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27993 }
27994 arg2 = static_cast< long >(val2);
27995 if (arg1) (arg1)->m_data = arg2;
27996
27997 resultobj = SWIG_Py_Void();
27998 return resultobj;
27999 fail:
28000 return NULL;
28001 }
28002
28003
28004 SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28005 PyObject *resultobj = 0;
28006 wxListItem *arg1 = (wxListItem *) 0 ;
28007 long result;
28008 void *argp1 = 0 ;
28009 int res1 = 0 ;
28010 PyObject *swig_obj[1] ;
28011
28012 if (!args) SWIG_fail;
28013 swig_obj[0] = args;
28014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28015 if (!SWIG_IsOK(res1)) {
28016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28017 }
28018 arg1 = reinterpret_cast< wxListItem * >(argp1);
28019 result = (long) ((arg1)->m_data);
28020 resultobj = SWIG_From_long(static_cast< long >(result));
28021 return resultobj;
28022 fail:
28023 return NULL;
28024 }
28025
28026
28027 SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28028 PyObject *resultobj = 0;
28029 wxListItem *arg1 = (wxListItem *) 0 ;
28030 int arg2 ;
28031 void *argp1 = 0 ;
28032 int res1 = 0 ;
28033 int val2 ;
28034 int ecode2 = 0 ;
28035 PyObject *swig_obj[2] ;
28036
28037 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
28038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28039 if (!SWIG_IsOK(res1)) {
28040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28041 }
28042 arg1 = reinterpret_cast< wxListItem * >(argp1);
28043 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28044 if (!SWIG_IsOK(ecode2)) {
28045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28046 }
28047 arg2 = static_cast< int >(val2);
28048 if (arg1) (arg1)->m_format = arg2;
28049
28050 resultobj = SWIG_Py_Void();
28051 return resultobj;
28052 fail:
28053 return NULL;
28054 }
28055
28056
28057 SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28058 PyObject *resultobj = 0;
28059 wxListItem *arg1 = (wxListItem *) 0 ;
28060 int result;
28061 void *argp1 = 0 ;
28062 int res1 = 0 ;
28063 PyObject *swig_obj[1] ;
28064
28065 if (!args) SWIG_fail;
28066 swig_obj[0] = args;
28067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28068 if (!SWIG_IsOK(res1)) {
28069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28070 }
28071 arg1 = reinterpret_cast< wxListItem * >(argp1);
28072 result = (int) ((arg1)->m_format);
28073 resultobj = SWIG_From_int(static_cast< int >(result));
28074 return resultobj;
28075 fail:
28076 return NULL;
28077 }
28078
28079
28080 SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28081 PyObject *resultobj = 0;
28082 wxListItem *arg1 = (wxListItem *) 0 ;
28083 int arg2 ;
28084 void *argp1 = 0 ;
28085 int res1 = 0 ;
28086 int val2 ;
28087 int ecode2 = 0 ;
28088 PyObject *swig_obj[2] ;
28089
28090 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
28091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28092 if (!SWIG_IsOK(res1)) {
28093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28094 }
28095 arg1 = reinterpret_cast< wxListItem * >(argp1);
28096 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28097 if (!SWIG_IsOK(ecode2)) {
28098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28099 }
28100 arg2 = static_cast< int >(val2);
28101 if (arg1) (arg1)->m_width = arg2;
28102
28103 resultobj = SWIG_Py_Void();
28104 return resultobj;
28105 fail:
28106 return NULL;
28107 }
28108
28109
28110 SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28111 PyObject *resultobj = 0;
28112 wxListItem *arg1 = (wxListItem *) 0 ;
28113 int result;
28114 void *argp1 = 0 ;
28115 int res1 = 0 ;
28116 PyObject *swig_obj[1] ;
28117
28118 if (!args) SWIG_fail;
28119 swig_obj[0] = args;
28120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28121 if (!SWIG_IsOK(res1)) {
28122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28123 }
28124 arg1 = reinterpret_cast< wxListItem * >(argp1);
28125 result = (int) ((arg1)->m_width);
28126 resultobj = SWIG_From_int(static_cast< int >(result));
28127 return resultobj;
28128 fail:
28129 return NULL;
28130 }
28131
28132
28133 SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28134 PyObject *obj;
28135 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28136 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
28137 return SWIG_Py_Void();
28138 }
28139
28140 SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28141 return SWIG_Python_InitShadowInstance(args);
28142 }
28143
28144 SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28145 PyObject *resultobj = 0;
28146 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28147 int arg2 = (int) 0 ;
28148 wxListEvent *result = 0 ;
28149 int val1 ;
28150 int ecode1 = 0 ;
28151 int val2 ;
28152 int ecode2 = 0 ;
28153 PyObject * obj0 = 0 ;
28154 PyObject * obj1 = 0 ;
28155 char * kwnames[] = {
28156 (char *) "commandType",(char *) "id", NULL
28157 };
28158
28159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28160 if (obj0) {
28161 ecode1 = SWIG_AsVal_int(obj0, &val1);
28162 if (!SWIG_IsOK(ecode1)) {
28163 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28164 }
28165 arg1 = static_cast< wxEventType >(val1);
28166 }
28167 if (obj1) {
28168 ecode2 = SWIG_AsVal_int(obj1, &val2);
28169 if (!SWIG_IsOK(ecode2)) {
28170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28171 }
28172 arg2 = static_cast< int >(val2);
28173 }
28174 {
28175 PyThreadState* __tstate = wxPyBeginAllowThreads();
28176 result = (wxListEvent *)new wxListEvent(arg1,arg2);
28177 wxPyEndAllowThreads(__tstate);
28178 if (PyErr_Occurred()) SWIG_fail;
28179 }
28180 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
28181 return resultobj;
28182 fail:
28183 return NULL;
28184 }
28185
28186
28187 SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28188 PyObject *resultobj = 0;
28189 wxListEvent *arg1 = (wxListEvent *) 0 ;
28190 int arg2 ;
28191 void *argp1 = 0 ;
28192 int res1 = 0 ;
28193 int val2 ;
28194 int ecode2 = 0 ;
28195 PyObject *swig_obj[2] ;
28196
28197 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
28198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28199 if (!SWIG_IsOK(res1)) {
28200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28201 }
28202 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28203 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28204 if (!SWIG_IsOK(ecode2)) {
28205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28206 }
28207 arg2 = static_cast< int >(val2);
28208 if (arg1) (arg1)->m_code = arg2;
28209
28210 resultobj = SWIG_Py_Void();
28211 return resultobj;
28212 fail:
28213 return NULL;
28214 }
28215
28216
28217 SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28218 PyObject *resultobj = 0;
28219 wxListEvent *arg1 = (wxListEvent *) 0 ;
28220 int result;
28221 void *argp1 = 0 ;
28222 int res1 = 0 ;
28223 PyObject *swig_obj[1] ;
28224
28225 if (!args) SWIG_fail;
28226 swig_obj[0] = args;
28227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28228 if (!SWIG_IsOK(res1)) {
28229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28230 }
28231 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28232 result = (int) ((arg1)->m_code);
28233 resultobj = SWIG_From_int(static_cast< int >(result));
28234 return resultobj;
28235 fail:
28236 return NULL;
28237 }
28238
28239
28240 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28241 PyObject *resultobj = 0;
28242 wxListEvent *arg1 = (wxListEvent *) 0 ;
28243 long arg2 ;
28244 void *argp1 = 0 ;
28245 int res1 = 0 ;
28246 long val2 ;
28247 int ecode2 = 0 ;
28248 PyObject *swig_obj[2] ;
28249
28250 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
28251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28252 if (!SWIG_IsOK(res1)) {
28253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28254 }
28255 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28256 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28257 if (!SWIG_IsOK(ecode2)) {
28258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28259 }
28260 arg2 = static_cast< long >(val2);
28261 if (arg1) (arg1)->m_oldItemIndex = arg2;
28262
28263 resultobj = SWIG_Py_Void();
28264 return resultobj;
28265 fail:
28266 return NULL;
28267 }
28268
28269
28270 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28271 PyObject *resultobj = 0;
28272 wxListEvent *arg1 = (wxListEvent *) 0 ;
28273 long result;
28274 void *argp1 = 0 ;
28275 int res1 = 0 ;
28276 PyObject *swig_obj[1] ;
28277
28278 if (!args) SWIG_fail;
28279 swig_obj[0] = args;
28280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28281 if (!SWIG_IsOK(res1)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28283 }
28284 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28285 result = (long) ((arg1)->m_oldItemIndex);
28286 resultobj = SWIG_From_long(static_cast< long >(result));
28287 return resultobj;
28288 fail:
28289 return NULL;
28290 }
28291
28292
28293 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28294 PyObject *resultobj = 0;
28295 wxListEvent *arg1 = (wxListEvent *) 0 ;
28296 long arg2 ;
28297 void *argp1 = 0 ;
28298 int res1 = 0 ;
28299 long val2 ;
28300 int ecode2 = 0 ;
28301 PyObject *swig_obj[2] ;
28302
28303 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
28304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28305 if (!SWIG_IsOK(res1)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28307 }
28308 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28309 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28310 if (!SWIG_IsOK(ecode2)) {
28311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28312 }
28313 arg2 = static_cast< long >(val2);
28314 if (arg1) (arg1)->m_itemIndex = arg2;
28315
28316 resultobj = SWIG_Py_Void();
28317 return resultobj;
28318 fail:
28319 return NULL;
28320 }
28321
28322
28323 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28324 PyObject *resultobj = 0;
28325 wxListEvent *arg1 = (wxListEvent *) 0 ;
28326 long result;
28327 void *argp1 = 0 ;
28328 int res1 = 0 ;
28329 PyObject *swig_obj[1] ;
28330
28331 if (!args) SWIG_fail;
28332 swig_obj[0] = args;
28333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28334 if (!SWIG_IsOK(res1)) {
28335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28336 }
28337 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28338 result = (long) ((arg1)->m_itemIndex);
28339 resultobj = SWIG_From_long(static_cast< long >(result));
28340 return resultobj;
28341 fail:
28342 return NULL;
28343 }
28344
28345
28346 SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28347 PyObject *resultobj = 0;
28348 wxListEvent *arg1 = (wxListEvent *) 0 ;
28349 int arg2 ;
28350 void *argp1 = 0 ;
28351 int res1 = 0 ;
28352 int val2 ;
28353 int ecode2 = 0 ;
28354 PyObject *swig_obj[2] ;
28355
28356 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28358 if (!SWIG_IsOK(res1)) {
28359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28360 }
28361 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28362 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28363 if (!SWIG_IsOK(ecode2)) {
28364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28365 }
28366 arg2 = static_cast< int >(val2);
28367 if (arg1) (arg1)->m_col = arg2;
28368
28369 resultobj = SWIG_Py_Void();
28370 return resultobj;
28371 fail:
28372 return NULL;
28373 }
28374
28375
28376 SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28377 PyObject *resultobj = 0;
28378 wxListEvent *arg1 = (wxListEvent *) 0 ;
28379 int result;
28380 void *argp1 = 0 ;
28381 int res1 = 0 ;
28382 PyObject *swig_obj[1] ;
28383
28384 if (!args) SWIG_fail;
28385 swig_obj[0] = args;
28386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28387 if (!SWIG_IsOK(res1)) {
28388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28389 }
28390 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28391 result = (int) ((arg1)->m_col);
28392 resultobj = SWIG_From_int(static_cast< int >(result));
28393 return resultobj;
28394 fail:
28395 return NULL;
28396 }
28397
28398
28399 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28400 PyObject *resultobj = 0;
28401 wxListEvent *arg1 = (wxListEvent *) 0 ;
28402 wxPoint *arg2 = (wxPoint *) 0 ;
28403 void *argp1 = 0 ;
28404 int res1 = 0 ;
28405 void *argp2 = 0 ;
28406 int res2 = 0 ;
28407 PyObject *swig_obj[2] ;
28408
28409 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28411 if (!SWIG_IsOK(res1)) {
28412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28413 }
28414 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28415 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28416 if (!SWIG_IsOK(res2)) {
28417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28418 }
28419 arg2 = reinterpret_cast< wxPoint * >(argp2);
28420 if (arg1) (arg1)->m_pointDrag = *arg2;
28421
28422 resultobj = SWIG_Py_Void();
28423 return resultobj;
28424 fail:
28425 return NULL;
28426 }
28427
28428
28429 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28430 PyObject *resultobj = 0;
28431 wxListEvent *arg1 = (wxListEvent *) 0 ;
28432 wxPoint *result = 0 ;
28433 void *argp1 = 0 ;
28434 int res1 = 0 ;
28435 PyObject *swig_obj[1] ;
28436
28437 if (!args) SWIG_fail;
28438 swig_obj[0] = args;
28439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28440 if (!SWIG_IsOK(res1)) {
28441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28442 }
28443 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28444 result = (wxPoint *)& ((arg1)->m_pointDrag);
28445 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28446 return resultobj;
28447 fail:
28448 return NULL;
28449 }
28450
28451
28452 SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28453 PyObject *resultobj = 0;
28454 wxListEvent *arg1 = (wxListEvent *) 0 ;
28455 wxListItem *result = 0 ;
28456 void *argp1 = 0 ;
28457 int res1 = 0 ;
28458 PyObject *swig_obj[1] ;
28459
28460 if (!args) SWIG_fail;
28461 swig_obj[0] = args;
28462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28463 if (!SWIG_IsOK(res1)) {
28464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28465 }
28466 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28467 result = (wxListItem *)& ((arg1)->m_item);
28468 {
28469 resultobj = wxPyMake_wxObject(result, 0);
28470 }
28471 return resultobj;
28472 fail:
28473 return NULL;
28474 }
28475
28476
28477 SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28478 PyObject *resultobj = 0;
28479 wxListEvent *arg1 = (wxListEvent *) 0 ;
28480 int result;
28481 void *argp1 = 0 ;
28482 int res1 = 0 ;
28483 PyObject *swig_obj[1] ;
28484
28485 if (!args) SWIG_fail;
28486 swig_obj[0] = args;
28487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28488 if (!SWIG_IsOK(res1)) {
28489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28490 }
28491 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28492 {
28493 PyThreadState* __tstate = wxPyBeginAllowThreads();
28494 result = (int)(arg1)->GetKeyCode();
28495 wxPyEndAllowThreads(__tstate);
28496 if (PyErr_Occurred()) SWIG_fail;
28497 }
28498 resultobj = SWIG_From_int(static_cast< int >(result));
28499 return resultobj;
28500 fail:
28501 return NULL;
28502 }
28503
28504
28505 SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28506 PyObject *resultobj = 0;
28507 wxListEvent *arg1 = (wxListEvent *) 0 ;
28508 long result;
28509 void *argp1 = 0 ;
28510 int res1 = 0 ;
28511 PyObject *swig_obj[1] ;
28512
28513 if (!args) SWIG_fail;
28514 swig_obj[0] = args;
28515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28516 if (!SWIG_IsOK(res1)) {
28517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28518 }
28519 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28520 {
28521 PyThreadState* __tstate = wxPyBeginAllowThreads();
28522 result = (long)(arg1)->GetIndex();
28523 wxPyEndAllowThreads(__tstate);
28524 if (PyErr_Occurred()) SWIG_fail;
28525 }
28526 resultobj = SWIG_From_long(static_cast< long >(result));
28527 return resultobj;
28528 fail:
28529 return NULL;
28530 }
28531
28532
28533 SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28534 PyObject *resultobj = 0;
28535 wxListEvent *arg1 = (wxListEvent *) 0 ;
28536 int result;
28537 void *argp1 = 0 ;
28538 int res1 = 0 ;
28539 PyObject *swig_obj[1] ;
28540
28541 if (!args) SWIG_fail;
28542 swig_obj[0] = args;
28543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28544 if (!SWIG_IsOK(res1)) {
28545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28546 }
28547 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28548 {
28549 PyThreadState* __tstate = wxPyBeginAllowThreads();
28550 result = (int)(arg1)->GetColumn();
28551 wxPyEndAllowThreads(__tstate);
28552 if (PyErr_Occurred()) SWIG_fail;
28553 }
28554 resultobj = SWIG_From_int(static_cast< int >(result));
28555 return resultobj;
28556 fail:
28557 return NULL;
28558 }
28559
28560
28561 SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28562 PyObject *resultobj = 0;
28563 wxListEvent *arg1 = (wxListEvent *) 0 ;
28564 wxPoint result;
28565 void *argp1 = 0 ;
28566 int res1 = 0 ;
28567 PyObject *swig_obj[1] ;
28568
28569 if (!args) SWIG_fail;
28570 swig_obj[0] = args;
28571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28572 if (!SWIG_IsOK(res1)) {
28573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28574 }
28575 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28576 {
28577 PyThreadState* __tstate = wxPyBeginAllowThreads();
28578 result = (arg1)->GetPoint();
28579 wxPyEndAllowThreads(__tstate);
28580 if (PyErr_Occurred()) SWIG_fail;
28581 }
28582 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28583 return resultobj;
28584 fail:
28585 return NULL;
28586 }
28587
28588
28589 SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28590 PyObject *resultobj = 0;
28591 wxListEvent *arg1 = (wxListEvent *) 0 ;
28592 wxString *result = 0 ;
28593 void *argp1 = 0 ;
28594 int res1 = 0 ;
28595 PyObject *swig_obj[1] ;
28596
28597 if (!args) SWIG_fail;
28598 swig_obj[0] = args;
28599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28600 if (!SWIG_IsOK(res1)) {
28601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28602 }
28603 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28604 {
28605 PyThreadState* __tstate = wxPyBeginAllowThreads();
28606 {
28607 wxString const &_result_ref = (arg1)->GetLabel();
28608 result = (wxString *) &_result_ref;
28609 }
28610 wxPyEndAllowThreads(__tstate);
28611 if (PyErr_Occurred()) SWIG_fail;
28612 }
28613 {
28614 #if wxUSE_UNICODE
28615 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28616 #else
28617 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28618 #endif
28619 }
28620 return resultobj;
28621 fail:
28622 return NULL;
28623 }
28624
28625
28626 SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28627 PyObject *resultobj = 0;
28628 wxListEvent *arg1 = (wxListEvent *) 0 ;
28629 wxString *result = 0 ;
28630 void *argp1 = 0 ;
28631 int res1 = 0 ;
28632 PyObject *swig_obj[1] ;
28633
28634 if (!args) SWIG_fail;
28635 swig_obj[0] = args;
28636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28637 if (!SWIG_IsOK(res1)) {
28638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28639 }
28640 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28641 {
28642 PyThreadState* __tstate = wxPyBeginAllowThreads();
28643 {
28644 wxString const &_result_ref = (arg1)->GetText();
28645 result = (wxString *) &_result_ref;
28646 }
28647 wxPyEndAllowThreads(__tstate);
28648 if (PyErr_Occurred()) SWIG_fail;
28649 }
28650 {
28651 #if wxUSE_UNICODE
28652 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28653 #else
28654 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28655 #endif
28656 }
28657 return resultobj;
28658 fail:
28659 return NULL;
28660 }
28661
28662
28663 SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28664 PyObject *resultobj = 0;
28665 wxListEvent *arg1 = (wxListEvent *) 0 ;
28666 int result;
28667 void *argp1 = 0 ;
28668 int res1 = 0 ;
28669 PyObject *swig_obj[1] ;
28670
28671 if (!args) SWIG_fail;
28672 swig_obj[0] = args;
28673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28674 if (!SWIG_IsOK(res1)) {
28675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28676 }
28677 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28678 {
28679 PyThreadState* __tstate = wxPyBeginAllowThreads();
28680 result = (int)(arg1)->GetImage();
28681 wxPyEndAllowThreads(__tstate);
28682 if (PyErr_Occurred()) SWIG_fail;
28683 }
28684 resultobj = SWIG_From_int(static_cast< int >(result));
28685 return resultobj;
28686 fail:
28687 return NULL;
28688 }
28689
28690
28691 SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28692 PyObject *resultobj = 0;
28693 wxListEvent *arg1 = (wxListEvent *) 0 ;
28694 long result;
28695 void *argp1 = 0 ;
28696 int res1 = 0 ;
28697 PyObject *swig_obj[1] ;
28698
28699 if (!args) SWIG_fail;
28700 swig_obj[0] = args;
28701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28702 if (!SWIG_IsOK(res1)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28704 }
28705 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28706 {
28707 PyThreadState* __tstate = wxPyBeginAllowThreads();
28708 result = (long)(arg1)->GetData();
28709 wxPyEndAllowThreads(__tstate);
28710 if (PyErr_Occurred()) SWIG_fail;
28711 }
28712 resultobj = SWIG_From_long(static_cast< long >(result));
28713 return resultobj;
28714 fail:
28715 return NULL;
28716 }
28717
28718
28719 SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28720 PyObject *resultobj = 0;
28721 wxListEvent *arg1 = (wxListEvent *) 0 ;
28722 long result;
28723 void *argp1 = 0 ;
28724 int res1 = 0 ;
28725 PyObject *swig_obj[1] ;
28726
28727 if (!args) SWIG_fail;
28728 swig_obj[0] = args;
28729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28730 if (!SWIG_IsOK(res1)) {
28731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28732 }
28733 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28734 {
28735 PyThreadState* __tstate = wxPyBeginAllowThreads();
28736 result = (long)(arg1)->GetMask();
28737 wxPyEndAllowThreads(__tstate);
28738 if (PyErr_Occurred()) SWIG_fail;
28739 }
28740 resultobj = SWIG_From_long(static_cast< long >(result));
28741 return resultobj;
28742 fail:
28743 return NULL;
28744 }
28745
28746
28747 SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28748 PyObject *resultobj = 0;
28749 wxListEvent *arg1 = (wxListEvent *) 0 ;
28750 wxListItem *result = 0 ;
28751 void *argp1 = 0 ;
28752 int res1 = 0 ;
28753 PyObject *swig_obj[1] ;
28754
28755 if (!args) SWIG_fail;
28756 swig_obj[0] = args;
28757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28758 if (!SWIG_IsOK(res1)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28760 }
28761 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28762 {
28763 PyThreadState* __tstate = wxPyBeginAllowThreads();
28764 {
28765 wxListItem const &_result_ref = (arg1)->GetItem();
28766 result = (wxListItem *) &_result_ref;
28767 }
28768 wxPyEndAllowThreads(__tstate);
28769 if (PyErr_Occurred()) SWIG_fail;
28770 }
28771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28772 return resultobj;
28773 fail:
28774 return NULL;
28775 }
28776
28777
28778 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28779 PyObject *resultobj = 0;
28780 wxListEvent *arg1 = (wxListEvent *) 0 ;
28781 long result;
28782 void *argp1 = 0 ;
28783 int res1 = 0 ;
28784 PyObject *swig_obj[1] ;
28785
28786 if (!args) SWIG_fail;
28787 swig_obj[0] = args;
28788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28789 if (!SWIG_IsOK(res1)) {
28790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28791 }
28792 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28793 {
28794 PyThreadState* __tstate = wxPyBeginAllowThreads();
28795 result = (long)(arg1)->GetCacheFrom();
28796 wxPyEndAllowThreads(__tstate);
28797 if (PyErr_Occurred()) SWIG_fail;
28798 }
28799 resultobj = SWIG_From_long(static_cast< long >(result));
28800 return resultobj;
28801 fail:
28802 return NULL;
28803 }
28804
28805
28806 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28807 PyObject *resultobj = 0;
28808 wxListEvent *arg1 = (wxListEvent *) 0 ;
28809 long result;
28810 void *argp1 = 0 ;
28811 int res1 = 0 ;
28812 PyObject *swig_obj[1] ;
28813
28814 if (!args) SWIG_fail;
28815 swig_obj[0] = args;
28816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28817 if (!SWIG_IsOK(res1)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28819 }
28820 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28821 {
28822 PyThreadState* __tstate = wxPyBeginAllowThreads();
28823 result = (long)(arg1)->GetCacheTo();
28824 wxPyEndAllowThreads(__tstate);
28825 if (PyErr_Occurred()) SWIG_fail;
28826 }
28827 resultobj = SWIG_From_long(static_cast< long >(result));
28828 return resultobj;
28829 fail:
28830 return NULL;
28831 }
28832
28833
28834 SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28835 PyObject *resultobj = 0;
28836 wxListEvent *arg1 = (wxListEvent *) 0 ;
28837 bool result;
28838 void *argp1 = 0 ;
28839 int res1 = 0 ;
28840 PyObject *swig_obj[1] ;
28841
28842 if (!args) SWIG_fail;
28843 swig_obj[0] = args;
28844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28845 if (!SWIG_IsOK(res1)) {
28846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28847 }
28848 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28849 {
28850 PyThreadState* __tstate = wxPyBeginAllowThreads();
28851 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28852 wxPyEndAllowThreads(__tstate);
28853 if (PyErr_Occurred()) SWIG_fail;
28854 }
28855 {
28856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28857 }
28858 return resultobj;
28859 fail:
28860 return NULL;
28861 }
28862
28863
28864 SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28865 PyObject *resultobj = 0;
28866 wxListEvent *arg1 = (wxListEvent *) 0 ;
28867 bool arg2 ;
28868 void *argp1 = 0 ;
28869 int res1 = 0 ;
28870 bool val2 ;
28871 int ecode2 = 0 ;
28872 PyObject * obj0 = 0 ;
28873 PyObject * obj1 = 0 ;
28874 char * kwnames[] = {
28875 (char *) "self",(char *) "editCancelled", NULL
28876 };
28877
28878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28880 if (!SWIG_IsOK(res1)) {
28881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28882 }
28883 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28884 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28885 if (!SWIG_IsOK(ecode2)) {
28886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28887 }
28888 arg2 = static_cast< bool >(val2);
28889 {
28890 PyThreadState* __tstate = wxPyBeginAllowThreads();
28891 (arg1)->SetEditCanceled(arg2);
28892 wxPyEndAllowThreads(__tstate);
28893 if (PyErr_Occurred()) SWIG_fail;
28894 }
28895 resultobj = SWIG_Py_Void();
28896 return resultobj;
28897 fail:
28898 return NULL;
28899 }
28900
28901
28902 SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28903 PyObject *obj;
28904 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28905 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28906 return SWIG_Py_Void();
28907 }
28908
28909 SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28910 return SWIG_Python_InitShadowInstance(args);
28911 }
28912
28913 SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28914 PyObject *resultobj = 0;
28915 wxWindow *arg1 = (wxWindow *) 0 ;
28916 int arg2 = (int) -1 ;
28917 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28918 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28919 wxSize const &arg4_defvalue = wxDefaultSize ;
28920 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28921 long arg5 = (long) wxLC_ICON ;
28922 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28923 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28924 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28925 wxString *arg7 = (wxString *) &arg7_defvalue ;
28926 wxPyListCtrl *result = 0 ;
28927 void *argp1 = 0 ;
28928 int res1 = 0 ;
28929 int val2 ;
28930 int ecode2 = 0 ;
28931 wxPoint temp3 ;
28932 wxSize temp4 ;
28933 long val5 ;
28934 int ecode5 = 0 ;
28935 void *argp6 = 0 ;
28936 int res6 = 0 ;
28937 bool temp7 = false ;
28938 PyObject * obj0 = 0 ;
28939 PyObject * obj1 = 0 ;
28940 PyObject * obj2 = 0 ;
28941 PyObject * obj3 = 0 ;
28942 PyObject * obj4 = 0 ;
28943 PyObject * obj5 = 0 ;
28944 PyObject * obj6 = 0 ;
28945 char * kwnames[] = {
28946 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28947 };
28948
28949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28951 if (!SWIG_IsOK(res1)) {
28952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28953 }
28954 arg1 = reinterpret_cast< wxWindow * >(argp1);
28955 if (obj1) {
28956 ecode2 = SWIG_AsVal_int(obj1, &val2);
28957 if (!SWIG_IsOK(ecode2)) {
28958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28959 }
28960 arg2 = static_cast< int >(val2);
28961 }
28962 if (obj2) {
28963 {
28964 arg3 = &temp3;
28965 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28966 }
28967 }
28968 if (obj3) {
28969 {
28970 arg4 = &temp4;
28971 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28972 }
28973 }
28974 if (obj4) {
28975 ecode5 = SWIG_AsVal_long(obj4, &val5);
28976 if (!SWIG_IsOK(ecode5)) {
28977 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28978 }
28979 arg5 = static_cast< long >(val5);
28980 }
28981 if (obj5) {
28982 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28983 if (!SWIG_IsOK(res6)) {
28984 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28985 }
28986 if (!argp6) {
28987 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28988 }
28989 arg6 = reinterpret_cast< wxValidator * >(argp6);
28990 }
28991 if (obj6) {
28992 {
28993 arg7 = wxString_in_helper(obj6);
28994 if (arg7 == NULL) SWIG_fail;
28995 temp7 = true;
28996 }
28997 }
28998 {
28999 if (!wxPyCheckForApp()) SWIG_fail;
29000 PyThreadState* __tstate = wxPyBeginAllowThreads();
29001 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29002 wxPyEndAllowThreads(__tstate);
29003 if (PyErr_Occurred()) SWIG_fail;
29004 }
29005 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
29006 {
29007 if (temp7)
29008 delete arg7;
29009 }
29010 return resultobj;
29011 fail:
29012 {
29013 if (temp7)
29014 delete arg7;
29015 }
29016 return NULL;
29017 }
29018
29019
29020 SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29021 PyObject *resultobj = 0;
29022 wxPyListCtrl *result = 0 ;
29023
29024 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
29025 {
29026 if (!wxPyCheckForApp()) SWIG_fail;
29027 PyThreadState* __tstate = wxPyBeginAllowThreads();
29028 result = (wxPyListCtrl *)new wxPyListCtrl();
29029 wxPyEndAllowThreads(__tstate);
29030 if (PyErr_Occurred()) SWIG_fail;
29031 }
29032 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
29033 return resultobj;
29034 fail:
29035 return NULL;
29036 }
29037
29038
29039 SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29040 PyObject *resultobj = 0;
29041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29042 wxWindow *arg2 = (wxWindow *) 0 ;
29043 int arg3 = (int) -1 ;
29044 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29045 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29046 wxSize const &arg5_defvalue = wxDefaultSize ;
29047 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29048 long arg6 = (long) wxLC_ICON ;
29049 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29050 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29051 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
29052 wxString *arg8 = (wxString *) &arg8_defvalue ;
29053 bool result;
29054 void *argp1 = 0 ;
29055 int res1 = 0 ;
29056 void *argp2 = 0 ;
29057 int res2 = 0 ;
29058 int val3 ;
29059 int ecode3 = 0 ;
29060 wxPoint temp4 ;
29061 wxSize temp5 ;
29062 long val6 ;
29063 int ecode6 = 0 ;
29064 void *argp7 = 0 ;
29065 int res7 = 0 ;
29066 bool temp8 = false ;
29067 PyObject * obj0 = 0 ;
29068 PyObject * obj1 = 0 ;
29069 PyObject * obj2 = 0 ;
29070 PyObject * obj3 = 0 ;
29071 PyObject * obj4 = 0 ;
29072 PyObject * obj5 = 0 ;
29073 PyObject * obj6 = 0 ;
29074 PyObject * obj7 = 0 ;
29075 char * kwnames[] = {
29076 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29077 };
29078
29079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
29080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29081 if (!SWIG_IsOK(res1)) {
29082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29083 }
29084 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29085 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29086 if (!SWIG_IsOK(res2)) {
29087 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29088 }
29089 arg2 = reinterpret_cast< wxWindow * >(argp2);
29090 if (obj2) {
29091 ecode3 = SWIG_AsVal_int(obj2, &val3);
29092 if (!SWIG_IsOK(ecode3)) {
29093 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29094 }
29095 arg3 = static_cast< int >(val3);
29096 }
29097 if (obj3) {
29098 {
29099 arg4 = &temp4;
29100 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29101 }
29102 }
29103 if (obj4) {
29104 {
29105 arg5 = &temp5;
29106 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29107 }
29108 }
29109 if (obj5) {
29110 ecode6 = SWIG_AsVal_long(obj5, &val6);
29111 if (!SWIG_IsOK(ecode6)) {
29112 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29113 }
29114 arg6 = static_cast< long >(val6);
29115 }
29116 if (obj6) {
29117 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
29118 if (!SWIG_IsOK(res7)) {
29119 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29120 }
29121 if (!argp7) {
29122 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29123 }
29124 arg7 = reinterpret_cast< wxValidator * >(argp7);
29125 }
29126 if (obj7) {
29127 {
29128 arg8 = wxString_in_helper(obj7);
29129 if (arg8 == NULL) SWIG_fail;
29130 temp8 = true;
29131 }
29132 }
29133 {
29134 PyThreadState* __tstate = wxPyBeginAllowThreads();
29135 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29136 wxPyEndAllowThreads(__tstate);
29137 if (PyErr_Occurred()) SWIG_fail;
29138 }
29139 {
29140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29141 }
29142 {
29143 if (temp8)
29144 delete arg8;
29145 }
29146 return resultobj;
29147 fail:
29148 {
29149 if (temp8)
29150 delete arg8;
29151 }
29152 return NULL;
29153 }
29154
29155
29156 SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29157 PyObject *resultobj = 0;
29158 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29159 PyObject *arg2 = (PyObject *) 0 ;
29160 PyObject *arg3 = (PyObject *) 0 ;
29161 void *argp1 = 0 ;
29162 int res1 = 0 ;
29163 PyObject * obj0 = 0 ;
29164 PyObject * obj1 = 0 ;
29165 PyObject * obj2 = 0 ;
29166 char * kwnames[] = {
29167 (char *) "self",(char *) "self",(char *) "_class", NULL
29168 };
29169
29170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29172 if (!SWIG_IsOK(res1)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29174 }
29175 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29176 arg2 = obj1;
29177 arg3 = obj2;
29178 {
29179 PyThreadState* __tstate = wxPyBeginAllowThreads();
29180 (arg1)->_setCallbackInfo(arg2,arg3);
29181 wxPyEndAllowThreads(__tstate);
29182 if (PyErr_Occurred()) SWIG_fail;
29183 }
29184 resultobj = SWIG_Py_Void();
29185 return resultobj;
29186 fail:
29187 return NULL;
29188 }
29189
29190
29191 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29192 PyObject *resultobj = 0;
29193 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29194 int arg2 ;
29195 wxListItem *result = 0 ;
29196 void *argp1 = 0 ;
29197 int res1 = 0 ;
29198 int val2 ;
29199 int ecode2 = 0 ;
29200 PyObject * obj0 = 0 ;
29201 PyObject * obj1 = 0 ;
29202 char * kwnames[] = {
29203 (char *) "self",(char *) "col", NULL
29204 };
29205
29206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
29207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29208 if (!SWIG_IsOK(res1)) {
29209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29210 }
29211 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29212 ecode2 = SWIG_AsVal_int(obj1, &val2);
29213 if (!SWIG_IsOK(ecode2)) {
29214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29215 }
29216 arg2 = static_cast< int >(val2);
29217 {
29218 PyThreadState* __tstate = wxPyBeginAllowThreads();
29219 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
29220 wxPyEndAllowThreads(__tstate);
29221 if (PyErr_Occurred()) SWIG_fail;
29222 }
29223 {
29224 resultobj = wxPyMake_wxObject(result, 0);
29225 }
29226 return resultobj;
29227 fail:
29228 return NULL;
29229 }
29230
29231
29232 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29233 PyObject *resultobj = 0;
29234 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29235 int arg2 ;
29236 wxListItem *arg3 = 0 ;
29237 bool result;
29238 void *argp1 = 0 ;
29239 int res1 = 0 ;
29240 int val2 ;
29241 int ecode2 = 0 ;
29242 void *argp3 = 0 ;
29243 int res3 = 0 ;
29244 PyObject * obj0 = 0 ;
29245 PyObject * obj1 = 0 ;
29246 PyObject * obj2 = 0 ;
29247 char * kwnames[] = {
29248 (char *) "self",(char *) "col",(char *) "item", NULL
29249 };
29250
29251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29253 if (!SWIG_IsOK(res1)) {
29254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29255 }
29256 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29257 ecode2 = SWIG_AsVal_int(obj1, &val2);
29258 if (!SWIG_IsOK(ecode2)) {
29259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29260 }
29261 arg2 = static_cast< int >(val2);
29262 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29263 if (!SWIG_IsOK(res3)) {
29264 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29265 }
29266 if (!argp3) {
29267 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29268 }
29269 arg3 = reinterpret_cast< wxListItem * >(argp3);
29270 {
29271 PyThreadState* __tstate = wxPyBeginAllowThreads();
29272 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29273 wxPyEndAllowThreads(__tstate);
29274 if (PyErr_Occurred()) SWIG_fail;
29275 }
29276 {
29277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29278 }
29279 return resultobj;
29280 fail:
29281 return NULL;
29282 }
29283
29284
29285 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29286 PyObject *resultobj = 0;
29287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29288 int arg2 ;
29289 int result;
29290 void *argp1 = 0 ;
29291 int res1 = 0 ;
29292 int val2 ;
29293 int ecode2 = 0 ;
29294 PyObject * obj0 = 0 ;
29295 PyObject * obj1 = 0 ;
29296 char * kwnames[] = {
29297 (char *) "self",(char *) "col", NULL
29298 };
29299
29300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29302 if (!SWIG_IsOK(res1)) {
29303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29304 }
29305 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29306 ecode2 = SWIG_AsVal_int(obj1, &val2);
29307 if (!SWIG_IsOK(ecode2)) {
29308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29309 }
29310 arg2 = static_cast< int >(val2);
29311 {
29312 PyThreadState* __tstate = wxPyBeginAllowThreads();
29313 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29314 wxPyEndAllowThreads(__tstate);
29315 if (PyErr_Occurred()) SWIG_fail;
29316 }
29317 resultobj = SWIG_From_int(static_cast< int >(result));
29318 return resultobj;
29319 fail:
29320 return NULL;
29321 }
29322
29323
29324 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29325 PyObject *resultobj = 0;
29326 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29327 int arg2 ;
29328 int arg3 ;
29329 bool result;
29330 void *argp1 = 0 ;
29331 int res1 = 0 ;
29332 int val2 ;
29333 int ecode2 = 0 ;
29334 int val3 ;
29335 int ecode3 = 0 ;
29336 PyObject * obj0 = 0 ;
29337 PyObject * obj1 = 0 ;
29338 PyObject * obj2 = 0 ;
29339 char * kwnames[] = {
29340 (char *) "self",(char *) "col",(char *) "width", NULL
29341 };
29342
29343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29345 if (!SWIG_IsOK(res1)) {
29346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29347 }
29348 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29349 ecode2 = SWIG_AsVal_int(obj1, &val2);
29350 if (!SWIG_IsOK(ecode2)) {
29351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29352 }
29353 arg2 = static_cast< int >(val2);
29354 ecode3 = SWIG_AsVal_int(obj2, &val3);
29355 if (!SWIG_IsOK(ecode3)) {
29356 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29357 }
29358 arg3 = static_cast< int >(val3);
29359 {
29360 PyThreadState* __tstate = wxPyBeginAllowThreads();
29361 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29362 wxPyEndAllowThreads(__tstate);
29363 if (PyErr_Occurred()) SWIG_fail;
29364 }
29365 {
29366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29367 }
29368 return resultobj;
29369 fail:
29370 return NULL;
29371 }
29372
29373
29374 SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29375 PyObject *resultobj = 0;
29376 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29377 int result;
29378 void *argp1 = 0 ;
29379 int res1 = 0 ;
29380 PyObject *swig_obj[1] ;
29381
29382 if (!args) SWIG_fail;
29383 swig_obj[0] = args;
29384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29385 if (!SWIG_IsOK(res1)) {
29386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29387 }
29388 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29389 {
29390 PyThreadState* __tstate = wxPyBeginAllowThreads();
29391 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29392 wxPyEndAllowThreads(__tstate);
29393 if (PyErr_Occurred()) SWIG_fail;
29394 }
29395 resultobj = SWIG_From_int(static_cast< int >(result));
29396 return resultobj;
29397 fail:
29398 return NULL;
29399 }
29400
29401
29402 SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29403 PyObject *resultobj = 0;
29404 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29405 wxRect result;
29406 void *argp1 = 0 ;
29407 int res1 = 0 ;
29408 PyObject *swig_obj[1] ;
29409
29410 if (!args) SWIG_fail;
29411 swig_obj[0] = args;
29412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29413 if (!SWIG_IsOK(res1)) {
29414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29415 }
29416 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29417 {
29418 PyThreadState* __tstate = wxPyBeginAllowThreads();
29419 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29420 wxPyEndAllowThreads(__tstate);
29421 if (PyErr_Occurred()) SWIG_fail;
29422 }
29423 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29424 return resultobj;
29425 fail:
29426 return NULL;
29427 }
29428
29429
29430 SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29431 PyObject *resultobj = 0;
29432 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29433 wxTextCtrl *result = 0 ;
29434 void *argp1 = 0 ;
29435 int res1 = 0 ;
29436 PyObject *swig_obj[1] ;
29437
29438 if (!args) SWIG_fail;
29439 swig_obj[0] = args;
29440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29441 if (!SWIG_IsOK(res1)) {
29442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29443 }
29444 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29445 {
29446 PyThreadState* __tstate = wxPyBeginAllowThreads();
29447 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29448 wxPyEndAllowThreads(__tstate);
29449 if (PyErr_Occurred()) SWIG_fail;
29450 }
29451 {
29452 resultobj = wxPyMake_wxObject(result, 0);
29453 }
29454 return resultobj;
29455 fail:
29456 return NULL;
29457 }
29458
29459
29460 SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29461 PyObject *resultobj = 0;
29462 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29463 long arg2 ;
29464 int arg3 = (int) 0 ;
29465 wxListItem *result = 0 ;
29466 void *argp1 = 0 ;
29467 int res1 = 0 ;
29468 long val2 ;
29469 int ecode2 = 0 ;
29470 int val3 ;
29471 int ecode3 = 0 ;
29472 PyObject * obj0 = 0 ;
29473 PyObject * obj1 = 0 ;
29474 PyObject * obj2 = 0 ;
29475 char * kwnames[] = {
29476 (char *) "self",(char *) "itemId",(char *) "col", NULL
29477 };
29478
29479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29481 if (!SWIG_IsOK(res1)) {
29482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29483 }
29484 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29485 ecode2 = SWIG_AsVal_long(obj1, &val2);
29486 if (!SWIG_IsOK(ecode2)) {
29487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29488 }
29489 arg2 = static_cast< long >(val2);
29490 if (obj2) {
29491 ecode3 = SWIG_AsVal_int(obj2, &val3);
29492 if (!SWIG_IsOK(ecode3)) {
29493 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29494 }
29495 arg3 = static_cast< int >(val3);
29496 }
29497 {
29498 PyThreadState* __tstate = wxPyBeginAllowThreads();
29499 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29500 wxPyEndAllowThreads(__tstate);
29501 if (PyErr_Occurred()) SWIG_fail;
29502 }
29503 {
29504 resultobj = wxPyMake_wxObject(result, 0);
29505 }
29506 return resultobj;
29507 fail:
29508 return NULL;
29509 }
29510
29511
29512 SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29513 PyObject *resultobj = 0;
29514 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29515 wxListItem *arg2 = 0 ;
29516 bool result;
29517 void *argp1 = 0 ;
29518 int res1 = 0 ;
29519 void *argp2 = 0 ;
29520 int res2 = 0 ;
29521 PyObject * obj0 = 0 ;
29522 PyObject * obj1 = 0 ;
29523 char * kwnames[] = {
29524 (char *) "self",(char *) "info", NULL
29525 };
29526
29527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29529 if (!SWIG_IsOK(res1)) {
29530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29531 }
29532 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29533 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29534 if (!SWIG_IsOK(res2)) {
29535 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29536 }
29537 if (!argp2) {
29538 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29539 }
29540 arg2 = reinterpret_cast< wxListItem * >(argp2);
29541 {
29542 PyThreadState* __tstate = wxPyBeginAllowThreads();
29543 result = (bool)(arg1)->SetItem(*arg2);
29544 wxPyEndAllowThreads(__tstate);
29545 if (PyErr_Occurred()) SWIG_fail;
29546 }
29547 {
29548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29549 }
29550 return resultobj;
29551 fail:
29552 return NULL;
29553 }
29554
29555
29556 SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29557 PyObject *resultobj = 0;
29558 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29559 long arg2 ;
29560 int arg3 ;
29561 wxString *arg4 = 0 ;
29562 int arg5 = (int) -1 ;
29563 long result;
29564 void *argp1 = 0 ;
29565 int res1 = 0 ;
29566 long val2 ;
29567 int ecode2 = 0 ;
29568 int val3 ;
29569 int ecode3 = 0 ;
29570 bool temp4 = false ;
29571 int val5 ;
29572 int ecode5 = 0 ;
29573 PyObject * obj0 = 0 ;
29574 PyObject * obj1 = 0 ;
29575 PyObject * obj2 = 0 ;
29576 PyObject * obj3 = 0 ;
29577 PyObject * obj4 = 0 ;
29578 char * kwnames[] = {
29579 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29580 };
29581
29582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29584 if (!SWIG_IsOK(res1)) {
29585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29586 }
29587 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29588 ecode2 = SWIG_AsVal_long(obj1, &val2);
29589 if (!SWIG_IsOK(ecode2)) {
29590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29591 }
29592 arg2 = static_cast< long >(val2);
29593 ecode3 = SWIG_AsVal_int(obj2, &val3);
29594 if (!SWIG_IsOK(ecode3)) {
29595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29596 }
29597 arg3 = static_cast< int >(val3);
29598 {
29599 arg4 = wxString_in_helper(obj3);
29600 if (arg4 == NULL) SWIG_fail;
29601 temp4 = true;
29602 }
29603 if (obj4) {
29604 ecode5 = SWIG_AsVal_int(obj4, &val5);
29605 if (!SWIG_IsOK(ecode5)) {
29606 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29607 }
29608 arg5 = static_cast< int >(val5);
29609 }
29610 {
29611 PyThreadState* __tstate = wxPyBeginAllowThreads();
29612 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29613 wxPyEndAllowThreads(__tstate);
29614 if (PyErr_Occurred()) SWIG_fail;
29615 }
29616 resultobj = SWIG_From_long(static_cast< long >(result));
29617 {
29618 if (temp4)
29619 delete arg4;
29620 }
29621 return resultobj;
29622 fail:
29623 {
29624 if (temp4)
29625 delete arg4;
29626 }
29627 return NULL;
29628 }
29629
29630
29631 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29632 PyObject *resultobj = 0;
29633 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29634 long arg2 ;
29635 long arg3 ;
29636 int result;
29637 void *argp1 = 0 ;
29638 int res1 = 0 ;
29639 long val2 ;
29640 int ecode2 = 0 ;
29641 long val3 ;
29642 int ecode3 = 0 ;
29643 PyObject * obj0 = 0 ;
29644 PyObject * obj1 = 0 ;
29645 PyObject * obj2 = 0 ;
29646 char * kwnames[] = {
29647 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29648 };
29649
29650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29652 if (!SWIG_IsOK(res1)) {
29653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29654 }
29655 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29656 ecode2 = SWIG_AsVal_long(obj1, &val2);
29657 if (!SWIG_IsOK(ecode2)) {
29658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29659 }
29660 arg2 = static_cast< long >(val2);
29661 ecode3 = SWIG_AsVal_long(obj2, &val3);
29662 if (!SWIG_IsOK(ecode3)) {
29663 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29664 }
29665 arg3 = static_cast< long >(val3);
29666 {
29667 PyThreadState* __tstate = wxPyBeginAllowThreads();
29668 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29669 wxPyEndAllowThreads(__tstate);
29670 if (PyErr_Occurred()) SWIG_fail;
29671 }
29672 resultobj = SWIG_From_int(static_cast< int >(result));
29673 return resultobj;
29674 fail:
29675 return NULL;
29676 }
29677
29678
29679 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29680 PyObject *resultobj = 0;
29681 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29682 long arg2 ;
29683 long arg3 ;
29684 long arg4 ;
29685 bool result;
29686 void *argp1 = 0 ;
29687 int res1 = 0 ;
29688 long val2 ;
29689 int ecode2 = 0 ;
29690 long val3 ;
29691 int ecode3 = 0 ;
29692 long val4 ;
29693 int ecode4 = 0 ;
29694 PyObject * obj0 = 0 ;
29695 PyObject * obj1 = 0 ;
29696 PyObject * obj2 = 0 ;
29697 PyObject * obj3 = 0 ;
29698 char * kwnames[] = {
29699 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29700 };
29701
29702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29704 if (!SWIG_IsOK(res1)) {
29705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29706 }
29707 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29708 ecode2 = SWIG_AsVal_long(obj1, &val2);
29709 if (!SWIG_IsOK(ecode2)) {
29710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29711 }
29712 arg2 = static_cast< long >(val2);
29713 ecode3 = SWIG_AsVal_long(obj2, &val3);
29714 if (!SWIG_IsOK(ecode3)) {
29715 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29716 }
29717 arg3 = static_cast< long >(val3);
29718 ecode4 = SWIG_AsVal_long(obj3, &val4);
29719 if (!SWIG_IsOK(ecode4)) {
29720 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29721 }
29722 arg4 = static_cast< long >(val4);
29723 {
29724 PyThreadState* __tstate = wxPyBeginAllowThreads();
29725 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29726 wxPyEndAllowThreads(__tstate);
29727 if (PyErr_Occurred()) SWIG_fail;
29728 }
29729 {
29730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29731 }
29732 return resultobj;
29733 fail:
29734 return NULL;
29735 }
29736
29737
29738 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29739 PyObject *resultobj = 0;
29740 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29741 long arg2 ;
29742 int arg3 ;
29743 int arg4 = (int) -1 ;
29744 bool result;
29745 void *argp1 = 0 ;
29746 int res1 = 0 ;
29747 long val2 ;
29748 int ecode2 = 0 ;
29749 int val3 ;
29750 int ecode3 = 0 ;
29751 int val4 ;
29752 int ecode4 = 0 ;
29753 PyObject * obj0 = 0 ;
29754 PyObject * obj1 = 0 ;
29755 PyObject * obj2 = 0 ;
29756 PyObject * obj3 = 0 ;
29757 char * kwnames[] = {
29758 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29759 };
29760
29761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29763 if (!SWIG_IsOK(res1)) {
29764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29765 }
29766 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29767 ecode2 = SWIG_AsVal_long(obj1, &val2);
29768 if (!SWIG_IsOK(ecode2)) {
29769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29770 }
29771 arg2 = static_cast< long >(val2);
29772 ecode3 = SWIG_AsVal_int(obj2, &val3);
29773 if (!SWIG_IsOK(ecode3)) {
29774 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29775 }
29776 arg3 = static_cast< int >(val3);
29777 if (obj3) {
29778 ecode4 = SWIG_AsVal_int(obj3, &val4);
29779 if (!SWIG_IsOK(ecode4)) {
29780 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29781 }
29782 arg4 = static_cast< int >(val4);
29783 }
29784 {
29785 PyThreadState* __tstate = wxPyBeginAllowThreads();
29786 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29787 wxPyEndAllowThreads(__tstate);
29788 if (PyErr_Occurred()) SWIG_fail;
29789 }
29790 {
29791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29792 }
29793 return resultobj;
29794 fail:
29795 return NULL;
29796 }
29797
29798
29799 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29800 PyObject *resultobj = 0;
29801 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29802 long arg2 ;
29803 long arg3 ;
29804 int arg4 ;
29805 bool result;
29806 void *argp1 = 0 ;
29807 int res1 = 0 ;
29808 long val2 ;
29809 int ecode2 = 0 ;
29810 long val3 ;
29811 int ecode3 = 0 ;
29812 int val4 ;
29813 int ecode4 = 0 ;
29814 PyObject * obj0 = 0 ;
29815 PyObject * obj1 = 0 ;
29816 PyObject * obj2 = 0 ;
29817 PyObject * obj3 = 0 ;
29818 char * kwnames[] = {
29819 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29820 };
29821
29822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29824 if (!SWIG_IsOK(res1)) {
29825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29826 }
29827 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29828 ecode2 = SWIG_AsVal_long(obj1, &val2);
29829 if (!SWIG_IsOK(ecode2)) {
29830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29831 }
29832 arg2 = static_cast< long >(val2);
29833 ecode3 = SWIG_AsVal_long(obj2, &val3);
29834 if (!SWIG_IsOK(ecode3)) {
29835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29836 }
29837 arg3 = static_cast< long >(val3);
29838 ecode4 = SWIG_AsVal_int(obj3, &val4);
29839 if (!SWIG_IsOK(ecode4)) {
29840 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29841 }
29842 arg4 = static_cast< int >(val4);
29843 {
29844 PyThreadState* __tstate = wxPyBeginAllowThreads();
29845 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29846 wxPyEndAllowThreads(__tstate);
29847 if (PyErr_Occurred()) SWIG_fail;
29848 }
29849 {
29850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29851 }
29852 return resultobj;
29853 fail:
29854 return NULL;
29855 }
29856
29857
29858 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29859 PyObject *resultobj = 0;
29860 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29861 long arg2 ;
29862 wxString result;
29863 void *argp1 = 0 ;
29864 int res1 = 0 ;
29865 long val2 ;
29866 int ecode2 = 0 ;
29867 PyObject * obj0 = 0 ;
29868 PyObject * obj1 = 0 ;
29869 char * kwnames[] = {
29870 (char *) "self",(char *) "item", NULL
29871 };
29872
29873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29875 if (!SWIG_IsOK(res1)) {
29876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29877 }
29878 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29879 ecode2 = SWIG_AsVal_long(obj1, &val2);
29880 if (!SWIG_IsOK(ecode2)) {
29881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29882 }
29883 arg2 = static_cast< long >(val2);
29884 {
29885 PyThreadState* __tstate = wxPyBeginAllowThreads();
29886 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29887 wxPyEndAllowThreads(__tstate);
29888 if (PyErr_Occurred()) SWIG_fail;
29889 }
29890 {
29891 #if wxUSE_UNICODE
29892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29893 #else
29894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29895 #endif
29896 }
29897 return resultobj;
29898 fail:
29899 return NULL;
29900 }
29901
29902
29903 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29904 PyObject *resultobj = 0;
29905 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29906 long arg2 ;
29907 wxString *arg3 = 0 ;
29908 void *argp1 = 0 ;
29909 int res1 = 0 ;
29910 long val2 ;
29911 int ecode2 = 0 ;
29912 bool temp3 = false ;
29913 PyObject * obj0 = 0 ;
29914 PyObject * obj1 = 0 ;
29915 PyObject * obj2 = 0 ;
29916 char * kwnames[] = {
29917 (char *) "self",(char *) "item",(char *) "str", NULL
29918 };
29919
29920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29922 if (!SWIG_IsOK(res1)) {
29923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29924 }
29925 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29926 ecode2 = SWIG_AsVal_long(obj1, &val2);
29927 if (!SWIG_IsOK(ecode2)) {
29928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29929 }
29930 arg2 = static_cast< long >(val2);
29931 {
29932 arg3 = wxString_in_helper(obj2);
29933 if (arg3 == NULL) SWIG_fail;
29934 temp3 = true;
29935 }
29936 {
29937 PyThreadState* __tstate = wxPyBeginAllowThreads();
29938 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29939 wxPyEndAllowThreads(__tstate);
29940 if (PyErr_Occurred()) SWIG_fail;
29941 }
29942 resultobj = SWIG_Py_Void();
29943 {
29944 if (temp3)
29945 delete arg3;
29946 }
29947 return resultobj;
29948 fail:
29949 {
29950 if (temp3)
29951 delete arg3;
29952 }
29953 return NULL;
29954 }
29955
29956
29957 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29958 PyObject *resultobj = 0;
29959 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29960 long arg2 ;
29961 long result;
29962 void *argp1 = 0 ;
29963 int res1 = 0 ;
29964 long val2 ;
29965 int ecode2 = 0 ;
29966 PyObject * obj0 = 0 ;
29967 PyObject * obj1 = 0 ;
29968 char * kwnames[] = {
29969 (char *) "self",(char *) "item", NULL
29970 };
29971
29972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29974 if (!SWIG_IsOK(res1)) {
29975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29976 }
29977 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29978 ecode2 = SWIG_AsVal_long(obj1, &val2);
29979 if (!SWIG_IsOK(ecode2)) {
29980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29981 }
29982 arg2 = static_cast< long >(val2);
29983 {
29984 PyThreadState* __tstate = wxPyBeginAllowThreads();
29985 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29986 wxPyEndAllowThreads(__tstate);
29987 if (PyErr_Occurred()) SWIG_fail;
29988 }
29989 resultobj = SWIG_From_long(static_cast< long >(result));
29990 return resultobj;
29991 fail:
29992 return NULL;
29993 }
29994
29995
29996 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29997 PyObject *resultobj = 0;
29998 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29999 long arg2 ;
30000 long arg3 ;
30001 bool result;
30002 void *argp1 = 0 ;
30003 int res1 = 0 ;
30004 long val2 ;
30005 int ecode2 = 0 ;
30006 long val3 ;
30007 int ecode3 = 0 ;
30008 PyObject * obj0 = 0 ;
30009 PyObject * obj1 = 0 ;
30010 PyObject * obj2 = 0 ;
30011 char * kwnames[] = {
30012 (char *) "self",(char *) "item",(char *) "data", NULL
30013 };
30014
30015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30017 if (!SWIG_IsOK(res1)) {
30018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30019 }
30020 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30021 ecode2 = SWIG_AsVal_long(obj1, &val2);
30022 if (!SWIG_IsOK(ecode2)) {
30023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30024 }
30025 arg2 = static_cast< long >(val2);
30026 ecode3 = SWIG_AsVal_long(obj2, &val3);
30027 if (!SWIG_IsOK(ecode3)) {
30028 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30029 }
30030 arg3 = static_cast< long >(val3);
30031 {
30032 PyThreadState* __tstate = wxPyBeginAllowThreads();
30033 result = (bool)(arg1)->SetItemData(arg2,arg3);
30034 wxPyEndAllowThreads(__tstate);
30035 if (PyErr_Occurred()) SWIG_fail;
30036 }
30037 {
30038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30039 }
30040 return resultobj;
30041 fail:
30042 return NULL;
30043 }
30044
30045
30046 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30047 PyObject *resultobj = 0;
30048 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30049 long arg2 ;
30050 wxPoint result;
30051 void *argp1 = 0 ;
30052 int res1 = 0 ;
30053 long val2 ;
30054 int ecode2 = 0 ;
30055 PyObject * obj0 = 0 ;
30056 PyObject * obj1 = 0 ;
30057 char * kwnames[] = {
30058 (char *) "self",(char *) "item", NULL
30059 };
30060
30061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
30062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30063 if (!SWIG_IsOK(res1)) {
30064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30065 }
30066 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30067 ecode2 = SWIG_AsVal_long(obj1, &val2);
30068 if (!SWIG_IsOK(ecode2)) {
30069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30070 }
30071 arg2 = static_cast< long >(val2);
30072 {
30073 PyThreadState* __tstate = wxPyBeginAllowThreads();
30074 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
30075 wxPyEndAllowThreads(__tstate);
30076 if (PyErr_Occurred()) SWIG_fail;
30077 }
30078 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
30079 return resultobj;
30080 fail:
30081 return NULL;
30082 }
30083
30084
30085 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30086 PyObject *resultobj = 0;
30087 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30088 long arg2 ;
30089 int arg3 = (int) wxLIST_RECT_BOUNDS ;
30090 wxRect result;
30091 void *argp1 = 0 ;
30092 int res1 = 0 ;
30093 long val2 ;
30094 int ecode2 = 0 ;
30095 int val3 ;
30096 int ecode3 = 0 ;
30097 PyObject * obj0 = 0 ;
30098 PyObject * obj1 = 0 ;
30099 PyObject * obj2 = 0 ;
30100 char * kwnames[] = {
30101 (char *) "self",(char *) "item",(char *) "code", NULL
30102 };
30103
30104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30106 if (!SWIG_IsOK(res1)) {
30107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30108 }
30109 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30110 ecode2 = SWIG_AsVal_long(obj1, &val2);
30111 if (!SWIG_IsOK(ecode2)) {
30112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30113 }
30114 arg2 = static_cast< long >(val2);
30115 if (obj2) {
30116 ecode3 = SWIG_AsVal_int(obj2, &val3);
30117 if (!SWIG_IsOK(ecode3)) {
30118 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30119 }
30120 arg3 = static_cast< int >(val3);
30121 }
30122 {
30123 PyThreadState* __tstate = wxPyBeginAllowThreads();
30124 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
30125 wxPyEndAllowThreads(__tstate);
30126 if (PyErr_Occurred()) SWIG_fail;
30127 }
30128 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30129 return resultobj;
30130 fail:
30131 return NULL;
30132 }
30133
30134
30135 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30136 PyObject *resultobj = 0;
30137 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30138 long arg2 ;
30139 wxPoint *arg3 = 0 ;
30140 bool result;
30141 void *argp1 = 0 ;
30142 int res1 = 0 ;
30143 long val2 ;
30144 int ecode2 = 0 ;
30145 wxPoint temp3 ;
30146 PyObject * obj0 = 0 ;
30147 PyObject * obj1 = 0 ;
30148 PyObject * obj2 = 0 ;
30149 char * kwnames[] = {
30150 (char *) "self",(char *) "item",(char *) "pos", NULL
30151 };
30152
30153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30155 if (!SWIG_IsOK(res1)) {
30156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30157 }
30158 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30159 ecode2 = SWIG_AsVal_long(obj1, &val2);
30160 if (!SWIG_IsOK(ecode2)) {
30161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30162 }
30163 arg2 = static_cast< long >(val2);
30164 {
30165 arg3 = &temp3;
30166 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30167 }
30168 {
30169 PyThreadState* __tstate = wxPyBeginAllowThreads();
30170 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
30171 wxPyEndAllowThreads(__tstate);
30172 if (PyErr_Occurred()) SWIG_fail;
30173 }
30174 {
30175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30176 }
30177 return resultobj;
30178 fail:
30179 return NULL;
30180 }
30181
30182
30183 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30184 PyObject *resultobj = 0;
30185 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30186 int result;
30187 void *argp1 = 0 ;
30188 int res1 = 0 ;
30189 PyObject *swig_obj[1] ;
30190
30191 if (!args) SWIG_fail;
30192 swig_obj[0] = args;
30193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30194 if (!SWIG_IsOK(res1)) {
30195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30196 }
30197 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30198 {
30199 PyThreadState* __tstate = wxPyBeginAllowThreads();
30200 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
30201 wxPyEndAllowThreads(__tstate);
30202 if (PyErr_Occurred()) SWIG_fail;
30203 }
30204 resultobj = SWIG_From_int(static_cast< int >(result));
30205 return resultobj;
30206 fail:
30207 return NULL;
30208 }
30209
30210
30211 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30212 PyObject *resultobj = 0;
30213 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30214 int result;
30215 void *argp1 = 0 ;
30216 int res1 = 0 ;
30217 PyObject *swig_obj[1] ;
30218
30219 if (!args) SWIG_fail;
30220 swig_obj[0] = args;
30221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30222 if (!SWIG_IsOK(res1)) {
30223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30224 }
30225 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30226 {
30227 PyThreadState* __tstate = wxPyBeginAllowThreads();
30228 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30229 wxPyEndAllowThreads(__tstate);
30230 if (PyErr_Occurred()) SWIG_fail;
30231 }
30232 resultobj = SWIG_From_int(static_cast< int >(result));
30233 return resultobj;
30234 fail:
30235 return NULL;
30236 }
30237
30238
30239 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30240 PyObject *resultobj = 0;
30241 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30242 wxSize result;
30243 void *argp1 = 0 ;
30244 int res1 = 0 ;
30245 PyObject *swig_obj[1] ;
30246
30247 if (!args) SWIG_fail;
30248 swig_obj[0] = args;
30249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30250 if (!SWIG_IsOK(res1)) {
30251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30252 }
30253 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30254 {
30255 PyThreadState* __tstate = wxPyBeginAllowThreads();
30256 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30257 wxPyEndAllowThreads(__tstate);
30258 if (PyErr_Occurred()) SWIG_fail;
30259 }
30260 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30261 return resultobj;
30262 fail:
30263 return NULL;
30264 }
30265
30266
30267 SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30268 PyObject *resultobj = 0;
30269 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30270 int result;
30271 void *argp1 = 0 ;
30272 int res1 = 0 ;
30273 PyObject *swig_obj[1] ;
30274
30275 if (!args) SWIG_fail;
30276 swig_obj[0] = args;
30277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30278 if (!SWIG_IsOK(res1)) {
30279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30280 }
30281 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30282 {
30283 PyThreadState* __tstate = wxPyBeginAllowThreads();
30284 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30285 wxPyEndAllowThreads(__tstate);
30286 if (PyErr_Occurred()) SWIG_fail;
30287 }
30288 resultobj = SWIG_From_int(static_cast< int >(result));
30289 return resultobj;
30290 fail:
30291 return NULL;
30292 }
30293
30294
30295 SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30296 PyObject *resultobj = 0;
30297 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30298 wxColour result;
30299 void *argp1 = 0 ;
30300 int res1 = 0 ;
30301 PyObject *swig_obj[1] ;
30302
30303 if (!args) SWIG_fail;
30304 swig_obj[0] = args;
30305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30306 if (!SWIG_IsOK(res1)) {
30307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30308 }
30309 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30310 {
30311 PyThreadState* __tstate = wxPyBeginAllowThreads();
30312 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30313 wxPyEndAllowThreads(__tstate);
30314 if (PyErr_Occurred()) SWIG_fail;
30315 }
30316 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30317 return resultobj;
30318 fail:
30319 return NULL;
30320 }
30321
30322
30323 SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30324 PyObject *resultobj = 0;
30325 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30326 wxColour *arg2 = 0 ;
30327 void *argp1 = 0 ;
30328 int res1 = 0 ;
30329 wxColour temp2 ;
30330 PyObject * obj0 = 0 ;
30331 PyObject * obj1 = 0 ;
30332 char * kwnames[] = {
30333 (char *) "self",(char *) "col", NULL
30334 };
30335
30336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30338 if (!SWIG_IsOK(res1)) {
30339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30340 }
30341 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30342 {
30343 arg2 = &temp2;
30344 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30345 }
30346 {
30347 PyThreadState* __tstate = wxPyBeginAllowThreads();
30348 (arg1)->SetTextColour((wxColour const &)*arg2);
30349 wxPyEndAllowThreads(__tstate);
30350 if (PyErr_Occurred()) SWIG_fail;
30351 }
30352 resultobj = SWIG_Py_Void();
30353 return resultobj;
30354 fail:
30355 return NULL;
30356 }
30357
30358
30359 SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30360 PyObject *resultobj = 0;
30361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30362 long result;
30363 void *argp1 = 0 ;
30364 int res1 = 0 ;
30365 PyObject *swig_obj[1] ;
30366
30367 if (!args) SWIG_fail;
30368 swig_obj[0] = args;
30369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30370 if (!SWIG_IsOK(res1)) {
30371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30372 }
30373 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30374 {
30375 PyThreadState* __tstate = wxPyBeginAllowThreads();
30376 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30377 wxPyEndAllowThreads(__tstate);
30378 if (PyErr_Occurred()) SWIG_fail;
30379 }
30380 resultobj = SWIG_From_long(static_cast< long >(result));
30381 return resultobj;
30382 fail:
30383 return NULL;
30384 }
30385
30386
30387 SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30388 PyObject *resultobj = 0;
30389 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30390 long arg2 ;
30391 bool arg3 = (bool) true ;
30392 void *argp1 = 0 ;
30393 int res1 = 0 ;
30394 long val2 ;
30395 int ecode2 = 0 ;
30396 bool val3 ;
30397 int ecode3 = 0 ;
30398 PyObject * obj0 = 0 ;
30399 PyObject * obj1 = 0 ;
30400 PyObject * obj2 = 0 ;
30401 char * kwnames[] = {
30402 (char *) "self",(char *) "style",(char *) "add", NULL
30403 };
30404
30405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30407 if (!SWIG_IsOK(res1)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30409 }
30410 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30411 ecode2 = SWIG_AsVal_long(obj1, &val2);
30412 if (!SWIG_IsOK(ecode2)) {
30413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30414 }
30415 arg2 = static_cast< long >(val2);
30416 if (obj2) {
30417 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30418 if (!SWIG_IsOK(ecode3)) {
30419 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30420 }
30421 arg3 = static_cast< bool >(val3);
30422 }
30423 {
30424 PyThreadState* __tstate = wxPyBeginAllowThreads();
30425 (arg1)->SetSingleStyle(arg2,arg3);
30426 wxPyEndAllowThreads(__tstate);
30427 if (PyErr_Occurred()) SWIG_fail;
30428 }
30429 resultobj = SWIG_Py_Void();
30430 return resultobj;
30431 fail:
30432 return NULL;
30433 }
30434
30435
30436 SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30437 PyObject *resultobj = 0;
30438 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30439 long arg2 ;
30440 int arg3 = (int) wxLIST_NEXT_ALL ;
30441 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30442 long result;
30443 void *argp1 = 0 ;
30444 int res1 = 0 ;
30445 long val2 ;
30446 int ecode2 = 0 ;
30447 int val3 ;
30448 int ecode3 = 0 ;
30449 int val4 ;
30450 int ecode4 = 0 ;
30451 PyObject * obj0 = 0 ;
30452 PyObject * obj1 = 0 ;
30453 PyObject * obj2 = 0 ;
30454 PyObject * obj3 = 0 ;
30455 char * kwnames[] = {
30456 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30457 };
30458
30459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30461 if (!SWIG_IsOK(res1)) {
30462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30463 }
30464 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30465 ecode2 = SWIG_AsVal_long(obj1, &val2);
30466 if (!SWIG_IsOK(ecode2)) {
30467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30468 }
30469 arg2 = static_cast< long >(val2);
30470 if (obj2) {
30471 ecode3 = SWIG_AsVal_int(obj2, &val3);
30472 if (!SWIG_IsOK(ecode3)) {
30473 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30474 }
30475 arg3 = static_cast< int >(val3);
30476 }
30477 if (obj3) {
30478 ecode4 = SWIG_AsVal_int(obj3, &val4);
30479 if (!SWIG_IsOK(ecode4)) {
30480 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30481 }
30482 arg4 = static_cast< int >(val4);
30483 }
30484 {
30485 PyThreadState* __tstate = wxPyBeginAllowThreads();
30486 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30487 wxPyEndAllowThreads(__tstate);
30488 if (PyErr_Occurred()) SWIG_fail;
30489 }
30490 resultobj = SWIG_From_long(static_cast< long >(result));
30491 return resultobj;
30492 fail:
30493 return NULL;
30494 }
30495
30496
30497 SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30498 PyObject *resultobj = 0;
30499 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30500 int arg2 ;
30501 wxImageList *result = 0 ;
30502 void *argp1 = 0 ;
30503 int res1 = 0 ;
30504 int val2 ;
30505 int ecode2 = 0 ;
30506 PyObject * obj0 = 0 ;
30507 PyObject * obj1 = 0 ;
30508 char * kwnames[] = {
30509 (char *) "self",(char *) "which", NULL
30510 };
30511
30512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30514 if (!SWIG_IsOK(res1)) {
30515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30516 }
30517 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30518 ecode2 = SWIG_AsVal_int(obj1, &val2);
30519 if (!SWIG_IsOK(ecode2)) {
30520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30521 }
30522 arg2 = static_cast< int >(val2);
30523 {
30524 PyThreadState* __tstate = wxPyBeginAllowThreads();
30525 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30526 wxPyEndAllowThreads(__tstate);
30527 if (PyErr_Occurred()) SWIG_fail;
30528 }
30529 {
30530 resultobj = wxPyMake_wxObject(result, (bool)0);
30531 }
30532 return resultobj;
30533 fail:
30534 return NULL;
30535 }
30536
30537
30538 SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30539 PyObject *resultobj = 0;
30540 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30541 wxImageList *arg2 = (wxImageList *) 0 ;
30542 int arg3 ;
30543 void *argp1 = 0 ;
30544 int res1 = 0 ;
30545 void *argp2 = 0 ;
30546 int res2 = 0 ;
30547 int val3 ;
30548 int ecode3 = 0 ;
30549 PyObject * obj0 = 0 ;
30550 PyObject * obj1 = 0 ;
30551 PyObject * obj2 = 0 ;
30552 char * kwnames[] = {
30553 (char *) "self",(char *) "imageList",(char *) "which", NULL
30554 };
30555
30556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30558 if (!SWIG_IsOK(res1)) {
30559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30560 }
30561 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30562 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30563 if (!SWIG_IsOK(res2)) {
30564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30565 }
30566 arg2 = reinterpret_cast< wxImageList * >(argp2);
30567 ecode3 = SWIG_AsVal_int(obj2, &val3);
30568 if (!SWIG_IsOK(ecode3)) {
30569 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30570 }
30571 arg3 = static_cast< int >(val3);
30572 {
30573 PyThreadState* __tstate = wxPyBeginAllowThreads();
30574 (arg1)->SetImageList(arg2,arg3);
30575 wxPyEndAllowThreads(__tstate);
30576 if (PyErr_Occurred()) SWIG_fail;
30577 }
30578 resultobj = SWIG_Py_Void();
30579 return resultobj;
30580 fail:
30581 return NULL;
30582 }
30583
30584
30585 SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30586 PyObject *resultobj = 0;
30587 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30588 wxImageList *arg2 = (wxImageList *) 0 ;
30589 int arg3 ;
30590 void *argp1 = 0 ;
30591 int res1 = 0 ;
30592 int res2 = 0 ;
30593 int val3 ;
30594 int ecode3 = 0 ;
30595 PyObject * obj0 = 0 ;
30596 PyObject * obj1 = 0 ;
30597 PyObject * obj2 = 0 ;
30598 char * kwnames[] = {
30599 (char *) "self",(char *) "imageList",(char *) "which", NULL
30600 };
30601
30602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30604 if (!SWIG_IsOK(res1)) {
30605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30606 }
30607 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30608 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30609 if (!SWIG_IsOK(res2)) {
30610 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30611 }
30612 ecode3 = SWIG_AsVal_int(obj2, &val3);
30613 if (!SWIG_IsOK(ecode3)) {
30614 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30615 }
30616 arg3 = static_cast< int >(val3);
30617 {
30618 PyThreadState* __tstate = wxPyBeginAllowThreads();
30619 (arg1)->AssignImageList(arg2,arg3);
30620 wxPyEndAllowThreads(__tstate);
30621 if (PyErr_Occurred()) SWIG_fail;
30622 }
30623 resultobj = SWIG_Py_Void();
30624 return resultobj;
30625 fail:
30626 return NULL;
30627 }
30628
30629
30630 SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30631 PyObject *resultobj = 0;
30632 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30633 bool result;
30634 void *argp1 = 0 ;
30635 int res1 = 0 ;
30636 PyObject *swig_obj[1] ;
30637
30638 if (!args) SWIG_fail;
30639 swig_obj[0] = args;
30640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30641 if (!SWIG_IsOK(res1)) {
30642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30643 }
30644 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30645 {
30646 PyThreadState* __tstate = wxPyBeginAllowThreads();
30647 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30648 wxPyEndAllowThreads(__tstate);
30649 if (PyErr_Occurred()) SWIG_fail;
30650 }
30651 {
30652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30653 }
30654 return resultobj;
30655 fail:
30656 return NULL;
30657 }
30658
30659
30660 SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30661 PyObject *resultobj = 0;
30662 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30663 bool result;
30664 void *argp1 = 0 ;
30665 int res1 = 0 ;
30666 PyObject *swig_obj[1] ;
30667
30668 if (!args) SWIG_fail;
30669 swig_obj[0] = args;
30670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30671 if (!SWIG_IsOK(res1)) {
30672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30673 }
30674 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30675 {
30676 PyThreadState* __tstate = wxPyBeginAllowThreads();
30677 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30678 wxPyEndAllowThreads(__tstate);
30679 if (PyErr_Occurred()) SWIG_fail;
30680 }
30681 {
30682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30683 }
30684 return resultobj;
30685 fail:
30686 return NULL;
30687 }
30688
30689
30690 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30691 PyObject *resultobj = 0;
30692 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30693 long arg2 ;
30694 void *argp1 = 0 ;
30695 int res1 = 0 ;
30696 long val2 ;
30697 int ecode2 = 0 ;
30698 PyObject * obj0 = 0 ;
30699 PyObject * obj1 = 0 ;
30700 char * kwnames[] = {
30701 (char *) "self",(char *) "item", NULL
30702 };
30703
30704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30706 if (!SWIG_IsOK(res1)) {
30707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30708 }
30709 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30710 ecode2 = SWIG_AsVal_long(obj1, &val2);
30711 if (!SWIG_IsOK(ecode2)) {
30712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30713 }
30714 arg2 = static_cast< long >(val2);
30715 {
30716 PyThreadState* __tstate = wxPyBeginAllowThreads();
30717 (arg1)->RefreshItem(arg2);
30718 wxPyEndAllowThreads(__tstate);
30719 if (PyErr_Occurred()) SWIG_fail;
30720 }
30721 resultobj = SWIG_Py_Void();
30722 return resultobj;
30723 fail:
30724 return NULL;
30725 }
30726
30727
30728 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30729 PyObject *resultobj = 0;
30730 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30731 long arg2 ;
30732 long arg3 ;
30733 void *argp1 = 0 ;
30734 int res1 = 0 ;
30735 long val2 ;
30736 int ecode2 = 0 ;
30737 long val3 ;
30738 int ecode3 = 0 ;
30739 PyObject * obj0 = 0 ;
30740 PyObject * obj1 = 0 ;
30741 PyObject * obj2 = 0 ;
30742 char * kwnames[] = {
30743 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30744 };
30745
30746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30748 if (!SWIG_IsOK(res1)) {
30749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30750 }
30751 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30752 ecode2 = SWIG_AsVal_long(obj1, &val2);
30753 if (!SWIG_IsOK(ecode2)) {
30754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30755 }
30756 arg2 = static_cast< long >(val2);
30757 ecode3 = SWIG_AsVal_long(obj2, &val3);
30758 if (!SWIG_IsOK(ecode3)) {
30759 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30760 }
30761 arg3 = static_cast< long >(val3);
30762 {
30763 PyThreadState* __tstate = wxPyBeginAllowThreads();
30764 (arg1)->RefreshItems(arg2,arg3);
30765 wxPyEndAllowThreads(__tstate);
30766 if (PyErr_Occurred()) SWIG_fail;
30767 }
30768 resultobj = SWIG_Py_Void();
30769 return resultobj;
30770 fail:
30771 return NULL;
30772 }
30773
30774
30775 SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30776 PyObject *resultobj = 0;
30777 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30778 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30779 bool result;
30780 void *argp1 = 0 ;
30781 int res1 = 0 ;
30782 int val2 ;
30783 int ecode2 = 0 ;
30784 PyObject * obj0 = 0 ;
30785 PyObject * obj1 = 0 ;
30786 char * kwnames[] = {
30787 (char *) "self",(char *) "flag", NULL
30788 };
30789
30790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30792 if (!SWIG_IsOK(res1)) {
30793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30794 }
30795 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30796 if (obj1) {
30797 ecode2 = SWIG_AsVal_int(obj1, &val2);
30798 if (!SWIG_IsOK(ecode2)) {
30799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30800 }
30801 arg2 = static_cast< int >(val2);
30802 }
30803 {
30804 PyThreadState* __tstate = wxPyBeginAllowThreads();
30805 result = (bool)(arg1)->Arrange(arg2);
30806 wxPyEndAllowThreads(__tstate);
30807 if (PyErr_Occurred()) SWIG_fail;
30808 }
30809 {
30810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30811 }
30812 return resultobj;
30813 fail:
30814 return NULL;
30815 }
30816
30817
30818 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30819 PyObject *resultobj = 0;
30820 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30821 long arg2 ;
30822 bool result;
30823 void *argp1 = 0 ;
30824 int res1 = 0 ;
30825 long val2 ;
30826 int ecode2 = 0 ;
30827 PyObject * obj0 = 0 ;
30828 PyObject * obj1 = 0 ;
30829 char * kwnames[] = {
30830 (char *) "self",(char *) "item", NULL
30831 };
30832
30833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30835 if (!SWIG_IsOK(res1)) {
30836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30837 }
30838 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30839 ecode2 = SWIG_AsVal_long(obj1, &val2);
30840 if (!SWIG_IsOK(ecode2)) {
30841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30842 }
30843 arg2 = static_cast< long >(val2);
30844 {
30845 PyThreadState* __tstate = wxPyBeginAllowThreads();
30846 result = (bool)(arg1)->DeleteItem(arg2);
30847 wxPyEndAllowThreads(__tstate);
30848 if (PyErr_Occurred()) SWIG_fail;
30849 }
30850 {
30851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30852 }
30853 return resultobj;
30854 fail:
30855 return NULL;
30856 }
30857
30858
30859 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30860 PyObject *resultobj = 0;
30861 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30862 bool result;
30863 void *argp1 = 0 ;
30864 int res1 = 0 ;
30865 PyObject *swig_obj[1] ;
30866
30867 if (!args) SWIG_fail;
30868 swig_obj[0] = args;
30869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30870 if (!SWIG_IsOK(res1)) {
30871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30872 }
30873 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30874 {
30875 PyThreadState* __tstate = wxPyBeginAllowThreads();
30876 result = (bool)(arg1)->DeleteAllItems();
30877 wxPyEndAllowThreads(__tstate);
30878 if (PyErr_Occurred()) SWIG_fail;
30879 }
30880 {
30881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30882 }
30883 return resultobj;
30884 fail:
30885 return NULL;
30886 }
30887
30888
30889 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30890 PyObject *resultobj = 0;
30891 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30892 int arg2 ;
30893 bool result;
30894 void *argp1 = 0 ;
30895 int res1 = 0 ;
30896 int val2 ;
30897 int ecode2 = 0 ;
30898 PyObject * obj0 = 0 ;
30899 PyObject * obj1 = 0 ;
30900 char * kwnames[] = {
30901 (char *) "self",(char *) "col", NULL
30902 };
30903
30904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30906 if (!SWIG_IsOK(res1)) {
30907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30908 }
30909 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30910 ecode2 = SWIG_AsVal_int(obj1, &val2);
30911 if (!SWIG_IsOK(ecode2)) {
30912 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30913 }
30914 arg2 = static_cast< int >(val2);
30915 {
30916 PyThreadState* __tstate = wxPyBeginAllowThreads();
30917 result = (bool)(arg1)->DeleteColumn(arg2);
30918 wxPyEndAllowThreads(__tstate);
30919 if (PyErr_Occurred()) SWIG_fail;
30920 }
30921 {
30922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30923 }
30924 return resultobj;
30925 fail:
30926 return NULL;
30927 }
30928
30929
30930 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30931 PyObject *resultobj = 0;
30932 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30933 bool result;
30934 void *argp1 = 0 ;
30935 int res1 = 0 ;
30936 PyObject *swig_obj[1] ;
30937
30938 if (!args) SWIG_fail;
30939 swig_obj[0] = args;
30940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30941 if (!SWIG_IsOK(res1)) {
30942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30943 }
30944 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30945 {
30946 PyThreadState* __tstate = wxPyBeginAllowThreads();
30947 result = (bool)(arg1)->DeleteAllColumns();
30948 wxPyEndAllowThreads(__tstate);
30949 if (PyErr_Occurred()) SWIG_fail;
30950 }
30951 {
30952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30953 }
30954 return resultobj;
30955 fail:
30956 return NULL;
30957 }
30958
30959
30960 SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30961 PyObject *resultobj = 0;
30962 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30963 void *argp1 = 0 ;
30964 int res1 = 0 ;
30965 PyObject *swig_obj[1] ;
30966
30967 if (!args) SWIG_fail;
30968 swig_obj[0] = args;
30969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30970 if (!SWIG_IsOK(res1)) {
30971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30972 }
30973 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30974 {
30975 PyThreadState* __tstate = wxPyBeginAllowThreads();
30976 (arg1)->ClearAll();
30977 wxPyEndAllowThreads(__tstate);
30978 if (PyErr_Occurred()) SWIG_fail;
30979 }
30980 resultobj = SWIG_Py_Void();
30981 return resultobj;
30982 fail:
30983 return NULL;
30984 }
30985
30986
30987 SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30988 PyObject *resultobj = 0;
30989 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30990 long arg2 ;
30991 wxTextCtrl *result = 0 ;
30992 void *argp1 = 0 ;
30993 int res1 = 0 ;
30994 long val2 ;
30995 int ecode2 = 0 ;
30996 PyObject * obj0 = 0 ;
30997 PyObject * obj1 = 0 ;
30998 char * kwnames[] = {
30999 (char *) "self",(char *) "item", NULL
31000 };
31001
31002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
31003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31004 if (!SWIG_IsOK(res1)) {
31005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31006 }
31007 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31008 ecode2 = SWIG_AsVal_long(obj1, &val2);
31009 if (!SWIG_IsOK(ecode2)) {
31010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31011 }
31012 arg2 = static_cast< long >(val2);
31013 {
31014 PyThreadState* __tstate = wxPyBeginAllowThreads();
31015 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
31016 wxPyEndAllowThreads(__tstate);
31017 if (PyErr_Occurred()) SWIG_fail;
31018 }
31019 {
31020 resultobj = wxPyMake_wxObject(result, 0);
31021 }
31022 return resultobj;
31023 fail:
31024 return NULL;
31025 }
31026
31027
31028 SWIGINTERN PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31029 PyObject *resultobj = 0;
31030 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31031 bool arg2 ;
31032 bool result;
31033 void *argp1 = 0 ;
31034 int res1 = 0 ;
31035 bool val2 ;
31036 int ecode2 = 0 ;
31037 PyObject * obj0 = 0 ;
31038 PyObject * obj1 = 0 ;
31039 char * kwnames[] = {
31040 (char *) "self",(char *) "cancel", NULL
31041 };
31042
31043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
31044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31045 if (!SWIG_IsOK(res1)) {
31046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31047 }
31048 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31049 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31050 if (!SWIG_IsOK(ecode2)) {
31051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31052 }
31053 arg2 = static_cast< bool >(val2);
31054 {
31055 PyThreadState* __tstate = wxPyBeginAllowThreads();
31056 result = (bool)(arg1)->EndEditLabel(arg2);
31057 wxPyEndAllowThreads(__tstate);
31058 if (PyErr_Occurred()) SWIG_fail;
31059 }
31060 {
31061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31062 }
31063 return resultobj;
31064 fail:
31065 return NULL;
31066 }
31067
31068
31069 SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31070 PyObject *resultobj = 0;
31071 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31072 long arg2 ;
31073 bool result;
31074 void *argp1 = 0 ;
31075 int res1 = 0 ;
31076 long val2 ;
31077 int ecode2 = 0 ;
31078 PyObject * obj0 = 0 ;
31079 PyObject * obj1 = 0 ;
31080 char * kwnames[] = {
31081 (char *) "self",(char *) "item", NULL
31082 };
31083
31084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
31085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31086 if (!SWIG_IsOK(res1)) {
31087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31088 }
31089 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31090 ecode2 = SWIG_AsVal_long(obj1, &val2);
31091 if (!SWIG_IsOK(ecode2)) {
31092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31093 }
31094 arg2 = static_cast< long >(val2);
31095 {
31096 PyThreadState* __tstate = wxPyBeginAllowThreads();
31097 result = (bool)(arg1)->EnsureVisible(arg2);
31098 wxPyEndAllowThreads(__tstate);
31099 if (PyErr_Occurred()) SWIG_fail;
31100 }
31101 {
31102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31103 }
31104 return resultobj;
31105 fail:
31106 return NULL;
31107 }
31108
31109
31110 SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31111 PyObject *resultobj = 0;
31112 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31113 long arg2 ;
31114 wxString *arg3 = 0 ;
31115 bool arg4 = (bool) false ;
31116 long result;
31117 void *argp1 = 0 ;
31118 int res1 = 0 ;
31119 long val2 ;
31120 int ecode2 = 0 ;
31121 bool temp3 = false ;
31122 bool val4 ;
31123 int ecode4 = 0 ;
31124 PyObject * obj0 = 0 ;
31125 PyObject * obj1 = 0 ;
31126 PyObject * obj2 = 0 ;
31127 PyObject * obj3 = 0 ;
31128 char * kwnames[] = {
31129 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31130 };
31131
31132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31134 if (!SWIG_IsOK(res1)) {
31135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31136 }
31137 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31138 ecode2 = SWIG_AsVal_long(obj1, &val2);
31139 if (!SWIG_IsOK(ecode2)) {
31140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31141 }
31142 arg2 = static_cast< long >(val2);
31143 {
31144 arg3 = wxString_in_helper(obj2);
31145 if (arg3 == NULL) SWIG_fail;
31146 temp3 = true;
31147 }
31148 if (obj3) {
31149 ecode4 = SWIG_AsVal_bool(obj3, &val4);
31150 if (!SWIG_IsOK(ecode4)) {
31151 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31152 }
31153 arg4 = static_cast< bool >(val4);
31154 }
31155 {
31156 PyThreadState* __tstate = wxPyBeginAllowThreads();
31157 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
31158 wxPyEndAllowThreads(__tstate);
31159 if (PyErr_Occurred()) SWIG_fail;
31160 }
31161 resultobj = SWIG_From_long(static_cast< long >(result));
31162 {
31163 if (temp3)
31164 delete arg3;
31165 }
31166 return resultobj;
31167 fail:
31168 {
31169 if (temp3)
31170 delete arg3;
31171 }
31172 return NULL;
31173 }
31174
31175
31176 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31177 PyObject *resultobj = 0;
31178 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31179 long arg2 ;
31180 long arg3 ;
31181 long result;
31182 void *argp1 = 0 ;
31183 int res1 = 0 ;
31184 long val2 ;
31185 int ecode2 = 0 ;
31186 long val3 ;
31187 int ecode3 = 0 ;
31188 PyObject * obj0 = 0 ;
31189 PyObject * obj1 = 0 ;
31190 PyObject * obj2 = 0 ;
31191 char * kwnames[] = {
31192 (char *) "self",(char *) "start",(char *) "data", NULL
31193 };
31194
31195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31197 if (!SWIG_IsOK(res1)) {
31198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31199 }
31200 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31201 ecode2 = SWIG_AsVal_long(obj1, &val2);
31202 if (!SWIG_IsOK(ecode2)) {
31203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31204 }
31205 arg2 = static_cast< long >(val2);
31206 ecode3 = SWIG_AsVal_long(obj2, &val3);
31207 if (!SWIG_IsOK(ecode3)) {
31208 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31209 }
31210 arg3 = static_cast< long >(val3);
31211 {
31212 PyThreadState* __tstate = wxPyBeginAllowThreads();
31213 result = (long)(arg1)->FindItem(arg2,arg3);
31214 wxPyEndAllowThreads(__tstate);
31215 if (PyErr_Occurred()) SWIG_fail;
31216 }
31217 resultobj = SWIG_From_long(static_cast< long >(result));
31218 return resultobj;
31219 fail:
31220 return NULL;
31221 }
31222
31223
31224 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31225 PyObject *resultobj = 0;
31226 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31227 long arg2 ;
31228 wxPoint *arg3 = 0 ;
31229 int arg4 ;
31230 long result;
31231 void *argp1 = 0 ;
31232 int res1 = 0 ;
31233 long val2 ;
31234 int ecode2 = 0 ;
31235 wxPoint temp3 ;
31236 int val4 ;
31237 int ecode4 = 0 ;
31238 PyObject * obj0 = 0 ;
31239 PyObject * obj1 = 0 ;
31240 PyObject * obj2 = 0 ;
31241 PyObject * obj3 = 0 ;
31242 char * kwnames[] = {
31243 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31244 };
31245
31246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31248 if (!SWIG_IsOK(res1)) {
31249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31250 }
31251 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31252 ecode2 = SWIG_AsVal_long(obj1, &val2);
31253 if (!SWIG_IsOK(ecode2)) {
31254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31255 }
31256 arg2 = static_cast< long >(val2);
31257 {
31258 arg3 = &temp3;
31259 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31260 }
31261 ecode4 = SWIG_AsVal_int(obj3, &val4);
31262 if (!SWIG_IsOK(ecode4)) {
31263 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31264 }
31265 arg4 = static_cast< int >(val4);
31266 {
31267 PyThreadState* __tstate = wxPyBeginAllowThreads();
31268 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31269 wxPyEndAllowThreads(__tstate);
31270 if (PyErr_Occurred()) SWIG_fail;
31271 }
31272 resultobj = SWIG_From_long(static_cast< long >(result));
31273 return resultobj;
31274 fail:
31275 return NULL;
31276 }
31277
31278
31279 SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31280 PyObject *resultobj = 0;
31281 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31282 wxPoint *arg2 = 0 ;
31283 int *arg3 = 0 ;
31284 long result;
31285 void *argp1 = 0 ;
31286 int res1 = 0 ;
31287 wxPoint temp2 ;
31288 int temp3 ;
31289 int res3 = SWIG_TMPOBJ ;
31290 PyObject * obj0 = 0 ;
31291 PyObject * obj1 = 0 ;
31292 char * kwnames[] = {
31293 (char *) "self",(char *) "point", NULL
31294 };
31295
31296 arg3 = &temp3;
31297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31299 if (!SWIG_IsOK(res1)) {
31300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31301 }
31302 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31303 {
31304 arg2 = &temp2;
31305 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31306 }
31307 {
31308 PyThreadState* __tstate = wxPyBeginAllowThreads();
31309 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31310 wxPyEndAllowThreads(__tstate);
31311 if (PyErr_Occurred()) SWIG_fail;
31312 }
31313 resultobj = SWIG_From_long(static_cast< long >(result));
31314 if (SWIG_IsTmpObj(res3)) {
31315 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31316 } else {
31317 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31318 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31319 }
31320 return resultobj;
31321 fail:
31322 return NULL;
31323 }
31324
31325
31326 SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31327 PyObject *resultobj = 0;
31328 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31329 wxPoint *arg2 = 0 ;
31330 int *arg3 = 0 ;
31331 long *arg4 = (long *) 0 ;
31332 long result;
31333 void *argp1 = 0 ;
31334 int res1 = 0 ;
31335 wxPoint temp2 ;
31336 int temp3 ;
31337 int res3 = SWIG_TMPOBJ ;
31338 long temp4 ;
31339 int res4 = SWIG_TMPOBJ ;
31340 PyObject * obj0 = 0 ;
31341 PyObject * obj1 = 0 ;
31342 char * kwnames[] = {
31343 (char *) "self",(char *) "point", NULL
31344 };
31345
31346 arg3 = &temp3;
31347 arg4 = &temp4;
31348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31350 if (!SWIG_IsOK(res1)) {
31351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31352 }
31353 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31354 {
31355 arg2 = &temp2;
31356 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31357 }
31358 {
31359 PyThreadState* __tstate = wxPyBeginAllowThreads();
31360 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31361 wxPyEndAllowThreads(__tstate);
31362 if (PyErr_Occurred()) SWIG_fail;
31363 }
31364 resultobj = SWIG_From_long(static_cast< long >(result));
31365 if (SWIG_IsTmpObj(res3)) {
31366 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31367 } else {
31368 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31369 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31370 }
31371 if (SWIG_IsTmpObj(res4)) {
31372 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31373 } else {
31374 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31375 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31376 }
31377 return resultobj;
31378 fail:
31379 return NULL;
31380 }
31381
31382
31383 SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31384 PyObject *resultobj = 0;
31385 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31386 wxListItem *arg2 = 0 ;
31387 long result;
31388 void *argp1 = 0 ;
31389 int res1 = 0 ;
31390 void *argp2 = 0 ;
31391 int res2 = 0 ;
31392 PyObject * obj0 = 0 ;
31393 PyObject * obj1 = 0 ;
31394 char * kwnames[] = {
31395 (char *) "self",(char *) "info", NULL
31396 };
31397
31398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31400 if (!SWIG_IsOK(res1)) {
31401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31402 }
31403 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31404 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31405 if (!SWIG_IsOK(res2)) {
31406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31407 }
31408 if (!argp2) {
31409 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31410 }
31411 arg2 = reinterpret_cast< wxListItem * >(argp2);
31412 {
31413 PyThreadState* __tstate = wxPyBeginAllowThreads();
31414 result = (long)(arg1)->InsertItem(*arg2);
31415 wxPyEndAllowThreads(__tstate);
31416 if (PyErr_Occurred()) SWIG_fail;
31417 }
31418 resultobj = SWIG_From_long(static_cast< long >(result));
31419 return resultobj;
31420 fail:
31421 return NULL;
31422 }
31423
31424
31425 SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31426 PyObject *resultobj = 0;
31427 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31428 long arg2 ;
31429 wxString *arg3 = 0 ;
31430 int arg4 = (int) -1 ;
31431 long result;
31432 void *argp1 = 0 ;
31433 int res1 = 0 ;
31434 long val2 ;
31435 int ecode2 = 0 ;
31436 bool temp3 = false ;
31437 int val4 ;
31438 int ecode4 = 0 ;
31439 PyObject * obj0 = 0 ;
31440 PyObject * obj1 = 0 ;
31441 PyObject * obj2 = 0 ;
31442 PyObject * obj3 = 0 ;
31443 char * kwnames[] = {
31444 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31445 };
31446
31447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31449 if (!SWIG_IsOK(res1)) {
31450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31451 }
31452 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31453 ecode2 = SWIG_AsVal_long(obj1, &val2);
31454 if (!SWIG_IsOK(ecode2)) {
31455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31456 }
31457 arg2 = static_cast< long >(val2);
31458 {
31459 arg3 = wxString_in_helper(obj2);
31460 if (arg3 == NULL) SWIG_fail;
31461 temp3 = true;
31462 }
31463 if (obj3) {
31464 ecode4 = SWIG_AsVal_int(obj3, &val4);
31465 if (!SWIG_IsOK(ecode4)) {
31466 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31467 }
31468 arg4 = static_cast< int >(val4);
31469 }
31470 {
31471 PyThreadState* __tstate = wxPyBeginAllowThreads();
31472 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31473 wxPyEndAllowThreads(__tstate);
31474 if (PyErr_Occurred()) SWIG_fail;
31475 }
31476 resultobj = SWIG_From_long(static_cast< long >(result));
31477 {
31478 if (temp3)
31479 delete arg3;
31480 }
31481 return resultobj;
31482 fail:
31483 {
31484 if (temp3)
31485 delete arg3;
31486 }
31487 return NULL;
31488 }
31489
31490
31491 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31492 PyObject *resultobj = 0;
31493 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31494 long arg2 ;
31495 int arg3 ;
31496 long result;
31497 void *argp1 = 0 ;
31498 int res1 = 0 ;
31499 long val2 ;
31500 int ecode2 = 0 ;
31501 int val3 ;
31502 int ecode3 = 0 ;
31503 PyObject * obj0 = 0 ;
31504 PyObject * obj1 = 0 ;
31505 PyObject * obj2 = 0 ;
31506 char * kwnames[] = {
31507 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31508 };
31509
31510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31512 if (!SWIG_IsOK(res1)) {
31513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31514 }
31515 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31516 ecode2 = SWIG_AsVal_long(obj1, &val2);
31517 if (!SWIG_IsOK(ecode2)) {
31518 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31519 }
31520 arg2 = static_cast< long >(val2);
31521 ecode3 = SWIG_AsVal_int(obj2, &val3);
31522 if (!SWIG_IsOK(ecode3)) {
31523 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31524 }
31525 arg3 = static_cast< int >(val3);
31526 {
31527 PyThreadState* __tstate = wxPyBeginAllowThreads();
31528 result = (long)(arg1)->InsertItem(arg2,arg3);
31529 wxPyEndAllowThreads(__tstate);
31530 if (PyErr_Occurred()) SWIG_fail;
31531 }
31532 resultobj = SWIG_From_long(static_cast< long >(result));
31533 return resultobj;
31534 fail:
31535 return NULL;
31536 }
31537
31538
31539 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31540 PyObject *resultobj = 0;
31541 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31542 long arg2 ;
31543 wxString *arg3 = 0 ;
31544 int arg4 ;
31545 long result;
31546 void *argp1 = 0 ;
31547 int res1 = 0 ;
31548 long val2 ;
31549 int ecode2 = 0 ;
31550 bool temp3 = false ;
31551 int val4 ;
31552 int ecode4 = 0 ;
31553 PyObject * obj0 = 0 ;
31554 PyObject * obj1 = 0 ;
31555 PyObject * obj2 = 0 ;
31556 PyObject * obj3 = 0 ;
31557 char * kwnames[] = {
31558 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31559 };
31560
31561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31563 if (!SWIG_IsOK(res1)) {
31564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31565 }
31566 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31567 ecode2 = SWIG_AsVal_long(obj1, &val2);
31568 if (!SWIG_IsOK(ecode2)) {
31569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31570 }
31571 arg2 = static_cast< long >(val2);
31572 {
31573 arg3 = wxString_in_helper(obj2);
31574 if (arg3 == NULL) SWIG_fail;
31575 temp3 = true;
31576 }
31577 ecode4 = SWIG_AsVal_int(obj3, &val4);
31578 if (!SWIG_IsOK(ecode4)) {
31579 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31580 }
31581 arg4 = static_cast< int >(val4);
31582 {
31583 PyThreadState* __tstate = wxPyBeginAllowThreads();
31584 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31585 wxPyEndAllowThreads(__tstate);
31586 if (PyErr_Occurred()) SWIG_fail;
31587 }
31588 resultobj = SWIG_From_long(static_cast< long >(result));
31589 {
31590 if (temp3)
31591 delete arg3;
31592 }
31593 return resultobj;
31594 fail:
31595 {
31596 if (temp3)
31597 delete arg3;
31598 }
31599 return NULL;
31600 }
31601
31602
31603 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31604 PyObject *resultobj = 0;
31605 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31606 long arg2 ;
31607 wxListItem *arg3 = 0 ;
31608 long result;
31609 void *argp1 = 0 ;
31610 int res1 = 0 ;
31611 long val2 ;
31612 int ecode2 = 0 ;
31613 void *argp3 = 0 ;
31614 int res3 = 0 ;
31615 PyObject * obj0 = 0 ;
31616 PyObject * obj1 = 0 ;
31617 PyObject * obj2 = 0 ;
31618 char * kwnames[] = {
31619 (char *) "self",(char *) "col",(char *) "info", NULL
31620 };
31621
31622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31624 if (!SWIG_IsOK(res1)) {
31625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31626 }
31627 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31628 ecode2 = SWIG_AsVal_long(obj1, &val2);
31629 if (!SWIG_IsOK(ecode2)) {
31630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31631 }
31632 arg2 = static_cast< long >(val2);
31633 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31634 if (!SWIG_IsOK(res3)) {
31635 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31636 }
31637 if (!argp3) {
31638 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31639 }
31640 arg3 = reinterpret_cast< wxListItem * >(argp3);
31641 {
31642 PyThreadState* __tstate = wxPyBeginAllowThreads();
31643 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31644 wxPyEndAllowThreads(__tstate);
31645 if (PyErr_Occurred()) SWIG_fail;
31646 }
31647 resultobj = SWIG_From_long(static_cast< long >(result));
31648 return resultobj;
31649 fail:
31650 return NULL;
31651 }
31652
31653
31654 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31655 PyObject *resultobj = 0;
31656 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31657 long arg2 ;
31658 wxString *arg3 = 0 ;
31659 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31660 int arg5 = (int) -1 ;
31661 long result;
31662 void *argp1 = 0 ;
31663 int res1 = 0 ;
31664 long val2 ;
31665 int ecode2 = 0 ;
31666 bool temp3 = false ;
31667 int val4 ;
31668 int ecode4 = 0 ;
31669 int val5 ;
31670 int ecode5 = 0 ;
31671 PyObject * obj0 = 0 ;
31672 PyObject * obj1 = 0 ;
31673 PyObject * obj2 = 0 ;
31674 PyObject * obj3 = 0 ;
31675 PyObject * obj4 = 0 ;
31676 char * kwnames[] = {
31677 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31678 };
31679
31680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31682 if (!SWIG_IsOK(res1)) {
31683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31684 }
31685 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31686 ecode2 = SWIG_AsVal_long(obj1, &val2);
31687 if (!SWIG_IsOK(ecode2)) {
31688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31689 }
31690 arg2 = static_cast< long >(val2);
31691 {
31692 arg3 = wxString_in_helper(obj2);
31693 if (arg3 == NULL) SWIG_fail;
31694 temp3 = true;
31695 }
31696 if (obj3) {
31697 ecode4 = SWIG_AsVal_int(obj3, &val4);
31698 if (!SWIG_IsOK(ecode4)) {
31699 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31700 }
31701 arg4 = static_cast< int >(val4);
31702 }
31703 if (obj4) {
31704 ecode5 = SWIG_AsVal_int(obj4, &val5);
31705 if (!SWIG_IsOK(ecode5)) {
31706 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31707 }
31708 arg5 = static_cast< int >(val5);
31709 }
31710 {
31711 PyThreadState* __tstate = wxPyBeginAllowThreads();
31712 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31713 wxPyEndAllowThreads(__tstate);
31714 if (PyErr_Occurred()) SWIG_fail;
31715 }
31716 resultobj = SWIG_From_long(static_cast< long >(result));
31717 {
31718 if (temp3)
31719 delete arg3;
31720 }
31721 return resultobj;
31722 fail:
31723 {
31724 if (temp3)
31725 delete arg3;
31726 }
31727 return NULL;
31728 }
31729
31730
31731 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31732 PyObject *resultobj = 0;
31733 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31734 long arg2 ;
31735 void *argp1 = 0 ;
31736 int res1 = 0 ;
31737 long val2 ;
31738 int ecode2 = 0 ;
31739 PyObject * obj0 = 0 ;
31740 PyObject * obj1 = 0 ;
31741 char * kwnames[] = {
31742 (char *) "self",(char *) "count", NULL
31743 };
31744
31745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31747 if (!SWIG_IsOK(res1)) {
31748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31749 }
31750 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31751 ecode2 = SWIG_AsVal_long(obj1, &val2);
31752 if (!SWIG_IsOK(ecode2)) {
31753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31754 }
31755 arg2 = static_cast< long >(val2);
31756 {
31757 PyThreadState* __tstate = wxPyBeginAllowThreads();
31758 (arg1)->SetItemCount(arg2);
31759 wxPyEndAllowThreads(__tstate);
31760 if (PyErr_Occurred()) SWIG_fail;
31761 }
31762 resultobj = SWIG_Py_Void();
31763 return resultobj;
31764 fail:
31765 return NULL;
31766 }
31767
31768
31769 SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31770 PyObject *resultobj = 0;
31771 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31772 int arg2 ;
31773 int arg3 ;
31774 bool result;
31775 void *argp1 = 0 ;
31776 int res1 = 0 ;
31777 int val2 ;
31778 int ecode2 = 0 ;
31779 int val3 ;
31780 int ecode3 = 0 ;
31781 PyObject * obj0 = 0 ;
31782 PyObject * obj1 = 0 ;
31783 PyObject * obj2 = 0 ;
31784 char * kwnames[] = {
31785 (char *) "self",(char *) "dx",(char *) "dy", NULL
31786 };
31787
31788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31790 if (!SWIG_IsOK(res1)) {
31791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31792 }
31793 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31794 ecode2 = SWIG_AsVal_int(obj1, &val2);
31795 if (!SWIG_IsOK(ecode2)) {
31796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31797 }
31798 arg2 = static_cast< int >(val2);
31799 ecode3 = SWIG_AsVal_int(obj2, &val3);
31800 if (!SWIG_IsOK(ecode3)) {
31801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31802 }
31803 arg3 = static_cast< int >(val3);
31804 {
31805 PyThreadState* __tstate = wxPyBeginAllowThreads();
31806 result = (bool)(arg1)->ScrollList(arg2,arg3);
31807 wxPyEndAllowThreads(__tstate);
31808 if (PyErr_Occurred()) SWIG_fail;
31809 }
31810 {
31811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31812 }
31813 return resultobj;
31814 fail:
31815 return NULL;
31816 }
31817
31818
31819 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31820 PyObject *resultobj = 0;
31821 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31822 long arg2 ;
31823 wxColour *arg3 = 0 ;
31824 void *argp1 = 0 ;
31825 int res1 = 0 ;
31826 long val2 ;
31827 int ecode2 = 0 ;
31828 wxColour temp3 ;
31829 PyObject * obj0 = 0 ;
31830 PyObject * obj1 = 0 ;
31831 PyObject * obj2 = 0 ;
31832 char * kwnames[] = {
31833 (char *) "self",(char *) "item",(char *) "col", NULL
31834 };
31835
31836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31838 if (!SWIG_IsOK(res1)) {
31839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31840 }
31841 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31842 ecode2 = SWIG_AsVal_long(obj1, &val2);
31843 if (!SWIG_IsOK(ecode2)) {
31844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31845 }
31846 arg2 = static_cast< long >(val2);
31847 {
31848 arg3 = &temp3;
31849 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31850 }
31851 {
31852 PyThreadState* __tstate = wxPyBeginAllowThreads();
31853 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31854 wxPyEndAllowThreads(__tstate);
31855 if (PyErr_Occurred()) SWIG_fail;
31856 }
31857 resultobj = SWIG_Py_Void();
31858 return resultobj;
31859 fail:
31860 return NULL;
31861 }
31862
31863
31864 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31865 PyObject *resultobj = 0;
31866 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31867 long arg2 ;
31868 wxColour result;
31869 void *argp1 = 0 ;
31870 int res1 = 0 ;
31871 long val2 ;
31872 int ecode2 = 0 ;
31873 PyObject * obj0 = 0 ;
31874 PyObject * obj1 = 0 ;
31875 char * kwnames[] = {
31876 (char *) "self",(char *) "item", NULL
31877 };
31878
31879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31881 if (!SWIG_IsOK(res1)) {
31882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31883 }
31884 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31885 ecode2 = SWIG_AsVal_long(obj1, &val2);
31886 if (!SWIG_IsOK(ecode2)) {
31887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31888 }
31889 arg2 = static_cast< long >(val2);
31890 {
31891 PyThreadState* __tstate = wxPyBeginAllowThreads();
31892 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31893 wxPyEndAllowThreads(__tstate);
31894 if (PyErr_Occurred()) SWIG_fail;
31895 }
31896 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31897 return resultobj;
31898 fail:
31899 return NULL;
31900 }
31901
31902
31903 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31904 PyObject *resultobj = 0;
31905 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31906 long arg2 ;
31907 wxColour *arg3 = 0 ;
31908 void *argp1 = 0 ;
31909 int res1 = 0 ;
31910 long val2 ;
31911 int ecode2 = 0 ;
31912 wxColour temp3 ;
31913 PyObject * obj0 = 0 ;
31914 PyObject * obj1 = 0 ;
31915 PyObject * obj2 = 0 ;
31916 char * kwnames[] = {
31917 (char *) "self",(char *) "item",(char *) "col", NULL
31918 };
31919
31920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31922 if (!SWIG_IsOK(res1)) {
31923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31924 }
31925 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31926 ecode2 = SWIG_AsVal_long(obj1, &val2);
31927 if (!SWIG_IsOK(ecode2)) {
31928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31929 }
31930 arg2 = static_cast< long >(val2);
31931 {
31932 arg3 = &temp3;
31933 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31934 }
31935 {
31936 PyThreadState* __tstate = wxPyBeginAllowThreads();
31937 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31938 wxPyEndAllowThreads(__tstate);
31939 if (PyErr_Occurred()) SWIG_fail;
31940 }
31941 resultobj = SWIG_Py_Void();
31942 return resultobj;
31943 fail:
31944 return NULL;
31945 }
31946
31947
31948 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31949 PyObject *resultobj = 0;
31950 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31951 long arg2 ;
31952 wxColour result;
31953 void *argp1 = 0 ;
31954 int res1 = 0 ;
31955 long val2 ;
31956 int ecode2 = 0 ;
31957 PyObject * obj0 = 0 ;
31958 PyObject * obj1 = 0 ;
31959 char * kwnames[] = {
31960 (char *) "self",(char *) "item", NULL
31961 };
31962
31963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31965 if (!SWIG_IsOK(res1)) {
31966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31967 }
31968 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31969 ecode2 = SWIG_AsVal_long(obj1, &val2);
31970 if (!SWIG_IsOK(ecode2)) {
31971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31972 }
31973 arg2 = static_cast< long >(val2);
31974 {
31975 PyThreadState* __tstate = wxPyBeginAllowThreads();
31976 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31977 wxPyEndAllowThreads(__tstate);
31978 if (PyErr_Occurred()) SWIG_fail;
31979 }
31980 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31981 return resultobj;
31982 fail:
31983 return NULL;
31984 }
31985
31986
31987 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31988 PyObject *resultobj = 0;
31989 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31990 long arg2 ;
31991 wxFont *arg3 = 0 ;
31992 void *argp1 = 0 ;
31993 int res1 = 0 ;
31994 long val2 ;
31995 int ecode2 = 0 ;
31996 void *argp3 = 0 ;
31997 int res3 = 0 ;
31998 PyObject * obj0 = 0 ;
31999 PyObject * obj1 = 0 ;
32000 PyObject * obj2 = 0 ;
32001 char * kwnames[] = {
32002 (char *) "self",(char *) "item",(char *) "f", NULL
32003 };
32004
32005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32007 if (!SWIG_IsOK(res1)) {
32008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32009 }
32010 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32011 ecode2 = SWIG_AsVal_long(obj1, &val2);
32012 if (!SWIG_IsOK(ecode2)) {
32013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32014 }
32015 arg2 = static_cast< long >(val2);
32016 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
32017 if (!SWIG_IsOK(res3)) {
32018 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32019 }
32020 if (!argp3) {
32021 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32022 }
32023 arg3 = reinterpret_cast< wxFont * >(argp3);
32024 {
32025 PyThreadState* __tstate = wxPyBeginAllowThreads();
32026 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
32027 wxPyEndAllowThreads(__tstate);
32028 if (PyErr_Occurred()) SWIG_fail;
32029 }
32030 resultobj = SWIG_Py_Void();
32031 return resultobj;
32032 fail:
32033 return NULL;
32034 }
32035
32036
32037 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32038 PyObject *resultobj = 0;
32039 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32040 long arg2 ;
32041 wxFont result;
32042 void *argp1 = 0 ;
32043 int res1 = 0 ;
32044 long val2 ;
32045 int ecode2 = 0 ;
32046 PyObject * obj0 = 0 ;
32047 PyObject * obj1 = 0 ;
32048 char * kwnames[] = {
32049 (char *) "self",(char *) "item", NULL
32050 };
32051
32052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
32053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32054 if (!SWIG_IsOK(res1)) {
32055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32056 }
32057 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32058 ecode2 = SWIG_AsVal_long(obj1, &val2);
32059 if (!SWIG_IsOK(ecode2)) {
32060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32061 }
32062 arg2 = static_cast< long >(val2);
32063 {
32064 PyThreadState* __tstate = wxPyBeginAllowThreads();
32065 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
32066 wxPyEndAllowThreads(__tstate);
32067 if (PyErr_Occurred()) SWIG_fail;
32068 }
32069 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
32070 return resultobj;
32071 fail:
32072 return NULL;
32073 }
32074
32075
32076 SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32077 PyObject *resultobj = 0;
32078 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32079 PyObject *arg2 = (PyObject *) 0 ;
32080 bool result;
32081 void *argp1 = 0 ;
32082 int res1 = 0 ;
32083 PyObject * obj0 = 0 ;
32084 PyObject * obj1 = 0 ;
32085 char * kwnames[] = {
32086 (char *) "self",(char *) "func", NULL
32087 };
32088
32089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
32090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32091 if (!SWIG_IsOK(res1)) {
32092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32093 }
32094 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32095 arg2 = obj1;
32096 {
32097 PyThreadState* __tstate = wxPyBeginAllowThreads();
32098 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
32099 wxPyEndAllowThreads(__tstate);
32100 if (PyErr_Occurred()) SWIG_fail;
32101 }
32102 {
32103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32104 }
32105 return resultobj;
32106 fail:
32107 return NULL;
32108 }
32109
32110
32111 SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32112 PyObject *resultobj = 0;
32113 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32114 wxWindow *result = 0 ;
32115 void *argp1 = 0 ;
32116 int res1 = 0 ;
32117 PyObject *swig_obj[1] ;
32118
32119 if (!args) SWIG_fail;
32120 swig_obj[0] = args;
32121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32122 if (!SWIG_IsOK(res1)) {
32123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32124 }
32125 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32126 {
32127 PyThreadState* __tstate = wxPyBeginAllowThreads();
32128 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
32129 wxPyEndAllowThreads(__tstate);
32130 if (PyErr_Occurred()) SWIG_fail;
32131 }
32132 {
32133 resultobj = wxPyMake_wxObject(result, 0);
32134 }
32135 return resultobj;
32136 fail:
32137 return NULL;
32138 }
32139
32140
32141 SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32142 PyObject *resultobj = 0;
32143 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32144 SwigValueWrapper<wxVisualAttributes > result;
32145 int val1 ;
32146 int ecode1 = 0 ;
32147 PyObject * obj0 = 0 ;
32148 char * kwnames[] = {
32149 (char *) "variant", NULL
32150 };
32151
32152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
32153 if (obj0) {
32154 ecode1 = SWIG_AsVal_int(obj0, &val1);
32155 if (!SWIG_IsOK(ecode1)) {
32156 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32157 }
32158 arg1 = static_cast< wxWindowVariant >(val1);
32159 }
32160 {
32161 if (!wxPyCheckForApp()) SWIG_fail;
32162 PyThreadState* __tstate = wxPyBeginAllowThreads();
32163 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
32164 wxPyEndAllowThreads(__tstate);
32165 if (PyErr_Occurred()) SWIG_fail;
32166 }
32167 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
32168 return resultobj;
32169 fail:
32170 return NULL;
32171 }
32172
32173
32174 SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32175 PyObject *obj;
32176 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32177 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
32178 return SWIG_Py_Void();
32179 }
32180
32181 SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32182 return SWIG_Python_InitShadowInstance(args);
32183 }
32184
32185 SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32186 PyObject *resultobj = 0;
32187 wxWindow *arg1 = (wxWindow *) 0 ;
32188 int arg2 = (int) -1 ;
32189 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32190 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32191 wxSize const &arg4_defvalue = wxDefaultSize ;
32192 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32193 long arg5 = (long) wxLC_REPORT ;
32194 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32195 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32196 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
32197 wxString *arg7 = (wxString *) &arg7_defvalue ;
32198 wxListView *result = 0 ;
32199 void *argp1 = 0 ;
32200 int res1 = 0 ;
32201 int val2 ;
32202 int ecode2 = 0 ;
32203 wxPoint temp3 ;
32204 wxSize temp4 ;
32205 long val5 ;
32206 int ecode5 = 0 ;
32207 void *argp6 = 0 ;
32208 int res6 = 0 ;
32209 bool temp7 = false ;
32210 PyObject * obj0 = 0 ;
32211 PyObject * obj1 = 0 ;
32212 PyObject * obj2 = 0 ;
32213 PyObject * obj3 = 0 ;
32214 PyObject * obj4 = 0 ;
32215 PyObject * obj5 = 0 ;
32216 PyObject * obj6 = 0 ;
32217 char * kwnames[] = {
32218 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32219 };
32220
32221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
32223 if (!SWIG_IsOK(res1)) {
32224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32225 }
32226 arg1 = reinterpret_cast< wxWindow * >(argp1);
32227 if (obj1) {
32228 ecode2 = SWIG_AsVal_int(obj1, &val2);
32229 if (!SWIG_IsOK(ecode2)) {
32230 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32231 }
32232 arg2 = static_cast< int >(val2);
32233 }
32234 if (obj2) {
32235 {
32236 arg3 = &temp3;
32237 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32238 }
32239 }
32240 if (obj3) {
32241 {
32242 arg4 = &temp4;
32243 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32244 }
32245 }
32246 if (obj4) {
32247 ecode5 = SWIG_AsVal_long(obj4, &val5);
32248 if (!SWIG_IsOK(ecode5)) {
32249 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32250 }
32251 arg5 = static_cast< long >(val5);
32252 }
32253 if (obj5) {
32254 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32255 if (!SWIG_IsOK(res6)) {
32256 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32257 }
32258 if (!argp6) {
32259 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32260 }
32261 arg6 = reinterpret_cast< wxValidator * >(argp6);
32262 }
32263 if (obj6) {
32264 {
32265 arg7 = wxString_in_helper(obj6);
32266 if (arg7 == NULL) SWIG_fail;
32267 temp7 = true;
32268 }
32269 }
32270 {
32271 if (!wxPyCheckForApp()) SWIG_fail;
32272 PyThreadState* __tstate = wxPyBeginAllowThreads();
32273 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32274 wxPyEndAllowThreads(__tstate);
32275 if (PyErr_Occurred()) SWIG_fail;
32276 }
32277 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32278 {
32279 if (temp7)
32280 delete arg7;
32281 }
32282 return resultobj;
32283 fail:
32284 {
32285 if (temp7)
32286 delete arg7;
32287 }
32288 return NULL;
32289 }
32290
32291
32292 SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32293 PyObject *resultobj = 0;
32294 wxListView *result = 0 ;
32295
32296 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32297 {
32298 if (!wxPyCheckForApp()) SWIG_fail;
32299 PyThreadState* __tstate = wxPyBeginAllowThreads();
32300 result = (wxListView *)new wxListView();
32301 wxPyEndAllowThreads(__tstate);
32302 if (PyErr_Occurred()) SWIG_fail;
32303 }
32304 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32305 return resultobj;
32306 fail:
32307 return NULL;
32308 }
32309
32310
32311 SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32312 PyObject *resultobj = 0;
32313 wxListView *arg1 = (wxListView *) 0 ;
32314 wxWindow *arg2 = (wxWindow *) 0 ;
32315 int arg3 = (int) -1 ;
32316 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32317 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32318 wxSize const &arg5_defvalue = wxDefaultSize ;
32319 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32320 long arg6 = (long) wxLC_REPORT ;
32321 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32322 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32323 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32324 wxString *arg8 = (wxString *) &arg8_defvalue ;
32325 bool result;
32326 void *argp1 = 0 ;
32327 int res1 = 0 ;
32328 void *argp2 = 0 ;
32329 int res2 = 0 ;
32330 int val3 ;
32331 int ecode3 = 0 ;
32332 wxPoint temp4 ;
32333 wxSize temp5 ;
32334 long val6 ;
32335 int ecode6 = 0 ;
32336 void *argp7 = 0 ;
32337 int res7 = 0 ;
32338 bool temp8 = false ;
32339 PyObject * obj0 = 0 ;
32340 PyObject * obj1 = 0 ;
32341 PyObject * obj2 = 0 ;
32342 PyObject * obj3 = 0 ;
32343 PyObject * obj4 = 0 ;
32344 PyObject * obj5 = 0 ;
32345 PyObject * obj6 = 0 ;
32346 PyObject * obj7 = 0 ;
32347 char * kwnames[] = {
32348 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32349 };
32350
32351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32353 if (!SWIG_IsOK(res1)) {
32354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32355 }
32356 arg1 = reinterpret_cast< wxListView * >(argp1);
32357 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32358 if (!SWIG_IsOK(res2)) {
32359 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32360 }
32361 arg2 = reinterpret_cast< wxWindow * >(argp2);
32362 if (obj2) {
32363 ecode3 = SWIG_AsVal_int(obj2, &val3);
32364 if (!SWIG_IsOK(ecode3)) {
32365 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32366 }
32367 arg3 = static_cast< int >(val3);
32368 }
32369 if (obj3) {
32370 {
32371 arg4 = &temp4;
32372 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32373 }
32374 }
32375 if (obj4) {
32376 {
32377 arg5 = &temp5;
32378 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32379 }
32380 }
32381 if (obj5) {
32382 ecode6 = SWIG_AsVal_long(obj5, &val6);
32383 if (!SWIG_IsOK(ecode6)) {
32384 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32385 }
32386 arg6 = static_cast< long >(val6);
32387 }
32388 if (obj6) {
32389 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32390 if (!SWIG_IsOK(res7)) {
32391 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32392 }
32393 if (!argp7) {
32394 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32395 }
32396 arg7 = reinterpret_cast< wxValidator * >(argp7);
32397 }
32398 if (obj7) {
32399 {
32400 arg8 = wxString_in_helper(obj7);
32401 if (arg8 == NULL) SWIG_fail;
32402 temp8 = true;
32403 }
32404 }
32405 {
32406 PyThreadState* __tstate = wxPyBeginAllowThreads();
32407 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32408 wxPyEndAllowThreads(__tstate);
32409 if (PyErr_Occurred()) SWIG_fail;
32410 }
32411 {
32412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32413 }
32414 {
32415 if (temp8)
32416 delete arg8;
32417 }
32418 return resultobj;
32419 fail:
32420 {
32421 if (temp8)
32422 delete arg8;
32423 }
32424 return NULL;
32425 }
32426
32427
32428 SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32429 PyObject *resultobj = 0;
32430 wxListView *arg1 = (wxListView *) 0 ;
32431 long arg2 ;
32432 bool arg3 = (bool) true ;
32433 void *argp1 = 0 ;
32434 int res1 = 0 ;
32435 long val2 ;
32436 int ecode2 = 0 ;
32437 bool val3 ;
32438 int ecode3 = 0 ;
32439 PyObject * obj0 = 0 ;
32440 PyObject * obj1 = 0 ;
32441 PyObject * obj2 = 0 ;
32442 char * kwnames[] = {
32443 (char *) "self",(char *) "n",(char *) "on", NULL
32444 };
32445
32446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32448 if (!SWIG_IsOK(res1)) {
32449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32450 }
32451 arg1 = reinterpret_cast< wxListView * >(argp1);
32452 ecode2 = SWIG_AsVal_long(obj1, &val2);
32453 if (!SWIG_IsOK(ecode2)) {
32454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32455 }
32456 arg2 = static_cast< long >(val2);
32457 if (obj2) {
32458 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32459 if (!SWIG_IsOK(ecode3)) {
32460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32461 }
32462 arg3 = static_cast< bool >(val3);
32463 }
32464 {
32465 PyThreadState* __tstate = wxPyBeginAllowThreads();
32466 (arg1)->Select(arg2,arg3);
32467 wxPyEndAllowThreads(__tstate);
32468 if (PyErr_Occurred()) SWIG_fail;
32469 }
32470 resultobj = SWIG_Py_Void();
32471 return resultobj;
32472 fail:
32473 return NULL;
32474 }
32475
32476
32477 SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32478 PyObject *resultobj = 0;
32479 wxListView *arg1 = (wxListView *) 0 ;
32480 long arg2 ;
32481 void *argp1 = 0 ;
32482 int res1 = 0 ;
32483 long val2 ;
32484 int ecode2 = 0 ;
32485 PyObject * obj0 = 0 ;
32486 PyObject * obj1 = 0 ;
32487 char * kwnames[] = {
32488 (char *) "self",(char *) "index", NULL
32489 };
32490
32491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32493 if (!SWIG_IsOK(res1)) {
32494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32495 }
32496 arg1 = reinterpret_cast< wxListView * >(argp1);
32497 ecode2 = SWIG_AsVal_long(obj1, &val2);
32498 if (!SWIG_IsOK(ecode2)) {
32499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32500 }
32501 arg2 = static_cast< long >(val2);
32502 {
32503 PyThreadState* __tstate = wxPyBeginAllowThreads();
32504 (arg1)->Focus(arg2);
32505 wxPyEndAllowThreads(__tstate);
32506 if (PyErr_Occurred()) SWIG_fail;
32507 }
32508 resultobj = SWIG_Py_Void();
32509 return resultobj;
32510 fail:
32511 return NULL;
32512 }
32513
32514
32515 SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32516 PyObject *resultobj = 0;
32517 wxListView *arg1 = (wxListView *) 0 ;
32518 long result;
32519 void *argp1 = 0 ;
32520 int res1 = 0 ;
32521 PyObject *swig_obj[1] ;
32522
32523 if (!args) SWIG_fail;
32524 swig_obj[0] = args;
32525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32526 if (!SWIG_IsOK(res1)) {
32527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32528 }
32529 arg1 = reinterpret_cast< wxListView * >(argp1);
32530 {
32531 PyThreadState* __tstate = wxPyBeginAllowThreads();
32532 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32533 wxPyEndAllowThreads(__tstate);
32534 if (PyErr_Occurred()) SWIG_fail;
32535 }
32536 resultobj = SWIG_From_long(static_cast< long >(result));
32537 return resultobj;
32538 fail:
32539 return NULL;
32540 }
32541
32542
32543 SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32544 PyObject *resultobj = 0;
32545 wxListView *arg1 = (wxListView *) 0 ;
32546 long arg2 ;
32547 long result;
32548 void *argp1 = 0 ;
32549 int res1 = 0 ;
32550 long val2 ;
32551 int ecode2 = 0 ;
32552 PyObject * obj0 = 0 ;
32553 PyObject * obj1 = 0 ;
32554 char * kwnames[] = {
32555 (char *) "self",(char *) "item", NULL
32556 };
32557
32558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32560 if (!SWIG_IsOK(res1)) {
32561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32562 }
32563 arg1 = reinterpret_cast< wxListView * >(argp1);
32564 ecode2 = SWIG_AsVal_long(obj1, &val2);
32565 if (!SWIG_IsOK(ecode2)) {
32566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32567 }
32568 arg2 = static_cast< long >(val2);
32569 {
32570 PyThreadState* __tstate = wxPyBeginAllowThreads();
32571 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32572 wxPyEndAllowThreads(__tstate);
32573 if (PyErr_Occurred()) SWIG_fail;
32574 }
32575 resultobj = SWIG_From_long(static_cast< long >(result));
32576 return resultobj;
32577 fail:
32578 return NULL;
32579 }
32580
32581
32582 SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32583 PyObject *resultobj = 0;
32584 wxListView *arg1 = (wxListView *) 0 ;
32585 long result;
32586 void *argp1 = 0 ;
32587 int res1 = 0 ;
32588 PyObject *swig_obj[1] ;
32589
32590 if (!args) SWIG_fail;
32591 swig_obj[0] = args;
32592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32593 if (!SWIG_IsOK(res1)) {
32594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32595 }
32596 arg1 = reinterpret_cast< wxListView * >(argp1);
32597 {
32598 PyThreadState* __tstate = wxPyBeginAllowThreads();
32599 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32600 wxPyEndAllowThreads(__tstate);
32601 if (PyErr_Occurred()) SWIG_fail;
32602 }
32603 resultobj = SWIG_From_long(static_cast< long >(result));
32604 return resultobj;
32605 fail:
32606 return NULL;
32607 }
32608
32609
32610 SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32611 PyObject *resultobj = 0;
32612 wxListView *arg1 = (wxListView *) 0 ;
32613 long arg2 ;
32614 bool result;
32615 void *argp1 = 0 ;
32616 int res1 = 0 ;
32617 long val2 ;
32618 int ecode2 = 0 ;
32619 PyObject * obj0 = 0 ;
32620 PyObject * obj1 = 0 ;
32621 char * kwnames[] = {
32622 (char *) "self",(char *) "index", NULL
32623 };
32624
32625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32627 if (!SWIG_IsOK(res1)) {
32628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32629 }
32630 arg1 = reinterpret_cast< wxListView * >(argp1);
32631 ecode2 = SWIG_AsVal_long(obj1, &val2);
32632 if (!SWIG_IsOK(ecode2)) {
32633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32634 }
32635 arg2 = static_cast< long >(val2);
32636 {
32637 PyThreadState* __tstate = wxPyBeginAllowThreads();
32638 result = (bool)(arg1)->IsSelected(arg2);
32639 wxPyEndAllowThreads(__tstate);
32640 if (PyErr_Occurred()) SWIG_fail;
32641 }
32642 {
32643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32644 }
32645 return resultobj;
32646 fail:
32647 return NULL;
32648 }
32649
32650
32651 SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32652 PyObject *resultobj = 0;
32653 wxListView *arg1 = (wxListView *) 0 ;
32654 int arg2 ;
32655 int arg3 ;
32656 void *argp1 = 0 ;
32657 int res1 = 0 ;
32658 int val2 ;
32659 int ecode2 = 0 ;
32660 int val3 ;
32661 int ecode3 = 0 ;
32662 PyObject * obj0 = 0 ;
32663 PyObject * obj1 = 0 ;
32664 PyObject * obj2 = 0 ;
32665 char * kwnames[] = {
32666 (char *) "self",(char *) "col",(char *) "image", NULL
32667 };
32668
32669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32671 if (!SWIG_IsOK(res1)) {
32672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32673 }
32674 arg1 = reinterpret_cast< wxListView * >(argp1);
32675 ecode2 = SWIG_AsVal_int(obj1, &val2);
32676 if (!SWIG_IsOK(ecode2)) {
32677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32678 }
32679 arg2 = static_cast< int >(val2);
32680 ecode3 = SWIG_AsVal_int(obj2, &val3);
32681 if (!SWIG_IsOK(ecode3)) {
32682 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32683 }
32684 arg3 = static_cast< int >(val3);
32685 {
32686 PyThreadState* __tstate = wxPyBeginAllowThreads();
32687 (arg1)->SetColumnImage(arg2,arg3);
32688 wxPyEndAllowThreads(__tstate);
32689 if (PyErr_Occurred()) SWIG_fail;
32690 }
32691 resultobj = SWIG_Py_Void();
32692 return resultobj;
32693 fail:
32694 return NULL;
32695 }
32696
32697
32698 SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32699 PyObject *resultobj = 0;
32700 wxListView *arg1 = (wxListView *) 0 ;
32701 int arg2 ;
32702 void *argp1 = 0 ;
32703 int res1 = 0 ;
32704 int val2 ;
32705 int ecode2 = 0 ;
32706 PyObject * obj0 = 0 ;
32707 PyObject * obj1 = 0 ;
32708 char * kwnames[] = {
32709 (char *) "self",(char *) "col", NULL
32710 };
32711
32712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32714 if (!SWIG_IsOK(res1)) {
32715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32716 }
32717 arg1 = reinterpret_cast< wxListView * >(argp1);
32718 ecode2 = SWIG_AsVal_int(obj1, &val2);
32719 if (!SWIG_IsOK(ecode2)) {
32720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32721 }
32722 arg2 = static_cast< int >(val2);
32723 {
32724 PyThreadState* __tstate = wxPyBeginAllowThreads();
32725 (arg1)->ClearColumnImage(arg2);
32726 wxPyEndAllowThreads(__tstate);
32727 if (PyErr_Occurred()) SWIG_fail;
32728 }
32729 resultobj = SWIG_Py_Void();
32730 return resultobj;
32731 fail:
32732 return NULL;
32733 }
32734
32735
32736 SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32737 PyObject *obj;
32738 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32739 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32740 return SWIG_Py_Void();
32741 }
32742
32743 SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32744 return SWIG_Python_InitShadowInstance(args);
32745 }
32746
32747 SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32748 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32749 return 1;
32750 }
32751
32752
32753 SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32754 PyObject *pyobj = 0;
32755
32756 {
32757 #if wxUSE_UNICODE
32758 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32759 #else
32760 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32761 #endif
32762 }
32763 return pyobj;
32764 }
32765
32766
32767 SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32768 PyObject *resultobj = 0;
32769 wxTreeItemId *result = 0 ;
32770
32771 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32772 {
32773 PyThreadState* __tstate = wxPyBeginAllowThreads();
32774 result = (wxTreeItemId *)new wxTreeItemId();
32775 wxPyEndAllowThreads(__tstate);
32776 if (PyErr_Occurred()) SWIG_fail;
32777 }
32778 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32779 return resultobj;
32780 fail:
32781 return NULL;
32782 }
32783
32784
32785 SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32786 PyObject *resultobj = 0;
32787 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32788 void *argp1 = 0 ;
32789 int res1 = 0 ;
32790 PyObject *swig_obj[1] ;
32791
32792 if (!args) SWIG_fail;
32793 swig_obj[0] = args;
32794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32795 if (!SWIG_IsOK(res1)) {
32796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32797 }
32798 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32799 {
32800 PyThreadState* __tstate = wxPyBeginAllowThreads();
32801 delete arg1;
32802
32803 wxPyEndAllowThreads(__tstate);
32804 if (PyErr_Occurred()) SWIG_fail;
32805 }
32806 resultobj = SWIG_Py_Void();
32807 return resultobj;
32808 fail:
32809 return NULL;
32810 }
32811
32812
32813 SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32814 PyObject *resultobj = 0;
32815 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32816 bool result;
32817 void *argp1 = 0 ;
32818 int res1 = 0 ;
32819 PyObject *swig_obj[1] ;
32820
32821 if (!args) SWIG_fail;
32822 swig_obj[0] = args;
32823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32824 if (!SWIG_IsOK(res1)) {
32825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32826 }
32827 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32828 {
32829 PyThreadState* __tstate = wxPyBeginAllowThreads();
32830 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32831 wxPyEndAllowThreads(__tstate);
32832 if (PyErr_Occurred()) SWIG_fail;
32833 }
32834 {
32835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32836 }
32837 return resultobj;
32838 fail:
32839 return NULL;
32840 }
32841
32842
32843 SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32844 PyObject *resultobj = 0;
32845 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32846 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32847 bool result;
32848 void *argp1 = 0 ;
32849 int res1 = 0 ;
32850 void *argp2 = 0 ;
32851 int res2 = 0 ;
32852 PyObject * obj0 = 0 ;
32853 PyObject * obj1 = 0 ;
32854 char * kwnames[] = {
32855 (char *) "self",(char *) "other", NULL
32856 };
32857
32858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32860 if (!SWIG_IsOK(res1)) {
32861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32862 }
32863 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32864 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32865 if (!SWIG_IsOK(res2)) {
32866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32867 }
32868 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32869 {
32870 PyThreadState* __tstate = wxPyBeginAllowThreads();
32871 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32872 wxPyEndAllowThreads(__tstate);
32873 if (PyErr_Occurred()) SWIG_fail;
32874 }
32875 {
32876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32877 }
32878 return resultobj;
32879 fail:
32880 return NULL;
32881 }
32882
32883
32884 SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32885 PyObject *resultobj = 0;
32886 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32887 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32888 bool result;
32889 void *argp1 = 0 ;
32890 int res1 = 0 ;
32891 void *argp2 = 0 ;
32892 int res2 = 0 ;
32893 PyObject * obj0 = 0 ;
32894 PyObject * obj1 = 0 ;
32895 char * kwnames[] = {
32896 (char *) "self",(char *) "other", NULL
32897 };
32898
32899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32901 if (!SWIG_IsOK(res1)) {
32902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32903 }
32904 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32905 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32906 if (!SWIG_IsOK(res2)) {
32907 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32908 }
32909 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32910 {
32911 PyThreadState* __tstate = wxPyBeginAllowThreads();
32912 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32913 wxPyEndAllowThreads(__tstate);
32914 if (PyErr_Occurred()) SWIG_fail;
32915 }
32916 {
32917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32918 }
32919 return resultobj;
32920 fail:
32921 return NULL;
32922 }
32923
32924
32925 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32926 PyObject *resultobj = 0;
32927 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32928 void *arg2 = (void *) 0 ;
32929 void *argp1 = 0 ;
32930 int res1 = 0 ;
32931 int res2 ;
32932 PyObject *swig_obj[2] ;
32933
32934 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32936 if (!SWIG_IsOK(res1)) {
32937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32938 }
32939 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32940 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32941 if (!SWIG_IsOK(res2)) {
32942 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32943 }
32944 if (arg1) (arg1)->m_pItem = arg2;
32945
32946 resultobj = SWIG_Py_Void();
32947 return resultobj;
32948 fail:
32949 return NULL;
32950 }
32951
32952
32953 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32954 PyObject *resultobj = 0;
32955 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32956 void *result = 0 ;
32957 void *argp1 = 0 ;
32958 int res1 = 0 ;
32959 PyObject *swig_obj[1] ;
32960
32961 if (!args) SWIG_fail;
32962 swig_obj[0] = args;
32963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32964 if (!SWIG_IsOK(res1)) {
32965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32966 }
32967 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32968 result = (void *) ((arg1)->m_pItem);
32969 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32970 return resultobj;
32971 fail:
32972 return NULL;
32973 }
32974
32975
32976 SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32977 PyObject *obj;
32978 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32979 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32980 return SWIG_Py_Void();
32981 }
32982
32983 SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32984 return SWIG_Python_InitShadowInstance(args);
32985 }
32986
32987 SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32988 PyObject *resultobj = 0;
32989 PyObject *arg1 = (PyObject *) NULL ;
32990 wxPyTreeItemData *result = 0 ;
32991 PyObject * obj0 = 0 ;
32992 char * kwnames[] = {
32993 (char *) "obj", NULL
32994 };
32995
32996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32997 if (obj0) {
32998 arg1 = obj0;
32999 }
33000 {
33001 PyThreadState* __tstate = wxPyBeginAllowThreads();
33002 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
33003 wxPyEndAllowThreads(__tstate);
33004 if (PyErr_Occurred()) SWIG_fail;
33005 }
33006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
33007 return resultobj;
33008 fail:
33009 return NULL;
33010 }
33011
33012
33013 SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33014 PyObject *resultobj = 0;
33015 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33016 void *argp1 = 0 ;
33017 int res1 = 0 ;
33018 PyObject *swig_obj[1] ;
33019
33020 if (!args) SWIG_fail;
33021 swig_obj[0] = args;
33022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
33023 if (!SWIG_IsOK(res1)) {
33024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33025 }
33026 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33027 {
33028 PyThreadState* __tstate = wxPyBeginAllowThreads();
33029 delete arg1;
33030
33031 wxPyEndAllowThreads(__tstate);
33032 if (PyErr_Occurred()) SWIG_fail;
33033 }
33034 resultobj = SWIG_Py_Void();
33035 return resultobj;
33036 fail:
33037 return NULL;
33038 }
33039
33040
33041 SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33042 PyObject *resultobj = 0;
33043 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33044 PyObject *result = 0 ;
33045 void *argp1 = 0 ;
33046 int res1 = 0 ;
33047 PyObject *swig_obj[1] ;
33048
33049 if (!args) SWIG_fail;
33050 swig_obj[0] = args;
33051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33052 if (!SWIG_IsOK(res1)) {
33053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33054 }
33055 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33056 {
33057 PyThreadState* __tstate = wxPyBeginAllowThreads();
33058 result = (PyObject *)(arg1)->GetData();
33059 wxPyEndAllowThreads(__tstate);
33060 if (PyErr_Occurred()) SWIG_fail;
33061 }
33062 resultobj = result;
33063 return resultobj;
33064 fail:
33065 return NULL;
33066 }
33067
33068
33069 SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33070 PyObject *resultobj = 0;
33071 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33072 PyObject *arg2 = (PyObject *) 0 ;
33073 void *argp1 = 0 ;
33074 int res1 = 0 ;
33075 PyObject * obj0 = 0 ;
33076 PyObject * obj1 = 0 ;
33077 char * kwnames[] = {
33078 (char *) "self",(char *) "obj", NULL
33079 };
33080
33081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
33082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33083 if (!SWIG_IsOK(res1)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33085 }
33086 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33087 arg2 = obj1;
33088 {
33089 PyThreadState* __tstate = wxPyBeginAllowThreads();
33090 (arg1)->SetData(arg2);
33091 wxPyEndAllowThreads(__tstate);
33092 if (PyErr_Occurred()) SWIG_fail;
33093 }
33094 resultobj = SWIG_Py_Void();
33095 return resultobj;
33096 fail:
33097 return NULL;
33098 }
33099
33100
33101 SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33102 PyObject *resultobj = 0;
33103 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33104 wxTreeItemId *result = 0 ;
33105 void *argp1 = 0 ;
33106 int res1 = 0 ;
33107 PyObject *swig_obj[1] ;
33108
33109 if (!args) SWIG_fail;
33110 swig_obj[0] = args;
33111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33112 if (!SWIG_IsOK(res1)) {
33113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33114 }
33115 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33116 {
33117 PyThreadState* __tstate = wxPyBeginAllowThreads();
33118 {
33119 wxTreeItemId const &_result_ref = (arg1)->GetId();
33120 result = (wxTreeItemId *) &_result_ref;
33121 }
33122 wxPyEndAllowThreads(__tstate);
33123 if (PyErr_Occurred()) SWIG_fail;
33124 }
33125 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33126 return resultobj;
33127 fail:
33128 return NULL;
33129 }
33130
33131
33132 SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33133 PyObject *resultobj = 0;
33134 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33135 wxTreeItemId *arg2 = 0 ;
33136 void *argp1 = 0 ;
33137 int res1 = 0 ;
33138 void *argp2 = 0 ;
33139 int res2 = 0 ;
33140 PyObject * obj0 = 0 ;
33141 PyObject * obj1 = 0 ;
33142 char * kwnames[] = {
33143 (char *) "self",(char *) "id", NULL
33144 };
33145
33146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
33147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33148 if (!SWIG_IsOK(res1)) {
33149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33150 }
33151 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33152 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33153 if (!SWIG_IsOK(res2)) {
33154 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33155 }
33156 if (!argp2) {
33157 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33158 }
33159 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33160 {
33161 PyThreadState* __tstate = wxPyBeginAllowThreads();
33162 (arg1)->SetId((wxTreeItemId const &)*arg2);
33163 wxPyEndAllowThreads(__tstate);
33164 if (PyErr_Occurred()) SWIG_fail;
33165 }
33166 resultobj = SWIG_Py_Void();
33167 return resultobj;
33168 fail:
33169 return NULL;
33170 }
33171
33172
33173 SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33174 PyObject *resultobj = 0;
33175 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33176 void *argp1 = 0 ;
33177 int res1 = 0 ;
33178 PyObject *swig_obj[1] ;
33179
33180 if (!args) SWIG_fail;
33181 swig_obj[0] = args;
33182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33183 if (!SWIG_IsOK(res1)) {
33184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33185 }
33186 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33187 {
33188 PyThreadState* __tstate = wxPyBeginAllowThreads();
33189 wxPyTreeItemData_Destroy(arg1);
33190 wxPyEndAllowThreads(__tstate);
33191 if (PyErr_Occurred()) SWIG_fail;
33192 }
33193 resultobj = SWIG_Py_Void();
33194 return resultobj;
33195 fail:
33196 return NULL;
33197 }
33198
33199
33200 SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33201 PyObject *obj;
33202 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33203 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
33204 return SWIG_Py_Void();
33205 }
33206
33207 SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33208 return SWIG_Python_InitShadowInstance(args);
33209 }
33210
33211 SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
33212 {
33213 void *argp = 0;
33214 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33215 if (!SWIG_IsOK(res)) {
33216 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33217 }
33218 if (!argp) {
33219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33220 } else {
33221 wxTreeItemId * temp;
33222 temp = reinterpret_cast< wxTreeItemId * >(argp);
33223 wxNullTreeItemId = *temp;
33224 if (SWIG_IsNewObj(res)) delete temp;
33225 }
33226 }
33227 return 0;
33228 fail:
33229 return 1;
33230 }
33231
33232
33233 SWIGINTERN PyObject *NullTreeItemId_get(void) {
33234 PyObject *pyobj = 0;
33235
33236 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33237 return pyobj;
33238 }
33239
33240
33241 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33242 PyObject *resultobj = 0;
33243 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33244 int arg2 = (int) 0 ;
33245 wxTreeEvent *result = 0 ;
33246 int val1 ;
33247 int ecode1 = 0 ;
33248 int val2 ;
33249 int ecode2 = 0 ;
33250
33251 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33252 if (swig_obj[0]) {
33253 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33254 if (!SWIG_IsOK(ecode1)) {
33255 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33256 }
33257 arg1 = static_cast< wxEventType >(val1);
33258 }
33259 if (swig_obj[1]) {
33260 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
33261 if (!SWIG_IsOK(ecode2)) {
33262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33263 }
33264 arg2 = static_cast< int >(val2);
33265 }
33266 {
33267 PyThreadState* __tstate = wxPyBeginAllowThreads();
33268 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33269 wxPyEndAllowThreads(__tstate);
33270 if (PyErr_Occurred()) SWIG_fail;
33271 }
33272 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33273 return resultobj;
33274 fail:
33275 return NULL;
33276 }
33277
33278
33279 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33280 PyObject *resultobj = 0;
33281 wxEventType arg1 ;
33282 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33283 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33284 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33285 wxTreeEvent *result = 0 ;
33286 int val1 ;
33287 int ecode1 = 0 ;
33288 void *argp2 = 0 ;
33289 int res2 = 0 ;
33290 void *argp3 = 0 ;
33291 int res3 = 0 ;
33292
33293 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33294 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33295 if (!SWIG_IsOK(ecode1)) {
33296 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33297 }
33298 arg1 = static_cast< wxEventType >(val1);
33299 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33300 if (!SWIG_IsOK(res2)) {
33301 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33302 }
33303 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33304 if (swig_obj[2]) {
33305 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33306 if (!SWIG_IsOK(res3)) {
33307 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33308 }
33309 if (!argp3) {
33310 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33311 }
33312 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33313 }
33314 {
33315 PyThreadState* __tstate = wxPyBeginAllowThreads();
33316 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33317 wxPyEndAllowThreads(__tstate);
33318 if (PyErr_Occurred()) SWIG_fail;
33319 }
33320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33321 return resultobj;
33322 fail:
33323 return NULL;
33324 }
33325
33326
33327 SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33328 int argc;
33329 PyObject *argv[4];
33330
33331 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33332 --argc;
33333 if ((argc >= 0) && (argc <= 2)) {
33334 int _v = 0;
33335 if (argc > 1) {
33336 {
33337 {
33338 int res = SWIG_AsVal_int(argv[1], NULL);
33339 _v = SWIG_CheckState(res);
33340 }
33341 }
33342 if (!_v) goto check_1;
33343 }
33344 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33345 }
33346 check_1:
33347
33348 if ((argc >= 2) && (argc <= 3)) {
33349 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33350 }
33351
33352 fail:
33353 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33354 return NULL;
33355 }
33356
33357
33358 SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33359 PyObject *resultobj = 0;
33360 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33361 wxTreeItemId result;
33362 void *argp1 = 0 ;
33363 int res1 = 0 ;
33364 PyObject *swig_obj[1] ;
33365
33366 if (!args) SWIG_fail;
33367 swig_obj[0] = args;
33368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33369 if (!SWIG_IsOK(res1)) {
33370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33371 }
33372 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33373 {
33374 PyThreadState* __tstate = wxPyBeginAllowThreads();
33375 result = ((wxTreeEvent const *)arg1)->GetItem();
33376 wxPyEndAllowThreads(__tstate);
33377 if (PyErr_Occurred()) SWIG_fail;
33378 }
33379 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33380 return resultobj;
33381 fail:
33382 return NULL;
33383 }
33384
33385
33386 SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33387 PyObject *resultobj = 0;
33388 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33389 wxTreeItemId *arg2 = 0 ;
33390 void *argp1 = 0 ;
33391 int res1 = 0 ;
33392 void *argp2 = 0 ;
33393 int res2 = 0 ;
33394 PyObject * obj0 = 0 ;
33395 PyObject * obj1 = 0 ;
33396 char * kwnames[] = {
33397 (char *) "self",(char *) "item", NULL
33398 };
33399
33400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33402 if (!SWIG_IsOK(res1)) {
33403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33404 }
33405 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33406 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33407 if (!SWIG_IsOK(res2)) {
33408 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33409 }
33410 if (!argp2) {
33411 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33412 }
33413 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33414 {
33415 PyThreadState* __tstate = wxPyBeginAllowThreads();
33416 (arg1)->SetItem((wxTreeItemId const &)*arg2);
33417 wxPyEndAllowThreads(__tstate);
33418 if (PyErr_Occurred()) SWIG_fail;
33419 }
33420 resultobj = SWIG_Py_Void();
33421 return resultobj;
33422 fail:
33423 return NULL;
33424 }
33425
33426
33427 SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33428 PyObject *resultobj = 0;
33429 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33430 wxTreeItemId result;
33431 void *argp1 = 0 ;
33432 int res1 = 0 ;
33433 PyObject *swig_obj[1] ;
33434
33435 if (!args) SWIG_fail;
33436 swig_obj[0] = args;
33437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33438 if (!SWIG_IsOK(res1)) {
33439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33440 }
33441 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33442 {
33443 PyThreadState* __tstate = wxPyBeginAllowThreads();
33444 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33445 wxPyEndAllowThreads(__tstate);
33446 if (PyErr_Occurred()) SWIG_fail;
33447 }
33448 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33449 return resultobj;
33450 fail:
33451 return NULL;
33452 }
33453
33454
33455 SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33456 PyObject *resultobj = 0;
33457 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33458 wxTreeItemId *arg2 = 0 ;
33459 void *argp1 = 0 ;
33460 int res1 = 0 ;
33461 void *argp2 = 0 ;
33462 int res2 = 0 ;
33463 PyObject * obj0 = 0 ;
33464 PyObject * obj1 = 0 ;
33465 char * kwnames[] = {
33466 (char *) "self",(char *) "item", NULL
33467 };
33468
33469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33471 if (!SWIG_IsOK(res1)) {
33472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33473 }
33474 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33475 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33476 if (!SWIG_IsOK(res2)) {
33477 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33478 }
33479 if (!argp2) {
33480 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33481 }
33482 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33483 {
33484 PyThreadState* __tstate = wxPyBeginAllowThreads();
33485 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33486 wxPyEndAllowThreads(__tstate);
33487 if (PyErr_Occurred()) SWIG_fail;
33488 }
33489 resultobj = SWIG_Py_Void();
33490 return resultobj;
33491 fail:
33492 return NULL;
33493 }
33494
33495
33496 SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33497 PyObject *resultobj = 0;
33498 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33499 wxPoint result;
33500 void *argp1 = 0 ;
33501 int res1 = 0 ;
33502 PyObject *swig_obj[1] ;
33503
33504 if (!args) SWIG_fail;
33505 swig_obj[0] = args;
33506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33507 if (!SWIG_IsOK(res1)) {
33508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33509 }
33510 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33511 {
33512 PyThreadState* __tstate = wxPyBeginAllowThreads();
33513 result = ((wxTreeEvent const *)arg1)->GetPoint();
33514 wxPyEndAllowThreads(__tstate);
33515 if (PyErr_Occurred()) SWIG_fail;
33516 }
33517 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33518 return resultobj;
33519 fail:
33520 return NULL;
33521 }
33522
33523
33524 SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33525 PyObject *resultobj = 0;
33526 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33527 wxPoint *arg2 = 0 ;
33528 void *argp1 = 0 ;
33529 int res1 = 0 ;
33530 wxPoint temp2 ;
33531 PyObject * obj0 = 0 ;
33532 PyObject * obj1 = 0 ;
33533 char * kwnames[] = {
33534 (char *) "self",(char *) "pt", NULL
33535 };
33536
33537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33539 if (!SWIG_IsOK(res1)) {
33540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33541 }
33542 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33543 {
33544 arg2 = &temp2;
33545 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33546 }
33547 {
33548 PyThreadState* __tstate = wxPyBeginAllowThreads();
33549 (arg1)->SetPoint((wxPoint const &)*arg2);
33550 wxPyEndAllowThreads(__tstate);
33551 if (PyErr_Occurred()) SWIG_fail;
33552 }
33553 resultobj = SWIG_Py_Void();
33554 return resultobj;
33555 fail:
33556 return NULL;
33557 }
33558
33559
33560 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33561 PyObject *resultobj = 0;
33562 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33563 wxKeyEvent *result = 0 ;
33564 void *argp1 = 0 ;
33565 int res1 = 0 ;
33566 PyObject *swig_obj[1] ;
33567
33568 if (!args) SWIG_fail;
33569 swig_obj[0] = args;
33570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33571 if (!SWIG_IsOK(res1)) {
33572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33573 }
33574 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33575 {
33576 PyThreadState* __tstate = wxPyBeginAllowThreads();
33577 {
33578 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33579 result = (wxKeyEvent *) &_result_ref;
33580 }
33581 wxPyEndAllowThreads(__tstate);
33582 if (PyErr_Occurred()) SWIG_fail;
33583 }
33584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33585 return resultobj;
33586 fail:
33587 return NULL;
33588 }
33589
33590
33591 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33592 PyObject *resultobj = 0;
33593 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33594 int result;
33595 void *argp1 = 0 ;
33596 int res1 = 0 ;
33597 PyObject *swig_obj[1] ;
33598
33599 if (!args) SWIG_fail;
33600 swig_obj[0] = args;
33601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33602 if (!SWIG_IsOK(res1)) {
33603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33604 }
33605 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33606 {
33607 PyThreadState* __tstate = wxPyBeginAllowThreads();
33608 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33609 wxPyEndAllowThreads(__tstate);
33610 if (PyErr_Occurred()) SWIG_fail;
33611 }
33612 resultobj = SWIG_From_int(static_cast< int >(result));
33613 return resultobj;
33614 fail:
33615 return NULL;
33616 }
33617
33618
33619 SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33620 PyObject *resultobj = 0;
33621 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33622 wxKeyEvent *arg2 = 0 ;
33623 void *argp1 = 0 ;
33624 int res1 = 0 ;
33625 void *argp2 = 0 ;
33626 int res2 = 0 ;
33627 PyObject * obj0 = 0 ;
33628 PyObject * obj1 = 0 ;
33629 char * kwnames[] = {
33630 (char *) "self",(char *) "evt", NULL
33631 };
33632
33633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33635 if (!SWIG_IsOK(res1)) {
33636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33637 }
33638 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33639 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33640 if (!SWIG_IsOK(res2)) {
33641 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33642 }
33643 if (!argp2) {
33644 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33645 }
33646 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33647 {
33648 PyThreadState* __tstate = wxPyBeginAllowThreads();
33649 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33650 wxPyEndAllowThreads(__tstate);
33651 if (PyErr_Occurred()) SWIG_fail;
33652 }
33653 resultobj = SWIG_Py_Void();
33654 return resultobj;
33655 fail:
33656 return NULL;
33657 }
33658
33659
33660 SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33661 PyObject *resultobj = 0;
33662 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33663 wxString *result = 0 ;
33664 void *argp1 = 0 ;
33665 int res1 = 0 ;
33666 PyObject *swig_obj[1] ;
33667
33668 if (!args) SWIG_fail;
33669 swig_obj[0] = args;
33670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33671 if (!SWIG_IsOK(res1)) {
33672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33673 }
33674 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33675 {
33676 PyThreadState* __tstate = wxPyBeginAllowThreads();
33677 {
33678 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33679 result = (wxString *) &_result_ref;
33680 }
33681 wxPyEndAllowThreads(__tstate);
33682 if (PyErr_Occurred()) SWIG_fail;
33683 }
33684 {
33685 #if wxUSE_UNICODE
33686 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33687 #else
33688 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33689 #endif
33690 }
33691 return resultobj;
33692 fail:
33693 return NULL;
33694 }
33695
33696
33697 SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33698 PyObject *resultobj = 0;
33699 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33700 wxString *arg2 = 0 ;
33701 void *argp1 = 0 ;
33702 int res1 = 0 ;
33703 bool temp2 = false ;
33704 PyObject * obj0 = 0 ;
33705 PyObject * obj1 = 0 ;
33706 char * kwnames[] = {
33707 (char *) "self",(char *) "label", NULL
33708 };
33709
33710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33712 if (!SWIG_IsOK(res1)) {
33713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33714 }
33715 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33716 {
33717 arg2 = wxString_in_helper(obj1);
33718 if (arg2 == NULL) SWIG_fail;
33719 temp2 = true;
33720 }
33721 {
33722 PyThreadState* __tstate = wxPyBeginAllowThreads();
33723 (arg1)->SetLabel((wxString const &)*arg2);
33724 wxPyEndAllowThreads(__tstate);
33725 if (PyErr_Occurred()) SWIG_fail;
33726 }
33727 resultobj = SWIG_Py_Void();
33728 {
33729 if (temp2)
33730 delete arg2;
33731 }
33732 return resultobj;
33733 fail:
33734 {
33735 if (temp2)
33736 delete arg2;
33737 }
33738 return NULL;
33739 }
33740
33741
33742 SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33743 PyObject *resultobj = 0;
33744 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33745 bool result;
33746 void *argp1 = 0 ;
33747 int res1 = 0 ;
33748 PyObject *swig_obj[1] ;
33749
33750 if (!args) SWIG_fail;
33751 swig_obj[0] = args;
33752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33753 if (!SWIG_IsOK(res1)) {
33754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33755 }
33756 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33757 {
33758 PyThreadState* __tstate = wxPyBeginAllowThreads();
33759 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33760 wxPyEndAllowThreads(__tstate);
33761 if (PyErr_Occurred()) SWIG_fail;
33762 }
33763 {
33764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33765 }
33766 return resultobj;
33767 fail:
33768 return NULL;
33769 }
33770
33771
33772 SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33773 PyObject *resultobj = 0;
33774 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33775 bool arg2 ;
33776 void *argp1 = 0 ;
33777 int res1 = 0 ;
33778 bool val2 ;
33779 int ecode2 = 0 ;
33780 PyObject * obj0 = 0 ;
33781 PyObject * obj1 = 0 ;
33782 char * kwnames[] = {
33783 (char *) "self",(char *) "editCancelled", NULL
33784 };
33785
33786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33788 if (!SWIG_IsOK(res1)) {
33789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33790 }
33791 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33792 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33793 if (!SWIG_IsOK(ecode2)) {
33794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33795 }
33796 arg2 = static_cast< bool >(val2);
33797 {
33798 PyThreadState* __tstate = wxPyBeginAllowThreads();
33799 (arg1)->SetEditCanceled(arg2);
33800 wxPyEndAllowThreads(__tstate);
33801 if (PyErr_Occurred()) SWIG_fail;
33802 }
33803 resultobj = SWIG_Py_Void();
33804 return resultobj;
33805 fail:
33806 return NULL;
33807 }
33808
33809
33810 SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33811 PyObject *resultobj = 0;
33812 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33813 wxString *arg2 = 0 ;
33814 void *argp1 = 0 ;
33815 int res1 = 0 ;
33816 bool temp2 = false ;
33817 PyObject * obj0 = 0 ;
33818 PyObject * obj1 = 0 ;
33819 char * kwnames[] = {
33820 (char *) "self",(char *) "toolTip", NULL
33821 };
33822
33823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33825 if (!SWIG_IsOK(res1)) {
33826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33827 }
33828 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33829 {
33830 arg2 = wxString_in_helper(obj1);
33831 if (arg2 == NULL) SWIG_fail;
33832 temp2 = true;
33833 }
33834 {
33835 PyThreadState* __tstate = wxPyBeginAllowThreads();
33836 (arg1)->SetToolTip((wxString const &)*arg2);
33837 wxPyEndAllowThreads(__tstate);
33838 if (PyErr_Occurred()) SWIG_fail;
33839 }
33840 resultobj = SWIG_Py_Void();
33841 {
33842 if (temp2)
33843 delete arg2;
33844 }
33845 return resultobj;
33846 fail:
33847 {
33848 if (temp2)
33849 delete arg2;
33850 }
33851 return NULL;
33852 }
33853
33854
33855 SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33856 PyObject *resultobj = 0;
33857 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33858 wxString result;
33859 void *argp1 = 0 ;
33860 int res1 = 0 ;
33861 PyObject *swig_obj[1] ;
33862
33863 if (!args) SWIG_fail;
33864 swig_obj[0] = args;
33865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33866 if (!SWIG_IsOK(res1)) {
33867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33868 }
33869 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33870 {
33871 PyThreadState* __tstate = wxPyBeginAllowThreads();
33872 result = (arg1)->GetToolTip();
33873 wxPyEndAllowThreads(__tstate);
33874 if (PyErr_Occurred()) SWIG_fail;
33875 }
33876 {
33877 #if wxUSE_UNICODE
33878 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33879 #else
33880 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33881 #endif
33882 }
33883 return resultobj;
33884 fail:
33885 return NULL;
33886 }
33887
33888
33889 SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33890 PyObject *obj;
33891 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33892 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33893 return SWIG_Py_Void();
33894 }
33895
33896 SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33897 return SWIG_Python_InitShadowInstance(args);
33898 }
33899
33900 SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33901 PyObject *resultobj = 0;
33902 wxWindow *arg1 = (wxWindow *) 0 ;
33903 int arg2 = (int) -1 ;
33904 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33905 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33906 wxSize const &arg4_defvalue = wxDefaultSize ;
33907 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33908 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33909 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33910 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33911 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33912 wxString *arg7 = (wxString *) &arg7_defvalue ;
33913 wxPyTreeCtrl *result = 0 ;
33914 void *argp1 = 0 ;
33915 int res1 = 0 ;
33916 int val2 ;
33917 int ecode2 = 0 ;
33918 wxPoint temp3 ;
33919 wxSize temp4 ;
33920 long val5 ;
33921 int ecode5 = 0 ;
33922 void *argp6 = 0 ;
33923 int res6 = 0 ;
33924 bool temp7 = false ;
33925 PyObject * obj0 = 0 ;
33926 PyObject * obj1 = 0 ;
33927 PyObject * obj2 = 0 ;
33928 PyObject * obj3 = 0 ;
33929 PyObject * obj4 = 0 ;
33930 PyObject * obj5 = 0 ;
33931 PyObject * obj6 = 0 ;
33932 char * kwnames[] = {
33933 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33934 };
33935
33936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33938 if (!SWIG_IsOK(res1)) {
33939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33940 }
33941 arg1 = reinterpret_cast< wxWindow * >(argp1);
33942 if (obj1) {
33943 ecode2 = SWIG_AsVal_int(obj1, &val2);
33944 if (!SWIG_IsOK(ecode2)) {
33945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33946 }
33947 arg2 = static_cast< int >(val2);
33948 }
33949 if (obj2) {
33950 {
33951 arg3 = &temp3;
33952 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33953 }
33954 }
33955 if (obj3) {
33956 {
33957 arg4 = &temp4;
33958 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33959 }
33960 }
33961 if (obj4) {
33962 ecode5 = SWIG_AsVal_long(obj4, &val5);
33963 if (!SWIG_IsOK(ecode5)) {
33964 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33965 }
33966 arg5 = static_cast< long >(val5);
33967 }
33968 if (obj5) {
33969 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33970 if (!SWIG_IsOK(res6)) {
33971 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33972 }
33973 if (!argp6) {
33974 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33975 }
33976 arg6 = reinterpret_cast< wxValidator * >(argp6);
33977 }
33978 if (obj6) {
33979 {
33980 arg7 = wxString_in_helper(obj6);
33981 if (arg7 == NULL) SWIG_fail;
33982 temp7 = true;
33983 }
33984 }
33985 {
33986 if (!wxPyCheckForApp()) SWIG_fail;
33987 PyThreadState* __tstate = wxPyBeginAllowThreads();
33988 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33989 wxPyEndAllowThreads(__tstate);
33990 if (PyErr_Occurred()) SWIG_fail;
33991 }
33992 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33993 {
33994 if (temp7)
33995 delete arg7;
33996 }
33997 return resultobj;
33998 fail:
33999 {
34000 if (temp7)
34001 delete arg7;
34002 }
34003 return NULL;
34004 }
34005
34006
34007 SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34008 PyObject *resultobj = 0;
34009 wxPyTreeCtrl *result = 0 ;
34010
34011 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
34012 {
34013 if (!wxPyCheckForApp()) SWIG_fail;
34014 PyThreadState* __tstate = wxPyBeginAllowThreads();
34015 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
34016 wxPyEndAllowThreads(__tstate);
34017 if (PyErr_Occurred()) SWIG_fail;
34018 }
34019 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
34020 return resultobj;
34021 fail:
34022 return NULL;
34023 }
34024
34025
34026 SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34027 PyObject *resultobj = 0;
34028 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34029 wxWindow *arg2 = (wxWindow *) 0 ;
34030 int arg3 = (int) -1 ;
34031 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34032 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34033 wxSize const &arg5_defvalue = wxDefaultSize ;
34034 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34035 long arg6 = (long) wxTR_DEFAULT_STYLE ;
34036 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34037 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34038 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
34039 wxString *arg8 = (wxString *) &arg8_defvalue ;
34040 bool result;
34041 void *argp1 = 0 ;
34042 int res1 = 0 ;
34043 void *argp2 = 0 ;
34044 int res2 = 0 ;
34045 int val3 ;
34046 int ecode3 = 0 ;
34047 wxPoint temp4 ;
34048 wxSize temp5 ;
34049 long val6 ;
34050 int ecode6 = 0 ;
34051 void *argp7 = 0 ;
34052 int res7 = 0 ;
34053 bool temp8 = false ;
34054 PyObject * obj0 = 0 ;
34055 PyObject * obj1 = 0 ;
34056 PyObject * obj2 = 0 ;
34057 PyObject * obj3 = 0 ;
34058 PyObject * obj4 = 0 ;
34059 PyObject * obj5 = 0 ;
34060 PyObject * obj6 = 0 ;
34061 PyObject * obj7 = 0 ;
34062 char * kwnames[] = {
34063 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34064 };
34065
34066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
34067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34068 if (!SWIG_IsOK(res1)) {
34069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34070 }
34071 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34072 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
34073 if (!SWIG_IsOK(res2)) {
34074 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34075 }
34076 arg2 = reinterpret_cast< wxWindow * >(argp2);
34077 if (obj2) {
34078 ecode3 = SWIG_AsVal_int(obj2, &val3);
34079 if (!SWIG_IsOK(ecode3)) {
34080 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34081 }
34082 arg3 = static_cast< int >(val3);
34083 }
34084 if (obj3) {
34085 {
34086 arg4 = &temp4;
34087 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34088 }
34089 }
34090 if (obj4) {
34091 {
34092 arg5 = &temp5;
34093 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34094 }
34095 }
34096 if (obj5) {
34097 ecode6 = SWIG_AsVal_long(obj5, &val6);
34098 if (!SWIG_IsOK(ecode6)) {
34099 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34100 }
34101 arg6 = static_cast< long >(val6);
34102 }
34103 if (obj6) {
34104 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
34105 if (!SWIG_IsOK(res7)) {
34106 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34107 }
34108 if (!argp7) {
34109 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34110 }
34111 arg7 = reinterpret_cast< wxValidator * >(argp7);
34112 }
34113 if (obj7) {
34114 {
34115 arg8 = wxString_in_helper(obj7);
34116 if (arg8 == NULL) SWIG_fail;
34117 temp8 = true;
34118 }
34119 }
34120 {
34121 PyThreadState* __tstate = wxPyBeginAllowThreads();
34122 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34123 wxPyEndAllowThreads(__tstate);
34124 if (PyErr_Occurred()) SWIG_fail;
34125 }
34126 {
34127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34128 }
34129 {
34130 if (temp8)
34131 delete arg8;
34132 }
34133 return resultobj;
34134 fail:
34135 {
34136 if (temp8)
34137 delete arg8;
34138 }
34139 return NULL;
34140 }
34141
34142
34143 SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34144 PyObject *resultobj = 0;
34145 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34146 PyObject *arg2 = (PyObject *) 0 ;
34147 PyObject *arg3 = (PyObject *) 0 ;
34148 void *argp1 = 0 ;
34149 int res1 = 0 ;
34150 PyObject * obj0 = 0 ;
34151 PyObject * obj1 = 0 ;
34152 PyObject * obj2 = 0 ;
34153 char * kwnames[] = {
34154 (char *) "self",(char *) "self",(char *) "_class", NULL
34155 };
34156
34157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34159 if (!SWIG_IsOK(res1)) {
34160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34161 }
34162 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34163 arg2 = obj1;
34164 arg3 = obj2;
34165 {
34166 PyThreadState* __tstate = wxPyBeginAllowThreads();
34167 (arg1)->_setCallbackInfo(arg2,arg3);
34168 wxPyEndAllowThreads(__tstate);
34169 if (PyErr_Occurred()) SWIG_fail;
34170 }
34171 resultobj = SWIG_Py_Void();
34172 return resultobj;
34173 fail:
34174 return NULL;
34175 }
34176
34177
34178 SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34179 PyObject *resultobj = 0;
34180 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34181 unsigned int result;
34182 void *argp1 = 0 ;
34183 int res1 = 0 ;
34184 PyObject *swig_obj[1] ;
34185
34186 if (!args) SWIG_fail;
34187 swig_obj[0] = args;
34188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34189 if (!SWIG_IsOK(res1)) {
34190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34191 }
34192 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34193 {
34194 PyThreadState* __tstate = wxPyBeginAllowThreads();
34195 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
34196 wxPyEndAllowThreads(__tstate);
34197 if (PyErr_Occurred()) SWIG_fail;
34198 }
34199 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34200 return resultobj;
34201 fail:
34202 return NULL;
34203 }
34204
34205
34206 SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34207 PyObject *resultobj = 0;
34208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34209 unsigned int result;
34210 void *argp1 = 0 ;
34211 int res1 = 0 ;
34212 PyObject *swig_obj[1] ;
34213
34214 if (!args) SWIG_fail;
34215 swig_obj[0] = args;
34216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34217 if (!SWIG_IsOK(res1)) {
34218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34219 }
34220 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34221 {
34222 PyThreadState* __tstate = wxPyBeginAllowThreads();
34223 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
34224 wxPyEndAllowThreads(__tstate);
34225 if (PyErr_Occurred()) SWIG_fail;
34226 }
34227 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34228 return resultobj;
34229 fail:
34230 return NULL;
34231 }
34232
34233
34234 SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34235 PyObject *resultobj = 0;
34236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34237 unsigned int arg2 ;
34238 void *argp1 = 0 ;
34239 int res1 = 0 ;
34240 unsigned int val2 ;
34241 int ecode2 = 0 ;
34242 PyObject * obj0 = 0 ;
34243 PyObject * obj1 = 0 ;
34244 char * kwnames[] = {
34245 (char *) "self",(char *) "indent", NULL
34246 };
34247
34248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34250 if (!SWIG_IsOK(res1)) {
34251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34252 }
34253 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34254 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34255 if (!SWIG_IsOK(ecode2)) {
34256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34257 }
34258 arg2 = static_cast< unsigned int >(val2);
34259 {
34260 PyThreadState* __tstate = wxPyBeginAllowThreads();
34261 (arg1)->SetIndent(arg2);
34262 wxPyEndAllowThreads(__tstate);
34263 if (PyErr_Occurred()) SWIG_fail;
34264 }
34265 resultobj = SWIG_Py_Void();
34266 return resultobj;
34267 fail:
34268 return NULL;
34269 }
34270
34271
34272 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34273 PyObject *resultobj = 0;
34274 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34275 unsigned int result;
34276 void *argp1 = 0 ;
34277 int res1 = 0 ;
34278 PyObject *swig_obj[1] ;
34279
34280 if (!args) SWIG_fail;
34281 swig_obj[0] = args;
34282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34283 if (!SWIG_IsOK(res1)) {
34284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34285 }
34286 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34287 {
34288 PyThreadState* __tstate = wxPyBeginAllowThreads();
34289 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34290 wxPyEndAllowThreads(__tstate);
34291 if (PyErr_Occurred()) SWIG_fail;
34292 }
34293 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34294 return resultobj;
34295 fail:
34296 return NULL;
34297 }
34298
34299
34300 SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34301 PyObject *resultobj = 0;
34302 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34303 unsigned int arg2 ;
34304 void *argp1 = 0 ;
34305 int res1 = 0 ;
34306 unsigned int val2 ;
34307 int ecode2 = 0 ;
34308 PyObject * obj0 = 0 ;
34309 PyObject * obj1 = 0 ;
34310 char * kwnames[] = {
34311 (char *) "self",(char *) "spacing", NULL
34312 };
34313
34314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
34315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34316 if (!SWIG_IsOK(res1)) {
34317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34318 }
34319 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34320 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34321 if (!SWIG_IsOK(ecode2)) {
34322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34323 }
34324 arg2 = static_cast< unsigned int >(val2);
34325 {
34326 PyThreadState* __tstate = wxPyBeginAllowThreads();
34327 (arg1)->SetSpacing(arg2);
34328 wxPyEndAllowThreads(__tstate);
34329 if (PyErr_Occurred()) SWIG_fail;
34330 }
34331 resultobj = SWIG_Py_Void();
34332 return resultobj;
34333 fail:
34334 return NULL;
34335 }
34336
34337
34338 SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34339 PyObject *resultobj = 0;
34340 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34341 wxImageList *result = 0 ;
34342 void *argp1 = 0 ;
34343 int res1 = 0 ;
34344 PyObject *swig_obj[1] ;
34345
34346 if (!args) SWIG_fail;
34347 swig_obj[0] = args;
34348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34349 if (!SWIG_IsOK(res1)) {
34350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34351 }
34352 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34353 {
34354 PyThreadState* __tstate = wxPyBeginAllowThreads();
34355 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34356 wxPyEndAllowThreads(__tstate);
34357 if (PyErr_Occurred()) SWIG_fail;
34358 }
34359 {
34360 resultobj = wxPyMake_wxObject(result, (bool)0);
34361 }
34362 return resultobj;
34363 fail:
34364 return NULL;
34365 }
34366
34367
34368 SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34369 PyObject *resultobj = 0;
34370 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34371 wxImageList *result = 0 ;
34372 void *argp1 = 0 ;
34373 int res1 = 0 ;
34374 PyObject *swig_obj[1] ;
34375
34376 if (!args) SWIG_fail;
34377 swig_obj[0] = args;
34378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34379 if (!SWIG_IsOK(res1)) {
34380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34381 }
34382 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34383 {
34384 PyThreadState* __tstate = wxPyBeginAllowThreads();
34385 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34386 wxPyEndAllowThreads(__tstate);
34387 if (PyErr_Occurred()) SWIG_fail;
34388 }
34389 {
34390 resultobj = wxPyMake_wxObject(result, (bool)0);
34391 }
34392 return resultobj;
34393 fail:
34394 return NULL;
34395 }
34396
34397
34398 SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34399 PyObject *resultobj = 0;
34400 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34401 wxImageList *arg2 = (wxImageList *) 0 ;
34402 void *argp1 = 0 ;
34403 int res1 = 0 ;
34404 void *argp2 = 0 ;
34405 int res2 = 0 ;
34406 PyObject * obj0 = 0 ;
34407 PyObject * obj1 = 0 ;
34408 char * kwnames[] = {
34409 (char *) "self",(char *) "imageList", NULL
34410 };
34411
34412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34414 if (!SWIG_IsOK(res1)) {
34415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34416 }
34417 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34418 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34419 if (!SWIG_IsOK(res2)) {
34420 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34421 }
34422 arg2 = reinterpret_cast< wxImageList * >(argp2);
34423 {
34424 PyThreadState* __tstate = wxPyBeginAllowThreads();
34425 (arg1)->SetImageList(arg2);
34426 wxPyEndAllowThreads(__tstate);
34427 if (PyErr_Occurred()) SWIG_fail;
34428 }
34429 resultobj = SWIG_Py_Void();
34430 return resultobj;
34431 fail:
34432 return NULL;
34433 }
34434
34435
34436 SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34437 PyObject *resultobj = 0;
34438 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34439 wxImageList *arg2 = (wxImageList *) 0 ;
34440 void *argp1 = 0 ;
34441 int res1 = 0 ;
34442 void *argp2 = 0 ;
34443 int res2 = 0 ;
34444 PyObject * obj0 = 0 ;
34445 PyObject * obj1 = 0 ;
34446 char * kwnames[] = {
34447 (char *) "self",(char *) "imageList", NULL
34448 };
34449
34450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34452 if (!SWIG_IsOK(res1)) {
34453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34454 }
34455 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34456 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34457 if (!SWIG_IsOK(res2)) {
34458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34459 }
34460 arg2 = reinterpret_cast< wxImageList * >(argp2);
34461 {
34462 PyThreadState* __tstate = wxPyBeginAllowThreads();
34463 (arg1)->SetStateImageList(arg2);
34464 wxPyEndAllowThreads(__tstate);
34465 if (PyErr_Occurred()) SWIG_fail;
34466 }
34467 resultobj = SWIG_Py_Void();
34468 return resultobj;
34469 fail:
34470 return NULL;
34471 }
34472
34473
34474 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34475 PyObject *resultobj = 0;
34476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34477 wxImageList *arg2 = (wxImageList *) 0 ;
34478 void *argp1 = 0 ;
34479 int res1 = 0 ;
34480 int res2 = 0 ;
34481 PyObject * obj0 = 0 ;
34482 PyObject * obj1 = 0 ;
34483 char * kwnames[] = {
34484 (char *) "self",(char *) "imageList", NULL
34485 };
34486
34487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34489 if (!SWIG_IsOK(res1)) {
34490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34491 }
34492 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34493 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34494 if (!SWIG_IsOK(res2)) {
34495 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34496 }
34497 {
34498 PyThreadState* __tstate = wxPyBeginAllowThreads();
34499 (arg1)->AssignImageList(arg2);
34500 wxPyEndAllowThreads(__tstate);
34501 if (PyErr_Occurred()) SWIG_fail;
34502 }
34503 resultobj = SWIG_Py_Void();
34504 return resultobj;
34505 fail:
34506 return NULL;
34507 }
34508
34509
34510 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34511 PyObject *resultobj = 0;
34512 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34513 wxImageList *arg2 = (wxImageList *) 0 ;
34514 void *argp1 = 0 ;
34515 int res1 = 0 ;
34516 int res2 = 0 ;
34517 PyObject * obj0 = 0 ;
34518 PyObject * obj1 = 0 ;
34519 char * kwnames[] = {
34520 (char *) "self",(char *) "imageList", NULL
34521 };
34522
34523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34525 if (!SWIG_IsOK(res1)) {
34526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34527 }
34528 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34529 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34530 if (!SWIG_IsOK(res2)) {
34531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34532 }
34533 {
34534 PyThreadState* __tstate = wxPyBeginAllowThreads();
34535 (arg1)->AssignStateImageList(arg2);
34536 wxPyEndAllowThreads(__tstate);
34537 if (PyErr_Occurred()) SWIG_fail;
34538 }
34539 resultobj = SWIG_Py_Void();
34540 return resultobj;
34541 fail:
34542 return NULL;
34543 }
34544
34545
34546 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34547 PyObject *resultobj = 0;
34548 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34549 wxTreeItemId *arg2 = 0 ;
34550 wxString result;
34551 void *argp1 = 0 ;
34552 int res1 = 0 ;
34553 void *argp2 = 0 ;
34554 int res2 = 0 ;
34555 PyObject * obj0 = 0 ;
34556 PyObject * obj1 = 0 ;
34557 char * kwnames[] = {
34558 (char *) "self",(char *) "item", NULL
34559 };
34560
34561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34563 if (!SWIG_IsOK(res1)) {
34564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34565 }
34566 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34567 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34568 if (!SWIG_IsOK(res2)) {
34569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34570 }
34571 if (!argp2) {
34572 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34573 }
34574 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34575 {
34576 PyThreadState* __tstate = wxPyBeginAllowThreads();
34577 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34578 wxPyEndAllowThreads(__tstate);
34579 if (PyErr_Occurred()) SWIG_fail;
34580 }
34581 {
34582 #if wxUSE_UNICODE
34583 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34584 #else
34585 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34586 #endif
34587 }
34588 return resultobj;
34589 fail:
34590 return NULL;
34591 }
34592
34593
34594 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34595 PyObject *resultobj = 0;
34596 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34597 wxTreeItemId *arg2 = 0 ;
34598 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34599 int result;
34600 void *argp1 = 0 ;
34601 int res1 = 0 ;
34602 void *argp2 = 0 ;
34603 int res2 = 0 ;
34604 int val3 ;
34605 int ecode3 = 0 ;
34606 PyObject * obj0 = 0 ;
34607 PyObject * obj1 = 0 ;
34608 PyObject * obj2 = 0 ;
34609 char * kwnames[] = {
34610 (char *) "self",(char *) "item",(char *) "which", NULL
34611 };
34612
34613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34615 if (!SWIG_IsOK(res1)) {
34616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34617 }
34618 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34619 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34620 if (!SWIG_IsOK(res2)) {
34621 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34622 }
34623 if (!argp2) {
34624 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34625 }
34626 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34627 if (obj2) {
34628 ecode3 = SWIG_AsVal_int(obj2, &val3);
34629 if (!SWIG_IsOK(ecode3)) {
34630 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34631 }
34632 arg3 = static_cast< wxTreeItemIcon >(val3);
34633 }
34634 {
34635 PyThreadState* __tstate = wxPyBeginAllowThreads();
34636 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34637 wxPyEndAllowThreads(__tstate);
34638 if (PyErr_Occurred()) SWIG_fail;
34639 }
34640 resultobj = SWIG_From_int(static_cast< int >(result));
34641 return resultobj;
34642 fail:
34643 return NULL;
34644 }
34645
34646
34647 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34648 PyObject *resultobj = 0;
34649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34650 wxTreeItemId *arg2 = 0 ;
34651 wxPyTreeItemData *result = 0 ;
34652 void *argp1 = 0 ;
34653 int res1 = 0 ;
34654 void *argp2 = 0 ;
34655 int res2 = 0 ;
34656 PyObject * obj0 = 0 ;
34657 PyObject * obj1 = 0 ;
34658 char * kwnames[] = {
34659 (char *) "self",(char *) "item", NULL
34660 };
34661
34662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34664 if (!SWIG_IsOK(res1)) {
34665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34666 }
34667 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34668 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34669 if (!SWIG_IsOK(res2)) {
34670 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34671 }
34672 if (!argp2) {
34673 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34674 }
34675 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34676 {
34677 PyThreadState* __tstate = wxPyBeginAllowThreads();
34678 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34679 wxPyEndAllowThreads(__tstate);
34680 if (PyErr_Occurred()) SWIG_fail;
34681 }
34682 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34683 return resultobj;
34684 fail:
34685 return NULL;
34686 }
34687
34688
34689 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34690 PyObject *resultobj = 0;
34691 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34692 wxTreeItemId *arg2 = 0 ;
34693 PyObject *result = 0 ;
34694 void *argp1 = 0 ;
34695 int res1 = 0 ;
34696 void *argp2 = 0 ;
34697 int res2 = 0 ;
34698 PyObject * obj0 = 0 ;
34699 PyObject * obj1 = 0 ;
34700 char * kwnames[] = {
34701 (char *) "self",(char *) "item", NULL
34702 };
34703
34704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34706 if (!SWIG_IsOK(res1)) {
34707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34708 }
34709 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34710 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34711 if (!SWIG_IsOK(res2)) {
34712 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34713 }
34714 if (!argp2) {
34715 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34716 }
34717 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34718 {
34719 PyThreadState* __tstate = wxPyBeginAllowThreads();
34720 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34721 wxPyEndAllowThreads(__tstate);
34722 if (PyErr_Occurred()) SWIG_fail;
34723 }
34724 resultobj = result;
34725 return resultobj;
34726 fail:
34727 return NULL;
34728 }
34729
34730
34731 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34732 PyObject *resultobj = 0;
34733 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34734 wxTreeItemId *arg2 = 0 ;
34735 wxColour result;
34736 void *argp1 = 0 ;
34737 int res1 = 0 ;
34738 void *argp2 = 0 ;
34739 int res2 = 0 ;
34740 PyObject * obj0 = 0 ;
34741 PyObject * obj1 = 0 ;
34742 char * kwnames[] = {
34743 (char *) "self",(char *) "item", NULL
34744 };
34745
34746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34748 if (!SWIG_IsOK(res1)) {
34749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34750 }
34751 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34752 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34753 if (!SWIG_IsOK(res2)) {
34754 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34755 }
34756 if (!argp2) {
34757 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34758 }
34759 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34760 {
34761 PyThreadState* __tstate = wxPyBeginAllowThreads();
34762 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34763 wxPyEndAllowThreads(__tstate);
34764 if (PyErr_Occurred()) SWIG_fail;
34765 }
34766 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34767 return resultobj;
34768 fail:
34769 return NULL;
34770 }
34771
34772
34773 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34774 PyObject *resultobj = 0;
34775 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34776 wxTreeItemId *arg2 = 0 ;
34777 wxColour result;
34778 void *argp1 = 0 ;
34779 int res1 = 0 ;
34780 void *argp2 = 0 ;
34781 int res2 = 0 ;
34782 PyObject * obj0 = 0 ;
34783 PyObject * obj1 = 0 ;
34784 char * kwnames[] = {
34785 (char *) "self",(char *) "item", NULL
34786 };
34787
34788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34790 if (!SWIG_IsOK(res1)) {
34791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34792 }
34793 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34794 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34795 if (!SWIG_IsOK(res2)) {
34796 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34797 }
34798 if (!argp2) {
34799 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34800 }
34801 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34802 {
34803 PyThreadState* __tstate = wxPyBeginAllowThreads();
34804 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34805 wxPyEndAllowThreads(__tstate);
34806 if (PyErr_Occurred()) SWIG_fail;
34807 }
34808 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34809 return resultobj;
34810 fail:
34811 return NULL;
34812 }
34813
34814
34815 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34816 PyObject *resultobj = 0;
34817 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34818 wxTreeItemId *arg2 = 0 ;
34819 wxFont result;
34820 void *argp1 = 0 ;
34821 int res1 = 0 ;
34822 void *argp2 = 0 ;
34823 int res2 = 0 ;
34824 PyObject * obj0 = 0 ;
34825 PyObject * obj1 = 0 ;
34826 char * kwnames[] = {
34827 (char *) "self",(char *) "item", NULL
34828 };
34829
34830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34832 if (!SWIG_IsOK(res1)) {
34833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34834 }
34835 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34836 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34837 if (!SWIG_IsOK(res2)) {
34838 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34839 }
34840 if (!argp2) {
34841 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34842 }
34843 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34844 {
34845 PyThreadState* __tstate = wxPyBeginAllowThreads();
34846 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34847 wxPyEndAllowThreads(__tstate);
34848 if (PyErr_Occurred()) SWIG_fail;
34849 }
34850 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34851 return resultobj;
34852 fail:
34853 return NULL;
34854 }
34855
34856
34857 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34858 PyObject *resultobj = 0;
34859 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34860 wxTreeItemId *arg2 = 0 ;
34861 wxString *arg3 = 0 ;
34862 void *argp1 = 0 ;
34863 int res1 = 0 ;
34864 void *argp2 = 0 ;
34865 int res2 = 0 ;
34866 bool temp3 = false ;
34867 PyObject * obj0 = 0 ;
34868 PyObject * obj1 = 0 ;
34869 PyObject * obj2 = 0 ;
34870 char * kwnames[] = {
34871 (char *) "self",(char *) "item",(char *) "text", NULL
34872 };
34873
34874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34876 if (!SWIG_IsOK(res1)) {
34877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34878 }
34879 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34880 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34881 if (!SWIG_IsOK(res2)) {
34882 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34883 }
34884 if (!argp2) {
34885 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34886 }
34887 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34888 {
34889 arg3 = wxString_in_helper(obj2);
34890 if (arg3 == NULL) SWIG_fail;
34891 temp3 = true;
34892 }
34893 {
34894 PyThreadState* __tstate = wxPyBeginAllowThreads();
34895 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34896 wxPyEndAllowThreads(__tstate);
34897 if (PyErr_Occurred()) SWIG_fail;
34898 }
34899 resultobj = SWIG_Py_Void();
34900 {
34901 if (temp3)
34902 delete arg3;
34903 }
34904 return resultobj;
34905 fail:
34906 {
34907 if (temp3)
34908 delete arg3;
34909 }
34910 return NULL;
34911 }
34912
34913
34914 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34915 PyObject *resultobj = 0;
34916 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34917 wxTreeItemId *arg2 = 0 ;
34918 int arg3 ;
34919 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34920 void *argp1 = 0 ;
34921 int res1 = 0 ;
34922 void *argp2 = 0 ;
34923 int res2 = 0 ;
34924 int val3 ;
34925 int ecode3 = 0 ;
34926 int val4 ;
34927 int ecode4 = 0 ;
34928 PyObject * obj0 = 0 ;
34929 PyObject * obj1 = 0 ;
34930 PyObject * obj2 = 0 ;
34931 PyObject * obj3 = 0 ;
34932 char * kwnames[] = {
34933 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34934 };
34935
34936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34938 if (!SWIG_IsOK(res1)) {
34939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34940 }
34941 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34942 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34943 if (!SWIG_IsOK(res2)) {
34944 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34945 }
34946 if (!argp2) {
34947 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34948 }
34949 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34950 ecode3 = SWIG_AsVal_int(obj2, &val3);
34951 if (!SWIG_IsOK(ecode3)) {
34952 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34953 }
34954 arg3 = static_cast< int >(val3);
34955 if (obj3) {
34956 ecode4 = SWIG_AsVal_int(obj3, &val4);
34957 if (!SWIG_IsOK(ecode4)) {
34958 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34959 }
34960 arg4 = static_cast< wxTreeItemIcon >(val4);
34961 }
34962 {
34963 PyThreadState* __tstate = wxPyBeginAllowThreads();
34964 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34965 wxPyEndAllowThreads(__tstate);
34966 if (PyErr_Occurred()) SWIG_fail;
34967 }
34968 resultobj = SWIG_Py_Void();
34969 return resultobj;
34970 fail:
34971 return NULL;
34972 }
34973
34974
34975 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34976 PyObject *resultobj = 0;
34977 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34978 wxTreeItemId *arg2 = 0 ;
34979 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34980 void *argp1 = 0 ;
34981 int res1 = 0 ;
34982 void *argp2 = 0 ;
34983 int res2 = 0 ;
34984 int res3 = 0 ;
34985 PyObject * obj0 = 0 ;
34986 PyObject * obj1 = 0 ;
34987 PyObject * obj2 = 0 ;
34988 char * kwnames[] = {
34989 (char *) "self",(char *) "item",(char *) "data", NULL
34990 };
34991
34992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34994 if (!SWIG_IsOK(res1)) {
34995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34996 }
34997 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34998 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34999 if (!SWIG_IsOK(res2)) {
35000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35001 }
35002 if (!argp2) {
35003 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35004 }
35005 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35006 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35007 if (!SWIG_IsOK(res3)) {
35008 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35009 }
35010 {
35011 PyThreadState* __tstate = wxPyBeginAllowThreads();
35012 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
35013 wxPyEndAllowThreads(__tstate);
35014 if (PyErr_Occurred()) SWIG_fail;
35015 }
35016 resultobj = SWIG_Py_Void();
35017 return resultobj;
35018 fail:
35019 return NULL;
35020 }
35021
35022
35023 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35024 PyObject *resultobj = 0;
35025 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35026 wxTreeItemId *arg2 = 0 ;
35027 PyObject *arg3 = (PyObject *) 0 ;
35028 void *argp1 = 0 ;
35029 int res1 = 0 ;
35030 void *argp2 = 0 ;
35031 int res2 = 0 ;
35032 PyObject * obj0 = 0 ;
35033 PyObject * obj1 = 0 ;
35034 PyObject * obj2 = 0 ;
35035 char * kwnames[] = {
35036 (char *) "self",(char *) "item",(char *) "obj", NULL
35037 };
35038
35039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35041 if (!SWIG_IsOK(res1)) {
35042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35043 }
35044 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35045 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35046 if (!SWIG_IsOK(res2)) {
35047 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35048 }
35049 if (!argp2) {
35050 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35051 }
35052 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35053 arg3 = obj2;
35054 {
35055 PyThreadState* __tstate = wxPyBeginAllowThreads();
35056 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
35057 wxPyEndAllowThreads(__tstate);
35058 if (PyErr_Occurred()) SWIG_fail;
35059 }
35060 resultobj = SWIG_Py_Void();
35061 return resultobj;
35062 fail:
35063 return NULL;
35064 }
35065
35066
35067 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35068 PyObject *resultobj = 0;
35069 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35070 wxTreeItemId *arg2 = 0 ;
35071 bool arg3 = (bool) true ;
35072 void *argp1 = 0 ;
35073 int res1 = 0 ;
35074 void *argp2 = 0 ;
35075 int res2 = 0 ;
35076 bool val3 ;
35077 int ecode3 = 0 ;
35078 PyObject * obj0 = 0 ;
35079 PyObject * obj1 = 0 ;
35080 PyObject * obj2 = 0 ;
35081 char * kwnames[] = {
35082 (char *) "self",(char *) "item",(char *) "has", NULL
35083 };
35084
35085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35087 if (!SWIG_IsOK(res1)) {
35088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35089 }
35090 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35091 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35092 if (!SWIG_IsOK(res2)) {
35093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35094 }
35095 if (!argp2) {
35096 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35097 }
35098 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35099 if (obj2) {
35100 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35101 if (!SWIG_IsOK(ecode3)) {
35102 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35103 }
35104 arg3 = static_cast< bool >(val3);
35105 }
35106 {
35107 PyThreadState* __tstate = wxPyBeginAllowThreads();
35108 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
35109 wxPyEndAllowThreads(__tstate);
35110 if (PyErr_Occurred()) SWIG_fail;
35111 }
35112 resultobj = SWIG_Py_Void();
35113 return resultobj;
35114 fail:
35115 return NULL;
35116 }
35117
35118
35119 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35120 PyObject *resultobj = 0;
35121 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35122 wxTreeItemId *arg2 = 0 ;
35123 bool arg3 = (bool) true ;
35124 void *argp1 = 0 ;
35125 int res1 = 0 ;
35126 void *argp2 = 0 ;
35127 int res2 = 0 ;
35128 bool val3 ;
35129 int ecode3 = 0 ;
35130 PyObject * obj0 = 0 ;
35131 PyObject * obj1 = 0 ;
35132 PyObject * obj2 = 0 ;
35133 char * kwnames[] = {
35134 (char *) "self",(char *) "item",(char *) "bold", NULL
35135 };
35136
35137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35139 if (!SWIG_IsOK(res1)) {
35140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35141 }
35142 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35143 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35144 if (!SWIG_IsOK(res2)) {
35145 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35146 }
35147 if (!argp2) {
35148 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35149 }
35150 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35151 if (obj2) {
35152 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35153 if (!SWIG_IsOK(ecode3)) {
35154 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35155 }
35156 arg3 = static_cast< bool >(val3);
35157 }
35158 {
35159 PyThreadState* __tstate = wxPyBeginAllowThreads();
35160 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
35161 wxPyEndAllowThreads(__tstate);
35162 if (PyErr_Occurred()) SWIG_fail;
35163 }
35164 resultobj = SWIG_Py_Void();
35165 return resultobj;
35166 fail:
35167 return NULL;
35168 }
35169
35170
35171 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35172 PyObject *resultobj = 0;
35173 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35174 wxTreeItemId *arg2 = 0 ;
35175 bool arg3 = (bool) true ;
35176 void *argp1 = 0 ;
35177 int res1 = 0 ;
35178 void *argp2 = 0 ;
35179 int res2 = 0 ;
35180 bool val3 ;
35181 int ecode3 = 0 ;
35182 PyObject * obj0 = 0 ;
35183 PyObject * obj1 = 0 ;
35184 PyObject * obj2 = 0 ;
35185 char * kwnames[] = {
35186 (char *) "self",(char *) "item",(char *) "highlight", NULL
35187 };
35188
35189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35191 if (!SWIG_IsOK(res1)) {
35192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35193 }
35194 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35195 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35196 if (!SWIG_IsOK(res2)) {
35197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35198 }
35199 if (!argp2) {
35200 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35201 }
35202 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35203 if (obj2) {
35204 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35205 if (!SWIG_IsOK(ecode3)) {
35206 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35207 }
35208 arg3 = static_cast< bool >(val3);
35209 }
35210 {
35211 PyThreadState* __tstate = wxPyBeginAllowThreads();
35212 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
35213 wxPyEndAllowThreads(__tstate);
35214 if (PyErr_Occurred()) SWIG_fail;
35215 }
35216 resultobj = SWIG_Py_Void();
35217 return resultobj;
35218 fail:
35219 return NULL;
35220 }
35221
35222
35223 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35224 PyObject *resultobj = 0;
35225 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35226 wxTreeItemId *arg2 = 0 ;
35227 wxColour *arg3 = 0 ;
35228 void *argp1 = 0 ;
35229 int res1 = 0 ;
35230 void *argp2 = 0 ;
35231 int res2 = 0 ;
35232 wxColour temp3 ;
35233 PyObject * obj0 = 0 ;
35234 PyObject * obj1 = 0 ;
35235 PyObject * obj2 = 0 ;
35236 char * kwnames[] = {
35237 (char *) "self",(char *) "item",(char *) "col", NULL
35238 };
35239
35240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35242 if (!SWIG_IsOK(res1)) {
35243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35244 }
35245 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35246 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35247 if (!SWIG_IsOK(res2)) {
35248 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35249 }
35250 if (!argp2) {
35251 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35252 }
35253 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35254 {
35255 arg3 = &temp3;
35256 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35257 }
35258 {
35259 PyThreadState* __tstate = wxPyBeginAllowThreads();
35260 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35261 wxPyEndAllowThreads(__tstate);
35262 if (PyErr_Occurred()) SWIG_fail;
35263 }
35264 resultobj = SWIG_Py_Void();
35265 return resultobj;
35266 fail:
35267 return NULL;
35268 }
35269
35270
35271 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35272 PyObject *resultobj = 0;
35273 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35274 wxTreeItemId *arg2 = 0 ;
35275 wxColour *arg3 = 0 ;
35276 void *argp1 = 0 ;
35277 int res1 = 0 ;
35278 void *argp2 = 0 ;
35279 int res2 = 0 ;
35280 wxColour temp3 ;
35281 PyObject * obj0 = 0 ;
35282 PyObject * obj1 = 0 ;
35283 PyObject * obj2 = 0 ;
35284 char * kwnames[] = {
35285 (char *) "self",(char *) "item",(char *) "col", NULL
35286 };
35287
35288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35290 if (!SWIG_IsOK(res1)) {
35291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35292 }
35293 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35294 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35295 if (!SWIG_IsOK(res2)) {
35296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35297 }
35298 if (!argp2) {
35299 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35300 }
35301 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35302 {
35303 arg3 = &temp3;
35304 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35305 }
35306 {
35307 PyThreadState* __tstate = wxPyBeginAllowThreads();
35308 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35309 wxPyEndAllowThreads(__tstate);
35310 if (PyErr_Occurred()) SWIG_fail;
35311 }
35312 resultobj = SWIG_Py_Void();
35313 return resultobj;
35314 fail:
35315 return NULL;
35316 }
35317
35318
35319 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35320 PyObject *resultobj = 0;
35321 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35322 wxTreeItemId *arg2 = 0 ;
35323 wxFont *arg3 = 0 ;
35324 void *argp1 = 0 ;
35325 int res1 = 0 ;
35326 void *argp2 = 0 ;
35327 int res2 = 0 ;
35328 void *argp3 = 0 ;
35329 int res3 = 0 ;
35330 PyObject * obj0 = 0 ;
35331 PyObject * obj1 = 0 ;
35332 PyObject * obj2 = 0 ;
35333 char * kwnames[] = {
35334 (char *) "self",(char *) "item",(char *) "font", NULL
35335 };
35336
35337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35339 if (!SWIG_IsOK(res1)) {
35340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35341 }
35342 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35343 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35344 if (!SWIG_IsOK(res2)) {
35345 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35346 }
35347 if (!argp2) {
35348 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35349 }
35350 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35351 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35352 if (!SWIG_IsOK(res3)) {
35353 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35354 }
35355 if (!argp3) {
35356 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35357 }
35358 arg3 = reinterpret_cast< wxFont * >(argp3);
35359 {
35360 PyThreadState* __tstate = wxPyBeginAllowThreads();
35361 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35362 wxPyEndAllowThreads(__tstate);
35363 if (PyErr_Occurred()) SWIG_fail;
35364 }
35365 resultobj = SWIG_Py_Void();
35366 return resultobj;
35367 fail:
35368 return NULL;
35369 }
35370
35371
35372 SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35373 PyObject *resultobj = 0;
35374 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35375 wxTreeItemId *arg2 = 0 ;
35376 bool result;
35377 void *argp1 = 0 ;
35378 int res1 = 0 ;
35379 void *argp2 = 0 ;
35380 int res2 = 0 ;
35381 PyObject * obj0 = 0 ;
35382 PyObject * obj1 = 0 ;
35383 char * kwnames[] = {
35384 (char *) "self",(char *) "item", NULL
35385 };
35386
35387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35389 if (!SWIG_IsOK(res1)) {
35390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35391 }
35392 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35393 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35394 if (!SWIG_IsOK(res2)) {
35395 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35396 }
35397 if (!argp2) {
35398 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35399 }
35400 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35401 {
35402 PyThreadState* __tstate = wxPyBeginAllowThreads();
35403 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35404 wxPyEndAllowThreads(__tstate);
35405 if (PyErr_Occurred()) SWIG_fail;
35406 }
35407 {
35408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35409 }
35410 return resultobj;
35411 fail:
35412 return NULL;
35413 }
35414
35415
35416 SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35417 PyObject *resultobj = 0;
35418 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35419 wxTreeItemId *arg2 = 0 ;
35420 bool result;
35421 void *argp1 = 0 ;
35422 int res1 = 0 ;
35423 void *argp2 = 0 ;
35424 int res2 = 0 ;
35425 PyObject * obj0 = 0 ;
35426 PyObject * obj1 = 0 ;
35427 char * kwnames[] = {
35428 (char *) "self",(char *) "item", NULL
35429 };
35430
35431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35433 if (!SWIG_IsOK(res1)) {
35434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35435 }
35436 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35437 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35438 if (!SWIG_IsOK(res2)) {
35439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35440 }
35441 if (!argp2) {
35442 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35443 }
35444 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35445 {
35446 PyThreadState* __tstate = wxPyBeginAllowThreads();
35447 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35448 wxPyEndAllowThreads(__tstate);
35449 if (PyErr_Occurred()) SWIG_fail;
35450 }
35451 {
35452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35453 }
35454 return resultobj;
35455 fail:
35456 return NULL;
35457 }
35458
35459
35460 SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35461 PyObject *resultobj = 0;
35462 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35463 wxTreeItemId *arg2 = 0 ;
35464 bool result;
35465 void *argp1 = 0 ;
35466 int res1 = 0 ;
35467 void *argp2 = 0 ;
35468 int res2 = 0 ;
35469 PyObject * obj0 = 0 ;
35470 PyObject * obj1 = 0 ;
35471 char * kwnames[] = {
35472 (char *) "self",(char *) "item", NULL
35473 };
35474
35475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35477 if (!SWIG_IsOK(res1)) {
35478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35479 }
35480 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35481 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35482 if (!SWIG_IsOK(res2)) {
35483 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35484 }
35485 if (!argp2) {
35486 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35487 }
35488 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35489 {
35490 PyThreadState* __tstate = wxPyBeginAllowThreads();
35491 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35492 wxPyEndAllowThreads(__tstate);
35493 if (PyErr_Occurred()) SWIG_fail;
35494 }
35495 {
35496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35497 }
35498 return resultobj;
35499 fail:
35500 return NULL;
35501 }
35502
35503
35504 SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35505 PyObject *resultobj = 0;
35506 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35507 wxTreeItemId *arg2 = 0 ;
35508 bool result;
35509 void *argp1 = 0 ;
35510 int res1 = 0 ;
35511 void *argp2 = 0 ;
35512 int res2 = 0 ;
35513 PyObject * obj0 = 0 ;
35514 PyObject * obj1 = 0 ;
35515 char * kwnames[] = {
35516 (char *) "self",(char *) "item", NULL
35517 };
35518
35519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35521 if (!SWIG_IsOK(res1)) {
35522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35523 }
35524 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35525 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35526 if (!SWIG_IsOK(res2)) {
35527 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35528 }
35529 if (!argp2) {
35530 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35531 }
35532 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35533 {
35534 PyThreadState* __tstate = wxPyBeginAllowThreads();
35535 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35536 wxPyEndAllowThreads(__tstate);
35537 if (PyErr_Occurred()) SWIG_fail;
35538 }
35539 {
35540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35541 }
35542 return resultobj;
35543 fail:
35544 return NULL;
35545 }
35546
35547
35548 SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35549 PyObject *resultobj = 0;
35550 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35551 wxTreeItemId *arg2 = 0 ;
35552 bool result;
35553 void *argp1 = 0 ;
35554 int res1 = 0 ;
35555 void *argp2 = 0 ;
35556 int res2 = 0 ;
35557 PyObject * obj0 = 0 ;
35558 PyObject * obj1 = 0 ;
35559 char * kwnames[] = {
35560 (char *) "self",(char *) "item", NULL
35561 };
35562
35563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35565 if (!SWIG_IsOK(res1)) {
35566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35567 }
35568 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35569 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35570 if (!SWIG_IsOK(res2)) {
35571 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35572 }
35573 if (!argp2) {
35574 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35575 }
35576 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35577 {
35578 PyThreadState* __tstate = wxPyBeginAllowThreads();
35579 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35580 wxPyEndAllowThreads(__tstate);
35581 if (PyErr_Occurred()) SWIG_fail;
35582 }
35583 {
35584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35585 }
35586 return resultobj;
35587 fail:
35588 return NULL;
35589 }
35590
35591
35592 SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35593 PyObject *resultobj = 0;
35594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35595 wxTreeItemId *arg2 = 0 ;
35596 bool arg3 = (bool) true ;
35597 size_t result;
35598 void *argp1 = 0 ;
35599 int res1 = 0 ;
35600 void *argp2 = 0 ;
35601 int res2 = 0 ;
35602 bool val3 ;
35603 int ecode3 = 0 ;
35604 PyObject * obj0 = 0 ;
35605 PyObject * obj1 = 0 ;
35606 PyObject * obj2 = 0 ;
35607 char * kwnames[] = {
35608 (char *) "self",(char *) "item",(char *) "recursively", NULL
35609 };
35610
35611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35613 if (!SWIG_IsOK(res1)) {
35614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35615 }
35616 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35617 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35618 if (!SWIG_IsOK(res2)) {
35619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35620 }
35621 if (!argp2) {
35622 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35623 }
35624 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35625 if (obj2) {
35626 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35627 if (!SWIG_IsOK(ecode3)) {
35628 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35629 }
35630 arg3 = static_cast< bool >(val3);
35631 }
35632 {
35633 PyThreadState* __tstate = wxPyBeginAllowThreads();
35634 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35635 wxPyEndAllowThreads(__tstate);
35636 if (PyErr_Occurred()) SWIG_fail;
35637 }
35638 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35639 return resultobj;
35640 fail:
35641 return NULL;
35642 }
35643
35644
35645 SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35646 PyObject *resultobj = 0;
35647 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35648 wxTreeItemId result;
35649 void *argp1 = 0 ;
35650 int res1 = 0 ;
35651 PyObject *swig_obj[1] ;
35652
35653 if (!args) SWIG_fail;
35654 swig_obj[0] = args;
35655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35656 if (!SWIG_IsOK(res1)) {
35657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35658 }
35659 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35660 {
35661 PyThreadState* __tstate = wxPyBeginAllowThreads();
35662 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35663 wxPyEndAllowThreads(__tstate);
35664 if (PyErr_Occurred()) SWIG_fail;
35665 }
35666 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35667 return resultobj;
35668 fail:
35669 return NULL;
35670 }
35671
35672
35673 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35674 PyObject *resultobj = 0;
35675 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35676 wxTreeItemId result;
35677 void *argp1 = 0 ;
35678 int res1 = 0 ;
35679 PyObject *swig_obj[1] ;
35680
35681 if (!args) SWIG_fail;
35682 swig_obj[0] = args;
35683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35684 if (!SWIG_IsOK(res1)) {
35685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35686 }
35687 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35688 {
35689 PyThreadState* __tstate = wxPyBeginAllowThreads();
35690 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35691 wxPyEndAllowThreads(__tstate);
35692 if (PyErr_Occurred()) SWIG_fail;
35693 }
35694 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35695 return resultobj;
35696 fail:
35697 return NULL;
35698 }
35699
35700
35701 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35702 PyObject *resultobj = 0;
35703 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35704 PyObject *result = 0 ;
35705 void *argp1 = 0 ;
35706 int res1 = 0 ;
35707 PyObject *swig_obj[1] ;
35708
35709 if (!args) SWIG_fail;
35710 swig_obj[0] = args;
35711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35712 if (!SWIG_IsOK(res1)) {
35713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35714 }
35715 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35716 {
35717 PyThreadState* __tstate = wxPyBeginAllowThreads();
35718 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35719 wxPyEndAllowThreads(__tstate);
35720 if (PyErr_Occurred()) SWIG_fail;
35721 }
35722 resultobj = result;
35723 return resultobj;
35724 fail:
35725 return NULL;
35726 }
35727
35728
35729 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35730 PyObject *resultobj = 0;
35731 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35732 wxTreeItemId *arg2 = 0 ;
35733 wxTreeItemId result;
35734 void *argp1 = 0 ;
35735 int res1 = 0 ;
35736 void *argp2 = 0 ;
35737 int res2 = 0 ;
35738 PyObject * obj0 = 0 ;
35739 PyObject * obj1 = 0 ;
35740 char * kwnames[] = {
35741 (char *) "self",(char *) "item", NULL
35742 };
35743
35744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35746 if (!SWIG_IsOK(res1)) {
35747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35748 }
35749 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35750 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35751 if (!SWIG_IsOK(res2)) {
35752 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35753 }
35754 if (!argp2) {
35755 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35756 }
35757 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35758 {
35759 PyThreadState* __tstate = wxPyBeginAllowThreads();
35760 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35761 wxPyEndAllowThreads(__tstate);
35762 if (PyErr_Occurred()) SWIG_fail;
35763 }
35764 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35765 return resultobj;
35766 fail:
35767 return NULL;
35768 }
35769
35770
35771 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35772 PyObject *resultobj = 0;
35773 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35774 wxTreeItemId *arg2 = 0 ;
35775 PyObject *result = 0 ;
35776 void *argp1 = 0 ;
35777 int res1 = 0 ;
35778 void *argp2 = 0 ;
35779 int res2 = 0 ;
35780 PyObject * obj0 = 0 ;
35781 PyObject * obj1 = 0 ;
35782 char * kwnames[] = {
35783 (char *) "self",(char *) "item", NULL
35784 };
35785
35786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35788 if (!SWIG_IsOK(res1)) {
35789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35790 }
35791 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35792 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35793 if (!SWIG_IsOK(res2)) {
35794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35795 }
35796 if (!argp2) {
35797 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35798 }
35799 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35800 {
35801 PyThreadState* __tstate = wxPyBeginAllowThreads();
35802 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35803 wxPyEndAllowThreads(__tstate);
35804 if (PyErr_Occurred()) SWIG_fail;
35805 }
35806 resultobj = result;
35807 return resultobj;
35808 fail:
35809 return NULL;
35810 }
35811
35812
35813 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35814 PyObject *resultobj = 0;
35815 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35816 wxTreeItemId *arg2 = 0 ;
35817 void *arg3 = (void *) 0 ;
35818 PyObject *result = 0 ;
35819 void *argp1 = 0 ;
35820 int res1 = 0 ;
35821 void *argp2 = 0 ;
35822 int res2 = 0 ;
35823 int res3 ;
35824 PyObject * obj0 = 0 ;
35825 PyObject * obj1 = 0 ;
35826 PyObject * obj2 = 0 ;
35827 char * kwnames[] = {
35828 (char *) "self",(char *) "item",(char *) "cookie", NULL
35829 };
35830
35831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35833 if (!SWIG_IsOK(res1)) {
35834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35835 }
35836 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35837 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35838 if (!SWIG_IsOK(res2)) {
35839 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35840 }
35841 if (!argp2) {
35842 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35843 }
35844 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35845 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35846 if (!SWIG_IsOK(res3)) {
35847 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35848 }
35849 {
35850 PyThreadState* __tstate = wxPyBeginAllowThreads();
35851 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35852 wxPyEndAllowThreads(__tstate);
35853 if (PyErr_Occurred()) SWIG_fail;
35854 }
35855 resultobj = result;
35856 return resultobj;
35857 fail:
35858 return NULL;
35859 }
35860
35861
35862 SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35863 PyObject *resultobj = 0;
35864 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35865 wxTreeItemId *arg2 = 0 ;
35866 wxTreeItemId result;
35867 void *argp1 = 0 ;
35868 int res1 = 0 ;
35869 void *argp2 = 0 ;
35870 int res2 = 0 ;
35871 PyObject * obj0 = 0 ;
35872 PyObject * obj1 = 0 ;
35873 char * kwnames[] = {
35874 (char *) "self",(char *) "item", NULL
35875 };
35876
35877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35879 if (!SWIG_IsOK(res1)) {
35880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35881 }
35882 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35883 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35884 if (!SWIG_IsOK(res2)) {
35885 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35886 }
35887 if (!argp2) {
35888 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35889 }
35890 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35891 {
35892 PyThreadState* __tstate = wxPyBeginAllowThreads();
35893 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35894 wxPyEndAllowThreads(__tstate);
35895 if (PyErr_Occurred()) SWIG_fail;
35896 }
35897 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35898 return resultobj;
35899 fail:
35900 return NULL;
35901 }
35902
35903
35904 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35905 PyObject *resultobj = 0;
35906 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35907 wxTreeItemId *arg2 = 0 ;
35908 wxTreeItemId result;
35909 void *argp1 = 0 ;
35910 int res1 = 0 ;
35911 void *argp2 = 0 ;
35912 int res2 = 0 ;
35913 PyObject * obj0 = 0 ;
35914 PyObject * obj1 = 0 ;
35915 char * kwnames[] = {
35916 (char *) "self",(char *) "item", NULL
35917 };
35918
35919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35921 if (!SWIG_IsOK(res1)) {
35922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35923 }
35924 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35925 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35926 if (!SWIG_IsOK(res2)) {
35927 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35928 }
35929 if (!argp2) {
35930 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35931 }
35932 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35933 {
35934 PyThreadState* __tstate = wxPyBeginAllowThreads();
35935 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35936 wxPyEndAllowThreads(__tstate);
35937 if (PyErr_Occurred()) SWIG_fail;
35938 }
35939 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35940 return resultobj;
35941 fail:
35942 return NULL;
35943 }
35944
35945
35946 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35947 PyObject *resultobj = 0;
35948 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35949 wxTreeItemId *arg2 = 0 ;
35950 wxTreeItemId result;
35951 void *argp1 = 0 ;
35952 int res1 = 0 ;
35953 void *argp2 = 0 ;
35954 int res2 = 0 ;
35955 PyObject * obj0 = 0 ;
35956 PyObject * obj1 = 0 ;
35957 char * kwnames[] = {
35958 (char *) "self",(char *) "item", NULL
35959 };
35960
35961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35963 if (!SWIG_IsOK(res1)) {
35964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35965 }
35966 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35967 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35968 if (!SWIG_IsOK(res2)) {
35969 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35970 }
35971 if (!argp2) {
35972 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35973 }
35974 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35975 {
35976 PyThreadState* __tstate = wxPyBeginAllowThreads();
35977 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35978 wxPyEndAllowThreads(__tstate);
35979 if (PyErr_Occurred()) SWIG_fail;
35980 }
35981 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35982 return resultobj;
35983 fail:
35984 return NULL;
35985 }
35986
35987
35988 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35989 PyObject *resultobj = 0;
35990 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35991 wxTreeItemId result;
35992 void *argp1 = 0 ;
35993 int res1 = 0 ;
35994 PyObject *swig_obj[1] ;
35995
35996 if (!args) SWIG_fail;
35997 swig_obj[0] = args;
35998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35999 if (!SWIG_IsOK(res1)) {
36000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36001 }
36002 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36003 {
36004 PyThreadState* __tstate = wxPyBeginAllowThreads();
36005 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
36006 wxPyEndAllowThreads(__tstate);
36007 if (PyErr_Occurred()) SWIG_fail;
36008 }
36009 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36010 return resultobj;
36011 fail:
36012 return NULL;
36013 }
36014
36015
36016 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36017 PyObject *resultobj = 0;
36018 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36019 wxTreeItemId *arg2 = 0 ;
36020 wxTreeItemId result;
36021 void *argp1 = 0 ;
36022 int res1 = 0 ;
36023 void *argp2 = 0 ;
36024 int res2 = 0 ;
36025 PyObject * obj0 = 0 ;
36026 PyObject * obj1 = 0 ;
36027 char * kwnames[] = {
36028 (char *) "self",(char *) "item", NULL
36029 };
36030
36031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36033 if (!SWIG_IsOK(res1)) {
36034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36035 }
36036 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36037 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36038 if (!SWIG_IsOK(res2)) {
36039 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36040 }
36041 if (!argp2) {
36042 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36043 }
36044 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36045 {
36046 PyThreadState* __tstate = wxPyBeginAllowThreads();
36047 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
36048 wxPyEndAllowThreads(__tstate);
36049 if (PyErr_Occurred()) SWIG_fail;
36050 }
36051 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36052 return resultobj;
36053 fail:
36054 return NULL;
36055 }
36056
36057
36058 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36059 PyObject *resultobj = 0;
36060 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36061 wxTreeItemId *arg2 = 0 ;
36062 wxTreeItemId result;
36063 void *argp1 = 0 ;
36064 int res1 = 0 ;
36065 void *argp2 = 0 ;
36066 int res2 = 0 ;
36067 PyObject * obj0 = 0 ;
36068 PyObject * obj1 = 0 ;
36069 char * kwnames[] = {
36070 (char *) "self",(char *) "item", NULL
36071 };
36072
36073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36075 if (!SWIG_IsOK(res1)) {
36076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36077 }
36078 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36079 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36080 if (!SWIG_IsOK(res2)) {
36081 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36082 }
36083 if (!argp2) {
36084 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36085 }
36086 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36087 {
36088 PyThreadState* __tstate = wxPyBeginAllowThreads();
36089 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
36090 wxPyEndAllowThreads(__tstate);
36091 if (PyErr_Occurred()) SWIG_fail;
36092 }
36093 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36094 return resultobj;
36095 fail:
36096 return NULL;
36097 }
36098
36099
36100 SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36101 PyObject *resultobj = 0;
36102 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36103 wxString *arg2 = 0 ;
36104 int arg3 = (int) -1 ;
36105 int arg4 = (int) -1 ;
36106 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
36107 wxTreeItemId result;
36108 void *argp1 = 0 ;
36109 int res1 = 0 ;
36110 bool temp2 = false ;
36111 int val3 ;
36112 int ecode3 = 0 ;
36113 int val4 ;
36114 int ecode4 = 0 ;
36115 int res5 = 0 ;
36116 PyObject * obj0 = 0 ;
36117 PyObject * obj1 = 0 ;
36118 PyObject * obj2 = 0 ;
36119 PyObject * obj3 = 0 ;
36120 PyObject * obj4 = 0 ;
36121 char * kwnames[] = {
36122 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36123 };
36124
36125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
36126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36127 if (!SWIG_IsOK(res1)) {
36128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36129 }
36130 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36131 {
36132 arg2 = wxString_in_helper(obj1);
36133 if (arg2 == NULL) SWIG_fail;
36134 temp2 = true;
36135 }
36136 if (obj2) {
36137 ecode3 = SWIG_AsVal_int(obj2, &val3);
36138 if (!SWIG_IsOK(ecode3)) {
36139 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36140 }
36141 arg3 = static_cast< int >(val3);
36142 }
36143 if (obj3) {
36144 ecode4 = SWIG_AsVal_int(obj3, &val4);
36145 if (!SWIG_IsOK(ecode4)) {
36146 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36147 }
36148 arg4 = static_cast< int >(val4);
36149 }
36150 if (obj4) {
36151 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36152 if (!SWIG_IsOK(res5)) {
36153 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36154 }
36155 }
36156 {
36157 PyThreadState* __tstate = wxPyBeginAllowThreads();
36158 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
36159 wxPyEndAllowThreads(__tstate);
36160 if (PyErr_Occurred()) SWIG_fail;
36161 }
36162 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36163 {
36164 if (temp2)
36165 delete arg2;
36166 }
36167 return resultobj;
36168 fail:
36169 {
36170 if (temp2)
36171 delete arg2;
36172 }
36173 return NULL;
36174 }
36175
36176
36177 SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36178 PyObject *resultobj = 0;
36179 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36180 wxTreeItemId *arg2 = 0 ;
36181 wxString *arg3 = 0 ;
36182 int arg4 = (int) -1 ;
36183 int arg5 = (int) -1 ;
36184 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36185 wxTreeItemId result;
36186 void *argp1 = 0 ;
36187 int res1 = 0 ;
36188 void *argp2 = 0 ;
36189 int res2 = 0 ;
36190 bool temp3 = false ;
36191 int val4 ;
36192 int ecode4 = 0 ;
36193 int val5 ;
36194 int ecode5 = 0 ;
36195 int res6 = 0 ;
36196 PyObject * obj0 = 0 ;
36197 PyObject * obj1 = 0 ;
36198 PyObject * obj2 = 0 ;
36199 PyObject * obj3 = 0 ;
36200 PyObject * obj4 = 0 ;
36201 PyObject * obj5 = 0 ;
36202 char * kwnames[] = {
36203 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36204 };
36205
36206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36208 if (!SWIG_IsOK(res1)) {
36209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36210 }
36211 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36212 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36213 if (!SWIG_IsOK(res2)) {
36214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36215 }
36216 if (!argp2) {
36217 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36218 }
36219 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36220 {
36221 arg3 = wxString_in_helper(obj2);
36222 if (arg3 == NULL) SWIG_fail;
36223 temp3 = true;
36224 }
36225 if (obj3) {
36226 ecode4 = SWIG_AsVal_int(obj3, &val4);
36227 if (!SWIG_IsOK(ecode4)) {
36228 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36229 }
36230 arg4 = static_cast< int >(val4);
36231 }
36232 if (obj4) {
36233 ecode5 = SWIG_AsVal_int(obj4, &val5);
36234 if (!SWIG_IsOK(ecode5)) {
36235 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36236 }
36237 arg5 = static_cast< int >(val5);
36238 }
36239 if (obj5) {
36240 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36241 if (!SWIG_IsOK(res6)) {
36242 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36243 }
36244 }
36245 {
36246 PyThreadState* __tstate = wxPyBeginAllowThreads();
36247 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36248 wxPyEndAllowThreads(__tstate);
36249 if (PyErr_Occurred()) SWIG_fail;
36250 }
36251 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36252 {
36253 if (temp3)
36254 delete arg3;
36255 }
36256 return resultobj;
36257 fail:
36258 {
36259 if (temp3)
36260 delete arg3;
36261 }
36262 return NULL;
36263 }
36264
36265
36266 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36267 PyObject *resultobj = 0;
36268 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36269 wxTreeItemId *arg2 = 0 ;
36270 wxTreeItemId *arg3 = 0 ;
36271 wxString *arg4 = 0 ;
36272 int arg5 = (int) -1 ;
36273 int arg6 = (int) -1 ;
36274 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36275 wxTreeItemId result;
36276 void *argp1 = 0 ;
36277 int res1 = 0 ;
36278 void *argp2 = 0 ;
36279 int res2 = 0 ;
36280 void *argp3 = 0 ;
36281 int res3 = 0 ;
36282 bool temp4 = false ;
36283 int val5 ;
36284 int ecode5 = 0 ;
36285 int val6 ;
36286 int ecode6 = 0 ;
36287 int res7 = 0 ;
36288 PyObject * obj0 = 0 ;
36289 PyObject * obj1 = 0 ;
36290 PyObject * obj2 = 0 ;
36291 PyObject * obj3 = 0 ;
36292 PyObject * obj4 = 0 ;
36293 PyObject * obj5 = 0 ;
36294 PyObject * obj6 = 0 ;
36295 char * kwnames[] = {
36296 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36297 };
36298
36299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36301 if (!SWIG_IsOK(res1)) {
36302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36303 }
36304 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36305 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36306 if (!SWIG_IsOK(res2)) {
36307 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36308 }
36309 if (!argp2) {
36310 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36311 }
36312 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36313 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36314 if (!SWIG_IsOK(res3)) {
36315 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36316 }
36317 if (!argp3) {
36318 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36319 }
36320 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36321 {
36322 arg4 = wxString_in_helper(obj3);
36323 if (arg4 == NULL) SWIG_fail;
36324 temp4 = true;
36325 }
36326 if (obj4) {
36327 ecode5 = SWIG_AsVal_int(obj4, &val5);
36328 if (!SWIG_IsOK(ecode5)) {
36329 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36330 }
36331 arg5 = static_cast< int >(val5);
36332 }
36333 if (obj5) {
36334 ecode6 = SWIG_AsVal_int(obj5, &val6);
36335 if (!SWIG_IsOK(ecode6)) {
36336 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36337 }
36338 arg6 = static_cast< int >(val6);
36339 }
36340 if (obj6) {
36341 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36342 if (!SWIG_IsOK(res7)) {
36343 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36344 }
36345 }
36346 {
36347 PyThreadState* __tstate = wxPyBeginAllowThreads();
36348 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36349 wxPyEndAllowThreads(__tstate);
36350 if (PyErr_Occurred()) SWIG_fail;
36351 }
36352 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36353 {
36354 if (temp4)
36355 delete arg4;
36356 }
36357 return resultobj;
36358 fail:
36359 {
36360 if (temp4)
36361 delete arg4;
36362 }
36363 return NULL;
36364 }
36365
36366
36367 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36368 PyObject *resultobj = 0;
36369 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36370 wxTreeItemId *arg2 = 0 ;
36371 size_t arg3 ;
36372 wxString *arg4 = 0 ;
36373 int arg5 = (int) -1 ;
36374 int arg6 = (int) -1 ;
36375 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36376 wxTreeItemId result;
36377 void *argp1 = 0 ;
36378 int res1 = 0 ;
36379 void *argp2 = 0 ;
36380 int res2 = 0 ;
36381 size_t val3 ;
36382 int ecode3 = 0 ;
36383 bool temp4 = false ;
36384 int val5 ;
36385 int ecode5 = 0 ;
36386 int val6 ;
36387 int ecode6 = 0 ;
36388 int res7 = 0 ;
36389 PyObject * obj0 = 0 ;
36390 PyObject * obj1 = 0 ;
36391 PyObject * obj2 = 0 ;
36392 PyObject * obj3 = 0 ;
36393 PyObject * obj4 = 0 ;
36394 PyObject * obj5 = 0 ;
36395 PyObject * obj6 = 0 ;
36396 char * kwnames[] = {
36397 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36398 };
36399
36400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36402 if (!SWIG_IsOK(res1)) {
36403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36404 }
36405 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36406 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36407 if (!SWIG_IsOK(res2)) {
36408 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36409 }
36410 if (!argp2) {
36411 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36412 }
36413 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36414 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36415 if (!SWIG_IsOK(ecode3)) {
36416 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36417 }
36418 arg3 = static_cast< size_t >(val3);
36419 {
36420 arg4 = wxString_in_helper(obj3);
36421 if (arg4 == NULL) SWIG_fail;
36422 temp4 = true;
36423 }
36424 if (obj4) {
36425 ecode5 = SWIG_AsVal_int(obj4, &val5);
36426 if (!SWIG_IsOK(ecode5)) {
36427 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36428 }
36429 arg5 = static_cast< int >(val5);
36430 }
36431 if (obj5) {
36432 ecode6 = SWIG_AsVal_int(obj5, &val6);
36433 if (!SWIG_IsOK(ecode6)) {
36434 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36435 }
36436 arg6 = static_cast< int >(val6);
36437 }
36438 if (obj6) {
36439 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36440 if (!SWIG_IsOK(res7)) {
36441 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36442 }
36443 }
36444 {
36445 PyThreadState* __tstate = wxPyBeginAllowThreads();
36446 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36447 wxPyEndAllowThreads(__tstate);
36448 if (PyErr_Occurred()) SWIG_fail;
36449 }
36450 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36451 {
36452 if (temp4)
36453 delete arg4;
36454 }
36455 return resultobj;
36456 fail:
36457 {
36458 if (temp4)
36459 delete arg4;
36460 }
36461 return NULL;
36462 }
36463
36464
36465 SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36466 PyObject *resultobj = 0;
36467 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36468 wxTreeItemId *arg2 = 0 ;
36469 wxString *arg3 = 0 ;
36470 int arg4 = (int) -1 ;
36471 int arg5 = (int) -1 ;
36472 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36473 wxTreeItemId result;
36474 void *argp1 = 0 ;
36475 int res1 = 0 ;
36476 void *argp2 = 0 ;
36477 int res2 = 0 ;
36478 bool temp3 = false ;
36479 int val4 ;
36480 int ecode4 = 0 ;
36481 int val5 ;
36482 int ecode5 = 0 ;
36483 int res6 = 0 ;
36484 PyObject * obj0 = 0 ;
36485 PyObject * obj1 = 0 ;
36486 PyObject * obj2 = 0 ;
36487 PyObject * obj3 = 0 ;
36488 PyObject * obj4 = 0 ;
36489 PyObject * obj5 = 0 ;
36490 char * kwnames[] = {
36491 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36492 };
36493
36494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36496 if (!SWIG_IsOK(res1)) {
36497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36498 }
36499 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36500 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36501 if (!SWIG_IsOK(res2)) {
36502 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36503 }
36504 if (!argp2) {
36505 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36506 }
36507 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36508 {
36509 arg3 = wxString_in_helper(obj2);
36510 if (arg3 == NULL) SWIG_fail;
36511 temp3 = true;
36512 }
36513 if (obj3) {
36514 ecode4 = SWIG_AsVal_int(obj3, &val4);
36515 if (!SWIG_IsOK(ecode4)) {
36516 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36517 }
36518 arg4 = static_cast< int >(val4);
36519 }
36520 if (obj4) {
36521 ecode5 = SWIG_AsVal_int(obj4, &val5);
36522 if (!SWIG_IsOK(ecode5)) {
36523 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36524 }
36525 arg5 = static_cast< int >(val5);
36526 }
36527 if (obj5) {
36528 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36529 if (!SWIG_IsOK(res6)) {
36530 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36531 }
36532 }
36533 {
36534 PyThreadState* __tstate = wxPyBeginAllowThreads();
36535 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36536 wxPyEndAllowThreads(__tstate);
36537 if (PyErr_Occurred()) SWIG_fail;
36538 }
36539 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36540 {
36541 if (temp3)
36542 delete arg3;
36543 }
36544 return resultobj;
36545 fail:
36546 {
36547 if (temp3)
36548 delete arg3;
36549 }
36550 return NULL;
36551 }
36552
36553
36554 SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36555 PyObject *resultobj = 0;
36556 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36557 wxTreeItemId *arg2 = 0 ;
36558 void *argp1 = 0 ;
36559 int res1 = 0 ;
36560 void *argp2 = 0 ;
36561 int res2 = 0 ;
36562 PyObject * obj0 = 0 ;
36563 PyObject * obj1 = 0 ;
36564 char * kwnames[] = {
36565 (char *) "self",(char *) "item", NULL
36566 };
36567
36568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36570 if (!SWIG_IsOK(res1)) {
36571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36572 }
36573 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36574 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36575 if (!SWIG_IsOK(res2)) {
36576 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36577 }
36578 if (!argp2) {
36579 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36580 }
36581 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36582 {
36583 PyThreadState* __tstate = wxPyBeginAllowThreads();
36584 (arg1)->Delete((wxTreeItemId const &)*arg2);
36585 wxPyEndAllowThreads(__tstate);
36586 if (PyErr_Occurred()) SWIG_fail;
36587 }
36588 resultobj = SWIG_Py_Void();
36589 return resultobj;
36590 fail:
36591 return NULL;
36592 }
36593
36594
36595 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36596 PyObject *resultobj = 0;
36597 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36598 wxTreeItemId *arg2 = 0 ;
36599 void *argp1 = 0 ;
36600 int res1 = 0 ;
36601 void *argp2 = 0 ;
36602 int res2 = 0 ;
36603 PyObject * obj0 = 0 ;
36604 PyObject * obj1 = 0 ;
36605 char * kwnames[] = {
36606 (char *) "self",(char *) "item", NULL
36607 };
36608
36609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36611 if (!SWIG_IsOK(res1)) {
36612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36613 }
36614 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36615 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36616 if (!SWIG_IsOK(res2)) {
36617 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36618 }
36619 if (!argp2) {
36620 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36621 }
36622 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36623 {
36624 PyThreadState* __tstate = wxPyBeginAllowThreads();
36625 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36626 wxPyEndAllowThreads(__tstate);
36627 if (PyErr_Occurred()) SWIG_fail;
36628 }
36629 resultobj = SWIG_Py_Void();
36630 return resultobj;
36631 fail:
36632 return NULL;
36633 }
36634
36635
36636 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36637 PyObject *resultobj = 0;
36638 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36639 void *argp1 = 0 ;
36640 int res1 = 0 ;
36641 PyObject *swig_obj[1] ;
36642
36643 if (!args) SWIG_fail;
36644 swig_obj[0] = args;
36645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36646 if (!SWIG_IsOK(res1)) {
36647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36648 }
36649 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36650 {
36651 PyThreadState* __tstate = wxPyBeginAllowThreads();
36652 (arg1)->DeleteAllItems();
36653 wxPyEndAllowThreads(__tstate);
36654 if (PyErr_Occurred()) SWIG_fail;
36655 }
36656 resultobj = SWIG_Py_Void();
36657 return resultobj;
36658 fail:
36659 return NULL;
36660 }
36661
36662
36663 SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36664 PyObject *resultobj = 0;
36665 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36666 wxTreeItemId *arg2 = 0 ;
36667 void *argp1 = 0 ;
36668 int res1 = 0 ;
36669 void *argp2 = 0 ;
36670 int res2 = 0 ;
36671 PyObject * obj0 = 0 ;
36672 PyObject * obj1 = 0 ;
36673 char * kwnames[] = {
36674 (char *) "self",(char *) "item", NULL
36675 };
36676
36677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36679 if (!SWIG_IsOK(res1)) {
36680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36681 }
36682 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36683 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36684 if (!SWIG_IsOK(res2)) {
36685 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36686 }
36687 if (!argp2) {
36688 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36689 }
36690 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36691 {
36692 PyThreadState* __tstate = wxPyBeginAllowThreads();
36693 (arg1)->Expand((wxTreeItemId const &)*arg2);
36694 wxPyEndAllowThreads(__tstate);
36695 if (PyErr_Occurred()) SWIG_fail;
36696 }
36697 resultobj = SWIG_Py_Void();
36698 return resultobj;
36699 fail:
36700 return NULL;
36701 }
36702
36703
36704 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36705 PyObject *resultobj = 0;
36706 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36707 wxTreeItemId *arg2 = 0 ;
36708 void *argp1 = 0 ;
36709 int res1 = 0 ;
36710 void *argp2 = 0 ;
36711 int res2 = 0 ;
36712 PyObject * obj0 = 0 ;
36713 PyObject * obj1 = 0 ;
36714 char * kwnames[] = {
36715 (char *) "self",(char *) "item", NULL
36716 };
36717
36718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36720 if (!SWIG_IsOK(res1)) {
36721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36722 }
36723 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36724 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36725 if (!SWIG_IsOK(res2)) {
36726 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36727 }
36728 if (!argp2) {
36729 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36730 }
36731 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36732 {
36733 PyThreadState* __tstate = wxPyBeginAllowThreads();
36734 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
36735 wxPyEndAllowThreads(__tstate);
36736 if (PyErr_Occurred()) SWIG_fail;
36737 }
36738 resultobj = SWIG_Py_Void();
36739 return resultobj;
36740 fail:
36741 return NULL;
36742 }
36743
36744
36745 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36746 PyObject *resultobj = 0;
36747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36748 void *argp1 = 0 ;
36749 int res1 = 0 ;
36750 PyObject *swig_obj[1] ;
36751
36752 if (!args) SWIG_fail;
36753 swig_obj[0] = args;
36754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36755 if (!SWIG_IsOK(res1)) {
36756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36757 }
36758 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36759 {
36760 PyThreadState* __tstate = wxPyBeginAllowThreads();
36761 (arg1)->ExpandAll();
36762 wxPyEndAllowThreads(__tstate);
36763 if (PyErr_Occurred()) SWIG_fail;
36764 }
36765 resultobj = SWIG_Py_Void();
36766 return resultobj;
36767 fail:
36768 return NULL;
36769 }
36770
36771
36772 SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36773 PyObject *resultobj = 0;
36774 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36775 wxTreeItemId *arg2 = 0 ;
36776 void *argp1 = 0 ;
36777 int res1 = 0 ;
36778 void *argp2 = 0 ;
36779 int res2 = 0 ;
36780 PyObject * obj0 = 0 ;
36781 PyObject * obj1 = 0 ;
36782 char * kwnames[] = {
36783 (char *) "self",(char *) "item", NULL
36784 };
36785
36786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36788 if (!SWIG_IsOK(res1)) {
36789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36790 }
36791 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36792 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36793 if (!SWIG_IsOK(res2)) {
36794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36795 }
36796 if (!argp2) {
36797 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36798 }
36799 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36800 {
36801 PyThreadState* __tstate = wxPyBeginAllowThreads();
36802 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36803 wxPyEndAllowThreads(__tstate);
36804 if (PyErr_Occurred()) SWIG_fail;
36805 }
36806 resultobj = SWIG_Py_Void();
36807 return resultobj;
36808 fail:
36809 return NULL;
36810 }
36811
36812
36813 SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36814 PyObject *resultobj = 0;
36815 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36816 wxTreeItemId *arg2 = 0 ;
36817 void *argp1 = 0 ;
36818 int res1 = 0 ;
36819 void *argp2 = 0 ;
36820 int res2 = 0 ;
36821 PyObject * obj0 = 0 ;
36822 PyObject * obj1 = 0 ;
36823 char * kwnames[] = {
36824 (char *) "self",(char *) "item", NULL
36825 };
36826
36827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36829 if (!SWIG_IsOK(res1)) {
36830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36831 }
36832 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36833 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36834 if (!SWIG_IsOK(res2)) {
36835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36836 }
36837 if (!argp2) {
36838 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36839 }
36840 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36841 {
36842 PyThreadState* __tstate = wxPyBeginAllowThreads();
36843 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36844 wxPyEndAllowThreads(__tstate);
36845 if (PyErr_Occurred()) SWIG_fail;
36846 }
36847 resultobj = SWIG_Py_Void();
36848 return resultobj;
36849 fail:
36850 return NULL;
36851 }
36852
36853
36854 SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36855 PyObject *resultobj = 0;
36856 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36857 wxTreeItemId *arg2 = 0 ;
36858 void *argp1 = 0 ;
36859 int res1 = 0 ;
36860 void *argp2 = 0 ;
36861 int res2 = 0 ;
36862 PyObject * obj0 = 0 ;
36863 PyObject * obj1 = 0 ;
36864 char * kwnames[] = {
36865 (char *) "self",(char *) "item", NULL
36866 };
36867
36868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36870 if (!SWIG_IsOK(res1)) {
36871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36872 }
36873 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36874 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36875 if (!SWIG_IsOK(res2)) {
36876 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36877 }
36878 if (!argp2) {
36879 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36880 }
36881 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36882 {
36883 PyThreadState* __tstate = wxPyBeginAllowThreads();
36884 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36885 wxPyEndAllowThreads(__tstate);
36886 if (PyErr_Occurred()) SWIG_fail;
36887 }
36888 resultobj = SWIG_Py_Void();
36889 return resultobj;
36890 fail:
36891 return NULL;
36892 }
36893
36894
36895 SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36896 PyObject *resultobj = 0;
36897 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36898 void *argp1 = 0 ;
36899 int res1 = 0 ;
36900 PyObject *swig_obj[1] ;
36901
36902 if (!args) SWIG_fail;
36903 swig_obj[0] = args;
36904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36905 if (!SWIG_IsOK(res1)) {
36906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36907 }
36908 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36909 {
36910 PyThreadState* __tstate = wxPyBeginAllowThreads();
36911 (arg1)->Unselect();
36912 wxPyEndAllowThreads(__tstate);
36913 if (PyErr_Occurred()) SWIG_fail;
36914 }
36915 resultobj = SWIG_Py_Void();
36916 return resultobj;
36917 fail:
36918 return NULL;
36919 }
36920
36921
36922 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36923 PyObject *resultobj = 0;
36924 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36925 wxTreeItemId *arg2 = 0 ;
36926 void *argp1 = 0 ;
36927 int res1 = 0 ;
36928 void *argp2 = 0 ;
36929 int res2 = 0 ;
36930 PyObject * obj0 = 0 ;
36931 PyObject * obj1 = 0 ;
36932 char * kwnames[] = {
36933 (char *) "self",(char *) "item", NULL
36934 };
36935
36936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36938 if (!SWIG_IsOK(res1)) {
36939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36940 }
36941 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36942 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36943 if (!SWIG_IsOK(res2)) {
36944 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36945 }
36946 if (!argp2) {
36947 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36948 }
36949 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36950 {
36951 PyThreadState* __tstate = wxPyBeginAllowThreads();
36952 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36953 wxPyEndAllowThreads(__tstate);
36954 if (PyErr_Occurred()) SWIG_fail;
36955 }
36956 resultobj = SWIG_Py_Void();
36957 return resultobj;
36958 fail:
36959 return NULL;
36960 }
36961
36962
36963 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36964 PyObject *resultobj = 0;
36965 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36966 void *argp1 = 0 ;
36967 int res1 = 0 ;
36968 PyObject *swig_obj[1] ;
36969
36970 if (!args) SWIG_fail;
36971 swig_obj[0] = args;
36972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36973 if (!SWIG_IsOK(res1)) {
36974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36975 }
36976 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36977 {
36978 PyThreadState* __tstate = wxPyBeginAllowThreads();
36979 (arg1)->UnselectAll();
36980 wxPyEndAllowThreads(__tstate);
36981 if (PyErr_Occurred()) SWIG_fail;
36982 }
36983 resultobj = SWIG_Py_Void();
36984 return resultobj;
36985 fail:
36986 return NULL;
36987 }
36988
36989
36990 SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36991 PyObject *resultobj = 0;
36992 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36993 wxTreeItemId *arg2 = 0 ;
36994 bool arg3 = (bool) true ;
36995 void *argp1 = 0 ;
36996 int res1 = 0 ;
36997 void *argp2 = 0 ;
36998 int res2 = 0 ;
36999 bool val3 ;
37000 int ecode3 = 0 ;
37001 PyObject * obj0 = 0 ;
37002 PyObject * obj1 = 0 ;
37003 PyObject * obj2 = 0 ;
37004 char * kwnames[] = {
37005 (char *) "self",(char *) "item",(char *) "select", NULL
37006 };
37007
37008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37010 if (!SWIG_IsOK(res1)) {
37011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37012 }
37013 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37014 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37015 if (!SWIG_IsOK(res2)) {
37016 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37017 }
37018 if (!argp2) {
37019 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37020 }
37021 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37022 if (obj2) {
37023 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37024 if (!SWIG_IsOK(ecode3)) {
37025 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37026 }
37027 arg3 = static_cast< bool >(val3);
37028 }
37029 {
37030 PyThreadState* __tstate = wxPyBeginAllowThreads();
37031 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
37032 wxPyEndAllowThreads(__tstate);
37033 if (PyErr_Occurred()) SWIG_fail;
37034 }
37035 resultobj = SWIG_Py_Void();
37036 return resultobj;
37037 fail:
37038 return NULL;
37039 }
37040
37041
37042 SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37043 PyObject *resultobj = 0;
37044 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37045 wxTreeItemId *arg2 = 0 ;
37046 void *argp1 = 0 ;
37047 int res1 = 0 ;
37048 void *argp2 = 0 ;
37049 int res2 = 0 ;
37050 PyObject * obj0 = 0 ;
37051 PyObject * obj1 = 0 ;
37052 char * kwnames[] = {
37053 (char *) "self",(char *) "item", NULL
37054 };
37055
37056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
37057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37058 if (!SWIG_IsOK(res1)) {
37059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37060 }
37061 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37062 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37063 if (!SWIG_IsOK(res2)) {
37064 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37065 }
37066 if (!argp2) {
37067 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37068 }
37069 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37070 {
37071 PyThreadState* __tstate = wxPyBeginAllowThreads();
37072 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
37073 wxPyEndAllowThreads(__tstate);
37074 if (PyErr_Occurred()) SWIG_fail;
37075 }
37076 resultobj = SWIG_Py_Void();
37077 return resultobj;
37078 fail:
37079 return NULL;
37080 }
37081
37082
37083 SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37084 PyObject *resultobj = 0;
37085 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37086 wxTreeItemId *arg2 = 0 ;
37087 void *argp1 = 0 ;
37088 int res1 = 0 ;
37089 void *argp2 = 0 ;
37090 int res2 = 0 ;
37091 PyObject * obj0 = 0 ;
37092 PyObject * obj1 = 0 ;
37093 char * kwnames[] = {
37094 (char *) "self",(char *) "item", NULL
37095 };
37096
37097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
37098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37099 if (!SWIG_IsOK(res1)) {
37100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37101 }
37102 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37103 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37104 if (!SWIG_IsOK(res2)) {
37105 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37106 }
37107 if (!argp2) {
37108 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37109 }
37110 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37111 {
37112 PyThreadState* __tstate = wxPyBeginAllowThreads();
37113 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
37114 wxPyEndAllowThreads(__tstate);
37115 if (PyErr_Occurred()) SWIG_fail;
37116 }
37117 resultobj = SWIG_Py_Void();
37118 return resultobj;
37119 fail:
37120 return NULL;
37121 }
37122
37123
37124 SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37125 PyObject *resultobj = 0;
37126 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37127 wxTreeItemId *arg2 = 0 ;
37128 void *argp1 = 0 ;
37129 int res1 = 0 ;
37130 void *argp2 = 0 ;
37131 int res2 = 0 ;
37132 PyObject * obj0 = 0 ;
37133 PyObject * obj1 = 0 ;
37134 char * kwnames[] = {
37135 (char *) "self",(char *) "item", NULL
37136 };
37137
37138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
37139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37140 if (!SWIG_IsOK(res1)) {
37141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37142 }
37143 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37144 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37145 if (!SWIG_IsOK(res2)) {
37146 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37147 }
37148 if (!argp2) {
37149 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37150 }
37151 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37152 {
37153 PyThreadState* __tstate = wxPyBeginAllowThreads();
37154 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
37155 wxPyEndAllowThreads(__tstate);
37156 if (PyErr_Occurred()) SWIG_fail;
37157 }
37158 resultobj = SWIG_Py_Void();
37159 return resultobj;
37160 fail:
37161 return NULL;
37162 }
37163
37164
37165 SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37166 PyObject *resultobj = 0;
37167 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37168 wxTreeItemId *arg2 = 0 ;
37169 void *argp1 = 0 ;
37170 int res1 = 0 ;
37171 void *argp2 = 0 ;
37172 int res2 = 0 ;
37173 PyObject * obj0 = 0 ;
37174 PyObject * obj1 = 0 ;
37175 char * kwnames[] = {
37176 (char *) "self",(char *) "item", NULL
37177 };
37178
37179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
37180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37181 if (!SWIG_IsOK(res1)) {
37182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37183 }
37184 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37185 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37186 if (!SWIG_IsOK(res2)) {
37187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37188 }
37189 if (!argp2) {
37190 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37191 }
37192 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37193 {
37194 PyThreadState* __tstate = wxPyBeginAllowThreads();
37195 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
37196 wxPyEndAllowThreads(__tstate);
37197 if (PyErr_Occurred()) SWIG_fail;
37198 }
37199 resultobj = SWIG_Py_Void();
37200 return resultobj;
37201 fail:
37202 return NULL;
37203 }
37204
37205
37206 SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37207 PyObject *resultobj = 0;
37208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37209 wxTextCtrl *result = 0 ;
37210 void *argp1 = 0 ;
37211 int res1 = 0 ;
37212 PyObject *swig_obj[1] ;
37213
37214 if (!args) SWIG_fail;
37215 swig_obj[0] = args;
37216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37217 if (!SWIG_IsOK(res1)) {
37218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37219 }
37220 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37221 {
37222 PyThreadState* __tstate = wxPyBeginAllowThreads();
37223 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
37224 wxPyEndAllowThreads(__tstate);
37225 if (PyErr_Occurred()) SWIG_fail;
37226 }
37227 {
37228 resultobj = wxPyMake_wxObject(result, 0);
37229 }
37230 return resultobj;
37231 fail:
37232 return NULL;
37233 }
37234
37235
37236 SWIGINTERN PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37237 PyObject *resultobj = 0;
37238 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37239 wxTreeItemId *arg2 = 0 ;
37240 bool arg3 = (bool) false ;
37241 void *argp1 = 0 ;
37242 int res1 = 0 ;
37243 void *argp2 = 0 ;
37244 int res2 = 0 ;
37245 bool val3 ;
37246 int ecode3 = 0 ;
37247 PyObject * obj0 = 0 ;
37248 PyObject * obj1 = 0 ;
37249 PyObject * obj2 = 0 ;
37250 char * kwnames[] = {
37251 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37252 };
37253
37254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37256 if (!SWIG_IsOK(res1)) {
37257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37258 }
37259 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37260 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37261 if (!SWIG_IsOK(res2)) {
37262 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37263 }
37264 if (!argp2) {
37265 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37266 }
37267 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37268 if (obj2) {
37269 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37270 if (!SWIG_IsOK(ecode3)) {
37271 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37272 }
37273 arg3 = static_cast< bool >(val3);
37274 }
37275 {
37276 PyThreadState* __tstate = wxPyBeginAllowThreads();
37277 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
37278 wxPyEndAllowThreads(__tstate);
37279 if (PyErr_Occurred()) SWIG_fail;
37280 }
37281 resultobj = SWIG_Py_Void();
37282 return resultobj;
37283 fail:
37284 return NULL;
37285 }
37286
37287
37288 SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37289 PyObject *resultobj = 0;
37290 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37291 wxTreeItemId *arg2 = 0 ;
37292 void *argp1 = 0 ;
37293 int res1 = 0 ;
37294 void *argp2 = 0 ;
37295 int res2 = 0 ;
37296 PyObject * obj0 = 0 ;
37297 PyObject * obj1 = 0 ;
37298 char * kwnames[] = {
37299 (char *) "self",(char *) "item", NULL
37300 };
37301
37302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37304 if (!SWIG_IsOK(res1)) {
37305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37306 }
37307 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37308 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37309 if (!SWIG_IsOK(res2)) {
37310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37311 }
37312 if (!argp2) {
37313 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37314 }
37315 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37316 {
37317 PyThreadState* __tstate = wxPyBeginAllowThreads();
37318 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
37319 wxPyEndAllowThreads(__tstate);
37320 if (PyErr_Occurred()) SWIG_fail;
37321 }
37322 resultobj = SWIG_Py_Void();
37323 return resultobj;
37324 fail:
37325 return NULL;
37326 }
37327
37328
37329 SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37330 PyObject *resultobj = 0;
37331 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37332 wxPoint *arg2 = 0 ;
37333 int *arg3 = 0 ;
37334 wxTreeItemId result;
37335 void *argp1 = 0 ;
37336 int res1 = 0 ;
37337 wxPoint temp2 ;
37338 int temp3 ;
37339 int res3 = SWIG_TMPOBJ ;
37340 PyObject * obj0 = 0 ;
37341 PyObject * obj1 = 0 ;
37342 char * kwnames[] = {
37343 (char *) "self",(char *) "point", NULL
37344 };
37345
37346 arg3 = &temp3;
37347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37349 if (!SWIG_IsOK(res1)) {
37350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37351 }
37352 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37353 {
37354 arg2 = &temp2;
37355 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37356 }
37357 {
37358 PyThreadState* __tstate = wxPyBeginAllowThreads();
37359 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37360 wxPyEndAllowThreads(__tstate);
37361 if (PyErr_Occurred()) SWIG_fail;
37362 }
37363 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37364 if (SWIG_IsTmpObj(res3)) {
37365 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37366 } else {
37367 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37368 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37369 }
37370 return resultobj;
37371 fail:
37372 return NULL;
37373 }
37374
37375
37376 SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37377 PyObject *resultobj = 0;
37378 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37379 wxTreeItemId *arg2 = 0 ;
37380 bool arg3 = (bool) false ;
37381 PyObject *result = 0 ;
37382 void *argp1 = 0 ;
37383 int res1 = 0 ;
37384 void *argp2 = 0 ;
37385 int res2 = 0 ;
37386 bool val3 ;
37387 int ecode3 = 0 ;
37388 PyObject * obj0 = 0 ;
37389 PyObject * obj1 = 0 ;
37390 PyObject * obj2 = 0 ;
37391 char * kwnames[] = {
37392 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37393 };
37394
37395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37397 if (!SWIG_IsOK(res1)) {
37398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37399 }
37400 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37401 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37402 if (!SWIG_IsOK(res2)) {
37403 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37404 }
37405 if (!argp2) {
37406 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37407 }
37408 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37409 if (obj2) {
37410 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37411 if (!SWIG_IsOK(ecode3)) {
37412 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37413 }
37414 arg3 = static_cast< bool >(val3);
37415 }
37416 {
37417 PyThreadState* __tstate = wxPyBeginAllowThreads();
37418 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37419 wxPyEndAllowThreads(__tstate);
37420 if (PyErr_Occurred()) SWIG_fail;
37421 }
37422 resultobj = result;
37423 return resultobj;
37424 fail:
37425 return NULL;
37426 }
37427
37428
37429 SWIGINTERN PyObject *_wrap_TreeCtrl_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37430 PyObject *resultobj = 0;
37431 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37432 wxTreeItemId *arg2 = 0 ;
37433 int arg3 ;
37434 void *argp1 = 0 ;
37435 int res1 = 0 ;
37436 void *argp2 = 0 ;
37437 int res2 = 0 ;
37438 int val3 ;
37439 int ecode3 = 0 ;
37440 PyObject * obj0 = 0 ;
37441 PyObject * obj1 = 0 ;
37442 PyObject * obj2 = 0 ;
37443 char * kwnames[] = {
37444 (char *) "self",(char *) "node",(char *) "state", NULL
37445 };
37446
37447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37449 if (!SWIG_IsOK(res1)) {
37450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37451 }
37452 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37453 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37454 if (!SWIG_IsOK(res2)) {
37455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37456 }
37457 if (!argp2) {
37458 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37459 }
37460 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37461 ecode3 = SWIG_AsVal_int(obj2, &val3);
37462 if (!SWIG_IsOK(ecode3)) {
37463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37464 }
37465 arg3 = static_cast< int >(val3);
37466 {
37467 PyThreadState* __tstate = wxPyBeginAllowThreads();
37468 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
37469 wxPyEndAllowThreads(__tstate);
37470 if (PyErr_Occurred()) SWIG_fail;
37471 }
37472 resultobj = SWIG_Py_Void();
37473 return resultobj;
37474 fail:
37475 return NULL;
37476 }
37477
37478
37479 SWIGINTERN PyObject *_wrap_TreeCtrl_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37480 PyObject *resultobj = 0;
37481 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37482 wxTreeItemId *arg2 = 0 ;
37483 int result;
37484 void *argp1 = 0 ;
37485 int res1 = 0 ;
37486 void *argp2 = 0 ;
37487 int res2 = 0 ;
37488 PyObject * obj0 = 0 ;
37489 PyObject * obj1 = 0 ;
37490 char * kwnames[] = {
37491 (char *) "self",(char *) "node", NULL
37492 };
37493
37494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) SWIG_fail;
37495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37496 if (!SWIG_IsOK(res1)) {
37497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37498 }
37499 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37500 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37501 if (!SWIG_IsOK(res2)) {
37502 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37503 }
37504 if (!argp2) {
37505 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37506 }
37507 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37508 {
37509 PyThreadState* __tstate = wxPyBeginAllowThreads();
37510 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
37511 wxPyEndAllowThreads(__tstate);
37512 if (PyErr_Occurred()) SWIG_fail;
37513 }
37514 resultobj = SWIG_From_int(static_cast< int >(result));
37515 return resultobj;
37516 fail:
37517 return NULL;
37518 }
37519
37520
37521 SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37522 PyObject *resultobj = 0;
37523 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37524 SwigValueWrapper<wxVisualAttributes > result;
37525 int val1 ;
37526 int ecode1 = 0 ;
37527 PyObject * obj0 = 0 ;
37528 char * kwnames[] = {
37529 (char *) "variant", NULL
37530 };
37531
37532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37533 if (obj0) {
37534 ecode1 = SWIG_AsVal_int(obj0, &val1);
37535 if (!SWIG_IsOK(ecode1)) {
37536 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37537 }
37538 arg1 = static_cast< wxWindowVariant >(val1);
37539 }
37540 {
37541 if (!wxPyCheckForApp()) SWIG_fail;
37542 PyThreadState* __tstate = wxPyBeginAllowThreads();
37543 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37544 wxPyEndAllowThreads(__tstate);
37545 if (PyErr_Occurred()) SWIG_fail;
37546 }
37547 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37548 return resultobj;
37549 fail:
37550 return NULL;
37551 }
37552
37553
37554 SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37555 PyObject *resultobj = 0;
37556 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37557 bool arg2 ;
37558 void *argp1 = 0 ;
37559 int res1 = 0 ;
37560 bool val2 ;
37561 int ecode2 = 0 ;
37562 PyObject * obj0 = 0 ;
37563 PyObject * obj1 = 0 ;
37564 char * kwnames[] = {
37565 (char *) "self",(char *) "q", NULL
37566 };
37567
37568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37570 if (!SWIG_IsOK(res1)) {
37571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37572 }
37573 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37574 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37575 if (!SWIG_IsOK(ecode2)) {
37576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37577 }
37578 arg2 = static_cast< bool >(val2);
37579 {
37580 PyThreadState* __tstate = wxPyBeginAllowThreads();
37581 (arg1)->SetQuickBestSize(arg2);
37582 wxPyEndAllowThreads(__tstate);
37583 if (PyErr_Occurred()) SWIG_fail;
37584 }
37585 resultobj = SWIG_Py_Void();
37586 return resultobj;
37587 fail:
37588 return NULL;
37589 }
37590
37591
37592 SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37593 PyObject *resultobj = 0;
37594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37595 bool result;
37596 void *argp1 = 0 ;
37597 int res1 = 0 ;
37598 PyObject *swig_obj[1] ;
37599
37600 if (!args) SWIG_fail;
37601 swig_obj[0] = args;
37602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37603 if (!SWIG_IsOK(res1)) {
37604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37605 }
37606 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37607 {
37608 PyThreadState* __tstate = wxPyBeginAllowThreads();
37609 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37610 wxPyEndAllowThreads(__tstate);
37611 if (PyErr_Occurred()) SWIG_fail;
37612 }
37613 {
37614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37615 }
37616 return resultobj;
37617 fail:
37618 return NULL;
37619 }
37620
37621
37622 SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37623 PyObject *obj;
37624 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37625 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37626 return SWIG_Py_Void();
37627 }
37628
37629 SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37630 return SWIG_Python_InitShadowInstance(args);
37631 }
37632
37633 SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37634 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37635 return 1;
37636 }
37637
37638
37639 SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37640 PyObject *pyobj = 0;
37641
37642 {
37643 #if wxUSE_UNICODE
37644 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37645 #else
37646 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37647 #endif
37648 }
37649 return pyobj;
37650 }
37651
37652
37653 SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37654 PyObject *resultobj = 0;
37655 wxWindow *arg1 = (wxWindow *) 0 ;
37656 int arg2 = (int) (int)-1 ;
37657 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37658 wxString *arg3 = (wxString *) &arg3_defvalue ;
37659 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37660 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37661 wxSize const &arg5_defvalue = wxDefaultSize ;
37662 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37663 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37664 wxString const &arg7_defvalue = wxPyEmptyString ;
37665 wxString *arg7 = (wxString *) &arg7_defvalue ;
37666 int arg8 = (int) 0 ;
37667 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37668 wxString *arg9 = (wxString *) &arg9_defvalue ;
37669 wxGenericDirCtrl *result = 0 ;
37670 void *argp1 = 0 ;
37671 int res1 = 0 ;
37672 int val2 ;
37673 int ecode2 = 0 ;
37674 bool temp3 = false ;
37675 wxPoint temp4 ;
37676 wxSize temp5 ;
37677 long val6 ;
37678 int ecode6 = 0 ;
37679 bool temp7 = false ;
37680 int val8 ;
37681 int ecode8 = 0 ;
37682 bool temp9 = false ;
37683 PyObject * obj0 = 0 ;
37684 PyObject * obj1 = 0 ;
37685 PyObject * obj2 = 0 ;
37686 PyObject * obj3 = 0 ;
37687 PyObject * obj4 = 0 ;
37688 PyObject * obj5 = 0 ;
37689 PyObject * obj6 = 0 ;
37690 PyObject * obj7 = 0 ;
37691 PyObject * obj8 = 0 ;
37692 char * kwnames[] = {
37693 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37694 };
37695
37696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37698 if (!SWIG_IsOK(res1)) {
37699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37700 }
37701 arg1 = reinterpret_cast< wxWindow * >(argp1);
37702 if (obj1) {
37703 ecode2 = SWIG_AsVal_int(obj1, &val2);
37704 if (!SWIG_IsOK(ecode2)) {
37705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37706 }
37707 arg2 = static_cast< int >(val2);
37708 }
37709 if (obj2) {
37710 {
37711 arg3 = wxString_in_helper(obj2);
37712 if (arg3 == NULL) SWIG_fail;
37713 temp3 = true;
37714 }
37715 }
37716 if (obj3) {
37717 {
37718 arg4 = &temp4;
37719 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
37720 }
37721 }
37722 if (obj4) {
37723 {
37724 arg5 = &temp5;
37725 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
37726 }
37727 }
37728 if (obj5) {
37729 ecode6 = SWIG_AsVal_long(obj5, &val6);
37730 if (!SWIG_IsOK(ecode6)) {
37731 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37732 }
37733 arg6 = static_cast< long >(val6);
37734 }
37735 if (obj6) {
37736 {
37737 arg7 = wxString_in_helper(obj6);
37738 if (arg7 == NULL) SWIG_fail;
37739 temp7 = true;
37740 }
37741 }
37742 if (obj7) {
37743 ecode8 = SWIG_AsVal_int(obj7, &val8);
37744 if (!SWIG_IsOK(ecode8)) {
37745 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37746 }
37747 arg8 = static_cast< int >(val8);
37748 }
37749 if (obj8) {
37750 {
37751 arg9 = wxString_in_helper(obj8);
37752 if (arg9 == NULL) SWIG_fail;
37753 temp9 = true;
37754 }
37755 }
37756 {
37757 if (!wxPyCheckForApp()) SWIG_fail;
37758 PyThreadState* __tstate = wxPyBeginAllowThreads();
37759 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37760 wxPyEndAllowThreads(__tstate);
37761 if (PyErr_Occurred()) SWIG_fail;
37762 }
37763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37764 {
37765 if (temp3)
37766 delete arg3;
37767 }
37768 {
37769 if (temp7)
37770 delete arg7;
37771 }
37772 {
37773 if (temp9)
37774 delete arg9;
37775 }
37776 return resultobj;
37777 fail:
37778 {
37779 if (temp3)
37780 delete arg3;
37781 }
37782 {
37783 if (temp7)
37784 delete arg7;
37785 }
37786 {
37787 if (temp9)
37788 delete arg9;
37789 }
37790 return NULL;
37791 }
37792
37793
37794 SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37795 PyObject *resultobj = 0;
37796 wxGenericDirCtrl *result = 0 ;
37797
37798 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37799 {
37800 if (!wxPyCheckForApp()) SWIG_fail;
37801 PyThreadState* __tstate = wxPyBeginAllowThreads();
37802 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37803 wxPyEndAllowThreads(__tstate);
37804 if (PyErr_Occurred()) SWIG_fail;
37805 }
37806 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37807 return resultobj;
37808 fail:
37809 return NULL;
37810 }
37811
37812
37813 SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37814 PyObject *resultobj = 0;
37815 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37816 wxWindow *arg2 = (wxWindow *) 0 ;
37817 int arg3 = (int) (int)-1 ;
37818 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37819 wxString *arg4 = (wxString *) &arg4_defvalue ;
37820 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37821 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37822 wxSize const &arg6_defvalue = wxDefaultSize ;
37823 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37824 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37825 wxString const &arg8_defvalue = wxPyEmptyString ;
37826 wxString *arg8 = (wxString *) &arg8_defvalue ;
37827 int arg9 = (int) 0 ;
37828 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37829 wxString *arg10 = (wxString *) &arg10_defvalue ;
37830 bool result;
37831 void *argp1 = 0 ;
37832 int res1 = 0 ;
37833 void *argp2 = 0 ;
37834 int res2 = 0 ;
37835 int val3 ;
37836 int ecode3 = 0 ;
37837 bool temp4 = false ;
37838 wxPoint temp5 ;
37839 wxSize temp6 ;
37840 long val7 ;
37841 int ecode7 = 0 ;
37842 bool temp8 = false ;
37843 int val9 ;
37844 int ecode9 = 0 ;
37845 bool temp10 = false ;
37846 PyObject * obj0 = 0 ;
37847 PyObject * obj1 = 0 ;
37848 PyObject * obj2 = 0 ;
37849 PyObject * obj3 = 0 ;
37850 PyObject * obj4 = 0 ;
37851 PyObject * obj5 = 0 ;
37852 PyObject * obj6 = 0 ;
37853 PyObject * obj7 = 0 ;
37854 PyObject * obj8 = 0 ;
37855 PyObject * obj9 = 0 ;
37856 char * kwnames[] = {
37857 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37858 };
37859
37860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37862 if (!SWIG_IsOK(res1)) {
37863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37864 }
37865 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37866 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37867 if (!SWIG_IsOK(res2)) {
37868 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37869 }
37870 arg2 = reinterpret_cast< wxWindow * >(argp2);
37871 if (obj2) {
37872 ecode3 = SWIG_AsVal_int(obj2, &val3);
37873 if (!SWIG_IsOK(ecode3)) {
37874 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37875 }
37876 arg3 = static_cast< int >(val3);
37877 }
37878 if (obj3) {
37879 {
37880 arg4 = wxString_in_helper(obj3);
37881 if (arg4 == NULL) SWIG_fail;
37882 temp4 = true;
37883 }
37884 }
37885 if (obj4) {
37886 {
37887 arg5 = &temp5;
37888 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
37889 }
37890 }
37891 if (obj5) {
37892 {
37893 arg6 = &temp6;
37894 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
37895 }
37896 }
37897 if (obj6) {
37898 ecode7 = SWIG_AsVal_long(obj6, &val7);
37899 if (!SWIG_IsOK(ecode7)) {
37900 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37901 }
37902 arg7 = static_cast< long >(val7);
37903 }
37904 if (obj7) {
37905 {
37906 arg8 = wxString_in_helper(obj7);
37907 if (arg8 == NULL) SWIG_fail;
37908 temp8 = true;
37909 }
37910 }
37911 if (obj8) {
37912 ecode9 = SWIG_AsVal_int(obj8, &val9);
37913 if (!SWIG_IsOK(ecode9)) {
37914 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37915 }
37916 arg9 = static_cast< int >(val9);
37917 }
37918 if (obj9) {
37919 {
37920 arg10 = wxString_in_helper(obj9);
37921 if (arg10 == NULL) SWIG_fail;
37922 temp10 = true;
37923 }
37924 }
37925 {
37926 PyThreadState* __tstate = wxPyBeginAllowThreads();
37927 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37928 wxPyEndAllowThreads(__tstate);
37929 if (PyErr_Occurred()) SWIG_fail;
37930 }
37931 {
37932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37933 }
37934 {
37935 if (temp4)
37936 delete arg4;
37937 }
37938 {
37939 if (temp8)
37940 delete arg8;
37941 }
37942 {
37943 if (temp10)
37944 delete arg10;
37945 }
37946 return resultobj;
37947 fail:
37948 {
37949 if (temp4)
37950 delete arg4;
37951 }
37952 {
37953 if (temp8)
37954 delete arg8;
37955 }
37956 {
37957 if (temp10)
37958 delete arg10;
37959 }
37960 return NULL;
37961 }
37962
37963
37964 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37965 PyObject *resultobj = 0;
37966 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37967 wxString *arg2 = 0 ;
37968 bool result;
37969 void *argp1 = 0 ;
37970 int res1 = 0 ;
37971 bool temp2 = false ;
37972 PyObject * obj0 = 0 ;
37973 PyObject * obj1 = 0 ;
37974 char * kwnames[] = {
37975 (char *) "self",(char *) "path", NULL
37976 };
37977
37978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37980 if (!SWIG_IsOK(res1)) {
37981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37982 }
37983 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37984 {
37985 arg2 = wxString_in_helper(obj1);
37986 if (arg2 == NULL) SWIG_fail;
37987 temp2 = true;
37988 }
37989 {
37990 PyThreadState* __tstate = wxPyBeginAllowThreads();
37991 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37992 wxPyEndAllowThreads(__tstate);
37993 if (PyErr_Occurred()) SWIG_fail;
37994 }
37995 {
37996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37997 }
37998 {
37999 if (temp2)
38000 delete arg2;
38001 }
38002 return resultobj;
38003 fail:
38004 {
38005 if (temp2)
38006 delete arg2;
38007 }
38008 return NULL;
38009 }
38010
38011
38012 SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38013 PyObject *resultobj = 0;
38014 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38015 wxString *arg2 = 0 ;
38016 bool result;
38017 void *argp1 = 0 ;
38018 int res1 = 0 ;
38019 bool temp2 = false ;
38020 PyObject * obj0 = 0 ;
38021 PyObject * obj1 = 0 ;
38022 char * kwnames[] = {
38023 (char *) "self",(char *) "path", NULL
38024 };
38025
38026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
38027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38028 if (!SWIG_IsOK(res1)) {
38029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38030 }
38031 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38032 {
38033 arg2 = wxString_in_helper(obj1);
38034 if (arg2 == NULL) SWIG_fail;
38035 temp2 = true;
38036 }
38037 {
38038 PyThreadState* __tstate = wxPyBeginAllowThreads();
38039 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
38040 wxPyEndAllowThreads(__tstate);
38041 if (PyErr_Occurred()) SWIG_fail;
38042 }
38043 {
38044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38045 }
38046 {
38047 if (temp2)
38048 delete arg2;
38049 }
38050 return resultobj;
38051 fail:
38052 {
38053 if (temp2)
38054 delete arg2;
38055 }
38056 return NULL;
38057 }
38058
38059
38060 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38061 PyObject *resultobj = 0;
38062 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38063 wxString result;
38064 void *argp1 = 0 ;
38065 int res1 = 0 ;
38066 PyObject *swig_obj[1] ;
38067
38068 if (!args) SWIG_fail;
38069 swig_obj[0] = args;
38070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38071 if (!SWIG_IsOK(res1)) {
38072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38073 }
38074 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38075 {
38076 PyThreadState* __tstate = wxPyBeginAllowThreads();
38077 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
38078 wxPyEndAllowThreads(__tstate);
38079 if (PyErr_Occurred()) SWIG_fail;
38080 }
38081 {
38082 #if wxUSE_UNICODE
38083 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38084 #else
38085 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38086 #endif
38087 }
38088 return resultobj;
38089 fail:
38090 return NULL;
38091 }
38092
38093
38094 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38095 PyObject *resultobj = 0;
38096 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38097 wxString *arg2 = 0 ;
38098 void *argp1 = 0 ;
38099 int res1 = 0 ;
38100 bool temp2 = false ;
38101 PyObject * obj0 = 0 ;
38102 PyObject * obj1 = 0 ;
38103 char * kwnames[] = {
38104 (char *) "self",(char *) "path", NULL
38105 };
38106
38107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
38108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38109 if (!SWIG_IsOK(res1)) {
38110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38111 }
38112 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38113 {
38114 arg2 = wxString_in_helper(obj1);
38115 if (arg2 == NULL) SWIG_fail;
38116 temp2 = true;
38117 }
38118 {
38119 PyThreadState* __tstate = wxPyBeginAllowThreads();
38120 (arg1)->SetDefaultPath((wxString const &)*arg2);
38121 wxPyEndAllowThreads(__tstate);
38122 if (PyErr_Occurred()) SWIG_fail;
38123 }
38124 resultobj = SWIG_Py_Void();
38125 {
38126 if (temp2)
38127 delete arg2;
38128 }
38129 return resultobj;
38130 fail:
38131 {
38132 if (temp2)
38133 delete arg2;
38134 }
38135 return NULL;
38136 }
38137
38138
38139 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38140 PyObject *resultobj = 0;
38141 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38142 wxString result;
38143 void *argp1 = 0 ;
38144 int res1 = 0 ;
38145 PyObject *swig_obj[1] ;
38146
38147 if (!args) SWIG_fail;
38148 swig_obj[0] = args;
38149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38150 if (!SWIG_IsOK(res1)) {
38151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38152 }
38153 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38154 {
38155 PyThreadState* __tstate = wxPyBeginAllowThreads();
38156 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
38157 wxPyEndAllowThreads(__tstate);
38158 if (PyErr_Occurred()) SWIG_fail;
38159 }
38160 {
38161 #if wxUSE_UNICODE
38162 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38163 #else
38164 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38165 #endif
38166 }
38167 return resultobj;
38168 fail:
38169 return NULL;
38170 }
38171
38172
38173 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38174 PyObject *resultobj = 0;
38175 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38176 wxString result;
38177 void *argp1 = 0 ;
38178 int res1 = 0 ;
38179 PyObject *swig_obj[1] ;
38180
38181 if (!args) SWIG_fail;
38182 swig_obj[0] = args;
38183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38184 if (!SWIG_IsOK(res1)) {
38185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38186 }
38187 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38188 {
38189 PyThreadState* __tstate = wxPyBeginAllowThreads();
38190 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
38191 wxPyEndAllowThreads(__tstate);
38192 if (PyErr_Occurred()) SWIG_fail;
38193 }
38194 {
38195 #if wxUSE_UNICODE
38196 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38197 #else
38198 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38199 #endif
38200 }
38201 return resultobj;
38202 fail:
38203 return NULL;
38204 }
38205
38206
38207 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38208 PyObject *resultobj = 0;
38209 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38210 wxString *arg2 = 0 ;
38211 void *argp1 = 0 ;
38212 int res1 = 0 ;
38213 bool temp2 = false ;
38214 PyObject * obj0 = 0 ;
38215 PyObject * obj1 = 0 ;
38216 char * kwnames[] = {
38217 (char *) "self",(char *) "path", NULL
38218 };
38219
38220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
38221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38222 if (!SWIG_IsOK(res1)) {
38223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38224 }
38225 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38226 {
38227 arg2 = wxString_in_helper(obj1);
38228 if (arg2 == NULL) SWIG_fail;
38229 temp2 = true;
38230 }
38231 {
38232 PyThreadState* __tstate = wxPyBeginAllowThreads();
38233 (arg1)->SetPath((wxString const &)*arg2);
38234 wxPyEndAllowThreads(__tstate);
38235 if (PyErr_Occurred()) SWIG_fail;
38236 }
38237 resultobj = SWIG_Py_Void();
38238 {
38239 if (temp2)
38240 delete arg2;
38241 }
38242 return resultobj;
38243 fail:
38244 {
38245 if (temp2)
38246 delete arg2;
38247 }
38248 return NULL;
38249 }
38250
38251
38252 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38253 PyObject *resultobj = 0;
38254 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38255 bool arg2 ;
38256 void *argp1 = 0 ;
38257 int res1 = 0 ;
38258 bool val2 ;
38259 int ecode2 = 0 ;
38260 PyObject * obj0 = 0 ;
38261 PyObject * obj1 = 0 ;
38262 char * kwnames[] = {
38263 (char *) "self",(char *) "show", NULL
38264 };
38265
38266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
38267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38268 if (!SWIG_IsOK(res1)) {
38269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38270 }
38271 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38272 ecode2 = SWIG_AsVal_bool(obj1, &val2);
38273 if (!SWIG_IsOK(ecode2)) {
38274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38275 }
38276 arg2 = static_cast< bool >(val2);
38277 {
38278 PyThreadState* __tstate = wxPyBeginAllowThreads();
38279 (arg1)->ShowHidden(arg2);
38280 wxPyEndAllowThreads(__tstate);
38281 if (PyErr_Occurred()) SWIG_fail;
38282 }
38283 resultobj = SWIG_Py_Void();
38284 return resultobj;
38285 fail:
38286 return NULL;
38287 }
38288
38289
38290 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38291 PyObject *resultobj = 0;
38292 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38293 bool result;
38294 void *argp1 = 0 ;
38295 int res1 = 0 ;
38296 PyObject *swig_obj[1] ;
38297
38298 if (!args) SWIG_fail;
38299 swig_obj[0] = args;
38300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38301 if (!SWIG_IsOK(res1)) {
38302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38303 }
38304 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38305 {
38306 PyThreadState* __tstate = wxPyBeginAllowThreads();
38307 result = (bool)(arg1)->GetShowHidden();
38308 wxPyEndAllowThreads(__tstate);
38309 if (PyErr_Occurred()) SWIG_fail;
38310 }
38311 {
38312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38313 }
38314 return resultobj;
38315 fail:
38316 return NULL;
38317 }
38318
38319
38320 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38321 PyObject *resultobj = 0;
38322 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38323 wxString result;
38324 void *argp1 = 0 ;
38325 int res1 = 0 ;
38326 PyObject *swig_obj[1] ;
38327
38328 if (!args) SWIG_fail;
38329 swig_obj[0] = args;
38330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38331 if (!SWIG_IsOK(res1)) {
38332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38333 }
38334 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38335 {
38336 PyThreadState* __tstate = wxPyBeginAllowThreads();
38337 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38338 wxPyEndAllowThreads(__tstate);
38339 if (PyErr_Occurred()) SWIG_fail;
38340 }
38341 {
38342 #if wxUSE_UNICODE
38343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38344 #else
38345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38346 #endif
38347 }
38348 return resultobj;
38349 fail:
38350 return NULL;
38351 }
38352
38353
38354 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38355 PyObject *resultobj = 0;
38356 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38357 wxString *arg2 = 0 ;
38358 void *argp1 = 0 ;
38359 int res1 = 0 ;
38360 bool temp2 = false ;
38361 PyObject * obj0 = 0 ;
38362 PyObject * obj1 = 0 ;
38363 char * kwnames[] = {
38364 (char *) "self",(char *) "filter", NULL
38365 };
38366
38367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38369 if (!SWIG_IsOK(res1)) {
38370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38371 }
38372 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38373 {
38374 arg2 = wxString_in_helper(obj1);
38375 if (arg2 == NULL) SWIG_fail;
38376 temp2 = true;
38377 }
38378 {
38379 PyThreadState* __tstate = wxPyBeginAllowThreads();
38380 (arg1)->SetFilter((wxString const &)*arg2);
38381 wxPyEndAllowThreads(__tstate);
38382 if (PyErr_Occurred()) SWIG_fail;
38383 }
38384 resultobj = SWIG_Py_Void();
38385 {
38386 if (temp2)
38387 delete arg2;
38388 }
38389 return resultobj;
38390 fail:
38391 {
38392 if (temp2)
38393 delete arg2;
38394 }
38395 return NULL;
38396 }
38397
38398
38399 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38400 PyObject *resultobj = 0;
38401 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38402 int result;
38403 void *argp1 = 0 ;
38404 int res1 = 0 ;
38405 PyObject *swig_obj[1] ;
38406
38407 if (!args) SWIG_fail;
38408 swig_obj[0] = args;
38409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38410 if (!SWIG_IsOK(res1)) {
38411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38412 }
38413 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38414 {
38415 PyThreadState* __tstate = wxPyBeginAllowThreads();
38416 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38417 wxPyEndAllowThreads(__tstate);
38418 if (PyErr_Occurred()) SWIG_fail;
38419 }
38420 resultobj = SWIG_From_int(static_cast< int >(result));
38421 return resultobj;
38422 fail:
38423 return NULL;
38424 }
38425
38426
38427 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38428 PyObject *resultobj = 0;
38429 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38430 int arg2 ;
38431 void *argp1 = 0 ;
38432 int res1 = 0 ;
38433 int val2 ;
38434 int ecode2 = 0 ;
38435 PyObject * obj0 = 0 ;
38436 PyObject * obj1 = 0 ;
38437 char * kwnames[] = {
38438 (char *) "self",(char *) "n", NULL
38439 };
38440
38441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
38442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38443 if (!SWIG_IsOK(res1)) {
38444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38445 }
38446 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38447 ecode2 = SWIG_AsVal_int(obj1, &val2);
38448 if (!SWIG_IsOK(ecode2)) {
38449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38450 }
38451 arg2 = static_cast< int >(val2);
38452 {
38453 PyThreadState* __tstate = wxPyBeginAllowThreads();
38454 (arg1)->SetFilterIndex(arg2);
38455 wxPyEndAllowThreads(__tstate);
38456 if (PyErr_Occurred()) SWIG_fail;
38457 }
38458 resultobj = SWIG_Py_Void();
38459 return resultobj;
38460 fail:
38461 return NULL;
38462 }
38463
38464
38465 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38466 PyObject *resultobj = 0;
38467 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38468 wxTreeItemId result;
38469 void *argp1 = 0 ;
38470 int res1 = 0 ;
38471 PyObject *swig_obj[1] ;
38472
38473 if (!args) SWIG_fail;
38474 swig_obj[0] = args;
38475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38476 if (!SWIG_IsOK(res1)) {
38477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38478 }
38479 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38480 {
38481 PyThreadState* __tstate = wxPyBeginAllowThreads();
38482 result = (arg1)->GetRootId();
38483 wxPyEndAllowThreads(__tstate);
38484 if (PyErr_Occurred()) SWIG_fail;
38485 }
38486 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38487 return resultobj;
38488 fail:
38489 return NULL;
38490 }
38491
38492
38493 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38494 PyObject *resultobj = 0;
38495 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38496 wxPyTreeCtrl *result = 0 ;
38497 void *argp1 = 0 ;
38498 int res1 = 0 ;
38499 PyObject *swig_obj[1] ;
38500
38501 if (!args) SWIG_fail;
38502 swig_obj[0] = args;
38503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38504 if (!SWIG_IsOK(res1)) {
38505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38506 }
38507 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38508 {
38509 PyThreadState* __tstate = wxPyBeginAllowThreads();
38510 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38511 wxPyEndAllowThreads(__tstate);
38512 if (PyErr_Occurred()) SWIG_fail;
38513 }
38514 {
38515 resultobj = wxPyMake_wxObject(result, 0);
38516 }
38517 return resultobj;
38518 fail:
38519 return NULL;
38520 }
38521
38522
38523 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38524 PyObject *resultobj = 0;
38525 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38526 wxDirFilterListCtrl *result = 0 ;
38527 void *argp1 = 0 ;
38528 int res1 = 0 ;
38529 PyObject *swig_obj[1] ;
38530
38531 if (!args) SWIG_fail;
38532 swig_obj[0] = args;
38533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38534 if (!SWIG_IsOK(res1)) {
38535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38536 }
38537 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38538 {
38539 PyThreadState* __tstate = wxPyBeginAllowThreads();
38540 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38541 wxPyEndAllowThreads(__tstate);
38542 if (PyErr_Occurred()) SWIG_fail;
38543 }
38544 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38545 return resultobj;
38546 fail:
38547 return NULL;
38548 }
38549
38550
38551 SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38552 PyObject *resultobj = 0;
38553 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38554 wxTreeItemId arg2 ;
38555 wxString *arg3 = 0 ;
38556 bool *arg4 = 0 ;
38557 wxTreeItemId result;
38558 void *argp1 = 0 ;
38559 int res1 = 0 ;
38560 void *argp2 ;
38561 int res2 = 0 ;
38562 bool temp3 = false ;
38563 bool temp4 ;
38564 int res4 = SWIG_TMPOBJ ;
38565 PyObject * obj0 = 0 ;
38566 PyObject * obj1 = 0 ;
38567 PyObject * obj2 = 0 ;
38568 char * kwnames[] = {
38569 (char *) "self",(char *) "parentId",(char *) "path", NULL
38570 };
38571
38572 arg4 = &temp4;
38573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38575 if (!SWIG_IsOK(res1)) {
38576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38577 }
38578 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38579 {
38580 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38581 if (!SWIG_IsOK(res2)) {
38582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38583 }
38584 if (!argp2) {
38585 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38586 } else {
38587 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38588 arg2 = *temp;
38589 if (SWIG_IsNewObj(res2)) delete temp;
38590 }
38591 }
38592 {
38593 arg3 = wxString_in_helper(obj2);
38594 if (arg3 == NULL) SWIG_fail;
38595 temp3 = true;
38596 }
38597 {
38598 PyThreadState* __tstate = wxPyBeginAllowThreads();
38599 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38600 wxPyEndAllowThreads(__tstate);
38601 if (PyErr_Occurred()) SWIG_fail;
38602 }
38603 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38604 if (SWIG_IsTmpObj(res4)) {
38605 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38606 } else {
38607 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38608 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38609 }
38610 {
38611 if (temp3)
38612 delete arg3;
38613 }
38614 return resultobj;
38615 fail:
38616 {
38617 if (temp3)
38618 delete arg3;
38619 }
38620 return NULL;
38621 }
38622
38623
38624 SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38625 PyObject *resultobj = 0;
38626 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38627 void *argp1 = 0 ;
38628 int res1 = 0 ;
38629 PyObject *swig_obj[1] ;
38630
38631 if (!args) SWIG_fail;
38632 swig_obj[0] = args;
38633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38634 if (!SWIG_IsOK(res1)) {
38635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38636 }
38637 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38638 {
38639 PyThreadState* __tstate = wxPyBeginAllowThreads();
38640 (arg1)->DoResize();
38641 wxPyEndAllowThreads(__tstate);
38642 if (PyErr_Occurred()) SWIG_fail;
38643 }
38644 resultobj = SWIG_Py_Void();
38645 return resultobj;
38646 fail:
38647 return NULL;
38648 }
38649
38650
38651 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38652 PyObject *resultobj = 0;
38653 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38654 void *argp1 = 0 ;
38655 int res1 = 0 ;
38656 PyObject *swig_obj[1] ;
38657
38658 if (!args) SWIG_fail;
38659 swig_obj[0] = args;
38660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38661 if (!SWIG_IsOK(res1)) {
38662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38663 }
38664 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38665 {
38666 PyThreadState* __tstate = wxPyBeginAllowThreads();
38667 (arg1)->ReCreateTree();
38668 wxPyEndAllowThreads(__tstate);
38669 if (PyErr_Occurred()) SWIG_fail;
38670 }
38671 resultobj = SWIG_Py_Void();
38672 return resultobj;
38673 fail:
38674 return NULL;
38675 }
38676
38677
38678 SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38679 PyObject *obj;
38680 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38681 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38682 return SWIG_Py_Void();
38683 }
38684
38685 SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38686 return SWIG_Python_InitShadowInstance(args);
38687 }
38688
38689 SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38690 PyObject *resultobj = 0;
38691 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38692 int arg2 = (int) (int)-1 ;
38693 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38694 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38695 wxSize const &arg4_defvalue = wxDefaultSize ;
38696 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38697 long arg5 = (long) 0 ;
38698 wxDirFilterListCtrl *result = 0 ;
38699 void *argp1 = 0 ;
38700 int res1 = 0 ;
38701 int val2 ;
38702 int ecode2 = 0 ;
38703 wxPoint temp3 ;
38704 wxSize temp4 ;
38705 long val5 ;
38706 int ecode5 = 0 ;
38707 PyObject * obj0 = 0 ;
38708 PyObject * obj1 = 0 ;
38709 PyObject * obj2 = 0 ;
38710 PyObject * obj3 = 0 ;
38711 PyObject * obj4 = 0 ;
38712 char * kwnames[] = {
38713 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38714 };
38715
38716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38718 if (!SWIG_IsOK(res1)) {
38719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38720 }
38721 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38722 if (obj1) {
38723 ecode2 = SWIG_AsVal_int(obj1, &val2);
38724 if (!SWIG_IsOK(ecode2)) {
38725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38726 }
38727 arg2 = static_cast< int >(val2);
38728 }
38729 if (obj2) {
38730 {
38731 arg3 = &temp3;
38732 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38733 }
38734 }
38735 if (obj3) {
38736 {
38737 arg4 = &temp4;
38738 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
38739 }
38740 }
38741 if (obj4) {
38742 ecode5 = SWIG_AsVal_long(obj4, &val5);
38743 if (!SWIG_IsOK(ecode5)) {
38744 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38745 }
38746 arg5 = static_cast< long >(val5);
38747 }
38748 {
38749 if (!wxPyCheckForApp()) SWIG_fail;
38750 PyThreadState* __tstate = wxPyBeginAllowThreads();
38751 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38752 wxPyEndAllowThreads(__tstate);
38753 if (PyErr_Occurred()) SWIG_fail;
38754 }
38755 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38756 return resultobj;
38757 fail:
38758 return NULL;
38759 }
38760
38761
38762 SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38763 PyObject *resultobj = 0;
38764 wxDirFilterListCtrl *result = 0 ;
38765
38766 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38767 {
38768 if (!wxPyCheckForApp()) SWIG_fail;
38769 PyThreadState* __tstate = wxPyBeginAllowThreads();
38770 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38771 wxPyEndAllowThreads(__tstate);
38772 if (PyErr_Occurred()) SWIG_fail;
38773 }
38774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38775 return resultobj;
38776 fail:
38777 return NULL;
38778 }
38779
38780
38781 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38782 PyObject *resultobj = 0;
38783 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38784 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38785 int arg3 = (int) (int)-1 ;
38786 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38787 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38788 wxSize const &arg5_defvalue = wxDefaultSize ;
38789 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38790 long arg6 = (long) 0 ;
38791 bool result;
38792 void *argp1 = 0 ;
38793 int res1 = 0 ;
38794 void *argp2 = 0 ;
38795 int res2 = 0 ;
38796 int val3 ;
38797 int ecode3 = 0 ;
38798 wxPoint temp4 ;
38799 wxSize temp5 ;
38800 long val6 ;
38801 int ecode6 = 0 ;
38802 PyObject * obj0 = 0 ;
38803 PyObject * obj1 = 0 ;
38804 PyObject * obj2 = 0 ;
38805 PyObject * obj3 = 0 ;
38806 PyObject * obj4 = 0 ;
38807 PyObject * obj5 = 0 ;
38808 char * kwnames[] = {
38809 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38810 };
38811
38812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38814 if (!SWIG_IsOK(res1)) {
38815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38816 }
38817 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38818 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38819 if (!SWIG_IsOK(res2)) {
38820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38821 }
38822 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38823 if (obj2) {
38824 ecode3 = SWIG_AsVal_int(obj2, &val3);
38825 if (!SWIG_IsOK(ecode3)) {
38826 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38827 }
38828 arg3 = static_cast< int >(val3);
38829 }
38830 if (obj3) {
38831 {
38832 arg4 = &temp4;
38833 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
38834 }
38835 }
38836 if (obj4) {
38837 {
38838 arg5 = &temp5;
38839 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
38840 }
38841 }
38842 if (obj5) {
38843 ecode6 = SWIG_AsVal_long(obj5, &val6);
38844 if (!SWIG_IsOK(ecode6)) {
38845 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38846 }
38847 arg6 = static_cast< long >(val6);
38848 }
38849 {
38850 PyThreadState* __tstate = wxPyBeginAllowThreads();
38851 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38852 wxPyEndAllowThreads(__tstate);
38853 if (PyErr_Occurred()) SWIG_fail;
38854 }
38855 {
38856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38857 }
38858 return resultobj;
38859 fail:
38860 return NULL;
38861 }
38862
38863
38864 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38865 PyObject *resultobj = 0;
38866 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38867 wxString *arg2 = 0 ;
38868 int arg3 ;
38869 void *argp1 = 0 ;
38870 int res1 = 0 ;
38871 bool temp2 = false ;
38872 int val3 ;
38873 int ecode3 = 0 ;
38874 PyObject * obj0 = 0 ;
38875 PyObject * obj1 = 0 ;
38876 PyObject * obj2 = 0 ;
38877 char * kwnames[] = {
38878 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38879 };
38880
38881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38883 if (!SWIG_IsOK(res1)) {
38884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38885 }
38886 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38887 {
38888 arg2 = wxString_in_helper(obj1);
38889 if (arg2 == NULL) SWIG_fail;
38890 temp2 = true;
38891 }
38892 ecode3 = SWIG_AsVal_int(obj2, &val3);
38893 if (!SWIG_IsOK(ecode3)) {
38894 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38895 }
38896 arg3 = static_cast< int >(val3);
38897 {
38898 PyThreadState* __tstate = wxPyBeginAllowThreads();
38899 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38900 wxPyEndAllowThreads(__tstate);
38901 if (PyErr_Occurred()) SWIG_fail;
38902 }
38903 resultobj = SWIG_Py_Void();
38904 {
38905 if (temp2)
38906 delete arg2;
38907 }
38908 return resultobj;
38909 fail:
38910 {
38911 if (temp2)
38912 delete arg2;
38913 }
38914 return NULL;
38915 }
38916
38917
38918 SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38919 PyObject *obj;
38920 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38921 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38922 return SWIG_Py_Void();
38923 }
38924
38925 SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38926 return SWIG_Python_InitShadowInstance(args);
38927 }
38928
38929 SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38930 PyObject *resultobj = 0;
38931 wxWindow *arg1 = (wxWindow *) 0 ;
38932 int arg2 = (int) (int)-1 ;
38933 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38934 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38935 wxSize const &arg4_defvalue = wxDefaultSize ;
38936 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38937 long arg5 = (long) 0 ;
38938 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38939 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38940 wxString const &arg7_defvalue = wxPyControlNameStr ;
38941 wxString *arg7 = (wxString *) &arg7_defvalue ;
38942 wxPyControl *result = 0 ;
38943 void *argp1 = 0 ;
38944 int res1 = 0 ;
38945 int val2 ;
38946 int ecode2 = 0 ;
38947 wxPoint temp3 ;
38948 wxSize temp4 ;
38949 long val5 ;
38950 int ecode5 = 0 ;
38951 void *argp6 = 0 ;
38952 int res6 = 0 ;
38953 bool temp7 = false ;
38954 PyObject * obj0 = 0 ;
38955 PyObject * obj1 = 0 ;
38956 PyObject * obj2 = 0 ;
38957 PyObject * obj3 = 0 ;
38958 PyObject * obj4 = 0 ;
38959 PyObject * obj5 = 0 ;
38960 PyObject * obj6 = 0 ;
38961 char * kwnames[] = {
38962 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38963 };
38964
38965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38967 if (!SWIG_IsOK(res1)) {
38968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38969 }
38970 arg1 = reinterpret_cast< wxWindow * >(argp1);
38971 if (obj1) {
38972 ecode2 = SWIG_AsVal_int(obj1, &val2);
38973 if (!SWIG_IsOK(ecode2)) {
38974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38975 }
38976 arg2 = static_cast< int >(val2);
38977 }
38978 if (obj2) {
38979 {
38980 arg3 = &temp3;
38981 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38982 }
38983 }
38984 if (obj3) {
38985 {
38986 arg4 = &temp4;
38987 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
38988 }
38989 }
38990 if (obj4) {
38991 ecode5 = SWIG_AsVal_long(obj4, &val5);
38992 if (!SWIG_IsOK(ecode5)) {
38993 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38994 }
38995 arg5 = static_cast< long >(val5);
38996 }
38997 if (obj5) {
38998 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38999 if (!SWIG_IsOK(res6)) {
39000 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39001 }
39002 if (!argp6) {
39003 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39004 }
39005 arg6 = reinterpret_cast< wxValidator * >(argp6);
39006 }
39007 if (obj6) {
39008 {
39009 arg7 = wxString_in_helper(obj6);
39010 if (arg7 == NULL) SWIG_fail;
39011 temp7 = true;
39012 }
39013 }
39014 {
39015 if (!wxPyCheckForApp()) SWIG_fail;
39016 PyThreadState* __tstate = wxPyBeginAllowThreads();
39017 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
39018 wxPyEndAllowThreads(__tstate);
39019 if (PyErr_Occurred()) SWIG_fail;
39020 }
39021 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
39022 {
39023 if (temp7)
39024 delete arg7;
39025 }
39026 return resultobj;
39027 fail:
39028 {
39029 if (temp7)
39030 delete arg7;
39031 }
39032 return NULL;
39033 }
39034
39035
39036 SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39037 PyObject *resultobj = 0;
39038 wxPyControl *result = 0 ;
39039
39040 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
39041 {
39042 if (!wxPyCheckForApp()) SWIG_fail;
39043 PyThreadState* __tstate = wxPyBeginAllowThreads();
39044 result = (wxPyControl *)new wxPyControl();
39045 wxPyEndAllowThreads(__tstate);
39046 if (PyErr_Occurred()) SWIG_fail;
39047 }
39048 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
39049 return resultobj;
39050 fail:
39051 return NULL;
39052 }
39053
39054
39055 SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39056 PyObject *resultobj = 0;
39057 wxPyControl *arg1 = (wxPyControl *) 0 ;
39058 PyObject *arg2 = (PyObject *) 0 ;
39059 PyObject *arg3 = (PyObject *) 0 ;
39060 void *argp1 = 0 ;
39061 int res1 = 0 ;
39062 PyObject * obj0 = 0 ;
39063 PyObject * obj1 = 0 ;
39064 PyObject * obj2 = 0 ;
39065 char * kwnames[] = {
39066 (char *) "self",(char *) "self",(char *) "_class", NULL
39067 };
39068
39069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39071 if (!SWIG_IsOK(res1)) {
39072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39073 }
39074 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39075 arg2 = obj1;
39076 arg3 = obj2;
39077 {
39078 PyThreadState* __tstate = wxPyBeginAllowThreads();
39079 (arg1)->_setCallbackInfo(arg2,arg3);
39080 wxPyEndAllowThreads(__tstate);
39081 if (PyErr_Occurred()) SWIG_fail;
39082 }
39083 resultobj = SWIG_Py_Void();
39084 return resultobj;
39085 fail:
39086 return NULL;
39087 }
39088
39089
39090 SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39091 PyObject *resultobj = 0;
39092 wxPyControl *arg1 = (wxPyControl *) 0 ;
39093 wxDC *arg2 = (wxDC *) 0 ;
39094 bool result;
39095 void *argp1 = 0 ;
39096 int res1 = 0 ;
39097 void *argp2 = 0 ;
39098 int res2 = 0 ;
39099 PyObject * obj0 = 0 ;
39100 PyObject * obj1 = 0 ;
39101 char * kwnames[] = {
39102 (char *) "self",(char *) "dc", NULL
39103 };
39104
39105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
39106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39107 if (!SWIG_IsOK(res1)) {
39108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39109 }
39110 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39111 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
39112 if (!SWIG_IsOK(res2)) {
39113 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39114 }
39115 arg2 = reinterpret_cast< wxDC * >(argp2);
39116 {
39117 PyThreadState* __tstate = wxPyBeginAllowThreads();
39118 result = (bool)(arg1)->DoEraseBackground(arg2);
39119 wxPyEndAllowThreads(__tstate);
39120 if (PyErr_Occurred()) SWIG_fail;
39121 }
39122 {
39123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39124 }
39125 return resultobj;
39126 fail:
39127 return NULL;
39128 }
39129
39130
39131 SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39132 PyObject *resultobj = 0;
39133 wxPyControl *arg1 = (wxPyControl *) 0 ;
39134 int arg2 ;
39135 int arg3 ;
39136 int arg4 ;
39137 int arg5 ;
39138 void *argp1 = 0 ;
39139 int res1 = 0 ;
39140 int val2 ;
39141 int ecode2 = 0 ;
39142 int val3 ;
39143 int ecode3 = 0 ;
39144 int val4 ;
39145 int ecode4 = 0 ;
39146 int val5 ;
39147 int ecode5 = 0 ;
39148 PyObject * obj0 = 0 ;
39149 PyObject * obj1 = 0 ;
39150 PyObject * obj2 = 0 ;
39151 PyObject * obj3 = 0 ;
39152 PyObject * obj4 = 0 ;
39153 char * kwnames[] = {
39154 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39155 };
39156
39157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39159 if (!SWIG_IsOK(res1)) {
39160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39161 }
39162 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39163 ecode2 = SWIG_AsVal_int(obj1, &val2);
39164 if (!SWIG_IsOK(ecode2)) {
39165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39166 }
39167 arg2 = static_cast< int >(val2);
39168 ecode3 = SWIG_AsVal_int(obj2, &val3);
39169 if (!SWIG_IsOK(ecode3)) {
39170 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39171 }
39172 arg3 = static_cast< int >(val3);
39173 ecode4 = SWIG_AsVal_int(obj3, &val4);
39174 if (!SWIG_IsOK(ecode4)) {
39175 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39176 }
39177 arg4 = static_cast< int >(val4);
39178 ecode5 = SWIG_AsVal_int(obj4, &val5);
39179 if (!SWIG_IsOK(ecode5)) {
39180 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39181 }
39182 arg5 = static_cast< int >(val5);
39183 {
39184 PyThreadState* __tstate = wxPyBeginAllowThreads();
39185 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
39186 wxPyEndAllowThreads(__tstate);
39187 if (PyErr_Occurred()) SWIG_fail;
39188 }
39189 resultobj = SWIG_Py_Void();
39190 return resultobj;
39191 fail:
39192 return NULL;
39193 }
39194
39195
39196 SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39197 PyObject *resultobj = 0;
39198 wxPyControl *arg1 = (wxPyControl *) 0 ;
39199 int arg2 ;
39200 int arg3 ;
39201 int arg4 ;
39202 int arg5 ;
39203 int arg6 = (int) wxSIZE_AUTO ;
39204 void *argp1 = 0 ;
39205 int res1 = 0 ;
39206 int val2 ;
39207 int ecode2 = 0 ;
39208 int val3 ;
39209 int ecode3 = 0 ;
39210 int val4 ;
39211 int ecode4 = 0 ;
39212 int val5 ;
39213 int ecode5 = 0 ;
39214 int val6 ;
39215 int ecode6 = 0 ;
39216 PyObject * obj0 = 0 ;
39217 PyObject * obj1 = 0 ;
39218 PyObject * obj2 = 0 ;
39219 PyObject * obj3 = 0 ;
39220 PyObject * obj4 = 0 ;
39221 PyObject * obj5 = 0 ;
39222 char * kwnames[] = {
39223 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39224 };
39225
39226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39228 if (!SWIG_IsOK(res1)) {
39229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39230 }
39231 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39232 ecode2 = SWIG_AsVal_int(obj1, &val2);
39233 if (!SWIG_IsOK(ecode2)) {
39234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39235 }
39236 arg2 = static_cast< int >(val2);
39237 ecode3 = SWIG_AsVal_int(obj2, &val3);
39238 if (!SWIG_IsOK(ecode3)) {
39239 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39240 }
39241 arg3 = static_cast< int >(val3);
39242 ecode4 = SWIG_AsVal_int(obj3, &val4);
39243 if (!SWIG_IsOK(ecode4)) {
39244 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39245 }
39246 arg4 = static_cast< int >(val4);
39247 ecode5 = SWIG_AsVal_int(obj4, &val5);
39248 if (!SWIG_IsOK(ecode5)) {
39249 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39250 }
39251 arg5 = static_cast< int >(val5);
39252 if (obj5) {
39253 ecode6 = SWIG_AsVal_int(obj5, &val6);
39254 if (!SWIG_IsOK(ecode6)) {
39255 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39256 }
39257 arg6 = static_cast< int >(val6);
39258 }
39259 {
39260 PyThreadState* __tstate = wxPyBeginAllowThreads();
39261 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
39262 wxPyEndAllowThreads(__tstate);
39263 if (PyErr_Occurred()) SWIG_fail;
39264 }
39265 resultobj = SWIG_Py_Void();
39266 return resultobj;
39267 fail:
39268 return NULL;
39269 }
39270
39271
39272 SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39273 PyObject *resultobj = 0;
39274 wxPyControl *arg1 = (wxPyControl *) 0 ;
39275 int arg2 ;
39276 int arg3 ;
39277 void *argp1 = 0 ;
39278 int res1 = 0 ;
39279 int val2 ;
39280 int ecode2 = 0 ;
39281 int val3 ;
39282 int ecode3 = 0 ;
39283 PyObject * obj0 = 0 ;
39284 PyObject * obj1 = 0 ;
39285 PyObject * obj2 = 0 ;
39286 char * kwnames[] = {
39287 (char *) "self",(char *) "width",(char *) "height", NULL
39288 };
39289
39290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39292 if (!SWIG_IsOK(res1)) {
39293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39294 }
39295 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39296 ecode2 = SWIG_AsVal_int(obj1, &val2);
39297 if (!SWIG_IsOK(ecode2)) {
39298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39299 }
39300 arg2 = static_cast< int >(val2);
39301 ecode3 = SWIG_AsVal_int(obj2, &val3);
39302 if (!SWIG_IsOK(ecode3)) {
39303 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39304 }
39305 arg3 = static_cast< int >(val3);
39306 {
39307 PyThreadState* __tstate = wxPyBeginAllowThreads();
39308 (arg1)->DoSetClientSize(arg2,arg3);
39309 wxPyEndAllowThreads(__tstate);
39310 if (PyErr_Occurred()) SWIG_fail;
39311 }
39312 resultobj = SWIG_Py_Void();
39313 return resultobj;
39314 fail:
39315 return NULL;
39316 }
39317
39318
39319 SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39320 PyObject *resultobj = 0;
39321 wxPyControl *arg1 = (wxPyControl *) 0 ;
39322 int arg2 ;
39323 int arg3 ;
39324 void *argp1 = 0 ;
39325 int res1 = 0 ;
39326 int val2 ;
39327 int ecode2 = 0 ;
39328 int val3 ;
39329 int ecode3 = 0 ;
39330 PyObject * obj0 = 0 ;
39331 PyObject * obj1 = 0 ;
39332 PyObject * obj2 = 0 ;
39333 char * kwnames[] = {
39334 (char *) "self",(char *) "x",(char *) "y", NULL
39335 };
39336
39337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39339 if (!SWIG_IsOK(res1)) {
39340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39341 }
39342 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39343 ecode2 = SWIG_AsVal_int(obj1, &val2);
39344 if (!SWIG_IsOK(ecode2)) {
39345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39346 }
39347 arg2 = static_cast< int >(val2);
39348 ecode3 = SWIG_AsVal_int(obj2, &val3);
39349 if (!SWIG_IsOK(ecode3)) {
39350 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39351 }
39352 arg3 = static_cast< int >(val3);
39353 {
39354 PyThreadState* __tstate = wxPyBeginAllowThreads();
39355 (arg1)->DoSetVirtualSize(arg2,arg3);
39356 wxPyEndAllowThreads(__tstate);
39357 if (PyErr_Occurred()) SWIG_fail;
39358 }
39359 resultobj = SWIG_Py_Void();
39360 return resultobj;
39361 fail:
39362 return NULL;
39363 }
39364
39365
39366 SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39367 PyObject *resultobj = 0;
39368 wxPyControl *arg1 = (wxPyControl *) 0 ;
39369 int *arg2 = (int *) 0 ;
39370 int *arg3 = (int *) 0 ;
39371 void *argp1 = 0 ;
39372 int res1 = 0 ;
39373 int temp2 ;
39374 int res2 = SWIG_TMPOBJ ;
39375 int temp3 ;
39376 int res3 = SWIG_TMPOBJ ;
39377 PyObject *swig_obj[1] ;
39378
39379 arg2 = &temp2;
39380 arg3 = &temp3;
39381 if (!args) SWIG_fail;
39382 swig_obj[0] = args;
39383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39384 if (!SWIG_IsOK(res1)) {
39385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39386 }
39387 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39388 {
39389 PyThreadState* __tstate = wxPyBeginAllowThreads();
39390 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39391 wxPyEndAllowThreads(__tstate);
39392 if (PyErr_Occurred()) SWIG_fail;
39393 }
39394 resultobj = SWIG_Py_Void();
39395 if (SWIG_IsTmpObj(res2)) {
39396 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39397 } else {
39398 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39399 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39400 }
39401 if (SWIG_IsTmpObj(res3)) {
39402 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39403 } else {
39404 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39405 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39406 }
39407 return resultobj;
39408 fail:
39409 return NULL;
39410 }
39411
39412
39413 SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39414 PyObject *resultobj = 0;
39415 wxPyControl *arg1 = (wxPyControl *) 0 ;
39416 int *arg2 = (int *) 0 ;
39417 int *arg3 = (int *) 0 ;
39418 void *argp1 = 0 ;
39419 int res1 = 0 ;
39420 int temp2 ;
39421 int res2 = SWIG_TMPOBJ ;
39422 int temp3 ;
39423 int res3 = SWIG_TMPOBJ ;
39424 PyObject *swig_obj[1] ;
39425
39426 arg2 = &temp2;
39427 arg3 = &temp3;
39428 if (!args) SWIG_fail;
39429 swig_obj[0] = args;
39430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39431 if (!SWIG_IsOK(res1)) {
39432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39433 }
39434 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39435 {
39436 PyThreadState* __tstate = wxPyBeginAllowThreads();
39437 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39438 wxPyEndAllowThreads(__tstate);
39439 if (PyErr_Occurred()) SWIG_fail;
39440 }
39441 resultobj = SWIG_Py_Void();
39442 if (SWIG_IsTmpObj(res2)) {
39443 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39444 } else {
39445 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39446 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39447 }
39448 if (SWIG_IsTmpObj(res3)) {
39449 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39450 } else {
39451 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39452 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39453 }
39454 return resultobj;
39455 fail:
39456 return NULL;
39457 }
39458
39459
39460 SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39461 PyObject *resultobj = 0;
39462 wxPyControl *arg1 = (wxPyControl *) 0 ;
39463 int *arg2 = (int *) 0 ;
39464 int *arg3 = (int *) 0 ;
39465 void *argp1 = 0 ;
39466 int res1 = 0 ;
39467 int temp2 ;
39468 int res2 = SWIG_TMPOBJ ;
39469 int temp3 ;
39470 int res3 = SWIG_TMPOBJ ;
39471 PyObject *swig_obj[1] ;
39472
39473 arg2 = &temp2;
39474 arg3 = &temp3;
39475 if (!args) SWIG_fail;
39476 swig_obj[0] = args;
39477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39478 if (!SWIG_IsOK(res1)) {
39479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39480 }
39481 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39482 {
39483 PyThreadState* __tstate = wxPyBeginAllowThreads();
39484 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39485 wxPyEndAllowThreads(__tstate);
39486 if (PyErr_Occurred()) SWIG_fail;
39487 }
39488 resultobj = SWIG_Py_Void();
39489 if (SWIG_IsTmpObj(res2)) {
39490 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39491 } else {
39492 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39493 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39494 }
39495 if (SWIG_IsTmpObj(res3)) {
39496 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39497 } else {
39498 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39499 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39500 }
39501 return resultobj;
39502 fail:
39503 return NULL;
39504 }
39505
39506
39507 SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39508 PyObject *resultobj = 0;
39509 wxPyControl *arg1 = (wxPyControl *) 0 ;
39510 wxSize result;
39511 void *argp1 = 0 ;
39512 int res1 = 0 ;
39513 PyObject *swig_obj[1] ;
39514
39515 if (!args) SWIG_fail;
39516 swig_obj[0] = args;
39517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39518 if (!SWIG_IsOK(res1)) {
39519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39520 }
39521 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39522 {
39523 PyThreadState* __tstate = wxPyBeginAllowThreads();
39524 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39525 wxPyEndAllowThreads(__tstate);
39526 if (PyErr_Occurred()) SWIG_fail;
39527 }
39528 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39529 return resultobj;
39530 fail:
39531 return NULL;
39532 }
39533
39534
39535 SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39536 PyObject *resultobj = 0;
39537 wxPyControl *arg1 = (wxPyControl *) 0 ;
39538 wxSize result;
39539 void *argp1 = 0 ;
39540 int res1 = 0 ;
39541 PyObject *swig_obj[1] ;
39542
39543 if (!args) SWIG_fail;
39544 swig_obj[0] = args;
39545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39546 if (!SWIG_IsOK(res1)) {
39547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39548 }
39549 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39550 {
39551 PyThreadState* __tstate = wxPyBeginAllowThreads();
39552 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39553 wxPyEndAllowThreads(__tstate);
39554 if (PyErr_Occurred()) SWIG_fail;
39555 }
39556 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39557 return resultobj;
39558 fail:
39559 return NULL;
39560 }
39561
39562
39563 SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39564 PyObject *resultobj = 0;
39565 wxPyControl *arg1 = (wxPyControl *) 0 ;
39566 SwigValueWrapper<wxVisualAttributes > result;
39567 void *argp1 = 0 ;
39568 int res1 = 0 ;
39569 PyObject *swig_obj[1] ;
39570
39571 if (!args) SWIG_fail;
39572 swig_obj[0] = args;
39573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39574 if (!SWIG_IsOK(res1)) {
39575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39576 }
39577 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39578 {
39579 PyThreadState* __tstate = wxPyBeginAllowThreads();
39580 result = (arg1)->GetDefaultAttributes();
39581 wxPyEndAllowThreads(__tstate);
39582 if (PyErr_Occurred()) SWIG_fail;
39583 }
39584 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39585 return resultobj;
39586 fail:
39587 return NULL;
39588 }
39589
39590
39591 SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39592 PyObject *resultobj = 0;
39593 wxPyControl *arg1 = (wxPyControl *) 0 ;
39594 void *argp1 = 0 ;
39595 int res1 = 0 ;
39596 PyObject *swig_obj[1] ;
39597
39598 if (!args) SWIG_fail;
39599 swig_obj[0] = args;
39600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39601 if (!SWIG_IsOK(res1)) {
39602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39603 }
39604 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39605 {
39606 PyThreadState* __tstate = wxPyBeginAllowThreads();
39607 (arg1)->OnInternalIdle();
39608 wxPyEndAllowThreads(__tstate);
39609 if (PyErr_Occurred()) SWIG_fail;
39610 }
39611 resultobj = SWIG_Py_Void();
39612 return resultobj;
39613 fail:
39614 return NULL;
39615 }
39616
39617
39618 SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39619 PyObject *obj;
39620 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39621 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39622 return SWIG_Py_Void();
39623 }
39624
39625 SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39626 return SWIG_Python_InitShadowInstance(args);
39627 }
39628
39629 SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39630 PyObject *resultobj = 0;
39631 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39632 int arg2 = (int) 0 ;
39633 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39634 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39635 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
39636 wxHelpEvent *result = 0 ;
39637 int val1 ;
39638 int ecode1 = 0 ;
39639 int val2 ;
39640 int ecode2 = 0 ;
39641 wxPoint temp3 ;
39642 int val4 ;
39643 int ecode4 = 0 ;
39644 PyObject * obj0 = 0 ;
39645 PyObject * obj1 = 0 ;
39646 PyObject * obj2 = 0 ;
39647 PyObject * obj3 = 0 ;
39648 char * kwnames[] = {
39649 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39650 };
39651
39652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
39653 if (obj0) {
39654 ecode1 = SWIG_AsVal_int(obj0, &val1);
39655 if (!SWIG_IsOK(ecode1)) {
39656 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39657 }
39658 arg1 = static_cast< wxEventType >(val1);
39659 }
39660 if (obj1) {
39661 ecode2 = SWIG_AsVal_int(obj1, &val2);
39662 if (!SWIG_IsOK(ecode2)) {
39663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39664 }
39665 arg2 = static_cast< int >(val2);
39666 }
39667 if (obj2) {
39668 {
39669 arg3 = &temp3;
39670 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39671 }
39672 }
39673 if (obj3) {
39674 ecode4 = SWIG_AsVal_int(obj3, &val4);
39675 if (!SWIG_IsOK(ecode4)) {
39676 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39677 }
39678 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39679 }
39680 {
39681 PyThreadState* __tstate = wxPyBeginAllowThreads();
39682 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
39683 wxPyEndAllowThreads(__tstate);
39684 if (PyErr_Occurred()) SWIG_fail;
39685 }
39686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39687 return resultobj;
39688 fail:
39689 return NULL;
39690 }
39691
39692
39693 SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39694 PyObject *resultobj = 0;
39695 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39696 wxPoint result;
39697 void *argp1 = 0 ;
39698 int res1 = 0 ;
39699 PyObject *swig_obj[1] ;
39700
39701 if (!args) SWIG_fail;
39702 swig_obj[0] = args;
39703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39704 if (!SWIG_IsOK(res1)) {
39705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39706 }
39707 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39708 {
39709 PyThreadState* __tstate = wxPyBeginAllowThreads();
39710 result = ((wxHelpEvent const *)arg1)->GetPosition();
39711 wxPyEndAllowThreads(__tstate);
39712 if (PyErr_Occurred()) SWIG_fail;
39713 }
39714 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39715 return resultobj;
39716 fail:
39717 return NULL;
39718 }
39719
39720
39721 SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39722 PyObject *resultobj = 0;
39723 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39724 wxPoint *arg2 = 0 ;
39725 void *argp1 = 0 ;
39726 int res1 = 0 ;
39727 wxPoint temp2 ;
39728 PyObject * obj0 = 0 ;
39729 PyObject * obj1 = 0 ;
39730 char * kwnames[] = {
39731 (char *) "self",(char *) "pos", NULL
39732 };
39733
39734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39736 if (!SWIG_IsOK(res1)) {
39737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39738 }
39739 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39740 {
39741 arg2 = &temp2;
39742 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39743 }
39744 {
39745 PyThreadState* __tstate = wxPyBeginAllowThreads();
39746 (arg1)->SetPosition((wxPoint const &)*arg2);
39747 wxPyEndAllowThreads(__tstate);
39748 if (PyErr_Occurred()) SWIG_fail;
39749 }
39750 resultobj = SWIG_Py_Void();
39751 return resultobj;
39752 fail:
39753 return NULL;
39754 }
39755
39756
39757 SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39758 PyObject *resultobj = 0;
39759 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39760 wxString *result = 0 ;
39761 void *argp1 = 0 ;
39762 int res1 = 0 ;
39763 PyObject *swig_obj[1] ;
39764
39765 if (!args) SWIG_fail;
39766 swig_obj[0] = args;
39767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39768 if (!SWIG_IsOK(res1)) {
39769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39770 }
39771 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39772 {
39773 PyThreadState* __tstate = wxPyBeginAllowThreads();
39774 {
39775 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39776 result = (wxString *) &_result_ref;
39777 }
39778 wxPyEndAllowThreads(__tstate);
39779 if (PyErr_Occurred()) SWIG_fail;
39780 }
39781 {
39782 #if wxUSE_UNICODE
39783 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39784 #else
39785 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39786 #endif
39787 }
39788 return resultobj;
39789 fail:
39790 return NULL;
39791 }
39792
39793
39794 SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39795 PyObject *resultobj = 0;
39796 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39797 wxString *arg2 = 0 ;
39798 void *argp1 = 0 ;
39799 int res1 = 0 ;
39800 bool temp2 = false ;
39801 PyObject * obj0 = 0 ;
39802 PyObject * obj1 = 0 ;
39803 char * kwnames[] = {
39804 (char *) "self",(char *) "link", NULL
39805 };
39806
39807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39809 if (!SWIG_IsOK(res1)) {
39810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39811 }
39812 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39813 {
39814 arg2 = wxString_in_helper(obj1);
39815 if (arg2 == NULL) SWIG_fail;
39816 temp2 = true;
39817 }
39818 {
39819 PyThreadState* __tstate = wxPyBeginAllowThreads();
39820 (arg1)->SetLink((wxString const &)*arg2);
39821 wxPyEndAllowThreads(__tstate);
39822 if (PyErr_Occurred()) SWIG_fail;
39823 }
39824 resultobj = SWIG_Py_Void();
39825 {
39826 if (temp2)
39827 delete arg2;
39828 }
39829 return resultobj;
39830 fail:
39831 {
39832 if (temp2)
39833 delete arg2;
39834 }
39835 return NULL;
39836 }
39837
39838
39839 SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39840 PyObject *resultobj = 0;
39841 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39842 wxString *result = 0 ;
39843 void *argp1 = 0 ;
39844 int res1 = 0 ;
39845 PyObject *swig_obj[1] ;
39846
39847 if (!args) SWIG_fail;
39848 swig_obj[0] = args;
39849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39850 if (!SWIG_IsOK(res1)) {
39851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39852 }
39853 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39854 {
39855 PyThreadState* __tstate = wxPyBeginAllowThreads();
39856 {
39857 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39858 result = (wxString *) &_result_ref;
39859 }
39860 wxPyEndAllowThreads(__tstate);
39861 if (PyErr_Occurred()) SWIG_fail;
39862 }
39863 {
39864 #if wxUSE_UNICODE
39865 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39866 #else
39867 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39868 #endif
39869 }
39870 return resultobj;
39871 fail:
39872 return NULL;
39873 }
39874
39875
39876 SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39877 PyObject *resultobj = 0;
39878 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39879 wxString *arg2 = 0 ;
39880 void *argp1 = 0 ;
39881 int res1 = 0 ;
39882 bool temp2 = false ;
39883 PyObject * obj0 = 0 ;
39884 PyObject * obj1 = 0 ;
39885 char * kwnames[] = {
39886 (char *) "self",(char *) "target", NULL
39887 };
39888
39889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39891 if (!SWIG_IsOK(res1)) {
39892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39893 }
39894 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39895 {
39896 arg2 = wxString_in_helper(obj1);
39897 if (arg2 == NULL) SWIG_fail;
39898 temp2 = true;
39899 }
39900 {
39901 PyThreadState* __tstate = wxPyBeginAllowThreads();
39902 (arg1)->SetTarget((wxString const &)*arg2);
39903 wxPyEndAllowThreads(__tstate);
39904 if (PyErr_Occurred()) SWIG_fail;
39905 }
39906 resultobj = SWIG_Py_Void();
39907 {
39908 if (temp2)
39909 delete arg2;
39910 }
39911 return resultobj;
39912 fail:
39913 {
39914 if (temp2)
39915 delete arg2;
39916 }
39917 return NULL;
39918 }
39919
39920
39921 SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39922 PyObject *resultobj = 0;
39923 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39924 wxHelpEvent::Origin result;
39925 void *argp1 = 0 ;
39926 int res1 = 0 ;
39927 PyObject *swig_obj[1] ;
39928
39929 if (!args) SWIG_fail;
39930 swig_obj[0] = args;
39931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39932 if (!SWIG_IsOK(res1)) {
39933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39934 }
39935 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39936 {
39937 PyThreadState* __tstate = wxPyBeginAllowThreads();
39938 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39939 wxPyEndAllowThreads(__tstate);
39940 if (PyErr_Occurred()) SWIG_fail;
39941 }
39942 resultobj = SWIG_From_int(static_cast< int >(result));
39943 return resultobj;
39944 fail:
39945 return NULL;
39946 }
39947
39948
39949 SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39950 PyObject *resultobj = 0;
39951 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39952 wxHelpEvent::Origin arg2 ;
39953 void *argp1 = 0 ;
39954 int res1 = 0 ;
39955 int val2 ;
39956 int ecode2 = 0 ;
39957 PyObject * obj0 = 0 ;
39958 PyObject * obj1 = 0 ;
39959 char * kwnames[] = {
39960 (char *) "self",(char *) "origin", NULL
39961 };
39962
39963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39965 if (!SWIG_IsOK(res1)) {
39966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39967 }
39968 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39969 ecode2 = SWIG_AsVal_int(obj1, &val2);
39970 if (!SWIG_IsOK(ecode2)) {
39971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39972 }
39973 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39974 {
39975 PyThreadState* __tstate = wxPyBeginAllowThreads();
39976 (arg1)->SetOrigin(arg2);
39977 wxPyEndAllowThreads(__tstate);
39978 if (PyErr_Occurred()) SWIG_fail;
39979 }
39980 resultobj = SWIG_Py_Void();
39981 return resultobj;
39982 fail:
39983 return NULL;
39984 }
39985
39986
39987 SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39988 PyObject *obj;
39989 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39990 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
39991 return SWIG_Py_Void();
39992 }
39993
39994 SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39995 return SWIG_Python_InitShadowInstance(args);
39996 }
39997
39998 SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39999 PyObject *resultobj = 0;
40000 wxWindow *arg1 = (wxWindow *) NULL ;
40001 bool arg2 = (bool) true ;
40002 wxContextHelp *result = 0 ;
40003 void *argp1 = 0 ;
40004 int res1 = 0 ;
40005 bool val2 ;
40006 int ecode2 = 0 ;
40007 PyObject * obj0 = 0 ;
40008 PyObject * obj1 = 0 ;
40009 char * kwnames[] = {
40010 (char *) "window",(char *) "doNow", NULL
40011 };
40012
40013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40014 if (obj0) {
40015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40016 if (!SWIG_IsOK(res1)) {
40017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40018 }
40019 arg1 = reinterpret_cast< wxWindow * >(argp1);
40020 }
40021 if (obj1) {
40022 ecode2 = SWIG_AsVal_bool(obj1, &val2);
40023 if (!SWIG_IsOK(ecode2)) {
40024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40025 }
40026 arg2 = static_cast< bool >(val2);
40027 }
40028 {
40029 if (!wxPyCheckForApp()) SWIG_fail;
40030 PyThreadState* __tstate = wxPyBeginAllowThreads();
40031 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
40032 wxPyEndAllowThreads(__tstate);
40033 if (PyErr_Occurred()) SWIG_fail;
40034 }
40035 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
40036 return resultobj;
40037 fail:
40038 return NULL;
40039 }
40040
40041
40042 SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40043 PyObject *resultobj = 0;
40044 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40045 void *argp1 = 0 ;
40046 int res1 = 0 ;
40047 PyObject *swig_obj[1] ;
40048
40049 if (!args) SWIG_fail;
40050 swig_obj[0] = args;
40051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
40052 if (!SWIG_IsOK(res1)) {
40053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40054 }
40055 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40056 {
40057 PyThreadState* __tstate = wxPyBeginAllowThreads();
40058 delete arg1;
40059
40060 wxPyEndAllowThreads(__tstate);
40061 if (PyErr_Occurred()) SWIG_fail;
40062 }
40063 resultobj = SWIG_Py_Void();
40064 return resultobj;
40065 fail:
40066 return NULL;
40067 }
40068
40069
40070 SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40071 PyObject *resultobj = 0;
40072 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40073 wxWindow *arg2 = (wxWindow *) NULL ;
40074 bool result;
40075 void *argp1 = 0 ;
40076 int res1 = 0 ;
40077 void *argp2 = 0 ;
40078 int res2 = 0 ;
40079 PyObject * obj0 = 0 ;
40080 PyObject * obj1 = 0 ;
40081 char * kwnames[] = {
40082 (char *) "self",(char *) "window", NULL
40083 };
40084
40085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40087 if (!SWIG_IsOK(res1)) {
40088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40089 }
40090 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40091 if (obj1) {
40092 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40093 if (!SWIG_IsOK(res2)) {
40094 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40095 }
40096 arg2 = reinterpret_cast< wxWindow * >(argp2);
40097 }
40098 {
40099 PyThreadState* __tstate = wxPyBeginAllowThreads();
40100 result = (bool)(arg1)->BeginContextHelp(arg2);
40101 wxPyEndAllowThreads(__tstate);
40102 if (PyErr_Occurred()) SWIG_fail;
40103 }
40104 {
40105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40106 }
40107 return resultobj;
40108 fail:
40109 return NULL;
40110 }
40111
40112
40113 SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40114 PyObject *resultobj = 0;
40115 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40116 bool result;
40117 void *argp1 = 0 ;
40118 int res1 = 0 ;
40119 PyObject *swig_obj[1] ;
40120
40121 if (!args) SWIG_fail;
40122 swig_obj[0] = args;
40123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40124 if (!SWIG_IsOK(res1)) {
40125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40126 }
40127 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40128 {
40129 PyThreadState* __tstate = wxPyBeginAllowThreads();
40130 result = (bool)(arg1)->EndContextHelp();
40131 wxPyEndAllowThreads(__tstate);
40132 if (PyErr_Occurred()) SWIG_fail;
40133 }
40134 {
40135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40136 }
40137 return resultobj;
40138 fail:
40139 return NULL;
40140 }
40141
40142
40143 SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40144 PyObject *obj;
40145 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40146 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
40147 return SWIG_Py_Void();
40148 }
40149
40150 SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40151 return SWIG_Python_InitShadowInstance(args);
40152 }
40153
40154 SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40155 PyObject *resultobj = 0;
40156 wxWindow *arg1 = (wxWindow *) 0 ;
40157 int arg2 = (int) wxID_CONTEXT_HELP ;
40158 wxPoint const &arg3_defvalue = wxDefaultPosition ;
40159 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
40160 wxSize const &arg4_defvalue = wxDefaultSize ;
40161 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
40162 long arg5 = (long) wxBU_AUTODRAW ;
40163 wxContextHelpButton *result = 0 ;
40164 void *argp1 = 0 ;
40165 int res1 = 0 ;
40166 int val2 ;
40167 int ecode2 = 0 ;
40168 wxPoint temp3 ;
40169 wxSize temp4 ;
40170 long val5 ;
40171 int ecode5 = 0 ;
40172 PyObject * obj0 = 0 ;
40173 PyObject * obj1 = 0 ;
40174 PyObject * obj2 = 0 ;
40175 PyObject * obj3 = 0 ;
40176 PyObject * obj4 = 0 ;
40177 char * kwnames[] = {
40178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40179 };
40180
40181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40183 if (!SWIG_IsOK(res1)) {
40184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40185 }
40186 arg1 = reinterpret_cast< wxWindow * >(argp1);
40187 if (obj1) {
40188 ecode2 = SWIG_AsVal_int(obj1, &val2);
40189 if (!SWIG_IsOK(ecode2)) {
40190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40191 }
40192 arg2 = static_cast< int >(val2);
40193 }
40194 if (obj2) {
40195 {
40196 arg3 = &temp3;
40197 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40198 }
40199 }
40200 if (obj3) {
40201 {
40202 arg4 = &temp4;
40203 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
40204 }
40205 }
40206 if (obj4) {
40207 ecode5 = SWIG_AsVal_long(obj4, &val5);
40208 if (!SWIG_IsOK(ecode5)) {
40209 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40210 }
40211 arg5 = static_cast< long >(val5);
40212 }
40213 {
40214 if (!wxPyCheckForApp()) SWIG_fail;
40215 PyThreadState* __tstate = wxPyBeginAllowThreads();
40216 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
40217 wxPyEndAllowThreads(__tstate);
40218 if (PyErr_Occurred()) SWIG_fail;
40219 }
40220 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
40221 return resultobj;
40222 fail:
40223 return NULL;
40224 }
40225
40226
40227 SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40228 PyObject *obj;
40229 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40230 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
40231 return SWIG_Py_Void();
40232 }
40233
40234 SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40235 return SWIG_Python_InitShadowInstance(args);
40236 }
40237
40238 SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40239 PyObject *resultobj = 0;
40240 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40241 void *argp1 = 0 ;
40242 int res1 = 0 ;
40243 PyObject *swig_obj[1] ;
40244
40245 if (!args) SWIG_fail;
40246 swig_obj[0] = args;
40247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40248 if (!SWIG_IsOK(res1)) {
40249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40250 }
40251 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40252 {
40253 PyThreadState* __tstate = wxPyBeginAllowThreads();
40254 delete arg1;
40255
40256 wxPyEndAllowThreads(__tstate);
40257 if (PyErr_Occurred()) SWIG_fail;
40258 }
40259 resultobj = SWIG_Py_Void();
40260 return resultobj;
40261 fail:
40262 return NULL;
40263 }
40264
40265
40266 SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40267 PyObject *resultobj = 0;
40268 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40269 wxHelpProvider *result = 0 ;
40270 int res1 = 0 ;
40271 PyObject * obj0 = 0 ;
40272 char * kwnames[] = {
40273 (char *) "helpProvider", NULL
40274 };
40275
40276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
40277 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40278 if (!SWIG_IsOK(res1)) {
40279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40280 }
40281 {
40282 PyThreadState* __tstate = wxPyBeginAllowThreads();
40283 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40284 wxPyEndAllowThreads(__tstate);
40285 if (PyErr_Occurred()) SWIG_fail;
40286 }
40287 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40288 return resultobj;
40289 fail:
40290 return NULL;
40291 }
40292
40293
40294 SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40295 PyObject *resultobj = 0;
40296 wxHelpProvider *result = 0 ;
40297
40298 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40299 {
40300 PyThreadState* __tstate = wxPyBeginAllowThreads();
40301 result = (wxHelpProvider *)wxHelpProvider::Get();
40302 wxPyEndAllowThreads(__tstate);
40303 if (PyErr_Occurred()) SWIG_fail;
40304 }
40305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40306 return resultobj;
40307 fail:
40308 return NULL;
40309 }
40310
40311
40312 SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40313 PyObject *resultobj = 0;
40314 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40315 wxWindow *arg2 = (wxWindow *) 0 ;
40316 wxString result;
40317 void *argp1 = 0 ;
40318 int res1 = 0 ;
40319 void *argp2 = 0 ;
40320 int res2 = 0 ;
40321 PyObject * obj0 = 0 ;
40322 PyObject * obj1 = 0 ;
40323 char * kwnames[] = {
40324 (char *) "self",(char *) "window", NULL
40325 };
40326
40327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40329 if (!SWIG_IsOK(res1)) {
40330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40331 }
40332 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40333 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40334 if (!SWIG_IsOK(res2)) {
40335 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40336 }
40337 arg2 = reinterpret_cast< wxWindow * >(argp2);
40338 {
40339 PyThreadState* __tstate = wxPyBeginAllowThreads();
40340 result = (arg1)->GetHelp((wxWindow const *)arg2);
40341 wxPyEndAllowThreads(__tstate);
40342 if (PyErr_Occurred()) SWIG_fail;
40343 }
40344 {
40345 #if wxUSE_UNICODE
40346 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40347 #else
40348 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40349 #endif
40350 }
40351 return resultobj;
40352 fail:
40353 return NULL;
40354 }
40355
40356
40357 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40358 PyObject *resultobj = 0;
40359 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40360 wxWindow *arg2 = (wxWindow *) 0 ;
40361 bool result;
40362 void *argp1 = 0 ;
40363 int res1 = 0 ;
40364 void *argp2 = 0 ;
40365 int res2 = 0 ;
40366 PyObject * obj0 = 0 ;
40367 PyObject * obj1 = 0 ;
40368 char * kwnames[] = {
40369 (char *) "self",(char *) "window", NULL
40370 };
40371
40372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40374 if (!SWIG_IsOK(res1)) {
40375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40376 }
40377 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40378 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40379 if (!SWIG_IsOK(res2)) {
40380 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40381 }
40382 arg2 = reinterpret_cast< wxWindow * >(argp2);
40383 {
40384 PyThreadState* __tstate = wxPyBeginAllowThreads();
40385 result = (bool)(arg1)->ShowHelp(arg2);
40386 wxPyEndAllowThreads(__tstate);
40387 if (PyErr_Occurred()) SWIG_fail;
40388 }
40389 {
40390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40391 }
40392 return resultobj;
40393 fail:
40394 return NULL;
40395 }
40396
40397
40398 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40399 PyObject *resultobj = 0;
40400 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40401 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40402 wxPoint *arg3 = 0 ;
40403 wxHelpEvent::Origin arg4 ;
40404 bool result;
40405 void *argp1 = 0 ;
40406 int res1 = 0 ;
40407 void *argp2 = 0 ;
40408 int res2 = 0 ;
40409 wxPoint temp3 ;
40410 int val4 ;
40411 int ecode4 = 0 ;
40412 PyObject * obj0 = 0 ;
40413 PyObject * obj1 = 0 ;
40414 PyObject * obj2 = 0 ;
40415 PyObject * obj3 = 0 ;
40416 char * kwnames[] = {
40417 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40418 };
40419
40420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40422 if (!SWIG_IsOK(res1)) {
40423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40424 }
40425 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40426 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40427 if (!SWIG_IsOK(res2)) {
40428 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40429 }
40430 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40431 {
40432 arg3 = &temp3;
40433 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40434 }
40435 ecode4 = SWIG_AsVal_int(obj3, &val4);
40436 if (!SWIG_IsOK(ecode4)) {
40437 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40438 }
40439 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40440 {
40441 PyThreadState* __tstate = wxPyBeginAllowThreads();
40442 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40443 wxPyEndAllowThreads(__tstate);
40444 if (PyErr_Occurred()) SWIG_fail;
40445 }
40446 {
40447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40448 }
40449 return resultobj;
40450 fail:
40451 return NULL;
40452 }
40453
40454
40455 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40456 PyObject *resultobj = 0;
40457 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40458 wxWindow *arg2 = (wxWindow *) 0 ;
40459 wxString *arg3 = 0 ;
40460 void *argp1 = 0 ;
40461 int res1 = 0 ;
40462 void *argp2 = 0 ;
40463 int res2 = 0 ;
40464 bool temp3 = false ;
40465 PyObject * obj0 = 0 ;
40466 PyObject * obj1 = 0 ;
40467 PyObject * obj2 = 0 ;
40468 char * kwnames[] = {
40469 (char *) "self",(char *) "window",(char *) "text", NULL
40470 };
40471
40472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40474 if (!SWIG_IsOK(res1)) {
40475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40476 }
40477 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40478 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40479 if (!SWIG_IsOK(res2)) {
40480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40481 }
40482 arg2 = reinterpret_cast< wxWindow * >(argp2);
40483 {
40484 arg3 = wxString_in_helper(obj2);
40485 if (arg3 == NULL) SWIG_fail;
40486 temp3 = true;
40487 }
40488 {
40489 PyThreadState* __tstate = wxPyBeginAllowThreads();
40490 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40491 wxPyEndAllowThreads(__tstate);
40492 if (PyErr_Occurred()) SWIG_fail;
40493 }
40494 resultobj = SWIG_Py_Void();
40495 {
40496 if (temp3)
40497 delete arg3;
40498 }
40499 return resultobj;
40500 fail:
40501 {
40502 if (temp3)
40503 delete arg3;
40504 }
40505 return NULL;
40506 }
40507
40508
40509 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40510 PyObject *resultobj = 0;
40511 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40512 int arg2 ;
40513 wxString *arg3 = 0 ;
40514 void *argp1 = 0 ;
40515 int res1 = 0 ;
40516 int val2 ;
40517 int ecode2 = 0 ;
40518 bool temp3 = false ;
40519 PyObject * obj0 = 0 ;
40520 PyObject * obj1 = 0 ;
40521 PyObject * obj2 = 0 ;
40522 char * kwnames[] = {
40523 (char *) "self",(char *) "id",(char *) "text", NULL
40524 };
40525
40526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40528 if (!SWIG_IsOK(res1)) {
40529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40530 }
40531 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40532 ecode2 = SWIG_AsVal_int(obj1, &val2);
40533 if (!SWIG_IsOK(ecode2)) {
40534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40535 }
40536 arg2 = static_cast< int >(val2);
40537 {
40538 arg3 = wxString_in_helper(obj2);
40539 if (arg3 == NULL) SWIG_fail;
40540 temp3 = true;
40541 }
40542 {
40543 PyThreadState* __tstate = wxPyBeginAllowThreads();
40544 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40545 wxPyEndAllowThreads(__tstate);
40546 if (PyErr_Occurred()) SWIG_fail;
40547 }
40548 resultobj = SWIG_Py_Void();
40549 {
40550 if (temp3)
40551 delete arg3;
40552 }
40553 return resultobj;
40554 fail:
40555 {
40556 if (temp3)
40557 delete arg3;
40558 }
40559 return NULL;
40560 }
40561
40562
40563 SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40564 PyObject *resultobj = 0;
40565 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40566 wxWindow *arg2 = (wxWindow *) 0 ;
40567 void *argp1 = 0 ;
40568 int res1 = 0 ;
40569 void *argp2 = 0 ;
40570 int res2 = 0 ;
40571 PyObject * obj0 = 0 ;
40572 PyObject * obj1 = 0 ;
40573 char * kwnames[] = {
40574 (char *) "self",(char *) "window", NULL
40575 };
40576
40577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40579 if (!SWIG_IsOK(res1)) {
40580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40581 }
40582 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40583 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40584 if (!SWIG_IsOK(res2)) {
40585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40586 }
40587 arg2 = reinterpret_cast< wxWindow * >(argp2);
40588 {
40589 PyThreadState* __tstate = wxPyBeginAllowThreads();
40590 (arg1)->RemoveHelp(arg2);
40591 wxPyEndAllowThreads(__tstate);
40592 if (PyErr_Occurred()) SWIG_fail;
40593 }
40594 resultobj = SWIG_Py_Void();
40595 return resultobj;
40596 fail:
40597 return NULL;
40598 }
40599
40600
40601 SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40602 PyObject *resultobj = 0;
40603 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40604 void *argp1 = 0 ;
40605 int res1 = 0 ;
40606 PyObject *swig_obj[1] ;
40607
40608 if (!args) SWIG_fail;
40609 swig_obj[0] = args;
40610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40611 if (!SWIG_IsOK(res1)) {
40612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40613 }
40614 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40615 {
40616 PyThreadState* __tstate = wxPyBeginAllowThreads();
40617 wxHelpProvider_Destroy(arg1);
40618 wxPyEndAllowThreads(__tstate);
40619 if (PyErr_Occurred()) SWIG_fail;
40620 }
40621 resultobj = SWIG_Py_Void();
40622 return resultobj;
40623 fail:
40624 return NULL;
40625 }
40626
40627
40628 SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40629 PyObject *obj;
40630 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40631 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40632 return SWIG_Py_Void();
40633 }
40634
40635 SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40636 PyObject *resultobj = 0;
40637 wxSimpleHelpProvider *result = 0 ;
40638
40639 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40640 {
40641 PyThreadState* __tstate = wxPyBeginAllowThreads();
40642 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40643 wxPyEndAllowThreads(__tstate);
40644 if (PyErr_Occurred()) SWIG_fail;
40645 }
40646 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40647 return resultobj;
40648 fail:
40649 return NULL;
40650 }
40651
40652
40653 SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40654 PyObject *obj;
40655 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40656 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40657 return SWIG_Py_Void();
40658 }
40659
40660 SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40661 return SWIG_Python_InitShadowInstance(args);
40662 }
40663
40664 SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40665 PyObject *resultobj = 0;
40666 wxBitmap *arg1 = 0 ;
40667 wxCursor const &arg2_defvalue = wxNullCursor ;
40668 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40669 wxGenericDragImage *result = 0 ;
40670 void *argp1 = 0 ;
40671 int res1 = 0 ;
40672 void *argp2 = 0 ;
40673 int res2 = 0 ;
40674 PyObject * obj0 = 0 ;
40675 PyObject * obj1 = 0 ;
40676 char * kwnames[] = {
40677 (char *) "image",(char *) "cursor", NULL
40678 };
40679
40680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40681 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40682 if (!SWIG_IsOK(res1)) {
40683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40684 }
40685 if (!argp1) {
40686 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40687 }
40688 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40689 if (obj1) {
40690 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40691 if (!SWIG_IsOK(res2)) {
40692 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40693 }
40694 if (!argp2) {
40695 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40696 }
40697 arg2 = reinterpret_cast< wxCursor * >(argp2);
40698 }
40699 {
40700 if (!wxPyCheckForApp()) SWIG_fail;
40701 PyThreadState* __tstate = wxPyBeginAllowThreads();
40702 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40703 wxPyEndAllowThreads(__tstate);
40704 if (PyErr_Occurred()) SWIG_fail;
40705 }
40706 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40707 return resultobj;
40708 fail:
40709 return NULL;
40710 }
40711
40712
40713 SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40714 PyObject *resultobj = 0;
40715 wxIcon *arg1 = 0 ;
40716 wxCursor const &arg2_defvalue = wxNullCursor ;
40717 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40718 wxGenericDragImage *result = 0 ;
40719 void *argp1 = 0 ;
40720 int res1 = 0 ;
40721 void *argp2 = 0 ;
40722 int res2 = 0 ;
40723 PyObject * obj0 = 0 ;
40724 PyObject * obj1 = 0 ;
40725 char * kwnames[] = {
40726 (char *) "image",(char *) "cursor", NULL
40727 };
40728
40729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40730 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40731 if (!SWIG_IsOK(res1)) {
40732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40733 }
40734 if (!argp1) {
40735 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40736 }
40737 arg1 = reinterpret_cast< wxIcon * >(argp1);
40738 if (obj1) {
40739 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40740 if (!SWIG_IsOK(res2)) {
40741 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40742 }
40743 if (!argp2) {
40744 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40745 }
40746 arg2 = reinterpret_cast< wxCursor * >(argp2);
40747 }
40748 {
40749 if (!wxPyCheckForApp()) SWIG_fail;
40750 PyThreadState* __tstate = wxPyBeginAllowThreads();
40751 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40752 wxPyEndAllowThreads(__tstate);
40753 if (PyErr_Occurred()) SWIG_fail;
40754 }
40755 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40756 return resultobj;
40757 fail:
40758 return NULL;
40759 }
40760
40761
40762 SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40763 PyObject *resultobj = 0;
40764 wxString *arg1 = 0 ;
40765 wxCursor const &arg2_defvalue = wxNullCursor ;
40766 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40767 wxGenericDragImage *result = 0 ;
40768 bool temp1 = false ;
40769 void *argp2 = 0 ;
40770 int res2 = 0 ;
40771 PyObject * obj0 = 0 ;
40772 PyObject * obj1 = 0 ;
40773 char * kwnames[] = {
40774 (char *) "str",(char *) "cursor", NULL
40775 };
40776
40777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40778 {
40779 arg1 = wxString_in_helper(obj0);
40780 if (arg1 == NULL) SWIG_fail;
40781 temp1 = true;
40782 }
40783 if (obj1) {
40784 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40785 if (!SWIG_IsOK(res2)) {
40786 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40787 }
40788 if (!argp2) {
40789 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40790 }
40791 arg2 = reinterpret_cast< wxCursor * >(argp2);
40792 }
40793 {
40794 if (!wxPyCheckForApp()) SWIG_fail;
40795 PyThreadState* __tstate = wxPyBeginAllowThreads();
40796 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40797 wxPyEndAllowThreads(__tstate);
40798 if (PyErr_Occurred()) SWIG_fail;
40799 }
40800 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40801 {
40802 if (temp1)
40803 delete arg1;
40804 }
40805 return resultobj;
40806 fail:
40807 {
40808 if (temp1)
40809 delete arg1;
40810 }
40811 return NULL;
40812 }
40813
40814
40815 SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40816 PyObject *resultobj = 0;
40817 wxPyTreeCtrl *arg1 = 0 ;
40818 wxTreeItemId *arg2 = 0 ;
40819 wxGenericDragImage *result = 0 ;
40820 void *argp1 = 0 ;
40821 int res1 = 0 ;
40822 void *argp2 = 0 ;
40823 int res2 = 0 ;
40824 PyObject * obj0 = 0 ;
40825 PyObject * obj1 = 0 ;
40826 char * kwnames[] = {
40827 (char *) "treeCtrl",(char *) "id", NULL
40828 };
40829
40830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40831 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40832 if (!SWIG_IsOK(res1)) {
40833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40834 }
40835 if (!argp1) {
40836 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40837 }
40838 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40839 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40840 if (!SWIG_IsOK(res2)) {
40841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40842 }
40843 if (!argp2) {
40844 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40845 }
40846 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40847 {
40848 if (!wxPyCheckForApp()) SWIG_fail;
40849 PyThreadState* __tstate = wxPyBeginAllowThreads();
40850 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40851 wxPyEndAllowThreads(__tstate);
40852 if (PyErr_Occurred()) SWIG_fail;
40853 }
40854 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40855 return resultobj;
40856 fail:
40857 return NULL;
40858 }
40859
40860
40861 SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40862 PyObject *resultobj = 0;
40863 wxPyListCtrl *arg1 = 0 ;
40864 long arg2 ;
40865 wxGenericDragImage *result = 0 ;
40866 void *argp1 = 0 ;
40867 int res1 = 0 ;
40868 long val2 ;
40869 int ecode2 = 0 ;
40870 PyObject * obj0 = 0 ;
40871 PyObject * obj1 = 0 ;
40872 char * kwnames[] = {
40873 (char *) "listCtrl",(char *) "id", NULL
40874 };
40875
40876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40877 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40878 if (!SWIG_IsOK(res1)) {
40879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40880 }
40881 if (!argp1) {
40882 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40883 }
40884 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40885 ecode2 = SWIG_AsVal_long(obj1, &val2);
40886 if (!SWIG_IsOK(ecode2)) {
40887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40888 }
40889 arg2 = static_cast< long >(val2);
40890 {
40891 if (!wxPyCheckForApp()) SWIG_fail;
40892 PyThreadState* __tstate = wxPyBeginAllowThreads();
40893 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40894 wxPyEndAllowThreads(__tstate);
40895 if (PyErr_Occurred()) SWIG_fail;
40896 }
40897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40898 return resultobj;
40899 fail:
40900 return NULL;
40901 }
40902
40903
40904 SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40905 PyObject *resultobj = 0;
40906 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40907 void *argp1 = 0 ;
40908 int res1 = 0 ;
40909 PyObject *swig_obj[1] ;
40910
40911 if (!args) SWIG_fail;
40912 swig_obj[0] = args;
40913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40914 if (!SWIG_IsOK(res1)) {
40915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40916 }
40917 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40918 {
40919 PyThreadState* __tstate = wxPyBeginAllowThreads();
40920 delete arg1;
40921
40922 wxPyEndAllowThreads(__tstate);
40923 if (PyErr_Occurred()) SWIG_fail;
40924 }
40925 resultobj = SWIG_Py_Void();
40926 return resultobj;
40927 fail:
40928 return NULL;
40929 }
40930
40931
40932 SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40933 PyObject *resultobj = 0;
40934 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40935 wxBitmap *arg2 = (wxBitmap *) 0 ;
40936 void *argp1 = 0 ;
40937 int res1 = 0 ;
40938 void *argp2 = 0 ;
40939 int res2 = 0 ;
40940 PyObject * obj0 = 0 ;
40941 PyObject * obj1 = 0 ;
40942 char * kwnames[] = {
40943 (char *) "self",(char *) "bitmap", NULL
40944 };
40945
40946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40948 if (!SWIG_IsOK(res1)) {
40949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40950 }
40951 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40952 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40953 if (!SWIG_IsOK(res2)) {
40954 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40955 }
40956 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40957 {
40958 PyThreadState* __tstate = wxPyBeginAllowThreads();
40959 (arg1)->SetBackingBitmap(arg2);
40960 wxPyEndAllowThreads(__tstate);
40961 if (PyErr_Occurred()) SWIG_fail;
40962 }
40963 resultobj = SWIG_Py_Void();
40964 return resultobj;
40965 fail:
40966 return NULL;
40967 }
40968
40969
40970 SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40971 PyObject *resultobj = 0;
40972 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40973 wxPoint *arg2 = 0 ;
40974 wxWindow *arg3 = (wxWindow *) 0 ;
40975 bool arg4 = (bool) false ;
40976 wxRect *arg5 = (wxRect *) NULL ;
40977 bool result;
40978 void *argp1 = 0 ;
40979 int res1 = 0 ;
40980 wxPoint temp2 ;
40981 void *argp3 = 0 ;
40982 int res3 = 0 ;
40983 bool val4 ;
40984 int ecode4 = 0 ;
40985 void *argp5 = 0 ;
40986 int res5 = 0 ;
40987 PyObject * obj0 = 0 ;
40988 PyObject * obj1 = 0 ;
40989 PyObject * obj2 = 0 ;
40990 PyObject * obj3 = 0 ;
40991 PyObject * obj4 = 0 ;
40992 char * kwnames[] = {
40993 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40994 };
40995
40996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40998 if (!SWIG_IsOK(res1)) {
40999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41000 }
41001 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41002 {
41003 arg2 = &temp2;
41004 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41005 }
41006 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41007 if (!SWIG_IsOK(res3)) {
41008 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41009 }
41010 arg3 = reinterpret_cast< wxWindow * >(argp3);
41011 if (obj3) {
41012 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41013 if (!SWIG_IsOK(ecode4)) {
41014 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41015 }
41016 arg4 = static_cast< bool >(val4);
41017 }
41018 if (obj4) {
41019 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
41020 if (!SWIG_IsOK(res5)) {
41021 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41022 }
41023 arg5 = reinterpret_cast< wxRect * >(argp5);
41024 }
41025 {
41026 PyThreadState* __tstate = wxPyBeginAllowThreads();
41027 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
41028 wxPyEndAllowThreads(__tstate);
41029 if (PyErr_Occurred()) SWIG_fail;
41030 }
41031 {
41032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41033 }
41034 return resultobj;
41035 fail:
41036 return NULL;
41037 }
41038
41039
41040 SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41041 PyObject *resultobj = 0;
41042 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41043 wxPoint *arg2 = 0 ;
41044 wxWindow *arg3 = (wxWindow *) 0 ;
41045 wxWindow *arg4 = (wxWindow *) 0 ;
41046 bool result;
41047 void *argp1 = 0 ;
41048 int res1 = 0 ;
41049 wxPoint temp2 ;
41050 void *argp3 = 0 ;
41051 int res3 = 0 ;
41052 void *argp4 = 0 ;
41053 int res4 = 0 ;
41054 PyObject * obj0 = 0 ;
41055 PyObject * obj1 = 0 ;
41056 PyObject * obj2 = 0 ;
41057 PyObject * obj3 = 0 ;
41058 char * kwnames[] = {
41059 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41060 };
41061
41062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
41063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41064 if (!SWIG_IsOK(res1)) {
41065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41066 }
41067 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41068 {
41069 arg2 = &temp2;
41070 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41071 }
41072 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41073 if (!SWIG_IsOK(res3)) {
41074 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41075 }
41076 arg3 = reinterpret_cast< wxWindow * >(argp3);
41077 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
41078 if (!SWIG_IsOK(res4)) {
41079 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41080 }
41081 arg4 = reinterpret_cast< wxWindow * >(argp4);
41082 {
41083 PyThreadState* __tstate = wxPyBeginAllowThreads();
41084 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
41085 wxPyEndAllowThreads(__tstate);
41086 if (PyErr_Occurred()) SWIG_fail;
41087 }
41088 {
41089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41090 }
41091 return resultobj;
41092 fail:
41093 return NULL;
41094 }
41095
41096
41097 SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41098 PyObject *resultobj = 0;
41099 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41100 bool result;
41101 void *argp1 = 0 ;
41102 int res1 = 0 ;
41103 PyObject *swig_obj[1] ;
41104
41105 if (!args) SWIG_fail;
41106 swig_obj[0] = args;
41107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41108 if (!SWIG_IsOK(res1)) {
41109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41110 }
41111 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41112 {
41113 PyThreadState* __tstate = wxPyBeginAllowThreads();
41114 result = (bool)(arg1)->EndDrag();
41115 wxPyEndAllowThreads(__tstate);
41116 if (PyErr_Occurred()) SWIG_fail;
41117 }
41118 {
41119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41120 }
41121 return resultobj;
41122 fail:
41123 return NULL;
41124 }
41125
41126
41127 SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41128 PyObject *resultobj = 0;
41129 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41130 wxPoint *arg2 = 0 ;
41131 bool result;
41132 void *argp1 = 0 ;
41133 int res1 = 0 ;
41134 wxPoint temp2 ;
41135 PyObject * obj0 = 0 ;
41136 PyObject * obj1 = 0 ;
41137 char * kwnames[] = {
41138 (char *) "self",(char *) "pt", NULL
41139 };
41140
41141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
41142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41143 if (!SWIG_IsOK(res1)) {
41144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41145 }
41146 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41147 {
41148 arg2 = &temp2;
41149 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41150 }
41151 {
41152 PyThreadState* __tstate = wxPyBeginAllowThreads();
41153 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
41154 wxPyEndAllowThreads(__tstate);
41155 if (PyErr_Occurred()) SWIG_fail;
41156 }
41157 {
41158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41159 }
41160 return resultobj;
41161 fail:
41162 return NULL;
41163 }
41164
41165
41166 SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41167 PyObject *resultobj = 0;
41168 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41169 bool result;
41170 void *argp1 = 0 ;
41171 int res1 = 0 ;
41172 PyObject *swig_obj[1] ;
41173
41174 if (!args) SWIG_fail;
41175 swig_obj[0] = args;
41176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41177 if (!SWIG_IsOK(res1)) {
41178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41179 }
41180 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41181 {
41182 PyThreadState* __tstate = wxPyBeginAllowThreads();
41183 result = (bool)(arg1)->Show();
41184 wxPyEndAllowThreads(__tstate);
41185 if (PyErr_Occurred()) SWIG_fail;
41186 }
41187 {
41188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41189 }
41190 return resultobj;
41191 fail:
41192 return NULL;
41193 }
41194
41195
41196 SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41197 PyObject *resultobj = 0;
41198 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41199 bool result;
41200 void *argp1 = 0 ;
41201 int res1 = 0 ;
41202 PyObject *swig_obj[1] ;
41203
41204 if (!args) SWIG_fail;
41205 swig_obj[0] = args;
41206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41207 if (!SWIG_IsOK(res1)) {
41208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41209 }
41210 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41211 {
41212 PyThreadState* __tstate = wxPyBeginAllowThreads();
41213 result = (bool)(arg1)->Hide();
41214 wxPyEndAllowThreads(__tstate);
41215 if (PyErr_Occurred()) SWIG_fail;
41216 }
41217 {
41218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41219 }
41220 return resultobj;
41221 fail:
41222 return NULL;
41223 }
41224
41225
41226 SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41227 PyObject *resultobj = 0;
41228 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41229 wxPoint *arg2 = 0 ;
41230 wxRect result;
41231 void *argp1 = 0 ;
41232 int res1 = 0 ;
41233 wxPoint temp2 ;
41234 PyObject * obj0 = 0 ;
41235 PyObject * obj1 = 0 ;
41236 char * kwnames[] = {
41237 (char *) "self",(char *) "pos", NULL
41238 };
41239
41240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
41241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41242 if (!SWIG_IsOK(res1)) {
41243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41244 }
41245 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41246 {
41247 arg2 = &temp2;
41248 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41249 }
41250 {
41251 PyThreadState* __tstate = wxPyBeginAllowThreads();
41252 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
41253 wxPyEndAllowThreads(__tstate);
41254 if (PyErr_Occurred()) SWIG_fail;
41255 }
41256 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
41257 return resultobj;
41258 fail:
41259 return NULL;
41260 }
41261
41262
41263 SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41264 PyObject *resultobj = 0;
41265 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41266 wxDC *arg2 = 0 ;
41267 wxPoint *arg3 = 0 ;
41268 bool result;
41269 void *argp1 = 0 ;
41270 int res1 = 0 ;
41271 void *argp2 = 0 ;
41272 int res2 = 0 ;
41273 wxPoint temp3 ;
41274 PyObject * obj0 = 0 ;
41275 PyObject * obj1 = 0 ;
41276 PyObject * obj2 = 0 ;
41277 char * kwnames[] = {
41278 (char *) "self",(char *) "dc",(char *) "pos", NULL
41279 };
41280
41281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41283 if (!SWIG_IsOK(res1)) {
41284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41285 }
41286 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41287 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41288 if (!SWIG_IsOK(res2)) {
41289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41290 }
41291 if (!argp2) {
41292 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41293 }
41294 arg2 = reinterpret_cast< wxDC * >(argp2);
41295 {
41296 arg3 = &temp3;
41297 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41298 }
41299 {
41300 PyThreadState* __tstate = wxPyBeginAllowThreads();
41301 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41302 wxPyEndAllowThreads(__tstate);
41303 if (PyErr_Occurred()) SWIG_fail;
41304 }
41305 {
41306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41307 }
41308 return resultobj;
41309 fail:
41310 return NULL;
41311 }
41312
41313
41314 SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41315 PyObject *resultobj = 0;
41316 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41317 wxDC *arg2 = 0 ;
41318 wxMemoryDC *arg3 = 0 ;
41319 wxRect *arg4 = 0 ;
41320 wxRect *arg5 = 0 ;
41321 bool result;
41322 void *argp1 = 0 ;
41323 int res1 = 0 ;
41324 void *argp2 = 0 ;
41325 int res2 = 0 ;
41326 void *argp3 = 0 ;
41327 int res3 = 0 ;
41328 wxRect temp4 ;
41329 wxRect temp5 ;
41330 PyObject * obj0 = 0 ;
41331 PyObject * obj1 = 0 ;
41332 PyObject * obj2 = 0 ;
41333 PyObject * obj3 = 0 ;
41334 PyObject * obj4 = 0 ;
41335 char * kwnames[] = {
41336 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41337 };
41338
41339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41341 if (!SWIG_IsOK(res1)) {
41342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41343 }
41344 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41345 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41346 if (!SWIG_IsOK(res2)) {
41347 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41348 }
41349 if (!argp2) {
41350 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41351 }
41352 arg2 = reinterpret_cast< wxDC * >(argp2);
41353 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41354 if (!SWIG_IsOK(res3)) {
41355 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41356 }
41357 if (!argp3) {
41358 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41359 }
41360 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41361 {
41362 arg4 = &temp4;
41363 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41364 }
41365 {
41366 arg5 = &temp5;
41367 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41368 }
41369 {
41370 PyThreadState* __tstate = wxPyBeginAllowThreads();
41371 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41372 wxPyEndAllowThreads(__tstate);
41373 if (PyErr_Occurred()) SWIG_fail;
41374 }
41375 {
41376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41377 }
41378 return resultobj;
41379 fail:
41380 return NULL;
41381 }
41382
41383
41384 SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41385 PyObject *resultobj = 0;
41386 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41387 wxPoint *arg2 = 0 ;
41388 wxPoint *arg3 = 0 ;
41389 bool arg4 ;
41390 bool arg5 ;
41391 bool result;
41392 void *argp1 = 0 ;
41393 int res1 = 0 ;
41394 wxPoint temp2 ;
41395 wxPoint temp3 ;
41396 bool val4 ;
41397 int ecode4 = 0 ;
41398 bool val5 ;
41399 int ecode5 = 0 ;
41400 PyObject * obj0 = 0 ;
41401 PyObject * obj1 = 0 ;
41402 PyObject * obj2 = 0 ;
41403 PyObject * obj3 = 0 ;
41404 PyObject * obj4 = 0 ;
41405 char * kwnames[] = {
41406 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41407 };
41408
41409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41411 if (!SWIG_IsOK(res1)) {
41412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41413 }
41414 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41415 {
41416 arg2 = &temp2;
41417 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41418 }
41419 {
41420 arg3 = &temp3;
41421 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41422 }
41423 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41424 if (!SWIG_IsOK(ecode4)) {
41425 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41426 }
41427 arg4 = static_cast< bool >(val4);
41428 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41429 if (!SWIG_IsOK(ecode5)) {
41430 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41431 }
41432 arg5 = static_cast< bool >(val5);
41433 {
41434 PyThreadState* __tstate = wxPyBeginAllowThreads();
41435 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41436 wxPyEndAllowThreads(__tstate);
41437 if (PyErr_Occurred()) SWIG_fail;
41438 }
41439 {
41440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41441 }
41442 return resultobj;
41443 fail:
41444 return NULL;
41445 }
41446
41447
41448 SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41449 PyObject *obj;
41450 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41451 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41452 return SWIG_Py_Void();
41453 }
41454
41455 SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41456 return SWIG_Python_InitShadowInstance(args);
41457 }
41458
41459 SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41460 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41461 return 1;
41462 }
41463
41464
41465 SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41466 PyObject *pyobj = 0;
41467
41468 {
41469 #if wxUSE_UNICODE
41470 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41471 #else
41472 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41473 #endif
41474 }
41475 return pyobj;
41476 }
41477
41478
41479 SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41480 PyObject *resultobj = 0;
41481 wxWindow *arg1 = (wxWindow *) 0 ;
41482 int arg2 = (int) -1 ;
41483 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41484 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41485 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41486 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41487 wxSize const &arg5_defvalue = wxDefaultSize ;
41488 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41489 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41490 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41491 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41492 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41493 wxString *arg8 = (wxString *) &arg8_defvalue ;
41494 wxDatePickerCtrl *result = 0 ;
41495 void *argp1 = 0 ;
41496 int res1 = 0 ;
41497 int val2 ;
41498 int ecode2 = 0 ;
41499 void *argp3 = 0 ;
41500 int res3 = 0 ;
41501 wxPoint temp4 ;
41502 wxSize temp5 ;
41503 long val6 ;
41504 int ecode6 = 0 ;
41505 void *argp7 = 0 ;
41506 int res7 = 0 ;
41507 bool temp8 = false ;
41508 PyObject * obj0 = 0 ;
41509 PyObject * obj1 = 0 ;
41510 PyObject * obj2 = 0 ;
41511 PyObject * obj3 = 0 ;
41512 PyObject * obj4 = 0 ;
41513 PyObject * obj5 = 0 ;
41514 PyObject * obj6 = 0 ;
41515 PyObject * obj7 = 0 ;
41516 char * kwnames[] = {
41517 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41518 };
41519
41520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41522 if (!SWIG_IsOK(res1)) {
41523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41524 }
41525 arg1 = reinterpret_cast< wxWindow * >(argp1);
41526 if (obj1) {
41527 ecode2 = SWIG_AsVal_int(obj1, &val2);
41528 if (!SWIG_IsOK(ecode2)) {
41529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41530 }
41531 arg2 = static_cast< int >(val2);
41532 }
41533 if (obj2) {
41534 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41535 if (!SWIG_IsOK(res3)) {
41536 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41537 }
41538 if (!argp3) {
41539 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41540 }
41541 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41542 }
41543 if (obj3) {
41544 {
41545 arg4 = &temp4;
41546 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
41547 }
41548 }
41549 if (obj4) {
41550 {
41551 arg5 = &temp5;
41552 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
41553 }
41554 }
41555 if (obj5) {
41556 ecode6 = SWIG_AsVal_long(obj5, &val6);
41557 if (!SWIG_IsOK(ecode6)) {
41558 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41559 }
41560 arg6 = static_cast< long >(val6);
41561 }
41562 if (obj6) {
41563 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41564 if (!SWIG_IsOK(res7)) {
41565 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41566 }
41567 if (!argp7) {
41568 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41569 }
41570 arg7 = reinterpret_cast< wxValidator * >(argp7);
41571 }
41572 if (obj7) {
41573 {
41574 arg8 = wxString_in_helper(obj7);
41575 if (arg8 == NULL) SWIG_fail;
41576 temp8 = true;
41577 }
41578 }
41579 {
41580 if (!wxPyCheckForApp()) SWIG_fail;
41581 PyThreadState* __tstate = wxPyBeginAllowThreads();
41582 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41583 wxPyEndAllowThreads(__tstate);
41584 if (PyErr_Occurred()) SWIG_fail;
41585 }
41586 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41587 {
41588 if (temp8)
41589 delete arg8;
41590 }
41591 return resultobj;
41592 fail:
41593 {
41594 if (temp8)
41595 delete arg8;
41596 }
41597 return NULL;
41598 }
41599
41600
41601 SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41602 PyObject *resultobj = 0;
41603 wxDatePickerCtrl *result = 0 ;
41604
41605 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41606 {
41607 if (!wxPyCheckForApp()) SWIG_fail;
41608 PyThreadState* __tstate = wxPyBeginAllowThreads();
41609 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41610 wxPyEndAllowThreads(__tstate);
41611 if (PyErr_Occurred()) SWIG_fail;
41612 }
41613 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41614 return resultobj;
41615 fail:
41616 return NULL;
41617 }
41618
41619
41620 SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41621 PyObject *resultobj = 0;
41622 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41623 wxWindow *arg2 = (wxWindow *) 0 ;
41624 int arg3 = (int) -1 ;
41625 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41626 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41627 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41628 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41629 wxSize const &arg6_defvalue = wxDefaultSize ;
41630 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41631 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41632 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41633 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41634 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41635 wxString *arg9 = (wxString *) &arg9_defvalue ;
41636 bool result;
41637 void *argp1 = 0 ;
41638 int res1 = 0 ;
41639 void *argp2 = 0 ;
41640 int res2 = 0 ;
41641 int val3 ;
41642 int ecode3 = 0 ;
41643 void *argp4 = 0 ;
41644 int res4 = 0 ;
41645 wxPoint temp5 ;
41646 wxSize temp6 ;
41647 long val7 ;
41648 int ecode7 = 0 ;
41649 void *argp8 = 0 ;
41650 int res8 = 0 ;
41651 bool temp9 = false ;
41652 PyObject * obj0 = 0 ;
41653 PyObject * obj1 = 0 ;
41654 PyObject * obj2 = 0 ;
41655 PyObject * obj3 = 0 ;
41656 PyObject * obj4 = 0 ;
41657 PyObject * obj5 = 0 ;
41658 PyObject * obj6 = 0 ;
41659 PyObject * obj7 = 0 ;
41660 PyObject * obj8 = 0 ;
41661 char * kwnames[] = {
41662 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41663 };
41664
41665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41667 if (!SWIG_IsOK(res1)) {
41668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41669 }
41670 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41671 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41672 if (!SWIG_IsOK(res2)) {
41673 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41674 }
41675 arg2 = reinterpret_cast< wxWindow * >(argp2);
41676 if (obj2) {
41677 ecode3 = SWIG_AsVal_int(obj2, &val3);
41678 if (!SWIG_IsOK(ecode3)) {
41679 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41680 }
41681 arg3 = static_cast< int >(val3);
41682 }
41683 if (obj3) {
41684 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41685 if (!SWIG_IsOK(res4)) {
41686 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41687 }
41688 if (!argp4) {
41689 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41690 }
41691 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41692 }
41693 if (obj4) {
41694 {
41695 arg5 = &temp5;
41696 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41697 }
41698 }
41699 if (obj5) {
41700 {
41701 arg6 = &temp6;
41702 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41703 }
41704 }
41705 if (obj6) {
41706 ecode7 = SWIG_AsVal_long(obj6, &val7);
41707 if (!SWIG_IsOK(ecode7)) {
41708 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41709 }
41710 arg7 = static_cast< long >(val7);
41711 }
41712 if (obj7) {
41713 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41714 if (!SWIG_IsOK(res8)) {
41715 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41716 }
41717 if (!argp8) {
41718 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41719 }
41720 arg8 = reinterpret_cast< wxValidator * >(argp8);
41721 }
41722 if (obj8) {
41723 {
41724 arg9 = wxString_in_helper(obj8);
41725 if (arg9 == NULL) SWIG_fail;
41726 temp9 = true;
41727 }
41728 }
41729 {
41730 PyThreadState* __tstate = wxPyBeginAllowThreads();
41731 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41732 wxPyEndAllowThreads(__tstate);
41733 if (PyErr_Occurred()) SWIG_fail;
41734 }
41735 {
41736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41737 }
41738 {
41739 if (temp9)
41740 delete arg9;
41741 }
41742 return resultobj;
41743 fail:
41744 {
41745 if (temp9)
41746 delete arg9;
41747 }
41748 return NULL;
41749 }
41750
41751
41752 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41753 PyObject *resultobj = 0;
41754 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41755 wxDateTime *arg2 = 0 ;
41756 void *argp1 = 0 ;
41757 int res1 = 0 ;
41758 void *argp2 = 0 ;
41759 int res2 = 0 ;
41760 PyObject * obj0 = 0 ;
41761 PyObject * obj1 = 0 ;
41762 char * kwnames[] = {
41763 (char *) "self",(char *) "dt", NULL
41764 };
41765
41766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41768 if (!SWIG_IsOK(res1)) {
41769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41770 }
41771 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41772 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41773 if (!SWIG_IsOK(res2)) {
41774 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41775 }
41776 if (!argp2) {
41777 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41778 }
41779 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41780 {
41781 PyThreadState* __tstate = wxPyBeginAllowThreads();
41782 (arg1)->SetValue((wxDateTime const &)*arg2);
41783 wxPyEndAllowThreads(__tstate);
41784 if (PyErr_Occurred()) SWIG_fail;
41785 }
41786 resultobj = SWIG_Py_Void();
41787 return resultobj;
41788 fail:
41789 return NULL;
41790 }
41791
41792
41793 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41794 PyObject *resultobj = 0;
41795 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41796 wxDateTime result;
41797 void *argp1 = 0 ;
41798 int res1 = 0 ;
41799 PyObject *swig_obj[1] ;
41800
41801 if (!args) SWIG_fail;
41802 swig_obj[0] = args;
41803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41804 if (!SWIG_IsOK(res1)) {
41805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41806 }
41807 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41808 {
41809 PyThreadState* __tstate = wxPyBeginAllowThreads();
41810 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41811 wxPyEndAllowThreads(__tstate);
41812 if (PyErr_Occurred()) SWIG_fail;
41813 }
41814 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41815 return resultobj;
41816 fail:
41817 return NULL;
41818 }
41819
41820
41821 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41822 PyObject *resultobj = 0;
41823 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41824 wxDateTime *arg2 = 0 ;
41825 wxDateTime *arg3 = 0 ;
41826 void *argp1 = 0 ;
41827 int res1 = 0 ;
41828 void *argp2 = 0 ;
41829 int res2 = 0 ;
41830 void *argp3 = 0 ;
41831 int res3 = 0 ;
41832 PyObject * obj0 = 0 ;
41833 PyObject * obj1 = 0 ;
41834 PyObject * obj2 = 0 ;
41835 char * kwnames[] = {
41836 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41837 };
41838
41839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41841 if (!SWIG_IsOK(res1)) {
41842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41843 }
41844 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41845 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41846 if (!SWIG_IsOK(res2)) {
41847 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41848 }
41849 if (!argp2) {
41850 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41851 }
41852 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41853 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41854 if (!SWIG_IsOK(res3)) {
41855 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41856 }
41857 if (!argp3) {
41858 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41859 }
41860 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41861 {
41862 PyThreadState* __tstate = wxPyBeginAllowThreads();
41863 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41864 wxPyEndAllowThreads(__tstate);
41865 if (PyErr_Occurred()) SWIG_fail;
41866 }
41867 resultobj = SWIG_Py_Void();
41868 return resultobj;
41869 fail:
41870 return NULL;
41871 }
41872
41873
41874 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41875 PyObject *resultobj = 0;
41876 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41877 wxDateTime result;
41878 void *argp1 = 0 ;
41879 int res1 = 0 ;
41880 PyObject *swig_obj[1] ;
41881
41882 if (!args) SWIG_fail;
41883 swig_obj[0] = args;
41884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41885 if (!SWIG_IsOK(res1)) {
41886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41887 }
41888 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41889 {
41890 PyThreadState* __tstate = wxPyBeginAllowThreads();
41891 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41892 wxPyEndAllowThreads(__tstate);
41893 if (PyErr_Occurred()) SWIG_fail;
41894 }
41895 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41896 return resultobj;
41897 fail:
41898 return NULL;
41899 }
41900
41901
41902 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41903 PyObject *resultobj = 0;
41904 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41905 wxDateTime result;
41906 void *argp1 = 0 ;
41907 int res1 = 0 ;
41908 PyObject *swig_obj[1] ;
41909
41910 if (!args) SWIG_fail;
41911 swig_obj[0] = args;
41912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41913 if (!SWIG_IsOK(res1)) {
41914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41915 }
41916 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41917 {
41918 PyThreadState* __tstate = wxPyBeginAllowThreads();
41919 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41920 wxPyEndAllowThreads(__tstate);
41921 if (PyErr_Occurred()) SWIG_fail;
41922 }
41923 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41924 return resultobj;
41925 fail:
41926 return NULL;
41927 }
41928
41929
41930 SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41931 PyObject *obj;
41932 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41933 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41934 return SWIG_Py_Void();
41935 }
41936
41937 SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41938 return SWIG_Python_InitShadowInstance(args);
41939 }
41940
41941 SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41942 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41943 return 1;
41944 }
41945
41946
41947 SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41948 PyObject *pyobj = 0;
41949
41950 {
41951 #if wxUSE_UNICODE
41952 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41953 #else
41954 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41955 #endif
41956 }
41957 return pyobj;
41958 }
41959
41960
41961 SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41962 PyObject *resultobj = 0;
41963 wxWindow *arg1 = (wxWindow *) 0 ;
41964 int arg2 ;
41965 wxString *arg3 = 0 ;
41966 wxString *arg4 = 0 ;
41967 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41968 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41969 wxSize const &arg6_defvalue = wxDefaultSize ;
41970 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41971 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41972 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41973 wxString *arg8 = (wxString *) &arg8_defvalue ;
41974 wxHyperlinkCtrl *result = 0 ;
41975 void *argp1 = 0 ;
41976 int res1 = 0 ;
41977 int val2 ;
41978 int ecode2 = 0 ;
41979 bool temp3 = false ;
41980 bool temp4 = false ;
41981 wxPoint temp5 ;
41982 wxSize temp6 ;
41983 long val7 ;
41984 int ecode7 = 0 ;
41985 bool temp8 = false ;
41986 PyObject * obj0 = 0 ;
41987 PyObject * obj1 = 0 ;
41988 PyObject * obj2 = 0 ;
41989 PyObject * obj3 = 0 ;
41990 PyObject * obj4 = 0 ;
41991 PyObject * obj5 = 0 ;
41992 PyObject * obj6 = 0 ;
41993 PyObject * obj7 = 0 ;
41994 char * kwnames[] = {
41995 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41996 };
41997
41998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
42000 if (!SWIG_IsOK(res1)) {
42001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42002 }
42003 arg1 = reinterpret_cast< wxWindow * >(argp1);
42004 ecode2 = SWIG_AsVal_int(obj1, &val2);
42005 if (!SWIG_IsOK(ecode2)) {
42006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42007 }
42008 arg2 = static_cast< int >(val2);
42009 {
42010 arg3 = wxString_in_helper(obj2);
42011 if (arg3 == NULL) SWIG_fail;
42012 temp3 = true;
42013 }
42014 {
42015 arg4 = wxString_in_helper(obj3);
42016 if (arg4 == NULL) SWIG_fail;
42017 temp4 = true;
42018 }
42019 if (obj4) {
42020 {
42021 arg5 = &temp5;
42022 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42023 }
42024 }
42025 if (obj5) {
42026 {
42027 arg6 = &temp6;
42028 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42029 }
42030 }
42031 if (obj6) {
42032 ecode7 = SWIG_AsVal_long(obj6, &val7);
42033 if (!SWIG_IsOK(ecode7)) {
42034 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42035 }
42036 arg7 = static_cast< long >(val7);
42037 }
42038 if (obj7) {
42039 {
42040 arg8 = wxString_in_helper(obj7);
42041 if (arg8 == NULL) SWIG_fail;
42042 temp8 = true;
42043 }
42044 }
42045 {
42046 if (!wxPyCheckForApp()) SWIG_fail;
42047 PyThreadState* __tstate = wxPyBeginAllowThreads();
42048 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
42049 wxPyEndAllowThreads(__tstate);
42050 if (PyErr_Occurred()) SWIG_fail;
42051 }
42052 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
42053 {
42054 if (temp3)
42055 delete arg3;
42056 }
42057 {
42058 if (temp4)
42059 delete arg4;
42060 }
42061 {
42062 if (temp8)
42063 delete arg8;
42064 }
42065 return resultobj;
42066 fail:
42067 {
42068 if (temp3)
42069 delete arg3;
42070 }
42071 {
42072 if (temp4)
42073 delete arg4;
42074 }
42075 {
42076 if (temp8)
42077 delete arg8;
42078 }
42079 return NULL;
42080 }
42081
42082
42083 SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42084 PyObject *resultobj = 0;
42085 wxHyperlinkCtrl *result = 0 ;
42086
42087 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
42088 {
42089 if (!wxPyCheckForApp()) SWIG_fail;
42090 PyThreadState* __tstate = wxPyBeginAllowThreads();
42091 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
42092 wxPyEndAllowThreads(__tstate);
42093 if (PyErr_Occurred()) SWIG_fail;
42094 }
42095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
42096 return resultobj;
42097 fail:
42098 return NULL;
42099 }
42100
42101
42102 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42103 PyObject *resultobj = 0;
42104 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42105 wxWindow *arg2 = (wxWindow *) 0 ;
42106 int arg3 ;
42107 wxString *arg4 = 0 ;
42108 wxString *arg5 = 0 ;
42109 wxPoint const &arg6_defvalue = wxDefaultPosition ;
42110 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
42111 wxSize const &arg7_defvalue = wxDefaultSize ;
42112 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
42113 long arg8 = (long) wxHL_DEFAULT_STYLE ;
42114 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
42115 wxString *arg9 = (wxString *) &arg9_defvalue ;
42116 bool result;
42117 void *argp1 = 0 ;
42118 int res1 = 0 ;
42119 void *argp2 = 0 ;
42120 int res2 = 0 ;
42121 int val3 ;
42122 int ecode3 = 0 ;
42123 bool temp4 = false ;
42124 bool temp5 = false ;
42125 wxPoint temp6 ;
42126 wxSize temp7 ;
42127 long val8 ;
42128 int ecode8 = 0 ;
42129 bool temp9 = false ;
42130 PyObject * obj0 = 0 ;
42131 PyObject * obj1 = 0 ;
42132 PyObject * obj2 = 0 ;
42133 PyObject * obj3 = 0 ;
42134 PyObject * obj4 = 0 ;
42135 PyObject * obj5 = 0 ;
42136 PyObject * obj6 = 0 ;
42137 PyObject * obj7 = 0 ;
42138 PyObject * obj8 = 0 ;
42139 char * kwnames[] = {
42140 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42141 };
42142
42143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42145 if (!SWIG_IsOK(res1)) {
42146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42147 }
42148 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42149 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42150 if (!SWIG_IsOK(res2)) {
42151 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42152 }
42153 arg2 = reinterpret_cast< wxWindow * >(argp2);
42154 ecode3 = SWIG_AsVal_int(obj2, &val3);
42155 if (!SWIG_IsOK(ecode3)) {
42156 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42157 }
42158 arg3 = static_cast< int >(val3);
42159 {
42160 arg4 = wxString_in_helper(obj3);
42161 if (arg4 == NULL) SWIG_fail;
42162 temp4 = true;
42163 }
42164 {
42165 arg5 = wxString_in_helper(obj4);
42166 if (arg5 == NULL) SWIG_fail;
42167 temp5 = true;
42168 }
42169 if (obj5) {
42170 {
42171 arg6 = &temp6;
42172 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
42173 }
42174 }
42175 if (obj6) {
42176 {
42177 arg7 = &temp7;
42178 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
42179 }
42180 }
42181 if (obj7) {
42182 ecode8 = SWIG_AsVal_long(obj7, &val8);
42183 if (!SWIG_IsOK(ecode8)) {
42184 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42185 }
42186 arg8 = static_cast< long >(val8);
42187 }
42188 if (obj8) {
42189 {
42190 arg9 = wxString_in_helper(obj8);
42191 if (arg9 == NULL) SWIG_fail;
42192 temp9 = true;
42193 }
42194 }
42195 {
42196 PyThreadState* __tstate = wxPyBeginAllowThreads();
42197 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
42198 wxPyEndAllowThreads(__tstate);
42199 if (PyErr_Occurred()) SWIG_fail;
42200 }
42201 {
42202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42203 }
42204 {
42205 if (temp4)
42206 delete arg4;
42207 }
42208 {
42209 if (temp5)
42210 delete arg5;
42211 }
42212 {
42213 if (temp9)
42214 delete arg9;
42215 }
42216 return resultobj;
42217 fail:
42218 {
42219 if (temp4)
42220 delete arg4;
42221 }
42222 {
42223 if (temp5)
42224 delete arg5;
42225 }
42226 {
42227 if (temp9)
42228 delete arg9;
42229 }
42230 return NULL;
42231 }
42232
42233
42234 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42235 PyObject *resultobj = 0;
42236 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42237 wxColour result;
42238 void *argp1 = 0 ;
42239 int res1 = 0 ;
42240 PyObject *swig_obj[1] ;
42241
42242 if (!args) SWIG_fail;
42243 swig_obj[0] = args;
42244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42245 if (!SWIG_IsOK(res1)) {
42246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42247 }
42248 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42249 {
42250 PyThreadState* __tstate = wxPyBeginAllowThreads();
42251 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
42252 wxPyEndAllowThreads(__tstate);
42253 if (PyErr_Occurred()) SWIG_fail;
42254 }
42255 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42256 return resultobj;
42257 fail:
42258 return NULL;
42259 }
42260
42261
42262 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42263 PyObject *resultobj = 0;
42264 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42265 wxColour *arg2 = 0 ;
42266 void *argp1 = 0 ;
42267 int res1 = 0 ;
42268 wxColour temp2 ;
42269 PyObject * obj0 = 0 ;
42270 PyObject * obj1 = 0 ;
42271 char * kwnames[] = {
42272 (char *) "self",(char *) "colour", NULL
42273 };
42274
42275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
42276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42277 if (!SWIG_IsOK(res1)) {
42278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42279 }
42280 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42281 {
42282 arg2 = &temp2;
42283 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42284 }
42285 {
42286 PyThreadState* __tstate = wxPyBeginAllowThreads();
42287 (arg1)->SetHoverColour((wxColour const &)*arg2);
42288 wxPyEndAllowThreads(__tstate);
42289 if (PyErr_Occurred()) SWIG_fail;
42290 }
42291 resultobj = SWIG_Py_Void();
42292 return resultobj;
42293 fail:
42294 return NULL;
42295 }
42296
42297
42298 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42299 PyObject *resultobj = 0;
42300 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42301 wxColour result;
42302 void *argp1 = 0 ;
42303 int res1 = 0 ;
42304 PyObject *swig_obj[1] ;
42305
42306 if (!args) SWIG_fail;
42307 swig_obj[0] = args;
42308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42309 if (!SWIG_IsOK(res1)) {
42310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42311 }
42312 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42313 {
42314 PyThreadState* __tstate = wxPyBeginAllowThreads();
42315 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42316 wxPyEndAllowThreads(__tstate);
42317 if (PyErr_Occurred()) SWIG_fail;
42318 }
42319 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42320 return resultobj;
42321 fail:
42322 return NULL;
42323 }
42324
42325
42326 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42327 PyObject *resultobj = 0;
42328 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42329 wxColour *arg2 = 0 ;
42330 void *argp1 = 0 ;
42331 int res1 = 0 ;
42332 wxColour temp2 ;
42333 PyObject * obj0 = 0 ;
42334 PyObject * obj1 = 0 ;
42335 char * kwnames[] = {
42336 (char *) "self",(char *) "colour", NULL
42337 };
42338
42339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42341 if (!SWIG_IsOK(res1)) {
42342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42343 }
42344 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42345 {
42346 arg2 = &temp2;
42347 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42348 }
42349 {
42350 PyThreadState* __tstate = wxPyBeginAllowThreads();
42351 (arg1)->SetNormalColour((wxColour const &)*arg2);
42352 wxPyEndAllowThreads(__tstate);
42353 if (PyErr_Occurred()) SWIG_fail;
42354 }
42355 resultobj = SWIG_Py_Void();
42356 return resultobj;
42357 fail:
42358 return NULL;
42359 }
42360
42361
42362 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42363 PyObject *resultobj = 0;
42364 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42365 wxColour result;
42366 void *argp1 = 0 ;
42367 int res1 = 0 ;
42368 PyObject *swig_obj[1] ;
42369
42370 if (!args) SWIG_fail;
42371 swig_obj[0] = args;
42372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42373 if (!SWIG_IsOK(res1)) {
42374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42375 }
42376 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42377 {
42378 PyThreadState* __tstate = wxPyBeginAllowThreads();
42379 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42380 wxPyEndAllowThreads(__tstate);
42381 if (PyErr_Occurred()) SWIG_fail;
42382 }
42383 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42384 return resultobj;
42385 fail:
42386 return NULL;
42387 }
42388
42389
42390 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42391 PyObject *resultobj = 0;
42392 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42393 wxColour *arg2 = 0 ;
42394 void *argp1 = 0 ;
42395 int res1 = 0 ;
42396 wxColour temp2 ;
42397 PyObject * obj0 = 0 ;
42398 PyObject * obj1 = 0 ;
42399 char * kwnames[] = {
42400 (char *) "self",(char *) "colour", NULL
42401 };
42402
42403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42405 if (!SWIG_IsOK(res1)) {
42406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42407 }
42408 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42409 {
42410 arg2 = &temp2;
42411 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42412 }
42413 {
42414 PyThreadState* __tstate = wxPyBeginAllowThreads();
42415 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42416 wxPyEndAllowThreads(__tstate);
42417 if (PyErr_Occurred()) SWIG_fail;
42418 }
42419 resultobj = SWIG_Py_Void();
42420 return resultobj;
42421 fail:
42422 return NULL;
42423 }
42424
42425
42426 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42427 PyObject *resultobj = 0;
42428 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42429 wxString result;
42430 void *argp1 = 0 ;
42431 int res1 = 0 ;
42432 PyObject *swig_obj[1] ;
42433
42434 if (!args) SWIG_fail;
42435 swig_obj[0] = args;
42436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42437 if (!SWIG_IsOK(res1)) {
42438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42439 }
42440 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42441 {
42442 PyThreadState* __tstate = wxPyBeginAllowThreads();
42443 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42444 wxPyEndAllowThreads(__tstate);
42445 if (PyErr_Occurred()) SWIG_fail;
42446 }
42447 {
42448 #if wxUSE_UNICODE
42449 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42450 #else
42451 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42452 #endif
42453 }
42454 return resultobj;
42455 fail:
42456 return NULL;
42457 }
42458
42459
42460 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42461 PyObject *resultobj = 0;
42462 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42463 wxString *arg2 = 0 ;
42464 void *argp1 = 0 ;
42465 int res1 = 0 ;
42466 bool temp2 = false ;
42467 PyObject * obj0 = 0 ;
42468 PyObject * obj1 = 0 ;
42469 char * kwnames[] = {
42470 (char *) "self",(char *) "url", NULL
42471 };
42472
42473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42475 if (!SWIG_IsOK(res1)) {
42476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42477 }
42478 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42479 {
42480 arg2 = wxString_in_helper(obj1);
42481 if (arg2 == NULL) SWIG_fail;
42482 temp2 = true;
42483 }
42484 {
42485 PyThreadState* __tstate = wxPyBeginAllowThreads();
42486 (arg1)->SetURL((wxString const &)*arg2);
42487 wxPyEndAllowThreads(__tstate);
42488 if (PyErr_Occurred()) SWIG_fail;
42489 }
42490 resultobj = SWIG_Py_Void();
42491 {
42492 if (temp2)
42493 delete arg2;
42494 }
42495 return resultobj;
42496 fail:
42497 {
42498 if (temp2)
42499 delete arg2;
42500 }
42501 return NULL;
42502 }
42503
42504
42505 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42506 PyObject *resultobj = 0;
42507 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42508 bool arg2 = (bool) true ;
42509 void *argp1 = 0 ;
42510 int res1 = 0 ;
42511 bool val2 ;
42512 int ecode2 = 0 ;
42513 PyObject * obj0 = 0 ;
42514 PyObject * obj1 = 0 ;
42515 char * kwnames[] = {
42516 (char *) "self",(char *) "visited", NULL
42517 };
42518
42519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42521 if (!SWIG_IsOK(res1)) {
42522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42523 }
42524 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42525 if (obj1) {
42526 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42527 if (!SWIG_IsOK(ecode2)) {
42528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42529 }
42530 arg2 = static_cast< bool >(val2);
42531 }
42532 {
42533 PyThreadState* __tstate = wxPyBeginAllowThreads();
42534 (arg1)->SetVisited(arg2);
42535 wxPyEndAllowThreads(__tstate);
42536 if (PyErr_Occurred()) SWIG_fail;
42537 }
42538 resultobj = SWIG_Py_Void();
42539 return resultobj;
42540 fail:
42541 return NULL;
42542 }
42543
42544
42545 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42546 PyObject *resultobj = 0;
42547 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42548 bool result;
42549 void *argp1 = 0 ;
42550 int res1 = 0 ;
42551 PyObject *swig_obj[1] ;
42552
42553 if (!args) SWIG_fail;
42554 swig_obj[0] = args;
42555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42556 if (!SWIG_IsOK(res1)) {
42557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42558 }
42559 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42560 {
42561 PyThreadState* __tstate = wxPyBeginAllowThreads();
42562 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42563 wxPyEndAllowThreads(__tstate);
42564 if (PyErr_Occurred()) SWIG_fail;
42565 }
42566 {
42567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42568 }
42569 return resultobj;
42570 fail:
42571 return NULL;
42572 }
42573
42574
42575 SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42576 PyObject *obj;
42577 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42578 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42579 return SWIG_Py_Void();
42580 }
42581
42582 SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42583 return SWIG_Python_InitShadowInstance(args);
42584 }
42585
42586 SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42587 PyObject *resultobj = 0;
42588 wxObject *arg1 = (wxObject *) 0 ;
42589 int arg2 ;
42590 wxString *arg3 = 0 ;
42591 wxHyperlinkEvent *result = 0 ;
42592 void *argp1 = 0 ;
42593 int res1 = 0 ;
42594 int val2 ;
42595 int ecode2 = 0 ;
42596 bool temp3 = false ;
42597 PyObject * obj0 = 0 ;
42598 PyObject * obj1 = 0 ;
42599 PyObject * obj2 = 0 ;
42600 char * kwnames[] = {
42601 (char *) "generator",(char *) "id",(char *) "url", NULL
42602 };
42603
42604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42606 if (!SWIG_IsOK(res1)) {
42607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42608 }
42609 arg1 = reinterpret_cast< wxObject * >(argp1);
42610 ecode2 = SWIG_AsVal_int(obj1, &val2);
42611 if (!SWIG_IsOK(ecode2)) {
42612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42613 }
42614 arg2 = static_cast< int >(val2);
42615 {
42616 arg3 = wxString_in_helper(obj2);
42617 if (arg3 == NULL) SWIG_fail;
42618 temp3 = true;
42619 }
42620 {
42621 PyThreadState* __tstate = wxPyBeginAllowThreads();
42622 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42623 wxPyEndAllowThreads(__tstate);
42624 if (PyErr_Occurred()) SWIG_fail;
42625 }
42626 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42627 {
42628 if (temp3)
42629 delete arg3;
42630 }
42631 return resultobj;
42632 fail:
42633 {
42634 if (temp3)
42635 delete arg3;
42636 }
42637 return NULL;
42638 }
42639
42640
42641 SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42642 PyObject *resultobj = 0;
42643 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42644 wxString result;
42645 void *argp1 = 0 ;
42646 int res1 = 0 ;
42647 PyObject *swig_obj[1] ;
42648
42649 if (!args) SWIG_fail;
42650 swig_obj[0] = args;
42651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42652 if (!SWIG_IsOK(res1)) {
42653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42654 }
42655 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42656 {
42657 PyThreadState* __tstate = wxPyBeginAllowThreads();
42658 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42659 wxPyEndAllowThreads(__tstate);
42660 if (PyErr_Occurred()) SWIG_fail;
42661 }
42662 {
42663 #if wxUSE_UNICODE
42664 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42665 #else
42666 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42667 #endif
42668 }
42669 return resultobj;
42670 fail:
42671 return NULL;
42672 }
42673
42674
42675 SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42676 PyObject *resultobj = 0;
42677 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42678 wxString *arg2 = 0 ;
42679 void *argp1 = 0 ;
42680 int res1 = 0 ;
42681 bool temp2 = false ;
42682 PyObject * obj0 = 0 ;
42683 PyObject * obj1 = 0 ;
42684 char * kwnames[] = {
42685 (char *) "self",(char *) "url", NULL
42686 };
42687
42688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42690 if (!SWIG_IsOK(res1)) {
42691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42692 }
42693 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42694 {
42695 arg2 = wxString_in_helper(obj1);
42696 if (arg2 == NULL) SWIG_fail;
42697 temp2 = true;
42698 }
42699 {
42700 PyThreadState* __tstate = wxPyBeginAllowThreads();
42701 (arg1)->SetURL((wxString const &)*arg2);
42702 wxPyEndAllowThreads(__tstate);
42703 if (PyErr_Occurred()) SWIG_fail;
42704 }
42705 resultobj = SWIG_Py_Void();
42706 {
42707 if (temp2)
42708 delete arg2;
42709 }
42710 return resultobj;
42711 fail:
42712 {
42713 if (temp2)
42714 delete arg2;
42715 }
42716 return NULL;
42717 }
42718
42719
42720 SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42721 PyObject *obj;
42722 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42723 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42724 return SWIG_Py_Void();
42725 }
42726
42727 SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42728 return SWIG_Python_InitShadowInstance(args);
42729 }
42730
42731 SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42732 PyObject *resultobj = 0;
42733 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42734 wxWindow *arg2 = (wxWindow *) 0 ;
42735 int arg3 ;
42736 wxString const &arg4_defvalue = wxEmptyString ;
42737 wxString *arg4 = (wxString *) &arg4_defvalue ;
42738 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42739 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42740 wxSize const &arg6_defvalue = wxDefaultSize ;
42741 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42742 long arg7 = (long) 0 ;
42743 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42744 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42745 wxString const &arg9_defvalue = wxButtonNameStr ;
42746 wxString *arg9 = (wxString *) &arg9_defvalue ;
42747 bool result;
42748 void *argp1 = 0 ;
42749 int res1 = 0 ;
42750 void *argp2 = 0 ;
42751 int res2 = 0 ;
42752 int val3 ;
42753 int ecode3 = 0 ;
42754 bool temp4 = false ;
42755 wxPoint temp5 ;
42756 wxSize temp6 ;
42757 long val7 ;
42758 int ecode7 = 0 ;
42759 void *argp8 = 0 ;
42760 int res8 = 0 ;
42761 bool temp9 = false ;
42762 PyObject * obj0 = 0 ;
42763 PyObject * obj1 = 0 ;
42764 PyObject * obj2 = 0 ;
42765 PyObject * obj3 = 0 ;
42766 PyObject * obj4 = 0 ;
42767 PyObject * obj5 = 0 ;
42768 PyObject * obj6 = 0 ;
42769 PyObject * obj7 = 0 ;
42770 PyObject * obj8 = 0 ;
42771 char * kwnames[] = {
42772 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42773 };
42774
42775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42777 if (!SWIG_IsOK(res1)) {
42778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42779 }
42780 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42781 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42782 if (!SWIG_IsOK(res2)) {
42783 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42784 }
42785 arg2 = reinterpret_cast< wxWindow * >(argp2);
42786 ecode3 = SWIG_AsVal_int(obj2, &val3);
42787 if (!SWIG_IsOK(ecode3)) {
42788 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42789 }
42790 arg3 = static_cast< int >(val3);
42791 if (obj3) {
42792 {
42793 arg4 = wxString_in_helper(obj3);
42794 if (arg4 == NULL) SWIG_fail;
42795 temp4 = true;
42796 }
42797 }
42798 if (obj4) {
42799 {
42800 arg5 = &temp5;
42801 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42802 }
42803 }
42804 if (obj5) {
42805 {
42806 arg6 = &temp6;
42807 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42808 }
42809 }
42810 if (obj6) {
42811 ecode7 = SWIG_AsVal_long(obj6, &val7);
42812 if (!SWIG_IsOK(ecode7)) {
42813 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42814 }
42815 arg7 = static_cast< long >(val7);
42816 }
42817 if (obj7) {
42818 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42819 if (!SWIG_IsOK(res8)) {
42820 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42821 }
42822 if (!argp8) {
42823 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42824 }
42825 arg8 = reinterpret_cast< wxValidator * >(argp8);
42826 }
42827 if (obj8) {
42828 {
42829 arg9 = wxString_in_helper(obj8);
42830 if (arg9 == NULL) SWIG_fail;
42831 temp9 = true;
42832 }
42833 }
42834 {
42835 PyThreadState* __tstate = wxPyBeginAllowThreads();
42836 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42837 wxPyEndAllowThreads(__tstate);
42838 if (PyErr_Occurred()) SWIG_fail;
42839 }
42840 {
42841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42842 }
42843 {
42844 if (temp4)
42845 delete arg4;
42846 }
42847 {
42848 if (temp9)
42849 delete arg9;
42850 }
42851 return resultobj;
42852 fail:
42853 {
42854 if (temp4)
42855 delete arg4;
42856 }
42857 {
42858 if (temp9)
42859 delete arg9;
42860 }
42861 return NULL;
42862 }
42863
42864
42865 SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42866 PyObject *resultobj = 0;
42867 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42868 int arg2 ;
42869 void *argp1 = 0 ;
42870 int res1 = 0 ;
42871 int val2 ;
42872 int ecode2 = 0 ;
42873 PyObject * obj0 = 0 ;
42874 PyObject * obj1 = 0 ;
42875 char * kwnames[] = {
42876 (char *) "self",(char *) "newmargin", NULL
42877 };
42878
42879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42881 if (!SWIG_IsOK(res1)) {
42882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42883 }
42884 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42885 ecode2 = SWIG_AsVal_int(obj1, &val2);
42886 if (!SWIG_IsOK(ecode2)) {
42887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42888 }
42889 arg2 = static_cast< int >(val2);
42890 {
42891 PyThreadState* __tstate = wxPyBeginAllowThreads();
42892 (arg1)->SetInternalMargin(arg2);
42893 wxPyEndAllowThreads(__tstate);
42894 if (PyErr_Occurred()) SWIG_fail;
42895 }
42896 resultobj = SWIG_Py_Void();
42897 return resultobj;
42898 fail:
42899 return NULL;
42900 }
42901
42902
42903 SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42904 PyObject *resultobj = 0;
42905 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42906 int result;
42907 void *argp1 = 0 ;
42908 int res1 = 0 ;
42909 PyObject *swig_obj[1] ;
42910
42911 if (!args) SWIG_fail;
42912 swig_obj[0] = args;
42913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42914 if (!SWIG_IsOK(res1)) {
42915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42916 }
42917 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42918 {
42919 PyThreadState* __tstate = wxPyBeginAllowThreads();
42920 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42921 wxPyEndAllowThreads(__tstate);
42922 if (PyErr_Occurred()) SWIG_fail;
42923 }
42924 resultobj = SWIG_From_int(static_cast< int >(result));
42925 return resultobj;
42926 fail:
42927 return NULL;
42928 }
42929
42930
42931 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42932 PyObject *resultobj = 0;
42933 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42934 int arg2 ;
42935 void *argp1 = 0 ;
42936 int res1 = 0 ;
42937 int val2 ;
42938 int ecode2 = 0 ;
42939 PyObject * obj0 = 0 ;
42940 PyObject * obj1 = 0 ;
42941 char * kwnames[] = {
42942 (char *) "self",(char *) "prop", NULL
42943 };
42944
42945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42947 if (!SWIG_IsOK(res1)) {
42948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42949 }
42950 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42951 ecode2 = SWIG_AsVal_int(obj1, &val2);
42952 if (!SWIG_IsOK(ecode2)) {
42953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42954 }
42955 arg2 = static_cast< int >(val2);
42956 {
42957 PyThreadState* __tstate = wxPyBeginAllowThreads();
42958 (arg1)->SetTextCtrlProportion(arg2);
42959 wxPyEndAllowThreads(__tstate);
42960 if (PyErr_Occurred()) SWIG_fail;
42961 }
42962 resultobj = SWIG_Py_Void();
42963 return resultobj;
42964 fail:
42965 return NULL;
42966 }
42967
42968
42969 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42970 PyObject *resultobj = 0;
42971 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42972 int result;
42973 void *argp1 = 0 ;
42974 int res1 = 0 ;
42975 PyObject *swig_obj[1] ;
42976
42977 if (!args) SWIG_fail;
42978 swig_obj[0] = args;
42979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42980 if (!SWIG_IsOK(res1)) {
42981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42982 }
42983 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42984 {
42985 PyThreadState* __tstate = wxPyBeginAllowThreads();
42986 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
42987 wxPyEndAllowThreads(__tstate);
42988 if (PyErr_Occurred()) SWIG_fail;
42989 }
42990 resultobj = SWIG_From_int(static_cast< int >(result));
42991 return resultobj;
42992 fail:
42993 return NULL;
42994 }
42995
42996
42997 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42998 PyObject *resultobj = 0;
42999 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43000 int arg2 ;
43001 void *argp1 = 0 ;
43002 int res1 = 0 ;
43003 int val2 ;
43004 int ecode2 = 0 ;
43005 PyObject * obj0 = 0 ;
43006 PyObject * obj1 = 0 ;
43007 char * kwnames[] = {
43008 (char *) "self",(char *) "prop", NULL
43009 };
43010
43011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
43012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43013 if (!SWIG_IsOK(res1)) {
43014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43015 }
43016 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43017 ecode2 = SWIG_AsVal_int(obj1, &val2);
43018 if (!SWIG_IsOK(ecode2)) {
43019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43020 }
43021 arg2 = static_cast< int >(val2);
43022 {
43023 PyThreadState* __tstate = wxPyBeginAllowThreads();
43024 (arg1)->SetPickerCtrlProportion(arg2);
43025 wxPyEndAllowThreads(__tstate);
43026 if (PyErr_Occurred()) SWIG_fail;
43027 }
43028 resultobj = SWIG_Py_Void();
43029 return resultobj;
43030 fail:
43031 return NULL;
43032 }
43033
43034
43035 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43036 PyObject *resultobj = 0;
43037 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43038 int result;
43039 void *argp1 = 0 ;
43040 int res1 = 0 ;
43041 PyObject *swig_obj[1] ;
43042
43043 if (!args) SWIG_fail;
43044 swig_obj[0] = args;
43045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43046 if (!SWIG_IsOK(res1)) {
43047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43048 }
43049 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43050 {
43051 PyThreadState* __tstate = wxPyBeginAllowThreads();
43052 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
43053 wxPyEndAllowThreads(__tstate);
43054 if (PyErr_Occurred()) SWIG_fail;
43055 }
43056 resultobj = SWIG_From_int(static_cast< int >(result));
43057 return resultobj;
43058 fail:
43059 return NULL;
43060 }
43061
43062
43063 SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43064 PyObject *resultobj = 0;
43065 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43066 bool result;
43067 void *argp1 = 0 ;
43068 int res1 = 0 ;
43069 PyObject *swig_obj[1] ;
43070
43071 if (!args) SWIG_fail;
43072 swig_obj[0] = args;
43073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43074 if (!SWIG_IsOK(res1)) {
43075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43076 }
43077 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43078 {
43079 PyThreadState* __tstate = wxPyBeginAllowThreads();
43080 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
43081 wxPyEndAllowThreads(__tstate);
43082 if (PyErr_Occurred()) SWIG_fail;
43083 }
43084 {
43085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43086 }
43087 return resultobj;
43088 fail:
43089 return NULL;
43090 }
43091
43092
43093 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43094 PyObject *resultobj = 0;
43095 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43096 bool arg2 = (bool) true ;
43097 void *argp1 = 0 ;
43098 int res1 = 0 ;
43099 bool val2 ;
43100 int ecode2 = 0 ;
43101 PyObject * obj0 = 0 ;
43102 PyObject * obj1 = 0 ;
43103 char * kwnames[] = {
43104 (char *) "self",(char *) "grow", NULL
43105 };
43106
43107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43109 if (!SWIG_IsOK(res1)) {
43110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43111 }
43112 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43113 if (obj1) {
43114 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43115 if (!SWIG_IsOK(ecode2)) {
43116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43117 }
43118 arg2 = static_cast< bool >(val2);
43119 }
43120 {
43121 PyThreadState* __tstate = wxPyBeginAllowThreads();
43122 (arg1)->SetTextCtrlGrowable(arg2);
43123 wxPyEndAllowThreads(__tstate);
43124 if (PyErr_Occurred()) SWIG_fail;
43125 }
43126 resultobj = SWIG_Py_Void();
43127 return resultobj;
43128 fail:
43129 return NULL;
43130 }
43131
43132
43133 SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43134 PyObject *resultobj = 0;
43135 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43136 bool result;
43137 void *argp1 = 0 ;
43138 int res1 = 0 ;
43139 PyObject *swig_obj[1] ;
43140
43141 if (!args) SWIG_fail;
43142 swig_obj[0] = args;
43143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43144 if (!SWIG_IsOK(res1)) {
43145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43146 }
43147 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43148 {
43149 PyThreadState* __tstate = wxPyBeginAllowThreads();
43150 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
43151 wxPyEndAllowThreads(__tstate);
43152 if (PyErr_Occurred()) SWIG_fail;
43153 }
43154 {
43155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43156 }
43157 return resultobj;
43158 fail:
43159 return NULL;
43160 }
43161
43162
43163 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43164 PyObject *resultobj = 0;
43165 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43166 bool arg2 = (bool) true ;
43167 void *argp1 = 0 ;
43168 int res1 = 0 ;
43169 bool val2 ;
43170 int ecode2 = 0 ;
43171 PyObject * obj0 = 0 ;
43172 PyObject * obj1 = 0 ;
43173 char * kwnames[] = {
43174 (char *) "self",(char *) "grow", NULL
43175 };
43176
43177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43179 if (!SWIG_IsOK(res1)) {
43180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43181 }
43182 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43183 if (obj1) {
43184 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43185 if (!SWIG_IsOK(ecode2)) {
43186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43187 }
43188 arg2 = static_cast< bool >(val2);
43189 }
43190 {
43191 PyThreadState* __tstate = wxPyBeginAllowThreads();
43192 (arg1)->SetPickerCtrlGrowable(arg2);
43193 wxPyEndAllowThreads(__tstate);
43194 if (PyErr_Occurred()) SWIG_fail;
43195 }
43196 resultobj = SWIG_Py_Void();
43197 return resultobj;
43198 fail:
43199 return NULL;
43200 }
43201
43202
43203 SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43204 PyObject *resultobj = 0;
43205 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43206 bool result;
43207 void *argp1 = 0 ;
43208 int res1 = 0 ;
43209 PyObject *swig_obj[1] ;
43210
43211 if (!args) SWIG_fail;
43212 swig_obj[0] = args;
43213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43214 if (!SWIG_IsOK(res1)) {
43215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43216 }
43217 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43218 {
43219 PyThreadState* __tstate = wxPyBeginAllowThreads();
43220 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
43221 wxPyEndAllowThreads(__tstate);
43222 if (PyErr_Occurred()) SWIG_fail;
43223 }
43224 {
43225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43226 }
43227 return resultobj;
43228 fail:
43229 return NULL;
43230 }
43231
43232
43233 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43234 PyObject *resultobj = 0;
43235 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43236 wxTextCtrl *result = 0 ;
43237 void *argp1 = 0 ;
43238 int res1 = 0 ;
43239 PyObject *swig_obj[1] ;
43240
43241 if (!args) SWIG_fail;
43242 swig_obj[0] = args;
43243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43244 if (!SWIG_IsOK(res1)) {
43245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43246 }
43247 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43248 {
43249 PyThreadState* __tstate = wxPyBeginAllowThreads();
43250 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
43251 wxPyEndAllowThreads(__tstate);
43252 if (PyErr_Occurred()) SWIG_fail;
43253 }
43254 {
43255 resultobj = wxPyMake_wxObject(result, 0);
43256 }
43257 return resultobj;
43258 fail:
43259 return NULL;
43260 }
43261
43262
43263 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43264 PyObject *resultobj = 0;
43265 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43266 wxControl *result = 0 ;
43267 void *argp1 = 0 ;
43268 int res1 = 0 ;
43269 PyObject *swig_obj[1] ;
43270
43271 if (!args) SWIG_fail;
43272 swig_obj[0] = args;
43273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43274 if (!SWIG_IsOK(res1)) {
43275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43276 }
43277 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43278 {
43279 PyThreadState* __tstate = wxPyBeginAllowThreads();
43280 result = (wxControl *)(arg1)->GetPickerCtrl();
43281 wxPyEndAllowThreads(__tstate);
43282 if (PyErr_Occurred()) SWIG_fail;
43283 }
43284 {
43285 resultobj = wxPyMake_wxObject(result, 0);
43286 }
43287 return resultobj;
43288 fail:
43289 return NULL;
43290 }
43291
43292
43293 SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43294 PyObject *obj;
43295 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43296 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43297 return SWIG_Py_Void();
43298 }
43299
43300 SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43301 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43302 return 1;
43303 }
43304
43305
43306 SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43307 PyObject *pyobj = 0;
43308
43309 {
43310 #if wxUSE_UNICODE
43311 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43312 #else
43313 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43314 #endif
43315 }
43316 return pyobj;
43317 }
43318
43319
43320 SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43321 PyObject *resultobj = 0;
43322 wxWindow *arg1 = (wxWindow *) 0 ;
43323 int arg2 = (int) -1 ;
43324 wxColour const &arg3_defvalue = *wxBLACK ;
43325 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43326 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43327 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43328 wxSize const &arg5_defvalue = wxDefaultSize ;
43329 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43330 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43331 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43332 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43333 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43334 wxString *arg8 = (wxString *) &arg8_defvalue ;
43335 wxColourPickerCtrl *result = 0 ;
43336 void *argp1 = 0 ;
43337 int res1 = 0 ;
43338 int val2 ;
43339 int ecode2 = 0 ;
43340 wxColour temp3 ;
43341 wxPoint temp4 ;
43342 wxSize temp5 ;
43343 long val6 ;
43344 int ecode6 = 0 ;
43345 void *argp7 = 0 ;
43346 int res7 = 0 ;
43347 bool temp8 = false ;
43348 PyObject * obj0 = 0 ;
43349 PyObject * obj1 = 0 ;
43350 PyObject * obj2 = 0 ;
43351 PyObject * obj3 = 0 ;
43352 PyObject * obj4 = 0 ;
43353 PyObject * obj5 = 0 ;
43354 PyObject * obj6 = 0 ;
43355 PyObject * obj7 = 0 ;
43356 char * kwnames[] = {
43357 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43358 };
43359
43360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43362 if (!SWIG_IsOK(res1)) {
43363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43364 }
43365 arg1 = reinterpret_cast< wxWindow * >(argp1);
43366 if (obj1) {
43367 ecode2 = SWIG_AsVal_int(obj1, &val2);
43368 if (!SWIG_IsOK(ecode2)) {
43369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43370 }
43371 arg2 = static_cast< int >(val2);
43372 }
43373 if (obj2) {
43374 {
43375 arg3 = &temp3;
43376 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43377 }
43378 }
43379 if (obj3) {
43380 {
43381 arg4 = &temp4;
43382 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43383 }
43384 }
43385 if (obj4) {
43386 {
43387 arg5 = &temp5;
43388 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43389 }
43390 }
43391 if (obj5) {
43392 ecode6 = SWIG_AsVal_long(obj5, &val6);
43393 if (!SWIG_IsOK(ecode6)) {
43394 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43395 }
43396 arg6 = static_cast< long >(val6);
43397 }
43398 if (obj6) {
43399 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43400 if (!SWIG_IsOK(res7)) {
43401 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43402 }
43403 if (!argp7) {
43404 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43405 }
43406 arg7 = reinterpret_cast< wxValidator * >(argp7);
43407 }
43408 if (obj7) {
43409 {
43410 arg8 = wxString_in_helper(obj7);
43411 if (arg8 == NULL) SWIG_fail;
43412 temp8 = true;
43413 }
43414 }
43415 {
43416 if (!wxPyCheckForApp()) SWIG_fail;
43417 PyThreadState* __tstate = wxPyBeginAllowThreads();
43418 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43419 wxPyEndAllowThreads(__tstate);
43420 if (PyErr_Occurred()) SWIG_fail;
43421 }
43422 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43423 {
43424 if (temp8)
43425 delete arg8;
43426 }
43427 return resultobj;
43428 fail:
43429 {
43430 if (temp8)
43431 delete arg8;
43432 }
43433 return NULL;
43434 }
43435
43436
43437 SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43438 PyObject *resultobj = 0;
43439 wxColourPickerCtrl *result = 0 ;
43440
43441 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43442 {
43443 if (!wxPyCheckForApp()) SWIG_fail;
43444 PyThreadState* __tstate = wxPyBeginAllowThreads();
43445 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43446 wxPyEndAllowThreads(__tstate);
43447 if (PyErr_Occurred()) SWIG_fail;
43448 }
43449 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43450 return resultobj;
43451 fail:
43452 return NULL;
43453 }
43454
43455
43456 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43457 PyObject *resultobj = 0;
43458 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43459 wxWindow *arg2 = (wxWindow *) 0 ;
43460 int arg3 ;
43461 wxColour const &arg4_defvalue = *wxBLACK ;
43462 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43463 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43464 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43465 wxSize const &arg6_defvalue = wxDefaultSize ;
43466 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43467 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43468 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43469 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43470 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43471 wxString *arg9 = (wxString *) &arg9_defvalue ;
43472 bool result;
43473 void *argp1 = 0 ;
43474 int res1 = 0 ;
43475 void *argp2 = 0 ;
43476 int res2 = 0 ;
43477 int val3 ;
43478 int ecode3 = 0 ;
43479 wxColour temp4 ;
43480 wxPoint temp5 ;
43481 wxSize temp6 ;
43482 long val7 ;
43483 int ecode7 = 0 ;
43484 void *argp8 = 0 ;
43485 int res8 = 0 ;
43486 bool temp9 = false ;
43487 PyObject * obj0 = 0 ;
43488 PyObject * obj1 = 0 ;
43489 PyObject * obj2 = 0 ;
43490 PyObject * obj3 = 0 ;
43491 PyObject * obj4 = 0 ;
43492 PyObject * obj5 = 0 ;
43493 PyObject * obj6 = 0 ;
43494 PyObject * obj7 = 0 ;
43495 PyObject * obj8 = 0 ;
43496 char * kwnames[] = {
43497 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43498 };
43499
43500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43502 if (!SWIG_IsOK(res1)) {
43503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43504 }
43505 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43506 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43507 if (!SWIG_IsOK(res2)) {
43508 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43509 }
43510 arg2 = reinterpret_cast< wxWindow * >(argp2);
43511 ecode3 = SWIG_AsVal_int(obj2, &val3);
43512 if (!SWIG_IsOK(ecode3)) {
43513 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43514 }
43515 arg3 = static_cast< int >(val3);
43516 if (obj3) {
43517 {
43518 arg4 = &temp4;
43519 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43520 }
43521 }
43522 if (obj4) {
43523 {
43524 arg5 = &temp5;
43525 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43526 }
43527 }
43528 if (obj5) {
43529 {
43530 arg6 = &temp6;
43531 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43532 }
43533 }
43534 if (obj6) {
43535 ecode7 = SWIG_AsVal_long(obj6, &val7);
43536 if (!SWIG_IsOK(ecode7)) {
43537 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43538 }
43539 arg7 = static_cast< long >(val7);
43540 }
43541 if (obj7) {
43542 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43543 if (!SWIG_IsOK(res8)) {
43544 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43545 }
43546 if (!argp8) {
43547 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43548 }
43549 arg8 = reinterpret_cast< wxValidator * >(argp8);
43550 }
43551 if (obj8) {
43552 {
43553 arg9 = wxString_in_helper(obj8);
43554 if (arg9 == NULL) SWIG_fail;
43555 temp9 = true;
43556 }
43557 }
43558 {
43559 PyThreadState* __tstate = wxPyBeginAllowThreads();
43560 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43561 wxPyEndAllowThreads(__tstate);
43562 if (PyErr_Occurred()) SWIG_fail;
43563 }
43564 {
43565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43566 }
43567 {
43568 if (temp9)
43569 delete arg9;
43570 }
43571 return resultobj;
43572 fail:
43573 {
43574 if (temp9)
43575 delete arg9;
43576 }
43577 return NULL;
43578 }
43579
43580
43581 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43582 PyObject *resultobj = 0;
43583 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43584 wxColour result;
43585 void *argp1 = 0 ;
43586 int res1 = 0 ;
43587 PyObject *swig_obj[1] ;
43588
43589 if (!args) SWIG_fail;
43590 swig_obj[0] = args;
43591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43592 if (!SWIG_IsOK(res1)) {
43593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43594 }
43595 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43596 {
43597 PyThreadState* __tstate = wxPyBeginAllowThreads();
43598 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
43599 wxPyEndAllowThreads(__tstate);
43600 if (PyErr_Occurred()) SWIG_fail;
43601 }
43602 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43603 return resultobj;
43604 fail:
43605 return NULL;
43606 }
43607
43608
43609 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43610 PyObject *resultobj = 0;
43611 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43612 wxColour *arg2 = 0 ;
43613 void *argp1 = 0 ;
43614 int res1 = 0 ;
43615 wxColour temp2 ;
43616 PyObject * obj0 = 0 ;
43617 PyObject * obj1 = 0 ;
43618 char * kwnames[] = {
43619 (char *) "self",(char *) "col", NULL
43620 };
43621
43622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43624 if (!SWIG_IsOK(res1)) {
43625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43626 }
43627 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43628 {
43629 arg2 = &temp2;
43630 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43631 }
43632 {
43633 PyThreadState* __tstate = wxPyBeginAllowThreads();
43634 (arg1)->SetColour((wxColour const &)*arg2);
43635 wxPyEndAllowThreads(__tstate);
43636 if (PyErr_Occurred()) SWIG_fail;
43637 }
43638 resultobj = SWIG_Py_Void();
43639 return resultobj;
43640 fail:
43641 return NULL;
43642 }
43643
43644
43645 SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43646 PyObject *obj;
43647 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43648 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
43649 return SWIG_Py_Void();
43650 }
43651
43652 SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43653 return SWIG_Python_InitShadowInstance(args);
43654 }
43655
43656 SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43657 PyObject *resultobj = 0;
43658 wxObject *arg1 = (wxObject *) 0 ;
43659 int arg2 ;
43660 wxColour *arg3 = 0 ;
43661 wxColourPickerEvent *result = 0 ;
43662 void *argp1 = 0 ;
43663 int res1 = 0 ;
43664 int val2 ;
43665 int ecode2 = 0 ;
43666 wxColour temp3 ;
43667 PyObject * obj0 = 0 ;
43668 PyObject * obj1 = 0 ;
43669 PyObject * obj2 = 0 ;
43670 char * kwnames[] = {
43671 (char *) "generator",(char *) "id",(char *) "col", NULL
43672 };
43673
43674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43676 if (!SWIG_IsOK(res1)) {
43677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43678 }
43679 arg1 = reinterpret_cast< wxObject * >(argp1);
43680 ecode2 = SWIG_AsVal_int(obj1, &val2);
43681 if (!SWIG_IsOK(ecode2)) {
43682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43683 }
43684 arg2 = static_cast< int >(val2);
43685 {
43686 arg3 = &temp3;
43687 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43688 }
43689 {
43690 PyThreadState* __tstate = wxPyBeginAllowThreads();
43691 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43692 wxPyEndAllowThreads(__tstate);
43693 if (PyErr_Occurred()) SWIG_fail;
43694 }
43695 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43696 return resultobj;
43697 fail:
43698 return NULL;
43699 }
43700
43701
43702 SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43703 PyObject *resultobj = 0;
43704 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43705 wxColour result;
43706 void *argp1 = 0 ;
43707 int res1 = 0 ;
43708 PyObject *swig_obj[1] ;
43709
43710 if (!args) SWIG_fail;
43711 swig_obj[0] = args;
43712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43713 if (!SWIG_IsOK(res1)) {
43714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43715 }
43716 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43717 {
43718 PyThreadState* __tstate = wxPyBeginAllowThreads();
43719 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43720 wxPyEndAllowThreads(__tstate);
43721 if (PyErr_Occurred()) SWIG_fail;
43722 }
43723 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43724 return resultobj;
43725 fail:
43726 return NULL;
43727 }
43728
43729
43730 SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43731 PyObject *resultobj = 0;
43732 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43733 wxColour *arg2 = 0 ;
43734 void *argp1 = 0 ;
43735 int res1 = 0 ;
43736 wxColour temp2 ;
43737 PyObject * obj0 = 0 ;
43738 PyObject * obj1 = 0 ;
43739 char * kwnames[] = {
43740 (char *) "self",(char *) "c", NULL
43741 };
43742
43743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43745 if (!SWIG_IsOK(res1)) {
43746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43747 }
43748 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43749 {
43750 arg2 = &temp2;
43751 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43752 }
43753 {
43754 PyThreadState* __tstate = wxPyBeginAllowThreads();
43755 (arg1)->SetColour((wxColour const &)*arg2);
43756 wxPyEndAllowThreads(__tstate);
43757 if (PyErr_Occurred()) SWIG_fail;
43758 }
43759 resultobj = SWIG_Py_Void();
43760 return resultobj;
43761 fail:
43762 return NULL;
43763 }
43764
43765
43766 SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43767 PyObject *obj;
43768 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43769 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43770 return SWIG_Py_Void();
43771 }
43772
43773 SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43774 return SWIG_Python_InitShadowInstance(args);
43775 }
43776
43777 SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43778 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43779 return 1;
43780 }
43781
43782
43783 SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43784 PyObject *pyobj = 0;
43785
43786 {
43787 #if wxUSE_UNICODE
43788 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43789 #else
43790 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43791 #endif
43792 }
43793 return pyobj;
43794 }
43795
43796
43797 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43798 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43799 return 1;
43800 }
43801
43802
43803 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43804 PyObject *pyobj = 0;
43805
43806 {
43807 #if wxUSE_UNICODE
43808 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43809 #else
43810 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43811 #endif
43812 }
43813 return pyobj;
43814 }
43815
43816
43817 SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43818 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43819 return 1;
43820 }
43821
43822
43823 SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43824 PyObject *pyobj = 0;
43825
43826 {
43827 #if wxUSE_UNICODE
43828 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43829 #else
43830 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43831 #endif
43832 }
43833 return pyobj;
43834 }
43835
43836
43837 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43838 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43839 return 1;
43840 }
43841
43842
43843 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43844 PyObject *pyobj = 0;
43845
43846 {
43847 #if wxUSE_UNICODE
43848 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43849 #else
43850 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43851 #endif
43852 }
43853 return pyobj;
43854 }
43855
43856
43857 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43858 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43859 return 1;
43860 }
43861
43862
43863 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43864 PyObject *pyobj = 0;
43865
43866 {
43867 #if wxUSE_UNICODE
43868 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43869 #else
43870 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43871 #endif
43872 }
43873 return pyobj;
43874 }
43875
43876
43877 SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43878 PyObject *resultobj = 0;
43879 wxWindow *arg1 = (wxWindow *) 0 ;
43880 int arg2 = (int) -1 ;
43881 wxString const &arg3_defvalue = wxPyEmptyString ;
43882 wxString *arg3 = (wxString *) &arg3_defvalue ;
43883 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43884 wxString *arg4 = (wxString *) &arg4_defvalue ;
43885 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43886 wxString *arg5 = (wxString *) &arg5_defvalue ;
43887 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43888 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43889 wxSize const &arg7_defvalue = wxDefaultSize ;
43890 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43891 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43892 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43893 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43894 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43895 wxString *arg10 = (wxString *) &arg10_defvalue ;
43896 wxFilePickerCtrl *result = 0 ;
43897 void *argp1 = 0 ;
43898 int res1 = 0 ;
43899 int val2 ;
43900 int ecode2 = 0 ;
43901 bool temp3 = false ;
43902 bool temp4 = false ;
43903 bool temp5 = false ;
43904 wxPoint temp6 ;
43905 wxSize temp7 ;
43906 long val8 ;
43907 int ecode8 = 0 ;
43908 void *argp9 = 0 ;
43909 int res9 = 0 ;
43910 bool temp10 = false ;
43911 PyObject * obj0 = 0 ;
43912 PyObject * obj1 = 0 ;
43913 PyObject * obj2 = 0 ;
43914 PyObject * obj3 = 0 ;
43915 PyObject * obj4 = 0 ;
43916 PyObject * obj5 = 0 ;
43917 PyObject * obj6 = 0 ;
43918 PyObject * obj7 = 0 ;
43919 PyObject * obj8 = 0 ;
43920 PyObject * obj9 = 0 ;
43921 char * kwnames[] = {
43922 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43923 };
43924
43925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43927 if (!SWIG_IsOK(res1)) {
43928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43929 }
43930 arg1 = reinterpret_cast< wxWindow * >(argp1);
43931 if (obj1) {
43932 ecode2 = SWIG_AsVal_int(obj1, &val2);
43933 if (!SWIG_IsOK(ecode2)) {
43934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43935 }
43936 arg2 = static_cast< int >(val2);
43937 }
43938 if (obj2) {
43939 {
43940 arg3 = wxString_in_helper(obj2);
43941 if (arg3 == NULL) SWIG_fail;
43942 temp3 = true;
43943 }
43944 }
43945 if (obj3) {
43946 {
43947 arg4 = wxString_in_helper(obj3);
43948 if (arg4 == NULL) SWIG_fail;
43949 temp4 = true;
43950 }
43951 }
43952 if (obj4) {
43953 {
43954 arg5 = wxString_in_helper(obj4);
43955 if (arg5 == NULL) SWIG_fail;
43956 temp5 = true;
43957 }
43958 }
43959 if (obj5) {
43960 {
43961 arg6 = &temp6;
43962 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43963 }
43964 }
43965 if (obj6) {
43966 {
43967 arg7 = &temp7;
43968 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43969 }
43970 }
43971 if (obj7) {
43972 ecode8 = SWIG_AsVal_long(obj7, &val8);
43973 if (!SWIG_IsOK(ecode8)) {
43974 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43975 }
43976 arg8 = static_cast< long >(val8);
43977 }
43978 if (obj8) {
43979 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43980 if (!SWIG_IsOK(res9)) {
43981 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43982 }
43983 if (!argp9) {
43984 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43985 }
43986 arg9 = reinterpret_cast< wxValidator * >(argp9);
43987 }
43988 if (obj9) {
43989 {
43990 arg10 = wxString_in_helper(obj9);
43991 if (arg10 == NULL) SWIG_fail;
43992 temp10 = true;
43993 }
43994 }
43995 {
43996 if (!wxPyCheckForApp()) SWIG_fail;
43997 PyThreadState* __tstate = wxPyBeginAllowThreads();
43998 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);
43999 wxPyEndAllowThreads(__tstate);
44000 if (PyErr_Occurred()) SWIG_fail;
44001 }
44002 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
44003 {
44004 if (temp3)
44005 delete arg3;
44006 }
44007 {
44008 if (temp4)
44009 delete arg4;
44010 }
44011 {
44012 if (temp5)
44013 delete arg5;
44014 }
44015 {
44016 if (temp10)
44017 delete arg10;
44018 }
44019 return resultobj;
44020 fail:
44021 {
44022 if (temp3)
44023 delete arg3;
44024 }
44025 {
44026 if (temp4)
44027 delete arg4;
44028 }
44029 {
44030 if (temp5)
44031 delete arg5;
44032 }
44033 {
44034 if (temp10)
44035 delete arg10;
44036 }
44037 return NULL;
44038 }
44039
44040
44041 SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44042 PyObject *resultobj = 0;
44043 wxFilePickerCtrl *result = 0 ;
44044
44045 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
44046 {
44047 if (!wxPyCheckForApp()) SWIG_fail;
44048 PyThreadState* __tstate = wxPyBeginAllowThreads();
44049 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
44050 wxPyEndAllowThreads(__tstate);
44051 if (PyErr_Occurred()) SWIG_fail;
44052 }
44053 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
44054 return resultobj;
44055 fail:
44056 return NULL;
44057 }
44058
44059
44060 SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44061 PyObject *resultobj = 0;
44062 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44063 wxWindow *arg2 = (wxWindow *) 0 ;
44064 int arg3 = (int) -1 ;
44065 wxString const &arg4_defvalue = wxPyEmptyString ;
44066 wxString *arg4 = (wxString *) &arg4_defvalue ;
44067 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
44068 wxString *arg5 = (wxString *) &arg5_defvalue ;
44069 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
44070 wxString *arg6 = (wxString *) &arg6_defvalue ;
44071 wxPoint const &arg7_defvalue = wxDefaultPosition ;
44072 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
44073 wxSize const &arg8_defvalue = wxDefaultSize ;
44074 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
44075 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
44076 wxValidator const &arg10_defvalue = wxDefaultValidator ;
44077 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
44078 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
44079 wxString *arg11 = (wxString *) &arg11_defvalue ;
44080 bool result;
44081 void *argp1 = 0 ;
44082 int res1 = 0 ;
44083 void *argp2 = 0 ;
44084 int res2 = 0 ;
44085 int val3 ;
44086 int ecode3 = 0 ;
44087 bool temp4 = false ;
44088 bool temp5 = false ;
44089 bool temp6 = false ;
44090 wxPoint temp7 ;
44091 wxSize temp8 ;
44092 long val9 ;
44093 int ecode9 = 0 ;
44094 void *argp10 = 0 ;
44095 int res10 = 0 ;
44096 bool temp11 = false ;
44097 PyObject * obj0 = 0 ;
44098 PyObject * obj1 = 0 ;
44099 PyObject * obj2 = 0 ;
44100 PyObject * obj3 = 0 ;
44101 PyObject * obj4 = 0 ;
44102 PyObject * obj5 = 0 ;
44103 PyObject * obj6 = 0 ;
44104 PyObject * obj7 = 0 ;
44105 PyObject * obj8 = 0 ;
44106 PyObject * obj9 = 0 ;
44107 PyObject * obj10 = 0 ;
44108 char * kwnames[] = {
44109 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44110 };
44111
44112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
44113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44114 if (!SWIG_IsOK(res1)) {
44115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44116 }
44117 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44118 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44119 if (!SWIG_IsOK(res2)) {
44120 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44121 }
44122 arg2 = reinterpret_cast< wxWindow * >(argp2);
44123 if (obj2) {
44124 ecode3 = SWIG_AsVal_int(obj2, &val3);
44125 if (!SWIG_IsOK(ecode3)) {
44126 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44127 }
44128 arg3 = static_cast< int >(val3);
44129 }
44130 if (obj3) {
44131 {
44132 arg4 = wxString_in_helper(obj3);
44133 if (arg4 == NULL) SWIG_fail;
44134 temp4 = true;
44135 }
44136 }
44137 if (obj4) {
44138 {
44139 arg5 = wxString_in_helper(obj4);
44140 if (arg5 == NULL) SWIG_fail;
44141 temp5 = true;
44142 }
44143 }
44144 if (obj5) {
44145 {
44146 arg6 = wxString_in_helper(obj5);
44147 if (arg6 == NULL) SWIG_fail;
44148 temp6 = true;
44149 }
44150 }
44151 if (obj6) {
44152 {
44153 arg7 = &temp7;
44154 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
44155 }
44156 }
44157 if (obj7) {
44158 {
44159 arg8 = &temp8;
44160 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
44161 }
44162 }
44163 if (obj8) {
44164 ecode9 = SWIG_AsVal_long(obj8, &val9);
44165 if (!SWIG_IsOK(ecode9)) {
44166 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44167 }
44168 arg9 = static_cast< long >(val9);
44169 }
44170 if (obj9) {
44171 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
44172 if (!SWIG_IsOK(res10)) {
44173 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44174 }
44175 if (!argp10) {
44176 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44177 }
44178 arg10 = reinterpret_cast< wxValidator * >(argp10);
44179 }
44180 if (obj10) {
44181 {
44182 arg11 = wxString_in_helper(obj10);
44183 if (arg11 == NULL) SWIG_fail;
44184 temp11 = true;
44185 }
44186 }
44187 {
44188 PyThreadState* __tstate = wxPyBeginAllowThreads();
44189 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);
44190 wxPyEndAllowThreads(__tstate);
44191 if (PyErr_Occurred()) SWIG_fail;
44192 }
44193 {
44194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44195 }
44196 {
44197 if (temp4)
44198 delete arg4;
44199 }
44200 {
44201 if (temp5)
44202 delete arg5;
44203 }
44204 {
44205 if (temp6)
44206 delete arg6;
44207 }
44208 {
44209 if (temp11)
44210 delete arg11;
44211 }
44212 return resultobj;
44213 fail:
44214 {
44215 if (temp4)
44216 delete arg4;
44217 }
44218 {
44219 if (temp5)
44220 delete arg5;
44221 }
44222 {
44223 if (temp6)
44224 delete arg6;
44225 }
44226 {
44227 if (temp11)
44228 delete arg11;
44229 }
44230 return NULL;
44231 }
44232
44233
44234 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44235 PyObject *resultobj = 0;
44236 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44237 wxString result;
44238 void *argp1 = 0 ;
44239 int res1 = 0 ;
44240 PyObject *swig_obj[1] ;
44241
44242 if (!args) SWIG_fail;
44243 swig_obj[0] = args;
44244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44245 if (!SWIG_IsOK(res1)) {
44246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44247 }
44248 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44249 {
44250 PyThreadState* __tstate = wxPyBeginAllowThreads();
44251 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
44252 wxPyEndAllowThreads(__tstate);
44253 if (PyErr_Occurred()) SWIG_fail;
44254 }
44255 {
44256 #if wxUSE_UNICODE
44257 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44258 #else
44259 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44260 #endif
44261 }
44262 return resultobj;
44263 fail:
44264 return NULL;
44265 }
44266
44267
44268 SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44269 PyObject *resultobj = 0;
44270 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44271 wxString *arg2 = 0 ;
44272 void *argp1 = 0 ;
44273 int res1 = 0 ;
44274 bool temp2 = false ;
44275 PyObject * obj0 = 0 ;
44276 PyObject * obj1 = 0 ;
44277 char * kwnames[] = {
44278 (char *) "self",(char *) "str", NULL
44279 };
44280
44281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44283 if (!SWIG_IsOK(res1)) {
44284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44285 }
44286 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44287 {
44288 arg2 = wxString_in_helper(obj1);
44289 if (arg2 == NULL) SWIG_fail;
44290 temp2 = true;
44291 }
44292 {
44293 PyThreadState* __tstate = wxPyBeginAllowThreads();
44294 (arg1)->SetPath((wxString const &)*arg2);
44295 wxPyEndAllowThreads(__tstate);
44296 if (PyErr_Occurred()) SWIG_fail;
44297 }
44298 resultobj = SWIG_Py_Void();
44299 {
44300 if (temp2)
44301 delete arg2;
44302 }
44303 return resultobj;
44304 fail:
44305 {
44306 if (temp2)
44307 delete arg2;
44308 }
44309 return NULL;
44310 }
44311
44312
44313 SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44314 PyObject *resultobj = 0;
44315 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44316 wxString *arg2 = 0 ;
44317 bool result;
44318 void *argp1 = 0 ;
44319 int res1 = 0 ;
44320 bool temp2 = false ;
44321 PyObject * obj0 = 0 ;
44322 PyObject * obj1 = 0 ;
44323 char * kwnames[] = {
44324 (char *) "self",(char *) "path", NULL
44325 };
44326
44327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44329 if (!SWIG_IsOK(res1)) {
44330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44331 }
44332 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44333 {
44334 arg2 = wxString_in_helper(obj1);
44335 if (arg2 == NULL) SWIG_fail;
44336 temp2 = true;
44337 }
44338 {
44339 PyThreadState* __tstate = wxPyBeginAllowThreads();
44340 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44341 wxPyEndAllowThreads(__tstate);
44342 if (PyErr_Occurred()) SWIG_fail;
44343 }
44344 {
44345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44346 }
44347 {
44348 if (temp2)
44349 delete arg2;
44350 }
44351 return resultobj;
44352 fail:
44353 {
44354 if (temp2)
44355 delete arg2;
44356 }
44357 return NULL;
44358 }
44359
44360
44361 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44362 PyObject *resultobj = 0;
44363 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44364 wxString result;
44365 void *argp1 = 0 ;
44366 int res1 = 0 ;
44367 PyObject *swig_obj[1] ;
44368
44369 if (!args) SWIG_fail;
44370 swig_obj[0] = args;
44371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44372 if (!SWIG_IsOK(res1)) {
44373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44374 }
44375 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44376 {
44377 PyThreadState* __tstate = wxPyBeginAllowThreads();
44378 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44379 wxPyEndAllowThreads(__tstate);
44380 if (PyErr_Occurred()) SWIG_fail;
44381 }
44382 {
44383 #if wxUSE_UNICODE
44384 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44385 #else
44386 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44387 #endif
44388 }
44389 return resultobj;
44390 fail:
44391 return NULL;
44392 }
44393
44394
44395 SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44396 PyObject *obj;
44397 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44398 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44399 return SWIG_Py_Void();
44400 }
44401
44402 SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44403 return SWIG_Python_InitShadowInstance(args);
44404 }
44405
44406 SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44407 PyObject *resultobj = 0;
44408 wxWindow *arg1 = (wxWindow *) 0 ;
44409 int arg2 = (int) -1 ;
44410 wxString const &arg3_defvalue = wxPyEmptyString ;
44411 wxString *arg3 = (wxString *) &arg3_defvalue ;
44412 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44413 wxString *arg4 = (wxString *) &arg4_defvalue ;
44414 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44415 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44416 wxSize const &arg6_defvalue = wxDefaultSize ;
44417 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44418 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44419 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44420 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44421 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44422 wxString *arg9 = (wxString *) &arg9_defvalue ;
44423 wxDirPickerCtrl *result = 0 ;
44424 void *argp1 = 0 ;
44425 int res1 = 0 ;
44426 int val2 ;
44427 int ecode2 = 0 ;
44428 bool temp3 = false ;
44429 bool temp4 = false ;
44430 wxPoint temp5 ;
44431 wxSize temp6 ;
44432 long val7 ;
44433 int ecode7 = 0 ;
44434 void *argp8 = 0 ;
44435 int res8 = 0 ;
44436 bool temp9 = false ;
44437 PyObject * obj0 = 0 ;
44438 PyObject * obj1 = 0 ;
44439 PyObject * obj2 = 0 ;
44440 PyObject * obj3 = 0 ;
44441 PyObject * obj4 = 0 ;
44442 PyObject * obj5 = 0 ;
44443 PyObject * obj6 = 0 ;
44444 PyObject * obj7 = 0 ;
44445 PyObject * obj8 = 0 ;
44446 char * kwnames[] = {
44447 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44448 };
44449
44450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44452 if (!SWIG_IsOK(res1)) {
44453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44454 }
44455 arg1 = reinterpret_cast< wxWindow * >(argp1);
44456 if (obj1) {
44457 ecode2 = SWIG_AsVal_int(obj1, &val2);
44458 if (!SWIG_IsOK(ecode2)) {
44459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44460 }
44461 arg2 = static_cast< int >(val2);
44462 }
44463 if (obj2) {
44464 {
44465 arg3 = wxString_in_helper(obj2);
44466 if (arg3 == NULL) SWIG_fail;
44467 temp3 = true;
44468 }
44469 }
44470 if (obj3) {
44471 {
44472 arg4 = wxString_in_helper(obj3);
44473 if (arg4 == NULL) SWIG_fail;
44474 temp4 = true;
44475 }
44476 }
44477 if (obj4) {
44478 {
44479 arg5 = &temp5;
44480 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44481 }
44482 }
44483 if (obj5) {
44484 {
44485 arg6 = &temp6;
44486 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44487 }
44488 }
44489 if (obj6) {
44490 ecode7 = SWIG_AsVal_long(obj6, &val7);
44491 if (!SWIG_IsOK(ecode7)) {
44492 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44493 }
44494 arg7 = static_cast< long >(val7);
44495 }
44496 if (obj7) {
44497 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44498 if (!SWIG_IsOK(res8)) {
44499 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44500 }
44501 if (!argp8) {
44502 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44503 }
44504 arg8 = reinterpret_cast< wxValidator * >(argp8);
44505 }
44506 if (obj8) {
44507 {
44508 arg9 = wxString_in_helper(obj8);
44509 if (arg9 == NULL) SWIG_fail;
44510 temp9 = true;
44511 }
44512 }
44513 {
44514 if (!wxPyCheckForApp()) SWIG_fail;
44515 PyThreadState* __tstate = wxPyBeginAllowThreads();
44516 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);
44517 wxPyEndAllowThreads(__tstate);
44518 if (PyErr_Occurred()) SWIG_fail;
44519 }
44520 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44521 {
44522 if (temp3)
44523 delete arg3;
44524 }
44525 {
44526 if (temp4)
44527 delete arg4;
44528 }
44529 {
44530 if (temp9)
44531 delete arg9;
44532 }
44533 return resultobj;
44534 fail:
44535 {
44536 if (temp3)
44537 delete arg3;
44538 }
44539 {
44540 if (temp4)
44541 delete arg4;
44542 }
44543 {
44544 if (temp9)
44545 delete arg9;
44546 }
44547 return NULL;
44548 }
44549
44550
44551 SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44552 PyObject *resultobj = 0;
44553 wxDirPickerCtrl *result = 0 ;
44554
44555 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44556 {
44557 if (!wxPyCheckForApp()) SWIG_fail;
44558 PyThreadState* __tstate = wxPyBeginAllowThreads();
44559 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44560 wxPyEndAllowThreads(__tstate);
44561 if (PyErr_Occurred()) SWIG_fail;
44562 }
44563 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44564 return resultobj;
44565 fail:
44566 return NULL;
44567 }
44568
44569
44570 SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44571 PyObject *resultobj = 0;
44572 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44573 wxWindow *arg2 = (wxWindow *) 0 ;
44574 int arg3 = (int) -1 ;
44575 wxString const &arg4_defvalue = wxPyEmptyString ;
44576 wxString *arg4 = (wxString *) &arg4_defvalue ;
44577 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44578 wxString *arg5 = (wxString *) &arg5_defvalue ;
44579 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44580 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44581 wxSize const &arg7_defvalue = wxDefaultSize ;
44582 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44583 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44584 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44585 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44586 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
44587 wxString *arg10 = (wxString *) &arg10_defvalue ;
44588 bool result;
44589 void *argp1 = 0 ;
44590 int res1 = 0 ;
44591 void *argp2 = 0 ;
44592 int res2 = 0 ;
44593 int val3 ;
44594 int ecode3 = 0 ;
44595 bool temp4 = false ;
44596 bool temp5 = false ;
44597 wxPoint temp6 ;
44598 wxSize temp7 ;
44599 long val8 ;
44600 int ecode8 = 0 ;
44601 void *argp9 = 0 ;
44602 int res9 = 0 ;
44603 bool temp10 = false ;
44604 PyObject * obj0 = 0 ;
44605 PyObject * obj1 = 0 ;
44606 PyObject * obj2 = 0 ;
44607 PyObject * obj3 = 0 ;
44608 PyObject * obj4 = 0 ;
44609 PyObject * obj5 = 0 ;
44610 PyObject * obj6 = 0 ;
44611 PyObject * obj7 = 0 ;
44612 PyObject * obj8 = 0 ;
44613 PyObject * obj9 = 0 ;
44614 char * kwnames[] = {
44615 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44616 };
44617
44618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44620 if (!SWIG_IsOK(res1)) {
44621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44622 }
44623 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44624 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44625 if (!SWIG_IsOK(res2)) {
44626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44627 }
44628 arg2 = reinterpret_cast< wxWindow * >(argp2);
44629 if (obj2) {
44630 ecode3 = SWIG_AsVal_int(obj2, &val3);
44631 if (!SWIG_IsOK(ecode3)) {
44632 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44633 }
44634 arg3 = static_cast< int >(val3);
44635 }
44636 if (obj3) {
44637 {
44638 arg4 = wxString_in_helper(obj3);
44639 if (arg4 == NULL) SWIG_fail;
44640 temp4 = true;
44641 }
44642 }
44643 if (obj4) {
44644 {
44645 arg5 = wxString_in_helper(obj4);
44646 if (arg5 == NULL) SWIG_fail;
44647 temp5 = true;
44648 }
44649 }
44650 if (obj5) {
44651 {
44652 arg6 = &temp6;
44653 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44654 }
44655 }
44656 if (obj6) {
44657 {
44658 arg7 = &temp7;
44659 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44660 }
44661 }
44662 if (obj7) {
44663 ecode8 = SWIG_AsVal_long(obj7, &val8);
44664 if (!SWIG_IsOK(ecode8)) {
44665 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44666 }
44667 arg8 = static_cast< long >(val8);
44668 }
44669 if (obj8) {
44670 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44671 if (!SWIG_IsOK(res9)) {
44672 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44673 }
44674 if (!argp9) {
44675 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44676 }
44677 arg9 = reinterpret_cast< wxValidator * >(argp9);
44678 }
44679 if (obj9) {
44680 {
44681 arg10 = wxString_in_helper(obj9);
44682 if (arg10 == NULL) SWIG_fail;
44683 temp10 = true;
44684 }
44685 }
44686 {
44687 PyThreadState* __tstate = wxPyBeginAllowThreads();
44688 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);
44689 wxPyEndAllowThreads(__tstate);
44690 if (PyErr_Occurred()) SWIG_fail;
44691 }
44692 {
44693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44694 }
44695 {
44696 if (temp4)
44697 delete arg4;
44698 }
44699 {
44700 if (temp5)
44701 delete arg5;
44702 }
44703 {
44704 if (temp10)
44705 delete arg10;
44706 }
44707 return resultobj;
44708 fail:
44709 {
44710 if (temp4)
44711 delete arg4;
44712 }
44713 {
44714 if (temp5)
44715 delete arg5;
44716 }
44717 {
44718 if (temp10)
44719 delete arg10;
44720 }
44721 return NULL;
44722 }
44723
44724
44725 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44726 PyObject *resultobj = 0;
44727 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44728 wxString result;
44729 void *argp1 = 0 ;
44730 int res1 = 0 ;
44731 PyObject *swig_obj[1] ;
44732
44733 if (!args) SWIG_fail;
44734 swig_obj[0] = args;
44735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44736 if (!SWIG_IsOK(res1)) {
44737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44738 }
44739 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44740 {
44741 PyThreadState* __tstate = wxPyBeginAllowThreads();
44742 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44743 wxPyEndAllowThreads(__tstate);
44744 if (PyErr_Occurred()) SWIG_fail;
44745 }
44746 {
44747 #if wxUSE_UNICODE
44748 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44749 #else
44750 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44751 #endif
44752 }
44753 return resultobj;
44754 fail:
44755 return NULL;
44756 }
44757
44758
44759 SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44760 PyObject *resultobj = 0;
44761 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44762 wxString *arg2 = 0 ;
44763 void *argp1 = 0 ;
44764 int res1 = 0 ;
44765 bool temp2 = false ;
44766 PyObject * obj0 = 0 ;
44767 PyObject * obj1 = 0 ;
44768 char * kwnames[] = {
44769 (char *) "self",(char *) "str", NULL
44770 };
44771
44772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44774 if (!SWIG_IsOK(res1)) {
44775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44776 }
44777 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44778 {
44779 arg2 = wxString_in_helper(obj1);
44780 if (arg2 == NULL) SWIG_fail;
44781 temp2 = true;
44782 }
44783 {
44784 PyThreadState* __tstate = wxPyBeginAllowThreads();
44785 (arg1)->SetPath((wxString const &)*arg2);
44786 wxPyEndAllowThreads(__tstate);
44787 if (PyErr_Occurred()) SWIG_fail;
44788 }
44789 resultobj = SWIG_Py_Void();
44790 {
44791 if (temp2)
44792 delete arg2;
44793 }
44794 return resultobj;
44795 fail:
44796 {
44797 if (temp2)
44798 delete arg2;
44799 }
44800 return NULL;
44801 }
44802
44803
44804 SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44805 PyObject *resultobj = 0;
44806 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44807 wxString *arg2 = 0 ;
44808 bool result;
44809 void *argp1 = 0 ;
44810 int res1 = 0 ;
44811 bool temp2 = false ;
44812 PyObject * obj0 = 0 ;
44813 PyObject * obj1 = 0 ;
44814 char * kwnames[] = {
44815 (char *) "self",(char *) "path", NULL
44816 };
44817
44818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44820 if (!SWIG_IsOK(res1)) {
44821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44822 }
44823 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44824 {
44825 arg2 = wxString_in_helper(obj1);
44826 if (arg2 == NULL) SWIG_fail;
44827 temp2 = true;
44828 }
44829 {
44830 PyThreadState* __tstate = wxPyBeginAllowThreads();
44831 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44832 wxPyEndAllowThreads(__tstate);
44833 if (PyErr_Occurred()) SWIG_fail;
44834 }
44835 {
44836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44837 }
44838 {
44839 if (temp2)
44840 delete arg2;
44841 }
44842 return resultobj;
44843 fail:
44844 {
44845 if (temp2)
44846 delete arg2;
44847 }
44848 return NULL;
44849 }
44850
44851
44852 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44853 PyObject *resultobj = 0;
44854 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44855 wxString result;
44856 void *argp1 = 0 ;
44857 int res1 = 0 ;
44858 PyObject *swig_obj[1] ;
44859
44860 if (!args) SWIG_fail;
44861 swig_obj[0] = args;
44862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44863 if (!SWIG_IsOK(res1)) {
44864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44865 }
44866 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44867 {
44868 PyThreadState* __tstate = wxPyBeginAllowThreads();
44869 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
44870 wxPyEndAllowThreads(__tstate);
44871 if (PyErr_Occurred()) SWIG_fail;
44872 }
44873 {
44874 #if wxUSE_UNICODE
44875 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44876 #else
44877 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44878 #endif
44879 }
44880 return resultobj;
44881 fail:
44882 return NULL;
44883 }
44884
44885
44886 SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44887 PyObject *obj;
44888 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44889 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
44890 return SWIG_Py_Void();
44891 }
44892
44893 SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44894 return SWIG_Python_InitShadowInstance(args);
44895 }
44896
44897 SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44898 PyObject *resultobj = 0;
44899 wxEventType arg1 ;
44900 wxObject *arg2 = (wxObject *) 0 ;
44901 int arg3 ;
44902 wxString *arg4 = 0 ;
44903 wxFileDirPickerEvent *result = 0 ;
44904 int val1 ;
44905 int ecode1 = 0 ;
44906 void *argp2 = 0 ;
44907 int res2 = 0 ;
44908 int val3 ;
44909 int ecode3 = 0 ;
44910 bool temp4 = false ;
44911 PyObject * obj0 = 0 ;
44912 PyObject * obj1 = 0 ;
44913 PyObject * obj2 = 0 ;
44914 PyObject * obj3 = 0 ;
44915 char * kwnames[] = {
44916 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44917 };
44918
44919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44920 ecode1 = SWIG_AsVal_int(obj0, &val1);
44921 if (!SWIG_IsOK(ecode1)) {
44922 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44923 }
44924 arg1 = static_cast< wxEventType >(val1);
44925 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
44926 if (!SWIG_IsOK(res2)) {
44927 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44928 }
44929 arg2 = reinterpret_cast< wxObject * >(argp2);
44930 ecode3 = SWIG_AsVal_int(obj2, &val3);
44931 if (!SWIG_IsOK(ecode3)) {
44932 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44933 }
44934 arg3 = static_cast< int >(val3);
44935 {
44936 arg4 = wxString_in_helper(obj3);
44937 if (arg4 == NULL) SWIG_fail;
44938 temp4 = true;
44939 }
44940 {
44941 PyThreadState* __tstate = wxPyBeginAllowThreads();
44942 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
44943 wxPyEndAllowThreads(__tstate);
44944 if (PyErr_Occurred()) SWIG_fail;
44945 }
44946 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
44947 {
44948 if (temp4)
44949 delete arg4;
44950 }
44951 return resultobj;
44952 fail:
44953 {
44954 if (temp4)
44955 delete arg4;
44956 }
44957 return NULL;
44958 }
44959
44960
44961 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44962 PyObject *resultobj = 0;
44963 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44964 wxString result;
44965 void *argp1 = 0 ;
44966 int res1 = 0 ;
44967 PyObject *swig_obj[1] ;
44968
44969 if (!args) SWIG_fail;
44970 swig_obj[0] = args;
44971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44972 if (!SWIG_IsOK(res1)) {
44973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44974 }
44975 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44976 {
44977 PyThreadState* __tstate = wxPyBeginAllowThreads();
44978 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
44979 wxPyEndAllowThreads(__tstate);
44980 if (PyErr_Occurred()) SWIG_fail;
44981 }
44982 {
44983 #if wxUSE_UNICODE
44984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44985 #else
44986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44987 #endif
44988 }
44989 return resultobj;
44990 fail:
44991 return NULL;
44992 }
44993
44994
44995 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44996 PyObject *resultobj = 0;
44997 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44998 wxString *arg2 = 0 ;
44999 void *argp1 = 0 ;
45000 int res1 = 0 ;
45001 bool temp2 = false ;
45002 PyObject * obj0 = 0 ;
45003 PyObject * obj1 = 0 ;
45004 char * kwnames[] = {
45005 (char *) "self",(char *) "p", NULL
45006 };
45007
45008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
45009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
45010 if (!SWIG_IsOK(res1)) {
45011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45012 }
45013 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
45014 {
45015 arg2 = wxString_in_helper(obj1);
45016 if (arg2 == NULL) SWIG_fail;
45017 temp2 = true;
45018 }
45019 {
45020 PyThreadState* __tstate = wxPyBeginAllowThreads();
45021 (arg1)->SetPath((wxString const &)*arg2);
45022 wxPyEndAllowThreads(__tstate);
45023 if (PyErr_Occurred()) SWIG_fail;
45024 }
45025 resultobj = SWIG_Py_Void();
45026 {
45027 if (temp2)
45028 delete arg2;
45029 }
45030 return resultobj;
45031 fail:
45032 {
45033 if (temp2)
45034 delete arg2;
45035 }
45036 return NULL;
45037 }
45038
45039
45040 SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45041 PyObject *obj;
45042 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45043 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
45044 return SWIG_Py_Void();
45045 }
45046
45047 SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45048 return SWIG_Python_InitShadowInstance(args);
45049 }
45050
45051 SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
45052 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
45053 return 1;
45054 }
45055
45056
45057 SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
45058 PyObject *pyobj = 0;
45059
45060 {
45061 #if wxUSE_UNICODE
45062 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45063 #else
45064 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45065 #endif
45066 }
45067 return pyobj;
45068 }
45069
45070
45071 SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45072 PyObject *resultobj = 0;
45073 wxWindow *arg1 = (wxWindow *) 0 ;
45074 int arg2 = (int) -1 ;
45075 wxFont const &arg3_defvalue = wxNullFont ;
45076 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
45077 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45078 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45079 wxSize const &arg5_defvalue = wxDefaultSize ;
45080 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45081 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
45082 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45083 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45084 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
45085 wxString *arg8 = (wxString *) &arg8_defvalue ;
45086 wxFontPickerCtrl *result = 0 ;
45087 void *argp1 = 0 ;
45088 int res1 = 0 ;
45089 int val2 ;
45090 int ecode2 = 0 ;
45091 void *argp3 = 0 ;
45092 int res3 = 0 ;
45093 wxPoint temp4 ;
45094 wxSize temp5 ;
45095 long val6 ;
45096 int ecode6 = 0 ;
45097 void *argp7 = 0 ;
45098 int res7 = 0 ;
45099 bool temp8 = false ;
45100 PyObject * obj0 = 0 ;
45101 PyObject * obj1 = 0 ;
45102 PyObject * obj2 = 0 ;
45103 PyObject * obj3 = 0 ;
45104 PyObject * obj4 = 0 ;
45105 PyObject * obj5 = 0 ;
45106 PyObject * obj6 = 0 ;
45107 PyObject * obj7 = 0 ;
45108 char * kwnames[] = {
45109 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45110 };
45111
45112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45114 if (!SWIG_IsOK(res1)) {
45115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45116 }
45117 arg1 = reinterpret_cast< wxWindow * >(argp1);
45118 if (obj1) {
45119 ecode2 = SWIG_AsVal_int(obj1, &val2);
45120 if (!SWIG_IsOK(ecode2)) {
45121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45122 }
45123 arg2 = static_cast< int >(val2);
45124 }
45125 if (obj2) {
45126 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45127 if (!SWIG_IsOK(res3)) {
45128 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45129 }
45130 if (!argp3) {
45131 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45132 }
45133 arg3 = reinterpret_cast< wxFont * >(argp3);
45134 }
45135 if (obj3) {
45136 {
45137 arg4 = &temp4;
45138 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45139 }
45140 }
45141 if (obj4) {
45142 {
45143 arg5 = &temp5;
45144 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45145 }
45146 }
45147 if (obj5) {
45148 ecode6 = SWIG_AsVal_long(obj5, &val6);
45149 if (!SWIG_IsOK(ecode6)) {
45150 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45151 }
45152 arg6 = static_cast< long >(val6);
45153 }
45154 if (obj6) {
45155 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45156 if (!SWIG_IsOK(res7)) {
45157 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45158 }
45159 if (!argp7) {
45160 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45161 }
45162 arg7 = reinterpret_cast< wxValidator * >(argp7);
45163 }
45164 if (obj7) {
45165 {
45166 arg8 = wxString_in_helper(obj7);
45167 if (arg8 == NULL) SWIG_fail;
45168 temp8 = true;
45169 }
45170 }
45171 {
45172 if (!wxPyCheckForApp()) SWIG_fail;
45173 PyThreadState* __tstate = wxPyBeginAllowThreads();
45174 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45175 wxPyEndAllowThreads(__tstate);
45176 if (PyErr_Occurred()) SWIG_fail;
45177 }
45178 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
45179 {
45180 if (temp8)
45181 delete arg8;
45182 }
45183 return resultobj;
45184 fail:
45185 {
45186 if (temp8)
45187 delete arg8;
45188 }
45189 return NULL;
45190 }
45191
45192
45193 SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45194 PyObject *resultobj = 0;
45195 wxFontPickerCtrl *result = 0 ;
45196
45197 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
45198 {
45199 if (!wxPyCheckForApp()) SWIG_fail;
45200 PyThreadState* __tstate = wxPyBeginAllowThreads();
45201 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
45202 wxPyEndAllowThreads(__tstate);
45203 if (PyErr_Occurred()) SWIG_fail;
45204 }
45205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
45206 return resultobj;
45207 fail:
45208 return NULL;
45209 }
45210
45211
45212 SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45213 PyObject *resultobj = 0;
45214 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45215 wxWindow *arg2 = (wxWindow *) 0 ;
45216 int arg3 = (int) -1 ;
45217 wxFont const &arg4_defvalue = wxNullFont ;
45218 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
45219 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45220 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45221 wxSize const &arg6_defvalue = wxDefaultSize ;
45222 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45223 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
45224 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45225 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45226 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
45227 wxString *arg9 = (wxString *) &arg9_defvalue ;
45228 bool result;
45229 void *argp1 = 0 ;
45230 int res1 = 0 ;
45231 void *argp2 = 0 ;
45232 int res2 = 0 ;
45233 int val3 ;
45234 int ecode3 = 0 ;
45235 void *argp4 = 0 ;
45236 int res4 = 0 ;
45237 wxPoint temp5 ;
45238 wxSize temp6 ;
45239 long val7 ;
45240 int ecode7 = 0 ;
45241 void *argp8 = 0 ;
45242 int res8 = 0 ;
45243 bool temp9 = false ;
45244 PyObject * obj0 = 0 ;
45245 PyObject * obj1 = 0 ;
45246 PyObject * obj2 = 0 ;
45247 PyObject * obj3 = 0 ;
45248 PyObject * obj4 = 0 ;
45249 PyObject * obj5 = 0 ;
45250 PyObject * obj6 = 0 ;
45251 PyObject * obj7 = 0 ;
45252 PyObject * obj8 = 0 ;
45253 char * kwnames[] = {
45254 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45255 };
45256
45257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45259 if (!SWIG_IsOK(res1)) {
45260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45261 }
45262 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45263 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45264 if (!SWIG_IsOK(res2)) {
45265 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45266 }
45267 arg2 = reinterpret_cast< wxWindow * >(argp2);
45268 if (obj2) {
45269 ecode3 = SWIG_AsVal_int(obj2, &val3);
45270 if (!SWIG_IsOK(ecode3)) {
45271 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45272 }
45273 arg3 = static_cast< int >(val3);
45274 }
45275 if (obj3) {
45276 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
45277 if (!SWIG_IsOK(res4)) {
45278 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45279 }
45280 if (!argp4) {
45281 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45282 }
45283 arg4 = reinterpret_cast< wxFont * >(argp4);
45284 }
45285 if (obj4) {
45286 {
45287 arg5 = &temp5;
45288 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45289 }
45290 }
45291 if (obj5) {
45292 {
45293 arg6 = &temp6;
45294 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45295 }
45296 }
45297 if (obj6) {
45298 ecode7 = SWIG_AsVal_long(obj6, &val7);
45299 if (!SWIG_IsOK(ecode7)) {
45300 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45301 }
45302 arg7 = static_cast< long >(val7);
45303 }
45304 if (obj7) {
45305 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45306 if (!SWIG_IsOK(res8)) {
45307 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45308 }
45309 if (!argp8) {
45310 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45311 }
45312 arg8 = reinterpret_cast< wxValidator * >(argp8);
45313 }
45314 if (obj8) {
45315 {
45316 arg9 = wxString_in_helper(obj8);
45317 if (arg9 == NULL) SWIG_fail;
45318 temp9 = true;
45319 }
45320 }
45321 {
45322 PyThreadState* __tstate = wxPyBeginAllowThreads();
45323 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45324 wxPyEndAllowThreads(__tstate);
45325 if (PyErr_Occurred()) SWIG_fail;
45326 }
45327 {
45328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45329 }
45330 {
45331 if (temp9)
45332 delete arg9;
45333 }
45334 return resultobj;
45335 fail:
45336 {
45337 if (temp9)
45338 delete arg9;
45339 }
45340 return NULL;
45341 }
45342
45343
45344 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45345 PyObject *resultobj = 0;
45346 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45347 wxFont result;
45348 void *argp1 = 0 ;
45349 int res1 = 0 ;
45350 PyObject *swig_obj[1] ;
45351
45352 if (!args) SWIG_fail;
45353 swig_obj[0] = args;
45354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45355 if (!SWIG_IsOK(res1)) {
45356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45357 }
45358 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45359 {
45360 PyThreadState* __tstate = wxPyBeginAllowThreads();
45361 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45362 wxPyEndAllowThreads(__tstate);
45363 if (PyErr_Occurred()) SWIG_fail;
45364 }
45365 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45366 return resultobj;
45367 fail:
45368 return NULL;
45369 }
45370
45371
45372 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45373 PyObject *resultobj = 0;
45374 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45375 wxFont *arg2 = 0 ;
45376 void *argp1 = 0 ;
45377 int res1 = 0 ;
45378 void *argp2 = 0 ;
45379 int res2 = 0 ;
45380 PyObject * obj0 = 0 ;
45381 PyObject * obj1 = 0 ;
45382 char * kwnames[] = {
45383 (char *) "self",(char *) "f", NULL
45384 };
45385
45386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45388 if (!SWIG_IsOK(res1)) {
45389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45390 }
45391 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45392 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45393 if (!SWIG_IsOK(res2)) {
45394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45395 }
45396 if (!argp2) {
45397 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45398 }
45399 arg2 = reinterpret_cast< wxFont * >(argp2);
45400 {
45401 PyThreadState* __tstate = wxPyBeginAllowThreads();
45402 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45403 wxPyEndAllowThreads(__tstate);
45404 if (PyErr_Occurred()) SWIG_fail;
45405 }
45406 resultobj = SWIG_Py_Void();
45407 return resultobj;
45408 fail:
45409 return NULL;
45410 }
45411
45412
45413 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45414 PyObject *resultobj = 0;
45415 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45416 unsigned int arg2 ;
45417 void *argp1 = 0 ;
45418 int res1 = 0 ;
45419 unsigned int val2 ;
45420 int ecode2 = 0 ;
45421 PyObject * obj0 = 0 ;
45422 PyObject * obj1 = 0 ;
45423 char * kwnames[] = {
45424 (char *) "self",(char *) "max", NULL
45425 };
45426
45427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45429 if (!SWIG_IsOK(res1)) {
45430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45431 }
45432 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45433 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45434 if (!SWIG_IsOK(ecode2)) {
45435 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45436 }
45437 arg2 = static_cast< unsigned int >(val2);
45438 {
45439 PyThreadState* __tstate = wxPyBeginAllowThreads();
45440 (arg1)->SetMaxPointSize(arg2);
45441 wxPyEndAllowThreads(__tstate);
45442 if (PyErr_Occurred()) SWIG_fail;
45443 }
45444 resultobj = SWIG_Py_Void();
45445 return resultobj;
45446 fail:
45447 return NULL;
45448 }
45449
45450
45451 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45452 PyObject *resultobj = 0;
45453 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45454 unsigned int result;
45455 void *argp1 = 0 ;
45456 int res1 = 0 ;
45457 PyObject *swig_obj[1] ;
45458
45459 if (!args) SWIG_fail;
45460 swig_obj[0] = args;
45461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45462 if (!SWIG_IsOK(res1)) {
45463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45464 }
45465 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45466 {
45467 PyThreadState* __tstate = wxPyBeginAllowThreads();
45468 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45469 wxPyEndAllowThreads(__tstate);
45470 if (PyErr_Occurred()) SWIG_fail;
45471 }
45472 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45473 return resultobj;
45474 fail:
45475 return NULL;
45476 }
45477
45478
45479 SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45480 PyObject *obj;
45481 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45482 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45483 return SWIG_Py_Void();
45484 }
45485
45486 SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45487 return SWIG_Python_InitShadowInstance(args);
45488 }
45489
45490 SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45491 PyObject *resultobj = 0;
45492 wxObject *arg1 = (wxObject *) 0 ;
45493 int arg2 ;
45494 wxFont *arg3 = 0 ;
45495 wxFontPickerEvent *result = 0 ;
45496 void *argp1 = 0 ;
45497 int res1 = 0 ;
45498 int val2 ;
45499 int ecode2 = 0 ;
45500 void *argp3 = 0 ;
45501 int res3 = 0 ;
45502 PyObject * obj0 = 0 ;
45503 PyObject * obj1 = 0 ;
45504 PyObject * obj2 = 0 ;
45505 char * kwnames[] = {
45506 (char *) "generator",(char *) "id",(char *) "f", NULL
45507 };
45508
45509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45511 if (!SWIG_IsOK(res1)) {
45512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45513 }
45514 arg1 = reinterpret_cast< wxObject * >(argp1);
45515 ecode2 = SWIG_AsVal_int(obj1, &val2);
45516 if (!SWIG_IsOK(ecode2)) {
45517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45518 }
45519 arg2 = static_cast< int >(val2);
45520 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45521 if (!SWIG_IsOK(res3)) {
45522 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45523 }
45524 if (!argp3) {
45525 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45526 }
45527 arg3 = reinterpret_cast< wxFont * >(argp3);
45528 {
45529 PyThreadState* __tstate = wxPyBeginAllowThreads();
45530 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45531 wxPyEndAllowThreads(__tstate);
45532 if (PyErr_Occurred()) SWIG_fail;
45533 }
45534 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45535 return resultobj;
45536 fail:
45537 return NULL;
45538 }
45539
45540
45541 SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45542 PyObject *resultobj = 0;
45543 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45544 wxFont result;
45545 void *argp1 = 0 ;
45546 int res1 = 0 ;
45547 PyObject *swig_obj[1] ;
45548
45549 if (!args) SWIG_fail;
45550 swig_obj[0] = args;
45551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45552 if (!SWIG_IsOK(res1)) {
45553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45554 }
45555 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45556 {
45557 PyThreadState* __tstate = wxPyBeginAllowThreads();
45558 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45559 wxPyEndAllowThreads(__tstate);
45560 if (PyErr_Occurred()) SWIG_fail;
45561 }
45562 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45563 return resultobj;
45564 fail:
45565 return NULL;
45566 }
45567
45568
45569 SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45570 PyObject *resultobj = 0;
45571 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45572 wxFont *arg2 = 0 ;
45573 void *argp1 = 0 ;
45574 int res1 = 0 ;
45575 void *argp2 = 0 ;
45576 int res2 = 0 ;
45577 PyObject * obj0 = 0 ;
45578 PyObject * obj1 = 0 ;
45579 char * kwnames[] = {
45580 (char *) "self",(char *) "c", NULL
45581 };
45582
45583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45585 if (!SWIG_IsOK(res1)) {
45586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45587 }
45588 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45589 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45590 if (!SWIG_IsOK(res2)) {
45591 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45592 }
45593 if (!argp2) {
45594 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45595 }
45596 arg2 = reinterpret_cast< wxFont * >(argp2);
45597 {
45598 PyThreadState* __tstate = wxPyBeginAllowThreads();
45599 (arg1)->SetFont((wxFont const &)*arg2);
45600 wxPyEndAllowThreads(__tstate);
45601 if (PyErr_Occurred()) SWIG_fail;
45602 }
45603 resultobj = SWIG_Py_Void();
45604 return resultobj;
45605 fail:
45606 return NULL;
45607 }
45608
45609
45610 SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45611 PyObject *obj;
45612 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45613 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
45614 return SWIG_Py_Void();
45615 }
45616
45617 SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45618 return SWIG_Python_InitShadowInstance(args);
45619 }
45620
45621 static PyMethodDef SwigMethods[] = {
45622 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
45623 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
45624 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45625 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
45626 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
45627 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45628 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
45629 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
45630 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
45631 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
45632 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45633 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
45634 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
45635 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
45636 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
45637 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
45638 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
45639 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
45640 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45641 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45642 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
45643 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
45644 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
45645 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
45646 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
45647 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
45648 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
45649 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
45650 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45651 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
45652 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
45653 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45654 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
45655 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
45656 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
45657 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
45658 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45659 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
45660 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
45661 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
45662 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
45663 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45664 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
45665 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45666 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
45667 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
45668 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
45669 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
45670 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45671 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
45672 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45673 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
45674 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
45675 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
45676 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45677 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
45678 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
45679 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
45680 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
45681 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
45682 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
45683 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45684 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
45685 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
45686 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
45687 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
45688 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
45689 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
45690 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
45691 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
45692 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
45693 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
45694 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
45695 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
45696 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
45697 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45698 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
45699 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
45700 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
45701 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
45702 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45703 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45704 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
45705 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45706 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
45707 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
45708 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
45709 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45710 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
45711 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
45712 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
45713 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45714 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
45715 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
45716 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
45717 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
45718 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45719 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45720 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
45721 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
45722 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
45723 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
45724 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45725 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
45726 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
45727 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45728 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
45729 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
45730 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
45731 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
45732 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45733 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
45734 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45735 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
45736 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
45737 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45738 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
45739 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45740 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
45741 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45742 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
45743 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45744 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
45745 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
45746 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
45747 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
45748 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45749 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
45750 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
45751 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45752 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45753 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45754 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
45755 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
45756 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
45757 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45758 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
45759 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
45760 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
45761 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45762 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45763 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
45764 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
45765 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45766 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45767 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45768 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45769 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
45770 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
45771 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
45772 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
45773 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45774 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
45775 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
45776 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
45777 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
45778 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
45779 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
45780 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
45781 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
45782 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
45783 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45784 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45785 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45786 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
45787 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
45788 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
45789 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
45790 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
45791 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
45792 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
45793 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
45794 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
45795 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
45796 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
45797 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
45798 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
45799 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
45800 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
45801 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
45802 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
45803 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
45804 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
45805 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
45806 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
45807 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
45808 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
45809 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
45810 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
45811 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
45812 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45813 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
45814 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45815 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
45816 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45817 { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL},
45818 { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
45819 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45820 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
45821 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
45822 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
45823 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
45824 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
45825 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
45826 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
45827 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
45828 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
45829 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
45830 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
45831 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
45832 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
45833 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
45834 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
45835 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
45836 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
45837 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
45838 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
45839 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
45840 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
45841 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45842 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45843 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45844 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
45845 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45846 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
45847 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45848 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
45849 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
45850 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
45851 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
45852 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
45853 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
45854 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
45855 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
45856 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
45857 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
45858 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
45859 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
45860 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45861 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
45862 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
45863 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
45864 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45865 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
45866 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
45867 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
45868 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
45869 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction)_wrap_TextCtrl_HideNativeCaret, METH_O, NULL},
45870 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
45871 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
45872 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45873 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
45874 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
45875 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45876 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
45877 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
45878 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
45879 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
45880 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
45881 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
45882 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
45883 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45884 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
45885 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
45886 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
45887 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
45888 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
45889 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45890 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45891 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
45892 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
45893 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
45894 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
45895 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45896 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
45897 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
45898 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
45899 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45900 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
45901 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
45902 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45903 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
45904 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45905 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
45906 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
45907 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45908 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
45909 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45910 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
45911 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45912 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
45913 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45914 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
45915 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
45916 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45917 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45918 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
45919 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
45920 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45921 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
45922 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45923 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
45924 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
45925 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
45926 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
45927 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45928 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45929 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
45930 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
45931 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45932 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
45933 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
45934 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
45935 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
45936 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
45937 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
45938 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45939 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
45940 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
45941 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
45942 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
45943 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
45944 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
45945 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
45946 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
45947 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45948 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
45949 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
45950 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
45951 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
45952 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45953 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
45954 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45955 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45956 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
45957 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
45958 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
45959 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
45960 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45961 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
45962 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45963 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45964 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
45965 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
45966 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
45967 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
45968 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
45969 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
45970 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
45971 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
45972 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
45973 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
45974 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
45975 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
45976 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
45977 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
45978 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
45979 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
45980 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
45981 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45982 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45983 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
45984 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
45985 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
45986 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
45987 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45988 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45989 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
45990 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45991 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
45992 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
45993 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
45994 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
45995 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
45996 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
45997 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
45998 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
45999 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46000 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46001 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
46002 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
46003 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
46004 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
46005 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
46006 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
46007 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
46008 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
46009 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46010 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
46011 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
46012 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
46013 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
46014 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
46015 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
46016 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
46017 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
46018 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
46019 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46020 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46021 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46022 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46023 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46024 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
46025 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46026 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
46027 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46028 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
46029 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46030 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
46031 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
46032 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
46033 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
46034 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46035 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
46036 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
46037 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
46038 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
46039 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46040 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46041 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46042 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
46043 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
46044 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46045 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
46046 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
46047 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
46048 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
46049 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46050 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
46051 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
46052 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
46053 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46054 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
46055 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
46056 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
46057 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
46058 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46059 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
46060 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
46061 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
46062 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46063 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
46064 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
46065 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
46066 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
46067 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46068 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
46069 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
46070 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
46071 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
46072 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
46073 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
46074 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
46075 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
46076 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
46077 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46078 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
46079 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
46080 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
46081 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
46082 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46083 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
46084 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
46085 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
46086 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
46087 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46088 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
46089 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
46090 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
46091 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
46092 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
46093 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
46094 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
46095 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
46096 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
46097 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
46098 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
46099 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
46100 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
46101 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
46102 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
46103 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
46104 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
46105 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
46106 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
46107 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46108 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
46109 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
46110 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46111 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46112 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46113 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46114 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46115 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
46116 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
46117 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
46118 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46119 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
46120 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
46121 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
46122 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
46123 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
46124 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
46125 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
46126 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
46127 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
46128 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
46129 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
46130 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
46131 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
46132 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
46133 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
46134 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
46135 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
46136 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
46137 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46138 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46139 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
46140 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
46141 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46142 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46143 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46144 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46145 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46146 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
46147 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
46148 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
46149 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
46150 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
46151 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
46152 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
46153 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
46154 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
46155 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
46156 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
46157 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
46158 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
46159 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
46160 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
46161 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46162 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
46163 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
46164 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
46165 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
46166 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
46167 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
46168 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46169 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46170 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
46171 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
46172 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
46173 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
46174 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46175 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46176 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46177 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
46178 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
46179 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
46180 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
46181 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
46182 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
46183 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
46184 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
46185 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
46186 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
46187 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
46188 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
46189 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
46190 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
46191 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
46192 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46193 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46194 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
46195 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
46196 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
46197 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
46198 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46199 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46200 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
46201 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46202 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46203 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46204 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
46205 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
46206 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
46207 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
46208 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
46209 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
46210 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
46211 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
46212 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
46213 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
46214 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
46215 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
46216 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
46217 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
46218 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
46219 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
46220 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
46221 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
46222 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
46223 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
46224 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
46225 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
46226 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
46227 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
46228 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
46229 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
46230 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
46231 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
46232 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
46233 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
46234 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
46235 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
46236 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
46237 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
46238 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
46239 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
46240 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46241 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
46242 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
46243 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
46244 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
46245 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
46246 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
46247 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
46248 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
46249 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
46250 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
46251 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
46252 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
46253 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
46254 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
46255 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
46256 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
46257 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
46258 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
46259 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
46260 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
46261 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
46262 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
46263 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
46264 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
46265 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46266 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
46267 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
46268 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46269 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
46270 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46271 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46272 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46273 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46274 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46275 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46276 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
46277 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
46278 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
46279 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46280 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46281 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46282 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46283 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46284 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46285 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46286 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46287 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46288 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46289 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46290 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46291 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
46292 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46293 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
46294 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
46295 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
46296 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
46297 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
46298 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46299 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
46300 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46301 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
46302 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46303 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46304 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46305 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
46306 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
46307 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
46308 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
46309 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
46310 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
46311 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
46312 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46313 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
46314 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
46315 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46316 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46317 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46318 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
46319 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46320 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
46321 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46322 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
46323 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46324 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46325 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
46326 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46327 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
46328 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46329 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
46330 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
46331 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46332 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46333 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46334 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46335 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46336 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46337 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
46338 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
46339 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46340 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
46341 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
46342 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
46343 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
46344 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46345 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
46346 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
46347 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
46348 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46349 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
46350 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46351 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46352 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46353 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
46354 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
46355 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
46356 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
46357 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
46358 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46359 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46360 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
46361 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
46362 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
46363 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
46364 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46365 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
46366 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
46367 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46368 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
46369 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46370 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
46371 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
46372 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
46373 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
46374 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
46375 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46376 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
46377 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
46378 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
46379 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46380 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
46381 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
46382 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46383 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
46384 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46385 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
46386 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46387 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46388 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
46389 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
46390 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
46391 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46392 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
46393 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46394 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46395 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
46396 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
46397 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46398 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
46399 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
46400 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
46401 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
46402 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46403 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46404 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46405 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46406 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46407 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46408 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46409 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
46410 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46411 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46412 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46413 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46414 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46415 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46416 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
46417 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46418 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
46419 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
46420 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46421 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46422 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46423 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46424 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46425 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
46426 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46427 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
46428 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
46429 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
46430 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
46431 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
46432 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
46433 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
46434 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
46435 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
46436 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
46437 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
46438 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
46439 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46440 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46441 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
46442 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
46443 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46444 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
46445 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
46446 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
46447 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46448 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
46449 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
46450 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46451 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
46452 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
46453 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
46454 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
46455 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
46456 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
46457 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
46458 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
46459 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46460 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46461 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
46462 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46463 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
46464 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46465 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46466 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46467 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
46468 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
46469 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
46470 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46471 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46472 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
46473 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
46474 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
46475 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46476 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
46477 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46478 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
46479 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
46480 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
46481 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
46482 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
46483 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
46484 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46485 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
46486 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
46487 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
46488 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
46489 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
46490 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
46491 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
46492 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
46493 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
46494 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
46495 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
46496 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
46497 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
46498 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
46499 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46500 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
46501 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46502 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
46503 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
46504 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
46505 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
46506 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
46507 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46508 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
46509 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46510 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46511 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
46512 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
46513 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
46514 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
46515 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
46516 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
46517 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
46518 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
46519 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
46520 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
46521 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
46522 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46523 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
46524 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46525 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
46526 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
46527 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
46528 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
46529 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
46530 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
46531 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
46532 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
46533 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46534 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
46535 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46536 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
46537 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
46538 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
46539 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
46540 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
46541 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
46542 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
46543 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46544 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
46545 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46546 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46547 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46548 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46549 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
46550 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46551 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
46552 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
46553 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
46554 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
46555 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
46556 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
46557 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46558 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
46559 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
46560 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
46561 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
46562 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46563 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
46564 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
46565 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
46566 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
46567 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
46568 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
46569 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
46570 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
46571 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46572 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
46573 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
46574 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
46575 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46576 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
46577 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46578 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46579 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
46580 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46581 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
46582 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
46583 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
46584 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
46585 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46586 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
46587 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46588 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
46589 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
46590 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
46591 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
46592 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
46593 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
46594 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
46595 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
46596 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
46597 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
46598 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
46599 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
46600 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46601 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
46602 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
46603 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
46604 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
46605 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
46606 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46607 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
46608 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46609 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
46610 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46611 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
46612 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
46613 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
46614 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
46615 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
46616 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
46617 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
46618 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
46619 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
46620 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46621 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
46622 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46623 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
46624 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
46625 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
46626 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
46627 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46628 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
46629 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
46630 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
46631 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
46632 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46633 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
46634 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46635 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
46636 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46637 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
46638 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
46639 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
46640 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
46641 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46642 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
46643 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46644 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
46645 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46646 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
46647 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
46648 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
46649 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
46650 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46651 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
46652 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46653 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
46654 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
46655 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46656 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
46657 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46658 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
46659 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
46660 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
46661 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
46662 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
46663 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
46664 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46665 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
46666 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46667 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
46668 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
46669 { NULL, NULL, 0, NULL }
46670 };
46671
46672
46673 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46674
46675 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
46676 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
46677 }
46678 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
46679 return (void *)((wxEvent *) ((wxMenuEvent *) x));
46680 }
46681 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
46682 return (void *)((wxEvent *) ((wxCloseEvent *) x));
46683 }
46684 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
46685 return (void *)((wxEvent *) ((wxMouseEvent *) x));
46686 }
46687 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
46688 return (void *)((wxEvent *) ((wxEraseEvent *) x));
46689 }
46690 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
46691 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
46692 }
46693 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
46694 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
46695 }
46696 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
46697 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
46698 }
46699 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
46700 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
46701 }
46702 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
46703 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
46704 }
46705 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
46706 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
46707 }
46708 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
46709 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
46710 }
46711 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
46712 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
46713 }
46714 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
46715 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
46716 }
46717 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
46718 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
46719 }
46720 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
46721 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
46722 }
46723 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
46724 return (void *)((wxEvent *) ((wxPyEvent *) x));
46725 }
46726 static void *_p_wxListEventTo_p_wxEvent(void *x) {
46727 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
46728 }
46729 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
46730 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46731 }
46732 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
46733 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46734 }
46735 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
46736 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46737 }
46738 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
46739 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46740 }
46741 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
46742 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46743 }
46744 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
46745 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
46746 }
46747 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
46748 return (void *)((wxEvent *) ((wxIdleEvent *) x));
46749 }
46750 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
46751 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
46752 }
46753 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
46754 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
46755 }
46756 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
46757 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
46758 }
46759 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
46760 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
46761 }
46762 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
46763 return (void *)((wxEvent *) ((wxActivateEvent *) x));
46764 }
46765 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
46766 return (void *)((wxEvent *) ((wxSizeEvent *) x));
46767 }
46768 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
46769 return (void *)((wxEvent *) ((wxMoveEvent *) x));
46770 }
46771 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
46772 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
46773 }
46774 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
46775 return (void *)((wxEvent *) ((wxPaintEvent *) x));
46776 }
46777 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
46778 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
46779 }
46780 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
46781 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
46782 }
46783 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
46784 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
46785 }
46786 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
46787 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
46788 }
46789 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
46790 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
46791 }
46792 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
46793 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
46794 }
46795 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
46796 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
46797 }
46798 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
46799 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
46800 }
46801 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
46802 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
46803 }
46804 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
46805 return (void *)((wxEvent *) ((wxFocusEvent *) x));
46806 }
46807 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
46808 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
46809 }
46810 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
46811 return (void *)((wxEvent *) ((wxShowEvent *) x));
46812 }
46813 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
46814 return (void *)((wxEvent *) ((wxCommandEvent *) x));
46815 }
46816 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
46817 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
46818 }
46819 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
46820 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
46821 }
46822 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
46823 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
46824 }
46825 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
46826 return (void *)((wxEvent *) ((wxKeyEvent *) x));
46827 }
46828 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
46829 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
46830 }
46831 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
46832 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
46833 }
46834 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
46835 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
46836 }
46837 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
46838 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
46839 }
46840 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
46841 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
46842 }
46843 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
46844 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
46845 }
46846 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
46847 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
46848 }
46849 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
46850 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46851 }
46852 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
46853 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
46854 }
46855 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
46856 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
46857 }
46858 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
46859 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
46860 }
46861 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
46862 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46863 }
46864 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
46865 return (void *)((wxPyListCtrl *) ((wxListView *) x));
46866 }
46867 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
46868 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
46869 }
46870 static void *_p_wxToolBarTo_p_wxControl(void *x) {
46871 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
46872 }
46873 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
46874 return (void *)((wxControl *) ((wxPickerBase *) x));
46875 }
46876 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
46877 return (void *)((wxControl *) ((wxToggleButton *) x));
46878 }
46879 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
46880 return (void *)((wxControl *) ((wxRadioButton *) x));
46881 }
46882 static void *_p_wxToolbookTo_p_wxControl(void *x) {
46883 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
46884 }
46885 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
46886 return (void *)((wxControl *) ((wxToolBarBase *) x));
46887 }
46888 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
46889 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46890 }
46891 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
46892 return (void *)((wxControl *) ((wxPyListCtrl *) x));
46893 }
46894 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
46895 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
46896 }
46897 static void *_p_wxPyControlTo_p_wxControl(void *x) {
46898 return (void *)((wxControl *) ((wxPyControl *) x));
46899 }
46900 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
46901 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
46902 }
46903 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
46904 return (void *)((wxControl *) ((wxScrollBar *) x));
46905 }
46906 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
46907 return (void *)((wxControl *) ((wxControlWithItems *) x));
46908 }
46909 static void *_p_wxGaugeTo_p_wxControl(void *x) {
46910 return (void *)((wxControl *) ((wxGauge *) x));
46911 }
46912 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
46913 return (void *)((wxControl *) ((wxStaticLine *) x));
46914 }
46915 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
46916 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
46917 }
46918 static void *_p_wxListbookTo_p_wxControl(void *x) {
46919 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
46920 }
46921 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
46922 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
46923 }
46924 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
46925 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
46926 }
46927 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
46928 return (void *)((wxControl *) ((wxCheckBox *) x));
46929 }
46930 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
46931 return (void *)((wxControl *) ((wxRadioBox *) x));
46932 }
46933 static void *_p_wxChoiceTo_p_wxControl(void *x) {
46934 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
46935 }
46936 static void *_p_wxListBoxTo_p_wxControl(void *x) {
46937 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
46938 }
46939 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
46940 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46941 }
46942 static void *_p_wxListViewTo_p_wxControl(void *x) {
46943 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
46944 }
46945 static void *_p_wxNotebookTo_p_wxControl(void *x) {
46946 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
46947 }
46948 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
46949 return (void *)((wxControl *) ((wxStaticBitmap *) x));
46950 }
46951 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
46952 return (void *)((wxControl *) ((wxSpinCtrl *) x));
46953 }
46954 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
46955 return (void *)((wxControl *) ((wxStaticText *) x));
46956 }
46957 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
46958 return (void *)((wxControl *) ((wxStaticBox *) x));
46959 }
46960 static void *_p_wxSliderTo_p_wxControl(void *x) {
46961 return (void *)((wxControl *) ((wxSlider *) x));
46962 }
46963 static void *_p_wxTreebookTo_p_wxControl(void *x) {
46964 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
46965 }
46966 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
46967 return (void *)((wxControl *) ((wxSpinButton *) x));
46968 }
46969 static void *_p_wxButtonTo_p_wxControl(void *x) {
46970 return (void *)((wxControl *) ((wxButton *) x));
46971 }
46972 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
46973 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
46974 }
46975 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
46976 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46977 }
46978 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
46979 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
46980 }
46981 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
46982 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
46983 }
46984 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
46985 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
46986 }
46987 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
46988 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
46989 }
46990 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
46991 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
46992 }
46993 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
46994 return (void *)((wxControl *) ((wxTextCtrl *) x));
46995 }
46996 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
46997 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
46998 }
46999 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
47000 return (void *)((wxChoice *) ((wxComboBox *) x));
47001 }
47002 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
47003 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
47004 }
47005 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
47006 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47007 }
47008 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
47009 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
47010 }
47011 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
47012 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
47013 }
47014 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
47015 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
47016 }
47017 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
47018 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47019 }
47020 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
47021 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47022 }
47023 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
47024 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47025 }
47026 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
47027 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47028 }
47029 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
47030 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47031 }
47032 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
47033 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
47034 }
47035 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
47036 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
47037 }
47038 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
47039 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
47040 }
47041 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
47042 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
47043 }
47044 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
47045 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
47046 }
47047 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
47048 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
47049 }
47050 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
47051 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
47052 }
47053 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
47054 return (void *)((wxEvtHandler *) ((wxValidator *) x));
47055 }
47056 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
47057 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
47058 }
47059 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
47060 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47061 }
47062 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
47063 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
47064 }
47065 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
47066 return (void *)((wxEvtHandler *) ((wxMenu *) x));
47067 }
47068 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
47069 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
47070 }
47071 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
47072 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
47073 }
47074 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
47075 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47076 }
47077 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
47078 return (void *)((wxEvtHandler *) ((wxWindow *) x));
47079 }
47080 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
47081 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
47082 }
47083 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
47084 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
47085 }
47086 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
47087 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
47088 }
47089 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
47090 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
47091 }
47092 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
47093 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47094 }
47095 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
47096 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
47097 }
47098 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
47099 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
47100 }
47101 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
47102 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
47103 }
47104 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
47105 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
47106 }
47107 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
47108 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
47109 }
47110 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
47111 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
47112 }
47113 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
47114 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
47115 }
47116 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
47117 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47118 }
47119 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
47120 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47121 }
47122 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
47123 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
47124 }
47125 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
47126 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
47127 }
47128 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
47129 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
47130 }
47131 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
47132 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
47133 }
47134 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
47135 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47136 }
47137 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
47138 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47139 }
47140 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
47141 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47142 }
47143 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
47144 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47145 }
47146 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
47147 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
47148 }
47149 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
47150 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47151 }
47152 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
47153 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
47154 }
47155 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
47156 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
47157 }
47158 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
47159 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
47160 }
47161 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
47162 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
47163 }
47164 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
47165 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47166 }
47167 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
47168 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
47169 }
47170 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
47171 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
47172 }
47173 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
47174 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
47175 }
47176 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
47177 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47178 }
47179 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
47180 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
47181 }
47182 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
47183 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47184 }
47185 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
47186 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47187 }
47188 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
47189 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47190 }
47191 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
47192 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47193 }
47194 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
47195 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
47196 }
47197 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
47198 return (void *)((wxListBox *) ((wxCheckListBox *) x));
47199 }
47200 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
47201 return (void *)((wxButton *) ((wxBitmapButton *) x));
47202 }
47203 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
47204 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
47205 }
47206 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
47207 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
47208 }
47209 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
47210 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
47211 }
47212 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
47213 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
47214 }
47215 static void *_p_wxToolbookTo_p_wxObject(void *x) {
47216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47217 }
47218 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
47219 return (void *)((wxObject *) ((wxSizerItem *) x));
47220 }
47221 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
47222 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
47223 }
47224 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
47225 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
47226 }
47227 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
47228 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
47229 }
47230 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
47231 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
47232 }
47233 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
47234 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
47235 }
47236 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
47237 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
47238 }
47239 static void *_p_wxSizerTo_p_wxObject(void *x) {
47240 return (void *)((wxObject *) ((wxSizer *) x));
47241 }
47242 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
47243 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
47244 }
47245 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
47246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
47247 }
47248 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
47249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
47250 }
47251 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
47252 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
47253 }
47254 static void *_p_wxEventTo_p_wxObject(void *x) {
47255 return (void *)((wxObject *) ((wxEvent *) x));
47256 }
47257 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
47258 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
47259 }
47260 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
47261 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
47262 }
47263 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
47264 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
47265 }
47266 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
47267 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
47268 }
47269 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
47270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
47271 }
47272 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
47273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
47274 }
47275 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
47276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47277 }
47278 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
47279 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
47280 }
47281 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
47282 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
47283 }
47284 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
47285 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
47286 }
47287 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
47288 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
47289 }
47290 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
47291 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
47292 }
47293 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
47294 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
47295 }
47296 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
47297 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
47298 }
47299 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
47300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
47301 }
47302 static void *_p_wxControlTo_p_wxObject(void *x) {
47303 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
47304 }
47305 static void *_p_wxPyControlTo_p_wxObject(void *x) {
47306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
47307 }
47308 static void *_p_wxGaugeTo_p_wxObject(void *x) {
47309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
47310 }
47311 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
47312 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
47313 }
47314 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
47315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
47316 }
47317 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
47318 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
47319 }
47320 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
47321 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
47322 }
47323 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
47324 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
47325 }
47326 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
47327 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47328 }
47329 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
47330 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
47331 }
47332 static void *_p_wxChoiceTo_p_wxObject(void *x) {
47333 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47334 }
47335 static void *_p_wxFSFileTo_p_wxObject(void *x) {
47336 return (void *)((wxObject *) ((wxFSFile *) x));
47337 }
47338 static void *_p_wxPySizerTo_p_wxObject(void *x) {
47339 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
47340 }
47341 static void *_p_wxTreebookTo_p_wxObject(void *x) {
47342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47343 }
47344 static void *_p_wxListViewTo_p_wxObject(void *x) {
47345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47346 }
47347 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
47348 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
47349 }
47350 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
47351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
47352 }
47353 static void *_p_wxNotebookTo_p_wxObject(void *x) {
47354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47355 }
47356 static void *_p_wxPyEventTo_p_wxObject(void *x) {
47357 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
47358 }
47359 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
47360 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
47361 }
47362 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
47363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47364 }
47365 static void *_p_wxListbookTo_p_wxObject(void *x) {
47366 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47367 }
47368 static void *_p_wxShowEventTo_p_wxObject(void *x) {
47369 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
47370 }
47371 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
47372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
47373 }
47374 static void *_p_wxSliderTo_p_wxObject(void *x) {
47375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
47376 }
47377 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
47378 return (void *)((wxObject *) ((wxMenuItem *) x));
47379 }
47380 static void *_p_wxDateEventTo_p_wxObject(void *x) {
47381 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
47382 }
47383 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
47384 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
47385 }
47386 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
47387 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
47388 }
47389 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
47390 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
47391 }
47392 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
47393 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
47394 }
47395 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
47396 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
47397 }
47398 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
47399 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
47400 }
47401 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
47402 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
47403 }
47404 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
47405 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
47406 }
47407 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
47408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
47409 }
47410 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
47411 return (void *)((wxObject *) ((wxContextHelp *) x));
47412 }
47413 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
47414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
47415 }
47416 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
47417 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
47418 }
47419 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
47420 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
47421 }
47422 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
47423 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
47424 }
47425 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
47426 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
47427 }
47428 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
47429 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
47430 }
47431 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
47432 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
47433 }
47434 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
47435 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
47436 }
47437 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
47438 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
47439 }
47440 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
47441 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
47442 }
47443 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
47444 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
47445 }
47446 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
47447 return (void *)((wxObject *) ((wxImageHandler *) x));
47448 }
47449 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
47450 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
47451 }
47452 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
47453 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
47454 }
47455 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
47456 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
47457 }
47458 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
47459 return (void *)((wxObject *) ((wxEvtHandler *) x));
47460 }
47461 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
47462 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
47463 }
47464 static void *_p_wxListEventTo_p_wxObject(void *x) {
47465 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
47466 }
47467 static void *_p_wxListBoxTo_p_wxObject(void *x) {
47468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47469 }
47470 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
47471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47472 }
47473 static void *_p_wxButtonTo_p_wxObject(void *x) {
47474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
47475 }
47476 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
47477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
47478 }
47479 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
47480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
47481 }
47482 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
47483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47484 }
47485 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
47486 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
47487 }
47488 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
47489 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
47490 }
47491 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
47492 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
47493 }
47494 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
47495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
47496 }
47497 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
47498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
47499 }
47500 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
47501 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
47502 }
47503 static void *_p_wxListItemTo_p_wxObject(void *x) {
47504 return (void *)((wxObject *) ((wxListItem *) x));
47505 }
47506 static void *_p_wxImageTo_p_wxObject(void *x) {
47507 return (void *)((wxObject *) ((wxImage *) x));
47508 }
47509 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
47510 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
47511 }
47512 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
47513 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
47514 }
47515 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
47516 return (void *)((wxObject *) ((wxGenericDragImage *) x));
47517 }
47518 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
47519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
47520 }
47521 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
47522 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47523 }
47524 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
47525 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47526 }
47527 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
47528 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47529 }
47530 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
47531 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47532 }
47533 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
47534 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47535 }
47536 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
47537 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47538 }
47539 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
47540 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
47541 }
47542 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
47543 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
47544 }
47545 static void *_p_wxWindowTo_p_wxObject(void *x) {
47546 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
47547 }
47548 static void *_p_wxMenuTo_p_wxObject(void *x) {
47549 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
47550 }
47551 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
47552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
47553 }
47554 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
47555 return (void *)((wxObject *) ((wxFileSystem *) x));
47556 }
47557 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
47558 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
47559 }
47560 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
47561 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
47562 }
47563 static void *_p_wxPyAppTo_p_wxObject(void *x) {
47564 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
47565 }
47566 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
47567 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
47568 }
47569 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
47570 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
47571 }
47572 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
47573 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
47574 }
47575 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
47576 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47577 }
47578 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
47579 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47580 }
47581 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
47582 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
47583 }
47584 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
47585 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
47586 }
47587 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
47588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
47589 }
47590 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
47591 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
47592 }
47593 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
47594 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
47595 }
47596 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
47597 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
47598 }
47599 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
47600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
47601 }
47602 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
47603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47604 }
47605 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
47606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47607 }
47608 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
47609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47610 }
47611 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
47612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47613 }
47614 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
47615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
47616 }
47617 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
47618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
47619 }
47620 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
47621 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
47622 }
47623 static void *_p_wxToolBarTo_p_wxObject(void *x) {
47624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47625 }
47626 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
47627 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
47628 }
47629 static void *_p_wxValidatorTo_p_wxObject(void *x) {
47630 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
47631 }
47632 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
47633 return (void *)((wxWindow *) ((wxMenuBar *) x));
47634 }
47635 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
47636 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
47637 }
47638 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
47639 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47640 }
47641 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
47642 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
47643 }
47644 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
47645 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
47646 }
47647 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
47648 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
47649 }
47650 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
47651 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47652 }
47653 static void *_p_wxControlTo_p_wxWindow(void *x) {
47654 return (void *)((wxWindow *) ((wxControl *) x));
47655 }
47656 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
47657 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
47658 }
47659 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
47660 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
47661 }
47662 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
47663 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
47664 }
47665 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
47666 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47667 }
47668 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
47669 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
47670 }
47671 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
47672 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
47673 }
47674 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
47675 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
47676 }
47677 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
47678 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
47679 }
47680 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
47681 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
47682 }
47683 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
47684 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
47685 }
47686 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
47687 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47688 }
47689 static void *_p_wxListbookTo_p_wxWindow(void *x) {
47690 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47691 }
47692 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
47693 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
47694 }
47695 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
47696 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
47697 }
47698 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
47699 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
47700 }
47701 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
47702 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
47703 }
47704 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
47705 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47706 }
47707 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
47708 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47709 }
47710 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
47711 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47712 }
47713 static void *_p_wxListViewTo_p_wxWindow(void *x) {
47714 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47715 }
47716 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
47717 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47718 }
47719 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
47720 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
47721 }
47722 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
47723 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
47724 }
47725 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
47726 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
47727 }
47728 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
47729 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
47730 }
47731 static void *_p_wxSliderTo_p_wxWindow(void *x) {
47732 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
47733 }
47734 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
47735 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47736 }
47737 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
47738 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
47739 }
47740 static void *_p_wxButtonTo_p_wxWindow(void *x) {
47741 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
47742 }
47743 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
47744 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
47745 }
47746 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
47747 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47748 }
47749 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
47750 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
47751 }
47752 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
47753 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47754 }
47755 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
47756 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47757 }
47758 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
47759 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47760 }
47761 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
47762 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47763 }
47764 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
47765 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
47766 }
47767 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47768 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47769 }
47770 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47771 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47772 }
47773 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47774 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47775 }
47776 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47777 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47778 }
47779 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47780 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47781 }
47782 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
47783 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47784 }
47785 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
47786 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
47787 }
47788 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
47789 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
47790 }
47791 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
47792 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
47793 }
47794 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
47795 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47796 }
47797 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
47798 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
47799 }
47800 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
47801 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
47802 }
47803 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
47804 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
47805 }
47806 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
47807 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
47808 }
47809 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
47810 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
47811 }
47812 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
47813 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
47814 }
47815 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
47816 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47817 }
47818 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
47819 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47820 }
47821 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
47822 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47823 }
47824 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
47825 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47826 }
47827 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
47828 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47829 }
47830 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
47831 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
47832 }
47833 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
47834 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
47835 }
47836 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
47837 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
47838 }
47839 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
47840 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47841 }
47842 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
47843 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
47844 }
47845 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
47846 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
47847 }
47848 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
47849 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
47850 }
47851 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
47852 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
47853 }
47854 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
47855 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
47856 }
47857 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
47858 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
47859 }
47860 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
47861 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
47862 }
47863 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
47864 return (void *)((wxControlWithItems *) ((wxChoice *) x));
47865 }
47866 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
47867 return (void *)((wxControlWithItems *) ((wxListBox *) x));
47868 }
47869 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
47870 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
47871 }
47872 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
47873 return (void *)((wxValidator *) ((wxPyValidator *) x));
47874 }
47875 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47876 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
47877 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};
47878 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
47879 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
47880 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47881 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47882 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47883 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
47884 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47885 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47886 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47887 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47888 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47889 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47890 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47891 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47892 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47893 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47894 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47895 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47896 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47897 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47898 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47899 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47900 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47901 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47902 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47903 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47904 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47905 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47906 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47907 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47908 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47909 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47910 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47911 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47912 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47913 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47914 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47915 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47916 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47917 static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47918 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47919 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47920 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47921 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47922 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47923 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47924 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47925 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47926 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47927 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47928 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
47929 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47930 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47931 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47932 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47933 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47934 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47935 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47936 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47937 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47938 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47939 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47940 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47941 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47942 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47943 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47944 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47945 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47946 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47947 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47948 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47949 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47950 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
47951 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
47952 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47953 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47954 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47955 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47956 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47957 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47958 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47959 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47960 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47961 static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47962 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47963 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47964 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47965 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47966 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47967 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47968 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47969 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47970 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47971 static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47972 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47973 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47974 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47975 static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47976 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47977 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47978 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47979 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47980 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47981 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47982 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47983 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47984 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47985 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47986 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47987 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
47988 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47989 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47990 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47991 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
47992 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
47993 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47994 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47995 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47996 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47997 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47998 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47999 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48000 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48001 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48002 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
48003 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
48004 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
48005 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48006 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
48007 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
48008 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
48009 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
48010 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
48011 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48012 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
48013 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
48014 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48015 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48016 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48017 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48018 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48019 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48020 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48021 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48022 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48023 static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48024 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48025 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48026 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48027 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48028 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48029 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48030 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48031 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48032 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48033 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48034 static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48035 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48036 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48037 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48038 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48039 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48040 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48041 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48042 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
48043 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48044 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48045 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48046 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48047 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48048 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48049 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
48050 static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
48051
48052 static swig_type_info *swig_type_initial[] = {
48053 &_swigt__p_bool,
48054 &_swigt__p_char,
48055 &_swigt__p_form_ops_t,
48056 &_swigt__p_int,
48057 &_swigt__p_long,
48058 &_swigt__p_unsigned_char,
48059 &_swigt__p_unsigned_int,
48060 &_swigt__p_unsigned_long,
48061 &_swigt__p_void,
48062 &_swigt__p_wxANIHandler,
48063 &_swigt__p_wxAcceleratorTable,
48064 &_swigt__p_wxActivateEvent,
48065 &_swigt__p_wxArrayInt,
48066 &_swigt__p_wxArrayString,
48067 &_swigt__p_wxBMPHandler,
48068 &_swigt__p_wxBitmap,
48069 &_swigt__p_wxBitmapButton,
48070 &_swigt__p_wxBookCtrlBase,
48071 &_swigt__p_wxBookCtrlBaseEvent,
48072 &_swigt__p_wxBoxSizer,
48073 &_swigt__p_wxButton,
48074 &_swigt__p_wxCURHandler,
48075 &_swigt__p_wxCheckBox,
48076 &_swigt__p_wxCheckListBox,
48077 &_swigt__p_wxChildFocusEvent,
48078 &_swigt__p_wxChoice,
48079 &_swigt__p_wxChoicebook,
48080 &_swigt__p_wxChoicebookEvent,
48081 &_swigt__p_wxClipboardTextEvent,
48082 &_swigt__p_wxCloseEvent,
48083 &_swigt__p_wxColour,
48084 &_swigt__p_wxColourPickerCtrl,
48085 &_swigt__p_wxColourPickerEvent,
48086 &_swigt__p_wxComboBox,
48087 &_swigt__p_wxCommandEvent,
48088 &_swigt__p_wxContextHelp,
48089 &_swigt__p_wxContextHelpButton,
48090 &_swigt__p_wxContextMenuEvent,
48091 &_swigt__p_wxControl,
48092 &_swigt__p_wxControlWithItems,
48093 &_swigt__p_wxCursor,
48094 &_swigt__p_wxDC,
48095 &_swigt__p_wxDateEvent,
48096 &_swigt__p_wxDatePickerCtrl,
48097 &_swigt__p_wxDateTime,
48098 &_swigt__p_wxDirFilterListCtrl,
48099 &_swigt__p_wxDirPickerCtrl,
48100 &_swigt__p_wxDisplayChangedEvent,
48101 &_swigt__p_wxDropFilesEvent,
48102 &_swigt__p_wxDuplexMode,
48103 &_swigt__p_wxEraseEvent,
48104 &_swigt__p_wxEvent,
48105 &_swigt__p_wxEvtHandler,
48106 &_swigt__p_wxFSFile,
48107 &_swigt__p_wxFileDirPickerEvent,
48108 &_swigt__p_wxFilePickerCtrl,
48109 &_swigt__p_wxFileSystem,
48110 &_swigt__p_wxFlexGridSizer,
48111 &_swigt__p_wxFocusEvent,
48112 &_swigt__p_wxFont,
48113 &_swigt__p_wxFontPickerCtrl,
48114 &_swigt__p_wxFontPickerEvent,
48115 &_swigt__p_wxGBSizerItem,
48116 &_swigt__p_wxGIFHandler,
48117 &_swigt__p_wxGauge,
48118 &_swigt__p_wxGenericDirCtrl,
48119 &_swigt__p_wxGenericDragImage,
48120 &_swigt__p_wxGridBagSizer,
48121 &_swigt__p_wxGridSizer,
48122 &_swigt__p_wxHelpEvent,
48123 &_swigt__p_wxHelpProvider,
48124 &_swigt__p_wxHyperlinkCtrl,
48125 &_swigt__p_wxHyperlinkEvent,
48126 &_swigt__p_wxICOHandler,
48127 &_swigt__p_wxIcon,
48128 &_swigt__p_wxIconizeEvent,
48129 &_swigt__p_wxIdleEvent,
48130 &_swigt__p_wxImage,
48131 &_swigt__p_wxImageHandler,
48132 &_swigt__p_wxImageList,
48133 &_swigt__p_wxIndividualLayoutConstraint,
48134 &_swigt__p_wxInitDialogEvent,
48135 &_swigt__p_wxItemContainer,
48136 &_swigt__p_wxJPEGHandler,
48137 &_swigt__p_wxKeyEvent,
48138 &_swigt__p_wxLayoutConstraints,
48139 &_swigt__p_wxListBox,
48140 &_swigt__p_wxListEvent,
48141 &_swigt__p_wxListItem,
48142 &_swigt__p_wxListItemAttr,
48143 &_swigt__p_wxListView,
48144 &_swigt__p_wxListbook,
48145 &_swigt__p_wxListbookEvent,
48146 &_swigt__p_wxMaximizeEvent,
48147 &_swigt__p_wxMemoryDC,
48148 &_swigt__p_wxMenu,
48149 &_swigt__p_wxMenuBar,
48150 &_swigt__p_wxMenuEvent,
48151 &_swigt__p_wxMenuItem,
48152 &_swigt__p_wxMouseCaptureChangedEvent,
48153 &_swigt__p_wxMouseCaptureLostEvent,
48154 &_swigt__p_wxMouseEvent,
48155 &_swigt__p_wxMoveEvent,
48156 &_swigt__p_wxNavigationKeyEvent,
48157 &_swigt__p_wxNcPaintEvent,
48158 &_swigt__p_wxNotebook,
48159 &_swigt__p_wxNotebookEvent,
48160 &_swigt__p_wxNotifyEvent,
48161 &_swigt__p_wxObject,
48162 &_swigt__p_wxPCXHandler,
48163 &_swigt__p_wxPNGHandler,
48164 &_swigt__p_wxPNMHandler,
48165 &_swigt__p_wxPaintEvent,
48166 &_swigt__p_wxPaletteChangedEvent,
48167 &_swigt__p_wxPaperSize,
48168 &_swigt__p_wxPickerBase,
48169 &_swigt__p_wxPoint,
48170 &_swigt__p_wxPyApp,
48171 &_swigt__p_wxPyCommandEvent,
48172 &_swigt__p_wxPyControl,
48173 &_swigt__p_wxPyEvent,
48174 &_swigt__p_wxPyImageHandler,
48175 &_swigt__p_wxPyListCtrl,
48176 &_swigt__p_wxPySizer,
48177 &_swigt__p_wxPyTreeCtrl,
48178 &_swigt__p_wxPyTreeItemData,
48179 &_swigt__p_wxPyValidator,
48180 &_swigt__p_wxQueryNewPaletteEvent,
48181 &_swigt__p_wxRadioBox,
48182 &_swigt__p_wxRadioButton,
48183 &_swigt__p_wxRect,
48184 &_swigt__p_wxScrollBar,
48185 &_swigt__p_wxScrollEvent,
48186 &_swigt__p_wxScrollWinEvent,
48187 &_swigt__p_wxSetCursorEvent,
48188 &_swigt__p_wxShowEvent,
48189 &_swigt__p_wxSimpleHelpProvider,
48190 &_swigt__p_wxSize,
48191 &_swigt__p_wxSizeEvent,
48192 &_swigt__p_wxSizer,
48193 &_swigt__p_wxSizerItem,
48194 &_swigt__p_wxSlider,
48195 &_swigt__p_wxSpinButton,
48196 &_swigt__p_wxSpinCtrl,
48197 &_swigt__p_wxSpinEvent,
48198 &_swigt__p_wxStaticBitmap,
48199 &_swigt__p_wxStaticBox,
48200 &_swigt__p_wxStaticBoxSizer,
48201 &_swigt__p_wxStaticLine,
48202 &_swigt__p_wxStaticText,
48203 &_swigt__p_wxStdDialogButtonSizer,
48204 &_swigt__p_wxString,
48205 &_swigt__p_wxSysColourChangedEvent,
48206 &_swigt__p_wxTGAHandler,
48207 &_swigt__p_wxTIFFHandler,
48208 &_swigt__p_wxTextAttr,
48209 &_swigt__p_wxTextCtrl,
48210 &_swigt__p_wxTextUrlEvent,
48211 &_swigt__p_wxToggleButton,
48212 &_swigt__p_wxToolBar,
48213 &_swigt__p_wxToolBarBase,
48214 &_swigt__p_wxToolBarToolBase,
48215 &_swigt__p_wxToolbook,
48216 &_swigt__p_wxToolbookEvent,
48217 &_swigt__p_wxTreeEvent,
48218 &_swigt__p_wxTreeItemId,
48219 &_swigt__p_wxTreebook,
48220 &_swigt__p_wxTreebookEvent,
48221 &_swigt__p_wxUpdateUIEvent,
48222 &_swigt__p_wxValidator,
48223 &_swigt__p_wxVisualAttributes,
48224 &_swigt__p_wxWindow,
48225 &_swigt__p_wxWindowBase,
48226 &_swigt__p_wxWindowCreateEvent,
48227 &_swigt__p_wxWindowDestroyEvent,
48228 &_swigt__p_wxXPMHandler,
48229 };
48230
48231 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
48232 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
48233 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
48234 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
48235 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
48236 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
48237 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
48238 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
48239 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
48240 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
48241 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
48242 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
48243 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}};
48244 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}};
48245 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}};
48246 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}};
48247 static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
48248 static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
48249 static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxChoice, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
48250 static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
48251 static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48252 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
48253 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48254 static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48255 static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
48256 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
48257 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
48258 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
48259 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
48260 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48261 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48262 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
48263 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
48264 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
48265 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
48266 static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
48267 static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
48268 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
48269 static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
48270 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
48271 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
48272 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48273 static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
48274 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
48275 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48276 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
48277 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48278 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
48279 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
48280 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
48281 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
48282 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
48283 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
48284 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
48285 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48286 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48287 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
48288 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48289 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
48290 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
48291 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48292 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48293 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48294 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48295 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48296 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48297 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
48298 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48299 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
48300 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48301 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
48302 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
48303 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
48304 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
48305 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
48306 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
48307 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
48308 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48309 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48310 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
48311 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48312 static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48313 static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
48314 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
48315 static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
48316 static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
48317 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}};
48318 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
48319 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
48320 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
48321 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
48322 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}};
48323 static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48324 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}};
48325 static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
48326 static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
48327 static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
48328 static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
48329 static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
48330 static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
48331 static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
48332 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
48333 static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
48334 static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48335 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}};
48336 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
48337 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
48338 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
48339 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
48340 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48341 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48342 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
48343 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
48344 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48345 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48346 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
48347 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
48348 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
48349 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
48350 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
48351 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
48352 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
48353 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
48354 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
48355 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
48356 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
48357 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
48358 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
48359 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
48360 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
48361 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
48362 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
48363 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
48364 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
48365 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
48366 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
48367 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
48368 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
48369 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}};
48370 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
48371 static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
48372 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}};
48373 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
48374 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
48375 static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
48376 static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
48377 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
48378 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
48379 static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
48380 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
48381 static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
48382 static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
48383 static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
48384 static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
48385 static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
48386 static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
48387 static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
48388 static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
48389 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
48390 static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
48391 static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
48392 static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
48393 static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
48394 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
48395 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}};
48396 static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
48397 static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
48398 static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
48399 static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
48400 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
48401 static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
48402 static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48403 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}};
48404 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
48405 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
48406 static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
48407
48408 static swig_cast_info *swig_cast_initial[] = {
48409 _swigc__p_bool,
48410 _swigc__p_char,
48411 _swigc__p_form_ops_t,
48412 _swigc__p_int,
48413 _swigc__p_long,
48414 _swigc__p_unsigned_char,
48415 _swigc__p_unsigned_int,
48416 _swigc__p_unsigned_long,
48417 _swigc__p_void,
48418 _swigc__p_wxANIHandler,
48419 _swigc__p_wxAcceleratorTable,
48420 _swigc__p_wxActivateEvent,
48421 _swigc__p_wxArrayInt,
48422 _swigc__p_wxArrayString,
48423 _swigc__p_wxBMPHandler,
48424 _swigc__p_wxBitmap,
48425 _swigc__p_wxBitmapButton,
48426 _swigc__p_wxBookCtrlBase,
48427 _swigc__p_wxBookCtrlBaseEvent,
48428 _swigc__p_wxBoxSizer,
48429 _swigc__p_wxButton,
48430 _swigc__p_wxCURHandler,
48431 _swigc__p_wxCheckBox,
48432 _swigc__p_wxCheckListBox,
48433 _swigc__p_wxChildFocusEvent,
48434 _swigc__p_wxChoice,
48435 _swigc__p_wxChoicebook,
48436 _swigc__p_wxChoicebookEvent,
48437 _swigc__p_wxClipboardTextEvent,
48438 _swigc__p_wxCloseEvent,
48439 _swigc__p_wxColour,
48440 _swigc__p_wxColourPickerCtrl,
48441 _swigc__p_wxColourPickerEvent,
48442 _swigc__p_wxComboBox,
48443 _swigc__p_wxCommandEvent,
48444 _swigc__p_wxContextHelp,
48445 _swigc__p_wxContextHelpButton,
48446 _swigc__p_wxContextMenuEvent,
48447 _swigc__p_wxControl,
48448 _swigc__p_wxControlWithItems,
48449 _swigc__p_wxCursor,
48450 _swigc__p_wxDC,
48451 _swigc__p_wxDateEvent,
48452 _swigc__p_wxDatePickerCtrl,
48453 _swigc__p_wxDateTime,
48454 _swigc__p_wxDirFilterListCtrl,
48455 _swigc__p_wxDirPickerCtrl,
48456 _swigc__p_wxDisplayChangedEvent,
48457 _swigc__p_wxDropFilesEvent,
48458 _swigc__p_wxDuplexMode,
48459 _swigc__p_wxEraseEvent,
48460 _swigc__p_wxEvent,
48461 _swigc__p_wxEvtHandler,
48462 _swigc__p_wxFSFile,
48463 _swigc__p_wxFileDirPickerEvent,
48464 _swigc__p_wxFilePickerCtrl,
48465 _swigc__p_wxFileSystem,
48466 _swigc__p_wxFlexGridSizer,
48467 _swigc__p_wxFocusEvent,
48468 _swigc__p_wxFont,
48469 _swigc__p_wxFontPickerCtrl,
48470 _swigc__p_wxFontPickerEvent,
48471 _swigc__p_wxGBSizerItem,
48472 _swigc__p_wxGIFHandler,
48473 _swigc__p_wxGauge,
48474 _swigc__p_wxGenericDirCtrl,
48475 _swigc__p_wxGenericDragImage,
48476 _swigc__p_wxGridBagSizer,
48477 _swigc__p_wxGridSizer,
48478 _swigc__p_wxHelpEvent,
48479 _swigc__p_wxHelpProvider,
48480 _swigc__p_wxHyperlinkCtrl,
48481 _swigc__p_wxHyperlinkEvent,
48482 _swigc__p_wxICOHandler,
48483 _swigc__p_wxIcon,
48484 _swigc__p_wxIconizeEvent,
48485 _swigc__p_wxIdleEvent,
48486 _swigc__p_wxImage,
48487 _swigc__p_wxImageHandler,
48488 _swigc__p_wxImageList,
48489 _swigc__p_wxIndividualLayoutConstraint,
48490 _swigc__p_wxInitDialogEvent,
48491 _swigc__p_wxItemContainer,
48492 _swigc__p_wxJPEGHandler,
48493 _swigc__p_wxKeyEvent,
48494 _swigc__p_wxLayoutConstraints,
48495 _swigc__p_wxListBox,
48496 _swigc__p_wxListEvent,
48497 _swigc__p_wxListItem,
48498 _swigc__p_wxListItemAttr,
48499 _swigc__p_wxListView,
48500 _swigc__p_wxListbook,
48501 _swigc__p_wxListbookEvent,
48502 _swigc__p_wxMaximizeEvent,
48503 _swigc__p_wxMemoryDC,
48504 _swigc__p_wxMenu,
48505 _swigc__p_wxMenuBar,
48506 _swigc__p_wxMenuEvent,
48507 _swigc__p_wxMenuItem,
48508 _swigc__p_wxMouseCaptureChangedEvent,
48509 _swigc__p_wxMouseCaptureLostEvent,
48510 _swigc__p_wxMouseEvent,
48511 _swigc__p_wxMoveEvent,
48512 _swigc__p_wxNavigationKeyEvent,
48513 _swigc__p_wxNcPaintEvent,
48514 _swigc__p_wxNotebook,
48515 _swigc__p_wxNotebookEvent,
48516 _swigc__p_wxNotifyEvent,
48517 _swigc__p_wxObject,
48518 _swigc__p_wxPCXHandler,
48519 _swigc__p_wxPNGHandler,
48520 _swigc__p_wxPNMHandler,
48521 _swigc__p_wxPaintEvent,
48522 _swigc__p_wxPaletteChangedEvent,
48523 _swigc__p_wxPaperSize,
48524 _swigc__p_wxPickerBase,
48525 _swigc__p_wxPoint,
48526 _swigc__p_wxPyApp,
48527 _swigc__p_wxPyCommandEvent,
48528 _swigc__p_wxPyControl,
48529 _swigc__p_wxPyEvent,
48530 _swigc__p_wxPyImageHandler,
48531 _swigc__p_wxPyListCtrl,
48532 _swigc__p_wxPySizer,
48533 _swigc__p_wxPyTreeCtrl,
48534 _swigc__p_wxPyTreeItemData,
48535 _swigc__p_wxPyValidator,
48536 _swigc__p_wxQueryNewPaletteEvent,
48537 _swigc__p_wxRadioBox,
48538 _swigc__p_wxRadioButton,
48539 _swigc__p_wxRect,
48540 _swigc__p_wxScrollBar,
48541 _swigc__p_wxScrollEvent,
48542 _swigc__p_wxScrollWinEvent,
48543 _swigc__p_wxSetCursorEvent,
48544 _swigc__p_wxShowEvent,
48545 _swigc__p_wxSimpleHelpProvider,
48546 _swigc__p_wxSize,
48547 _swigc__p_wxSizeEvent,
48548 _swigc__p_wxSizer,
48549 _swigc__p_wxSizerItem,
48550 _swigc__p_wxSlider,
48551 _swigc__p_wxSpinButton,
48552 _swigc__p_wxSpinCtrl,
48553 _swigc__p_wxSpinEvent,
48554 _swigc__p_wxStaticBitmap,
48555 _swigc__p_wxStaticBox,
48556 _swigc__p_wxStaticBoxSizer,
48557 _swigc__p_wxStaticLine,
48558 _swigc__p_wxStaticText,
48559 _swigc__p_wxStdDialogButtonSizer,
48560 _swigc__p_wxString,
48561 _swigc__p_wxSysColourChangedEvent,
48562 _swigc__p_wxTGAHandler,
48563 _swigc__p_wxTIFFHandler,
48564 _swigc__p_wxTextAttr,
48565 _swigc__p_wxTextCtrl,
48566 _swigc__p_wxTextUrlEvent,
48567 _swigc__p_wxToggleButton,
48568 _swigc__p_wxToolBar,
48569 _swigc__p_wxToolBarBase,
48570 _swigc__p_wxToolBarToolBase,
48571 _swigc__p_wxToolbook,
48572 _swigc__p_wxToolbookEvent,
48573 _swigc__p_wxTreeEvent,
48574 _swigc__p_wxTreeItemId,
48575 _swigc__p_wxTreebook,
48576 _swigc__p_wxTreebookEvent,
48577 _swigc__p_wxUpdateUIEvent,
48578 _swigc__p_wxValidator,
48579 _swigc__p_wxVisualAttributes,
48580 _swigc__p_wxWindow,
48581 _swigc__p_wxWindowBase,
48582 _swigc__p_wxWindowCreateEvent,
48583 _swigc__p_wxWindowDestroyEvent,
48584 _swigc__p_wxXPMHandler,
48585 };
48586
48587
48588 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48589
48590 static swig_const_info swig_const_table[] = {
48591 {0, 0, 0, 0.0, 0, 0}};
48592
48593 #ifdef __cplusplus
48594 }
48595 #endif
48596 /* -----------------------------------------------------------------------------
48597 * Type initialization:
48598 * This problem is tough by the requirement that no dynamic
48599 * memory is used. Also, since swig_type_info structures store pointers to
48600 * swig_cast_info structures and swig_cast_info structures store pointers back
48601 * to swig_type_info structures, we need some lookup code at initialization.
48602 * The idea is that swig generates all the structures that are needed.
48603 * The runtime then collects these partially filled structures.
48604 * The SWIG_InitializeModule function takes these initial arrays out of
48605 * swig_module, and does all the lookup, filling in the swig_module.types
48606 * array with the correct data and linking the correct swig_cast_info
48607 * structures together.
48608 *
48609 * The generated swig_type_info structures are assigned staticly to an initial
48610 * array. We just loop though that array, and handle each type individually.
48611 * First we lookup if this type has been already loaded, and if so, use the
48612 * loaded structure instead of the generated one. Then we have to fill in the
48613 * cast linked list. The cast data is initially stored in something like a
48614 * two-dimensional array. Each row corresponds to a type (there are the same
48615 * number of rows as there are in the swig_type_initial array). Each entry in
48616 * a column is one of the swig_cast_info structures for that type.
48617 * The cast_initial array is actually an array of arrays, because each row has
48618 * a variable number of columns. So to actually build the cast linked list,
48619 * we find the array of casts associated with the type, and loop through it
48620 * adding the casts to the list. The one last trick we need to do is making
48621 * sure the type pointer in the swig_cast_info struct is correct.
48622 *
48623 * First off, we lookup the cast->type name to see if it is already loaded.
48624 * There are three cases to handle:
48625 * 1) If the cast->type has already been loaded AND the type we are adding
48626 * casting info to has not been loaded (it is in this module), THEN we
48627 * replace the cast->type pointer with the type pointer that has already
48628 * been loaded.
48629 * 2) If BOTH types (the one we are adding casting info to, and the
48630 * cast->type) are loaded, THEN the cast info has already been loaded by
48631 * the previous module so we just ignore it.
48632 * 3) Finally, if cast->type has not already been loaded, then we add that
48633 * swig_cast_info to the linked list (because the cast->type) pointer will
48634 * be correct.
48635 * ----------------------------------------------------------------------------- */
48636
48637 #ifdef __cplusplus
48638 extern "C" {
48639 #if 0
48640 } /* c-mode */
48641 #endif
48642 #endif
48643
48644 #if 0
48645 #define SWIGRUNTIME_DEBUG
48646 #endif
48647
48648 SWIGRUNTIME void
48649 SWIG_InitializeModule(void *clientdata) {
48650 size_t i;
48651 swig_module_info *module_head;
48652 static int init_run = 0;
48653
48654 clientdata = clientdata;
48655
48656 if (init_run) return;
48657 init_run = 1;
48658
48659 /* Initialize the swig_module */
48660 swig_module.type_initial = swig_type_initial;
48661 swig_module.cast_initial = swig_cast_initial;
48662
48663 /* Try and load any already created modules */
48664 module_head = SWIG_GetModule(clientdata);
48665 if (module_head) {
48666 swig_module.next = module_head->next;
48667 module_head->next = &swig_module;
48668 } else {
48669 /* This is the first module loaded */
48670 swig_module.next = &swig_module;
48671 SWIG_SetModule(clientdata, &swig_module);
48672 }
48673
48674 /* Now work on filling in swig_module.types */
48675 #ifdef SWIGRUNTIME_DEBUG
48676 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
48677 #endif
48678 for (i = 0; i < swig_module.size; ++i) {
48679 swig_type_info *type = 0;
48680 swig_type_info *ret;
48681 swig_cast_info *cast;
48682
48683 #ifdef SWIGRUNTIME_DEBUG
48684 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
48685 #endif
48686
48687 /* if there is another module already loaded */
48688 if (swig_module.next != &swig_module) {
48689 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
48690 }
48691 if (type) {
48692 /* Overwrite clientdata field */
48693 #ifdef SWIGRUNTIME_DEBUG
48694 printf("SWIG_InitializeModule: found type %s\n", type->name);
48695 #endif
48696 if (swig_module.type_initial[i]->clientdata) {
48697 type->clientdata = swig_module.type_initial[i]->clientdata;
48698 #ifdef SWIGRUNTIME_DEBUG
48699 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
48700 #endif
48701 }
48702 } else {
48703 type = swig_module.type_initial[i];
48704 }
48705
48706 /* Insert casting types */
48707 cast = swig_module.cast_initial[i];
48708 while (cast->type) {
48709 /* Don't need to add information already in the list */
48710 ret = 0;
48711 #ifdef SWIGRUNTIME_DEBUG
48712 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
48713 #endif
48714 if (swig_module.next != &swig_module) {
48715 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
48716 #ifdef SWIGRUNTIME_DEBUG
48717 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
48718 #endif
48719 }
48720 if (ret) {
48721 if (type == swig_module.type_initial[i]) {
48722 #ifdef SWIGRUNTIME_DEBUG
48723 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
48724 #endif
48725 cast->type = ret;
48726 ret = 0;
48727 } else {
48728 /* Check for casting already in the list */
48729 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
48730 #ifdef SWIGRUNTIME_DEBUG
48731 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
48732 #endif
48733 if (!ocast) ret = 0;
48734 }
48735 }
48736
48737 if (!ret) {
48738 #ifdef SWIGRUNTIME_DEBUG
48739 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
48740 #endif
48741 if (type->cast) {
48742 type->cast->prev = cast;
48743 cast->next = type->cast;
48744 }
48745 type->cast = cast;
48746 }
48747 cast++;
48748 }
48749 /* Set entry in modules->types array equal to the type */
48750 swig_module.types[i] = type;
48751 }
48752 swig_module.types[i] = 0;
48753
48754 #ifdef SWIGRUNTIME_DEBUG
48755 printf("**** SWIG_InitializeModule: Cast List ******\n");
48756 for (i = 0; i < swig_module.size; ++i) {
48757 int j = 0;
48758 swig_cast_info *cast = swig_module.cast_initial[i];
48759 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
48760 while (cast->type) {
48761 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
48762 cast++;
48763 ++j;
48764 }
48765 printf("---- Total casts: %d\n",j);
48766 }
48767 printf("**** SWIG_InitializeModule: Cast List ******\n");
48768 #endif
48769 }
48770
48771 /* This function will propagate the clientdata field of type to
48772 * any new swig_type_info structures that have been added into the list
48773 * of equivalent types. It is like calling
48774 * SWIG_TypeClientData(type, clientdata) a second time.
48775 */
48776 SWIGRUNTIME void
48777 SWIG_PropagateClientData(void) {
48778 size_t i;
48779 swig_cast_info *equiv;
48780 static int init_run = 0;
48781
48782 if (init_run) return;
48783 init_run = 1;
48784
48785 for (i = 0; i < swig_module.size; i++) {
48786 if (swig_module.types[i]->clientdata) {
48787 equiv = swig_module.types[i]->cast;
48788 while (equiv) {
48789 if (!equiv->converter) {
48790 if (equiv->type && !equiv->type->clientdata)
48791 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
48792 }
48793 equiv = equiv->next;
48794 }
48795 }
48796 }
48797 }
48798
48799 #ifdef __cplusplus
48800 #if 0
48801 {
48802 /* c-mode */
48803 #endif
48804 }
48805 #endif
48806
48807
48808
48809 #ifdef __cplusplus
48810 extern "C" {
48811 #endif
48812
48813 /* Python-specific SWIG API */
48814 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48815 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48816 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48817
48818 /* -----------------------------------------------------------------------------
48819 * global variable support code.
48820 * ----------------------------------------------------------------------------- */
48821
48822 typedef struct swig_globalvar {
48823 char *name; /* Name of global variable */
48824 PyObject *(*get_attr)(void); /* Return the current value */
48825 int (*set_attr)(PyObject *); /* Set the value */
48826 struct swig_globalvar *next;
48827 } swig_globalvar;
48828
48829 typedef struct swig_varlinkobject {
48830 PyObject_HEAD
48831 swig_globalvar *vars;
48832 } swig_varlinkobject;
48833
48834 SWIGINTERN PyObject *
48835 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
48836 return PyString_FromString("<Swig global variables>");
48837 }
48838
48839 SWIGINTERN PyObject *
48840 swig_varlink_str(swig_varlinkobject *v) {
48841 PyObject *str = PyString_FromString("(");
48842 swig_globalvar *var;
48843 for (var = v->vars; var; var=var->next) {
48844 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
48845 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
48846 }
48847 PyString_ConcatAndDel(&str,PyString_FromString(")"));
48848 return str;
48849 }
48850
48851 SWIGINTERN int
48852 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
48853 PyObject *str = swig_varlink_str(v);
48854 fprintf(fp,"Swig global variables ");
48855 fprintf(fp,"%s\n", PyString_AsString(str));
48856 Py_DECREF(str);
48857 return 0;
48858 }
48859
48860 SWIGINTERN void
48861 swig_varlink_dealloc(swig_varlinkobject *v) {
48862 swig_globalvar *var = v->vars;
48863 while (var) {
48864 swig_globalvar *n = var->next;
48865 free(var->name);
48866 free(var);
48867 var = n;
48868 }
48869 }
48870
48871 SWIGINTERN PyObject *
48872 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
48873 PyObject *res = NULL;
48874 swig_globalvar *var = v->vars;
48875 while (var) {
48876 if (strcmp(var->name,n) == 0) {
48877 res = (*var->get_attr)();
48878 break;
48879 }
48880 var = var->next;
48881 }
48882 if (res == NULL && !PyErr_Occurred()) {
48883 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
48884 }
48885 return res;
48886 }
48887
48888 SWIGINTERN int
48889 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
48890 int res = 1;
48891 swig_globalvar *var = v->vars;
48892 while (var) {
48893 if (strcmp(var->name,n) == 0) {
48894 res = (*var->set_attr)(p);
48895 break;
48896 }
48897 var = var->next;
48898 }
48899 if (res == 1 && !PyErr_Occurred()) {
48900 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
48901 }
48902 return res;
48903 }
48904
48905 SWIGINTERN PyTypeObject*
48906 swig_varlink_type(void) {
48907 static char varlink__doc__[] = "Swig var link object";
48908 static PyTypeObject varlink_type;
48909 static int type_init = 0;
48910 if (!type_init) {
48911 const PyTypeObject tmp
48912 = {
48913 PyObject_HEAD_INIT(NULL)
48914 0, /* Number of items in variable part (ob_size) */
48915 (char *)"swigvarlink", /* Type name (tp_name) */
48916 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
48917 0, /* Itemsize (tp_itemsize) */
48918 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
48919 (printfunc) swig_varlink_print, /* Print (tp_print) */
48920 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
48921 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
48922 0, /* tp_compare */
48923 (reprfunc) swig_varlink_repr, /* tp_repr */
48924 0, /* tp_as_number */
48925 0, /* tp_as_sequence */
48926 0, /* tp_as_mapping */
48927 0, /* tp_hash */
48928 0, /* tp_call */
48929 (reprfunc)swig_varlink_str, /* tp_str */
48930 0, /* tp_getattro */
48931 0, /* tp_setattro */
48932 0, /* tp_as_buffer */
48933 0, /* tp_flags */
48934 varlink__doc__, /* tp_doc */
48935 0, /* tp_traverse */
48936 0, /* tp_clear */
48937 0, /* tp_richcompare */
48938 0, /* tp_weaklistoffset */
48939 #if PY_VERSION_HEX >= 0x02020000
48940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48941 #endif
48942 #if PY_VERSION_HEX >= 0x02030000
48943 0, /* tp_del */
48944 #endif
48945 #ifdef COUNT_ALLOCS
48946 0,0,0,0 /* tp_alloc -> tp_next */
48947 #endif
48948 };
48949 varlink_type = tmp;
48950 varlink_type.ob_type = &PyType_Type;
48951 type_init = 1;
48952 }
48953 return &varlink_type;
48954 }
48955
48956 /* Create a variable linking object for use later */
48957 SWIGINTERN PyObject *
48958 SWIG_Python_newvarlink(void) {
48959 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
48960 if (result) {
48961 result->vars = 0;
48962 }
48963 return ((PyObject*) result);
48964 }
48965
48966 SWIGINTERN void
48967 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
48968 swig_varlinkobject *v = (swig_varlinkobject *) p;
48969 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
48970 if (gv) {
48971 size_t size = strlen(name)+1;
48972 gv->name = (char *)malloc(size);
48973 if (gv->name) {
48974 strncpy(gv->name,name,size);
48975 gv->get_attr = get_attr;
48976 gv->set_attr = set_attr;
48977 gv->next = v->vars;
48978 }
48979 }
48980 v->vars = gv;
48981 }
48982
48983 SWIGINTERN PyObject *
48984 SWIG_globals() {
48985 static PyObject *_SWIG_globals = 0;
48986 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
48987 return _SWIG_globals;
48988 }
48989
48990 /* -----------------------------------------------------------------------------
48991 * constants/methods manipulation
48992 * ----------------------------------------------------------------------------- */
48993
48994 /* Install Constants */
48995 SWIGINTERN void
48996 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
48997 PyObject *obj = 0;
48998 size_t i;
48999 for (i = 0; constants[i].type; ++i) {
49000 switch(constants[i].type) {
49001 case SWIG_PY_POINTER:
49002 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
49003 break;
49004 case SWIG_PY_BINARY:
49005 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
49006 break;
49007 default:
49008 obj = 0;
49009 break;
49010 }
49011 if (obj) {
49012 PyDict_SetItemString(d, constants[i].name, obj);
49013 Py_DECREF(obj);
49014 }
49015 }
49016 }
49017
49018 /* -----------------------------------------------------------------------------*/
49019 /* Fix SwigMethods to carry the callback ptrs when needed */
49020 /* -----------------------------------------------------------------------------*/
49021
49022 SWIGINTERN void
49023 SWIG_Python_FixMethods(PyMethodDef *methods,
49024 swig_const_info *const_table,
49025 swig_type_info **types,
49026 swig_type_info **types_initial) {
49027 size_t i;
49028 for (i = 0; methods[i].ml_name; ++i) {
49029 const char *c = methods[i].ml_doc;
49030 if (c && (c = strstr(c, "swig_ptr: "))) {
49031 int j;
49032 swig_const_info *ci = 0;
49033 const char *name = c + 10;
49034 for (j = 0; const_table[j].type; ++j) {
49035 if (strncmp(const_table[j].name, name,
49036 strlen(const_table[j].name)) == 0) {
49037 ci = &(const_table[j]);
49038 break;
49039 }
49040 }
49041 if (ci) {
49042 size_t shift = (ci->ptype) - types;
49043 swig_type_info *ty = types_initial[shift];
49044 size_t ldoc = (c - methods[i].ml_doc);
49045 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
49046 char *ndoc = (char*)malloc(ldoc + lptr + 10);
49047 if (ndoc) {
49048 char *buff = ndoc;
49049 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
49050 if (ptr) {
49051 strncpy(buff, methods[i].ml_doc, ldoc);
49052 buff += ldoc;
49053 strncpy(buff, "swig_ptr: ", 10);
49054 buff += 10;
49055 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
49056 methods[i].ml_doc = ndoc;
49057 }
49058 }
49059 }
49060 }
49061 }
49062 }
49063
49064 #ifdef __cplusplus
49065 }
49066 #endif
49067
49068 /* -----------------------------------------------------------------------------*
49069 * Partial Init method
49070 * -----------------------------------------------------------------------------*/
49071
49072 #ifdef __cplusplus
49073 extern "C"
49074 #endif
49075 SWIGEXPORT void SWIG_init(void) {
49076 PyObject *m, *d;
49077
49078 /* Fix SwigMethods to carry the callback ptrs when needed */
49079 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
49080
49081 m = Py_InitModule((char *) SWIG_name, SwigMethods);
49082 d = PyModule_GetDict(m);
49083
49084 SWIG_InitializeModule(0);
49085 SWIG_InstallConstants(d,swig_const_table);
49086
49087
49088 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
49089 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
49090 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
49091 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
49092 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
49093 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
49094 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
49095 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
49096 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
49097 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
49098 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
49099 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
49100 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
49101 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
49102 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
49103 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
49104 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
49105 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
49106 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
49107 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
49108 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
49109 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
49110 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
49111 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
49112 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
49113 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
49114 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
49115 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
49116 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
49117 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
49118 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
49119 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
49120 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
49121 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
49122 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
49123 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
49124 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
49125 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
49126 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
49127 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
49128 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
49129 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
49130 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
49131 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
49132 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
49133 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
49134 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
49135 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
49136 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
49137 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
49138 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
49139 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
49140 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
49141 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
49142 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
49143 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
49144 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
49145 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
49146 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
49147 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
49148 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
49149 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
49150 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
49151 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
49152 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
49153 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
49154 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
49155 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
49156 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
49157 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
49158 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
49159 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
49160 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
49161 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
49162 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
49163 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
49164 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
49165 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
49166 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
49167 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
49168 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
49169 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
49170 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
49171 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
49172 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
49173 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
49174 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
49175 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
49176 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
49177 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
49178 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
49179 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
49180 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
49181 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
49182 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
49183 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
49184 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
49185 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
49186 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
49187 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
49188 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
49189 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
49190 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
49191 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
49192 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
49193 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
49194 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
49195 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
49196 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
49197 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
49198 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
49199 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
49200 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
49201 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
49202 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
49203 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
49204 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
49205 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
49206 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
49207 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
49208 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
49209 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
49210 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
49211 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
49212 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
49213 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
49214 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
49215 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
49216 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
49217 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
49218 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
49219 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
49220 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
49221 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
49222 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
49223 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
49224 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
49225 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
49226 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
49227 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
49228 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
49229 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
49230 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
49231 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
49232 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
49233 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
49234 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
49235 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
49236 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
49237 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
49238 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
49239 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
49240 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
49241 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
49242 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
49243 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
49244 SWIG_Python_SetConstant(d, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP)));
49245 SWIG_Python_SetConstant(d, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT)));
49246 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
49247 SWIG_Python_SetConstant(d, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT)));
49248 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
49249 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
49250 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
49251 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
49252 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
49253 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
49254 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
49255 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
49256 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
49257 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
49258 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
49259 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
49260 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
49261 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
49262 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
49263 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
49264 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
49265 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
49266 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
49267 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
49268 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
49269 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
49270 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
49271 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
49272 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
49273 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
49274 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
49275 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
49276 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
49277 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
49278 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
49279 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
49280 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
49281 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
49282 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
49283 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
49284 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
49285 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
49286 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
49287 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
49288 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
49289 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
49290 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
49291 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
49292 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
49293 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
49294 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
49295 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
49296 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
49297 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
49298 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
49299 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
49300 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
49301 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
49302 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
49303 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
49304 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
49305 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
49306 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
49307 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
49308 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
49309 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
49310 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
49311 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
49312 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
49313 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
49314 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
49315 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
49316 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
49317 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
49318 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
49319 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
49320 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
49321 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
49322 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
49323 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
49324 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
49325 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
49326 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
49327 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
49328 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
49329 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
49330 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
49331 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
49332 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
49333 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
49334 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
49335 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
49336 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
49337 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
49338 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
49339 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
49340 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
49341 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
49342 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
49343 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
49344 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
49345 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
49346 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
49347 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
49348
49349 // Map renamed classes back to their common name for OOR
49350 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49351
49352 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
49353 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
49354 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
49355 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
49356 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
49357 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
49358 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
49359 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
49360 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
49361 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
49362 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
49363 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
49364 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
49365 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
49366 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
49367 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
49368 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
49369 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
49370 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
49371 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
49372 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
49373 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
49374 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
49375 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
49376 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
49377 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
49378 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
49379 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
49380 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
49381 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
49382 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
49383 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
49384 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
49385 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
49386 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
49387 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
49388 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
49389 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
49390 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
49391 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
49392 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
49393 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
49394 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
49395 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
49396 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
49397 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
49398 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
49399 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
49400 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
49401 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
49402 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
49403 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
49404 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
49405 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
49406 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
49407 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
49408
49409 // Map renamed classes back to their common name for OOR
49410 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49411 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49412
49413 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
49414 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
49415 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
49416 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
49417 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
49418 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
49419 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
49420 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
49421 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
49422 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
49423 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
49424
49425 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49426
49427 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
49428 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
49429 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
49430 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
49431 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
49432 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
49433 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
49434 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
49435 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
49436 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
49437 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
49438 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
49439 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
49440 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
49441 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
49442 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
49443 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
49444 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
49445 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
49446 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
49447 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
49448 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
49449 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
49450 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
49451 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
49452 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
49453 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
49454 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
49455 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
49456 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
49457 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
49458 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
49459 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
49460 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
49461 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
49462 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
49463 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
49464 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
49465 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
49466 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
49467 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
49468 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
49469 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
49470 }
49471